From 2ae8f00ced0ead89a6dbded5fa2cb879f6cb632f Mon Sep 17 00:00:00 2001 From: Dennis Zoma Date: Thu, 12 Oct 2023 16:33:38 +0200 Subject: [PATCH] chore: Update docs --- docs/assets/highlight.css | 44 +++--- docs/assets/main.js | 7 +- docs/assets/navigation.js | 1 + docs/assets/search.js | 2 +- docs/assets/style.css | 36 +++-- docs/enums/AssetType.html | 90 ++++++++++++ docs/enums/SubstrateExplorer.html | 124 ++++++---------- docs/enums/SubstrateWalletPlatform.html | 130 ++++++----------- docs/enums/UseInkathonErrorCode.html | 130 ++++++----------- docs/functions/UseInkathonProvider.html | 110 +++++--------- docs/functions/accountArraysAreEqual.html | 110 +++++--------- docs/functions/accountsAreEqual.html | 110 +++++--------- docs/functions/contractCallDryRun.html | 110 +++++--------- docs/functions/contractQuery.html | 110 +++++--------- docs/functions/contractTx.html | 110 +++++--------- docs/functions/decodeOutput.html | 110 +++++--------- docs/functions/deployContract.html | 110 +++++--------- docs/functions/enableWallet.html | 110 +++++--------- docs/functions/formatBalance.html | 114 +++++---------- docs/functions/getAbiMessage.html | 110 +++++--------- docs/functions/getBalance.html | 110 +++++--------- docs/functions/getDeployment.html | 110 +++++--------- docs/functions/getDeploymentContract.html | 110 +++++--------- docs/functions/getGasLimit.html | 110 +++++--------- docs/functions/getMaxGasLimit.html | 112 +++++---------- docs/functions/getPSP22Balances.html | 79 ++++++++++ docs/functions/getSubstrateChain.html | 110 +++++--------- docs/functions/getSubstrateWallet.html | 110 +++++--------- docs/functions/initPolkadotJs.html | 110 +++++--------- docs/functions/isWalletInstalled.html | 110 +++++--------- docs/functions/parsePSP22Balance.html | 77 ++++++++++ docs/functions/registerDeployment.html | 110 +++++--------- docs/functions/registerDeployments.html | 110 +++++--------- docs/functions/transferBalance.html | 110 +++++--------- docs/functions/transferFullBalance.html | 110 +++++--------- docs/functions/unwrapResultOrDefault.html | 110 +++++--------- docs/functions/unwrapResultOrError.html | 110 +++++--------- docs/functions/useBalance.html | 110 +++++--------- docs/functions/useContract.html | 110 +++++--------- docs/functions/useInkathon.html | 110 +++++--------- docs/functions/usePSP22Balances.html | 79 ++++++++++ docs/functions/useRegisteredContract.html | 110 +++++--------- docs/functions/watchBalance.html | 110 +++++--------- docs/functions/watchPSP22Balances.html | 93 ++++++++++++ docs/index.html | 124 ++++++---------- docs/interfaces/ChainAsset.html | 136 ++++++++++++++++++ docs/interfaces/SubstrateChain.html | 128 ++++++----------- docs/interfaces/SubstrateDeployment.html | 122 ++++++---------- docs/interfaces/SubstrateWallet.html | 124 ++++++---------- docs/interfaces/UseInkathonError.html | 118 ++++++--------- docs/interfaces/UseInkathonProviderProps.html | 126 ++++++---------- docs/modules.html | 135 +++++++---------- docs/types/BalanceData.html | 108 +++++--------- docs/types/BalanceFormatterOptions.html | 108 +++++--------- docs/types/ContractTxResult.html | 108 +++++--------- docs/types/PSP22BalanceData.html | 78 ++++++++++ .../PolkadotBalanceFormatterOptions.html | 108 +++++--------- docs/types/TokenData.html | 70 +++++++++ .../types/UseInkathonProviderContextType.html | 108 +++++--------- ...2_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html | 66 +++++++++ .../variables/UseInkathonProviderContext.html | 108 +++++--------- docs/variables/alephzero.html | 108 +++++--------- docs/variables/alephzeroSigner.html | 108 +++++--------- docs/variables/alephzeroTestnet.html | 108 +++++--------- docs/variables/allSubstrateChains.html | 108 +++++--------- docs/variables/allSubstrateWallets.html | 108 +++++--------- docs/variables/astar.html | 108 +++++--------- docs/variables/development.html | 108 +++++--------- docs/variables/nightly.html | 108 +++++--------- docs/variables/nova.html | 108 +++++--------- docs/variables/polkadotjs.html | 108 +++++--------- docs/variables/psp22Abi.html | 63 ++++++++ docs/variables/psp22Asset.html | 63 ++++++++ docs/variables/rococo.html | 108 +++++--------- docs/variables/shibuya.html | 108 +++++--------- docs/variables/shiden.html | 108 +++++--------- docs/variables/subwallet.html | 108 +++++--------- docs/variables/talisman.html | 108 +++++--------- 78 files changed, 3249 insertions(+), 4680 deletions(-) create mode 100644 docs/assets/navigation.js create mode 100644 docs/enums/AssetType.html create mode 100644 docs/functions/getPSP22Balances.html create mode 100644 docs/functions/parsePSP22Balance.html create mode 100644 docs/functions/usePSP22Balances.html create mode 100644 docs/functions/watchPSP22Balances.html create mode 100644 docs/interfaces/ChainAsset.html create mode 100644 docs/types/PSP22BalanceData.html create mode 100644 docs/types/TokenData.html create mode 100644 docs/variables/PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html create mode 100644 docs/variables/psp22Abi.html create mode 100644 docs/variables/psp22Asset.html diff --git a/docs/assets/highlight.css b/docs/assets/highlight.css index 8db1dc6..8626a6f 100644 --- a/docs/assets/highlight.css +++ b/docs/assets/highlight.css @@ -1,26 +1,26 @@ :root { - --light-hl-0: #000000; - --dark-hl-0: #D4D4D4; - --light-hl-1: #A31515; - --dark-hl-1: #CE9178; - --light-hl-2: #008000; - --dark-hl-2: #6A9955; - --light-hl-3: #800000; - --dark-hl-3: #808080; - --light-hl-4: #267F99; - --dark-hl-4: #4EC9B0; - --light-hl-5: #E50000; - --dark-hl-5: #9CDCFE; - --light-hl-6: #0000FF; - --dark-hl-6: #569CD6; - --light-hl-7: #001080; - --dark-hl-7: #9CDCFE; - --light-hl-8: #AF00DB; - --dark-hl-8: #C586C0; - --light-hl-9: #0070C1; - --dark-hl-9: #4FC1FF; - --light-hl-10: #795E26; - --dark-hl-10: #DCDCAA; + --light-hl-0: #795E26; + --dark-hl-0: #DCDCAA; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #A31515; + --dark-hl-2: #CE9178; + --light-hl-3: #008000; + --dark-hl-3: #6A9955; + --light-hl-4: #800000; + --dark-hl-4: #808080; + --light-hl-5: #267F99; + --dark-hl-5: #4EC9B0; + --light-hl-6: #E50000; + --dark-hl-6: #9CDCFE; + --light-hl-7: #0000FF; + --dark-hl-7: #569CD6; + --light-hl-8: #001080; + --dark-hl-8: #9CDCFE; + --light-hl-9: #AF00DB; + --dark-hl-9: #C586C0; + --light-hl-10: #0070C1; + --dark-hl-10: #4FC1FF; --light-hl-11: #000000FF; --dark-hl-11: #D4D4D4; --light-code-background: #FFFFFF; diff --git a/docs/assets/main.js b/docs/assets/main.js index 4c8fa61..01bcad5 100644 --- a/docs/assets/main.js +++ b/docs/assets/main.js @@ -1,7 +1,8 @@ "use strict"; -"use strict";(()=>{var Se=Object.create;var re=Object.defineProperty;var we=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Te(e))!Qe.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=we(e,i))||n.enumerable});return t};var Ce=(t,e,r)=>(r=t!=null?Se(ke(t)):{},Ie(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t));var ae=Pe((se,oe)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var d=t.utils.clone(r)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(n.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(r+=n[u+1]*i[d+1],u+=2,d+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),y;m in s.node.edges?y=s.node.edges[m]:(y=new t.TokenSet,s.node.edges[m]=y),s.str.length==1&&(y.final=!0),i.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof se=="object"?oe.exports=r():e.lunr=r()}(this,function(){return t})})()});var ne=[];function G(t,e){ne.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){ne.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n,app:this}),n.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),r=e?.parentElement;for(;r&&!r.classList.contains(".tsd-navigation");)r instanceof HTMLDetailsElement&&(r.open=!0),r=r.parentElement;if(e){let n=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=n}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let r=e.parentElement;for(;r&&r.tagName!=="SECTION";)r=r.parentElement;if(r&&r.offsetParent==null){this.alwaysVisibleMember=r,r.classList.add("always-visible");let n=document.createElement("p");n.classList.add("warning"),n.textContent="This member is normally hidden due to your filter settings.",r.prepend(n)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let r;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(r),r=setTimeout(()=>{e.classList.remove("visible"),r=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let r;return()=>{clearTimeout(r),r=setTimeout(()=>t(),e)}};var ce=Ce(ae());function de(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("tsd-search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Oe(t,n,r,s)}function Oe(t,e,r,n){r.addEventListener("input",ie(()=>{Re(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Fe(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function _e(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=ce.Index.load(window.searchData.index))}function Re(t,e,r,n){if(_e(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=i?n.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${le(l.parent,i)}.${u}`);let d=document.createElement("li");d.classList.value=l.classes??"";let m=document.createElement("a");m.href=n.base+l.url,m.innerHTML=u,d.append(m),e.appendChild(d)}}function ue(t,e){let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let n=r;if(e===1)do n=n.nextElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);else do n=n.previousElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);n&&(r.classList.remove("current"),n.classList.add("current"))}}function Fe(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function le(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(K(t.substring(s))),i.join("")}var Me={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Me[e])}var P=class{constructor(e){this.el=e.el,this.app=e.app}};var M="mousedown",fe="mousemove",N="mouseup",J={x:0,y:0},he=!1,ee=!1,De=!1,D=!1,pe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(pe?"is-mobile":"not-mobile");pe&&"ontouchstart"in document.documentElement&&(De=!0,M="touchstart",fe="touchmove",N="touchend");document.addEventListener(M,t=>{ee=!0,D=!1;let e=M=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=M=="touchstart"?t.targetTouches[0]:t,r=J.x-(e.pageX||0),n=J.y-(e.pageY||0);D=Math.sqrt(r*r+n*n)>10}});document.addEventListener(N,()=>{ee=!1});document.addEventListener("click",t=>{he&&(t.preventDefault(),t.stopImmediatePropagation(),he=!1)});var X=class extends P{constructor(r){super(r);this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(M,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(r){if(this.active==r)return;this.active=r,document.documentElement.classList.toggle("has-"+this.className,r),this.el.classList.toggle("active",r);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(r){D||(this.setActive(!0),r.preventDefault())}onDocumentPointerDown(r){if(this.active){if(r.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(r){if(!D&&this.active&&r.target.closest(".col-sidebar")){let n=r.target.closest("a");if(n){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),n.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var me=document.head.appendChild(document.createElement("style"));me.dataset.for="filters";var Y=class extends P{constructor(r){super(r);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),me.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`}fromLocalStorage(){let r=Q.getItem(this.key);return r?r==="true":this.el.checked}setLocalStorage(r){Q.setItem(this.key,r.toString()),this.value=r,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let n=Array.from(r.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);r.style.display=n?"none":"block"})}};var Z=class extends P{constructor(r){super(r);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update()),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ve(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}de();G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var ge=document.getElementById("tsd-theme");ge&&ve(ge);var Ae=new U;Object.defineProperty(window,"app",{value:Ae});document.querySelectorAll("summary a").forEach(t=>{t.addEventListener("click",()=>{location.assign(t.href)})});})(); +"use strict";(()=>{var Pe=Object.create;var ne=Object.defineProperty;var Ie=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Ie(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Pe(_e(t)):{},Fe(e||!t||!t.__esModule?ne(n,"default",{value:t,enumerable:!0}):n,t));var ae=Me((se,oe)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),v=s.str.charAt(1),f;v in s.node.edges?f=s.node.edges[v]:(f=new t.TokenSet,s.node.edges[v]=f),s.str.length==1&&(f.final=!0),i.push({node:f,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){re.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ne(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` + ${ce(l.parent,i)}.${d}`);let v=document.createElement("li");v.classList.value=l.classes??"";let f=document.createElement("a");f.href=r.base+l.url,f.innerHTML=u+d,v.append(f),e.appendChild(v)}}function ue(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var Be={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Be[e])}var C=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",pe="mousemove",B="mouseup",J={x:0,y:0},fe=!1,ee=!1,He=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(He=!0,F="touchstart",pe="touchmove",B="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(pe,t=>{if(ee&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(B,()=>{ee=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends C{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){D||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!D&&this.active&&n.target.closest(".col-sidebar")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends C{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var Z=class extends C{constructor(n){super(n);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let r=Q.getItem(this.key);this.el.open=r?r==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let i=this.summary.querySelector("a");i&&i.addEventListener("click",()=>{location.assign(i.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}var Le;function be(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",xe),xe())}async function xe(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();Le=t.dataset.base+"/",t.innerHTML="";for(let s of i)we(s,t,[]);window.app.createComponents(t),window.app.ensureActivePageVisible()}function we(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Ee(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)we(u,l,i)}else Ee(t,r,t.class)}function Ee(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=Le+t.path,n&&(r.className=n),location.href===r.href&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("tsd-theme");Se&&ge(Se);var je=new U;Object.defineProperty(window,"app",{value:je});he();be();})(); /*! Bundled license information: lunr/lunr.js: diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js new file mode 100644 index 0000000..bb9eabc --- /dev/null +++ b/docs/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE5WYwXLaMBCG34Vzpmlpk7a5EUI6tAlQcNpDp8MIewEXIbuSTKCdvnsFBmzJ67UyHGD8//tJu5blFT/+tjRsdeum1VEKdLBLoXXRSplemksgsrW6PAuvlnrNjbqKRdS6+fDv4hw7yWZKS6aht015IkG6jIrBg/WdcQ56xJmeJ3JdS7Rt9dwnBX2xMohE9KRMZDeJKqlinnpid8licahOwYmFBjlnIajLQrYR7atrLN2DHQXZFi/YHZgy79Yg8KkhPi9sXmsamXsonFtllOeaPIEjmWziCKT5TlUT2DJTA9wyzkQId0yzgqnNI6EuS5JDeP3x/ZurdpVyb5Yp02Y+w1THiVA1RNfWRO8mwtQ/1MF2DCrj2sW6ehNvNBm120Tirt7IS/iKRYn2rEKDvWm0IFmBwKZ9FpoIyDrZl9CI9iaZY2m3V62nwfBLbzC97Tx0Bt3edPJ0O+mO+6OgPxxM+4OgN/7WeSiG3TAZsxk/3QifYHsWb/2SxUasdxNDMA7p8g/IBCOeRR/AJF6I8isGweQWH1gASgtA03Q9JI7bu7TCga7LE5nvqY3Mo42CKs3wyu0FIjCCDfAktd8oRXhJJiAiXiw132GAo0QFJxuGRprrRFh63Ed+odUrVAqh0na7M4tRwFFrDLfbBBdQ7RIshExC88HCc4UIVct4lu3Qyh0lOjgCURNrFCo0mz073UIp+iQSAM14rNYMHf2kvWxHK0jzTISH1wi2ldnQ63flxycMk0zojpRspzoSer8zxjEsamwG+zB9cOHxXd81Rb6Tu3EmMGDV5YH8moHcUbSDwQMUbClKsCUQEYSmMR9mOs00BinrJGbf/J76IhxUdhAoEPuF6bbHBaisE5j5ocs5tjwYxzIQoAVosyk9glJsgYIsAw0iplOoNAI7jliUunNIPYi6baiRBn9i6iFex3W4k0xDHtm2gVNy0Khyd61qYJaHxtWdMi0edc6sBdav+aqLQMYi1qeW/zOasO2gUCofrS9MT2N+RCjNNRHAlEkF5WJjwIqJAEpYxMqcZejHoup6ERItImIjoObWCTUHSaTtWDxg9xnnHsCSjYBm4lmyND/QDk1Wc2adfAssavQGO39T1GGRPypsqAIi80KlEdTOV5JpyKnpqYGcZBrSuEm5Hho3Pi5OiBpSrBoJ8DPT4ZIoe1lvwjQmXHVVkD//A8XMHgFzFQAA" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index c8bb661..9c06a4d 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = JSON.parse("{\"rows\":[{\"kind\":256,\"name\":\"SubstrateChain\",\"url\":\"interfaces/SubstrateChain.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"network\",\"url\":\"interfaces/SubstrateChain.html#network\",\"classes\":\"\",\"parent\":\"SubstrateChain\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/SubstrateChain.html#name\",\"classes\":\"\",\"parent\":\"SubstrateChain\"},{\"kind\":1024,\"name\":\"rpcUrls\",\"url\":\"interfaces/SubstrateChain.html#rpcUrls\",\"classes\":\"\",\"parent\":\"SubstrateChain\"},{\"kind\":1024,\"name\":\"ss58Prefix\",\"url\":\"interfaces/SubstrateChain.html#ss58Prefix\",\"classes\":\"\",\"parent\":\"SubstrateChain\"},{\"kind\":1024,\"name\":\"explorerUrls\",\"url\":\"interfaces/SubstrateChain.html#explorerUrls\",\"classes\":\"\",\"parent\":\"SubstrateChain\"},{\"kind\":1024,\"name\":\"testnet\",\"url\":\"interfaces/SubstrateChain.html#testnet\",\"classes\":\"\",\"parent\":\"SubstrateChain\"},{\"kind\":1024,\"name\":\"faucetUrls\",\"url\":\"interfaces/SubstrateChain.html#faucetUrls\",\"classes\":\"\",\"parent\":\"SubstrateChain\"},{\"kind\":8,\"name\":\"SubstrateExplorer\",\"url\":\"enums/SubstrateExplorer.html\",\"classes\":\"\"},{\"kind\":16,\"name\":\"Subscan\",\"url\":\"enums/SubstrateExplorer.html#Subscan\",\"classes\":\"\",\"parent\":\"SubstrateExplorer\"},{\"kind\":16,\"name\":\"PolkadotJs\",\"url\":\"enums/SubstrateExplorer.html#PolkadotJs\",\"classes\":\"\",\"parent\":\"SubstrateExplorer\"},{\"kind\":32,\"name\":\"development\",\"url\":\"variables/development.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"alephzeroTestnet\",\"url\":\"variables/alephzeroTestnet.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"rococo\",\"url\":\"variables/rococo.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"shibuya\",\"url\":\"variables/shibuya.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"shiden\",\"url\":\"variables/shiden.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"alephzero\",\"url\":\"variables/alephzero.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"astar\",\"url\":\"variables/astar.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"allSubstrateChains\",\"url\":\"variables/allSubstrateChains.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"getSubstrateChain\",\"url\":\"functions/getSubstrateChain.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"accountsAreEqual\",\"url\":\"functions/accountsAreEqual.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"accountArraysAreEqual\",\"url\":\"functions/accountArraysAreEqual.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"contractCallDryRun\",\"url\":\"functions/contractCallDryRun.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"contractQuery\",\"url\":\"functions/contractQuery.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"ContractTxResult\",\"url\":\"types/ContractTxResult.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ContractTxResult.html#__type\",\"classes\":\"\",\"parent\":\"ContractTxResult\"},{\"kind\":1024,\"name\":\"dryResult\",\"url\":\"types/ContractTxResult.html#__type.dryResult\",\"classes\":\"\",\"parent\":\"ContractTxResult.__type\"},{\"kind\":1024,\"name\":\"result\",\"url\":\"types/ContractTxResult.html#__type.result\",\"classes\":\"\",\"parent\":\"ContractTxResult.__type\"},{\"kind\":1024,\"name\":\"errorMessage\",\"url\":\"types/ContractTxResult.html#__type.errorMessage\",\"classes\":\"\",\"parent\":\"ContractTxResult.__type\"},{\"kind\":1024,\"name\":\"errorEvent\",\"url\":\"types/ContractTxResult.html#__type.errorEvent\",\"classes\":\"\",\"parent\":\"ContractTxResult.__type\"},{\"kind\":1024,\"name\":\"successEvent\",\"url\":\"types/ContractTxResult.html#__type.successEvent\",\"classes\":\"\",\"parent\":\"ContractTxResult.__type\"},{\"kind\":1024,\"name\":\"extrinsicHash\",\"url\":\"types/ContractTxResult.html#__type.extrinsicHash\",\"classes\":\"\",\"parent\":\"ContractTxResult.__type\"},{\"kind\":1024,\"name\":\"extrinsicIndex\",\"url\":\"types/ContractTxResult.html#__type.extrinsicIndex\",\"classes\":\"\",\"parent\":\"ContractTxResult.__type\"},{\"kind\":1024,\"name\":\"blockHash\",\"url\":\"types/ContractTxResult.html#__type.blockHash\",\"classes\":\"\",\"parent\":\"ContractTxResult.__type\"},{\"kind\":64,\"name\":\"contractTx\",\"url\":\"functions/contractTx.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"decodeOutput\",\"url\":\"functions/decodeOutput.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/decodeOutput.html#decodeOutput.__type\",\"classes\":\"\",\"parent\":\"decodeOutput.decodeOutput\"},{\"kind\":1024,\"name\":\"output\",\"url\":\"functions/decodeOutput.html#decodeOutput.__type.output\",\"classes\":\"\",\"parent\":\"decodeOutput.decodeOutput.__type\"},{\"kind\":1024,\"name\":\"decodedOutput\",\"url\":\"functions/decodeOutput.html#decodeOutput.__type.decodedOutput\",\"classes\":\"\",\"parent\":\"decodeOutput.decodeOutput.__type\"},{\"kind\":1024,\"name\":\"isError\",\"url\":\"functions/decodeOutput.html#decodeOutput.__type.isError\",\"classes\":\"\",\"parent\":\"decodeOutput.decodeOutput.__type\"},{\"kind\":64,\"name\":\"deployContract\",\"url\":\"functions/deployContract.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"PolkadotBalanceFormatterOptions\",\"url\":\"types/PolkadotBalanceFormatterOptions.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"BalanceFormatterOptions\",\"url\":\"types/BalanceFormatterOptions.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"formatBalance\",\"url\":\"functions/formatBalance.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"getAbiMessage\",\"url\":\"functions/getAbiMessage.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"BalanceData\",\"url\":\"types/BalanceData.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/BalanceData.html#__type\",\"classes\":\"\",\"parent\":\"BalanceData\"},{\"kind\":1024,\"name\":\"tokenDecimals\",\"url\":\"types/BalanceData.html#__type.tokenDecimals\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":1024,\"name\":\"tokenSymbol\",\"url\":\"types/BalanceData.html#__type.tokenSymbol\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":1024,\"name\":\"freeBalance\",\"url\":\"types/BalanceData.html#__type.freeBalance\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":1024,\"name\":\"freeBalanceFormatted\",\"url\":\"types/BalanceData.html#__type.freeBalanceFormatted\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":1024,\"name\":\"reservedBalance\",\"url\":\"types/BalanceData.html#__type.reservedBalance\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":1024,\"name\":\"reservedBalanceFormatted\",\"url\":\"types/BalanceData.html#__type.reservedBalanceFormatted\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":1024,\"name\":\"reducibleBalance\",\"url\":\"types/BalanceData.html#__type.reducibleBalance\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":1024,\"name\":\"reducibleBalanceFormatted\",\"url\":\"types/BalanceData.html#__type.reducibleBalanceFormatted\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":1024,\"name\":\"balance\",\"url\":\"types/BalanceData.html#__type.balance\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":1024,\"name\":\"balanceFormatted\",\"url\":\"types/BalanceData.html#__type.balanceFormatted\",\"classes\":\"\",\"parent\":\"BalanceData.__type\"},{\"kind\":64,\"name\":\"getBalance\",\"url\":\"functions/getBalance.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"watchBalance\",\"url\":\"functions/watchBalance.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"getGasLimit\",\"url\":\"functions/getGasLimit.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"getMaxGasLimit\",\"url\":\"functions/getMaxGasLimit.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"initPolkadotJs\",\"url\":\"functions/initPolkadotJs.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"transferBalance\",\"url\":\"functions/transferBalance.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"transferFullBalance\",\"url\":\"functions/transferFullBalance.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"unwrapResultOrError\",\"url\":\"functions/unwrapResultOrError.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"unwrapResultOrDefault\",\"url\":\"functions/unwrapResultOrDefault.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"useBalance\",\"url\":\"functions/useBalance.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"useContract\",\"url\":\"functions/useContract.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/useContract.html#useContract.__type\",\"classes\":\"\",\"parent\":\"useContract.useContract\"},{\"kind\":1024,\"name\":\"contract\",\"url\":\"functions/useContract.html#useContract.__type.contract\",\"classes\":\"\",\"parent\":\"useContract.useContract.__type\"},{\"kind\":1024,\"name\":\"address\",\"url\":\"functions/useContract.html#useContract.__type.address\",\"classes\":\"\",\"parent\":\"useContract.useContract.__type\"},{\"kind\":64,\"name\":\"useRegisteredContract\",\"url\":\"functions/useRegisteredContract.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"functions/useRegisteredContract.html#useRegisteredContract.__type\",\"classes\":\"\",\"parent\":\"useRegisteredContract.useRegisteredContract\"},{\"kind\":1024,\"name\":\"contract\",\"url\":\"functions/useRegisteredContract.html#useRegisteredContract.__type.contract\",\"classes\":\"\",\"parent\":\"useRegisteredContract.useRegisteredContract.__type\"},{\"kind\":1024,\"name\":\"address\",\"url\":\"functions/useRegisteredContract.html#useRegisteredContract.__type.address\",\"classes\":\"\",\"parent\":\"useRegisteredContract.useRegisteredContract.__type\"},{\"kind\":8,\"name\":\"UseInkathonErrorCode\",\"url\":\"enums/UseInkathonErrorCode.html\",\"classes\":\"\"},{\"kind\":16,\"name\":\"InitializationError\",\"url\":\"enums/UseInkathonErrorCode.html#InitializationError\",\"classes\":\"\",\"parent\":\"UseInkathonErrorCode\"},{\"kind\":16,\"name\":\"NoSubstrateExtensionDetected\",\"url\":\"enums/UseInkathonErrorCode.html#NoSubstrateExtensionDetected\",\"classes\":\"\",\"parent\":\"UseInkathonErrorCode\"},{\"kind\":16,\"name\":\"NoAccountInjected\",\"url\":\"enums/UseInkathonErrorCode.html#NoAccountInjected\",\"classes\":\"\",\"parent\":\"UseInkathonErrorCode\"},{\"kind\":256,\"name\":\"UseInkathonError\",\"url\":\"interfaces/UseInkathonError.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"code\",\"url\":\"interfaces/UseInkathonError.html#code\",\"classes\":\"\",\"parent\":\"UseInkathonError\"},{\"kind\":1024,\"name\":\"message\",\"url\":\"interfaces/UseInkathonError.html#message\",\"classes\":\"\",\"parent\":\"UseInkathonError\"},{\"kind\":4194304,\"name\":\"UseInkathonProviderContextType\",\"url\":\"types/UseInkathonProviderContextType.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/UseInkathonProviderContextType.html#__type\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType\"},{\"kind\":1024,\"name\":\"isInitializing\",\"url\":\"types/UseInkathonProviderContextType.html#__type.isInitializing\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"isInitialized\",\"url\":\"types/UseInkathonProviderContextType.html#__type.isInitialized\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"isConnecting\",\"url\":\"types/UseInkathonProviderContextType.html#__type.isConnecting\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"isConnected\",\"url\":\"types/UseInkathonProviderContextType.html#__type.isConnected\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"error\",\"url\":\"types/UseInkathonProviderContextType.html#__type.error\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"activeChain\",\"url\":\"types/UseInkathonProviderContextType.html#__type.activeChain\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"switchActiveChain\",\"url\":\"types/UseInkathonProviderContextType.html#__type.switchActiveChain\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/UseInkathonProviderContextType.html#__type.switchActiveChain.__type-5\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type.switchActiveChain\"},{\"kind\":1024,\"name\":\"api\",\"url\":\"types/UseInkathonProviderContextType.html#__type.api\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"provider\",\"url\":\"types/UseInkathonProviderContextType.html#__type.provider\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"connect\",\"url\":\"types/UseInkathonProviderContextType.html#__type.connect\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/UseInkathonProviderContextType.html#__type.connect.__type-1\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type.connect\"},{\"kind\":1024,\"name\":\"disconnect\",\"url\":\"types/UseInkathonProviderContextType.html#__type.disconnect\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/UseInkathonProviderContextType.html#__type.disconnect.__type-3\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type.disconnect\"},{\"kind\":1024,\"name\":\"accounts\",\"url\":\"types/UseInkathonProviderContextType.html#__type.accounts\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"activeAccount\",\"url\":\"types/UseInkathonProviderContextType.html#__type.activeAccount\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"activeExtension\",\"url\":\"types/UseInkathonProviderContextType.html#__type.activeExtension\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"activeSigner\",\"url\":\"types/UseInkathonProviderContextType.html#__type.activeSigner\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"setActiveAccount\",\"url\":\"types/UseInkathonProviderContextType.html#__type.setActiveAccount\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"lastActiveAccount\",\"url\":\"types/UseInkathonProviderContextType.html#__type.lastActiveAccount\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":1024,\"name\":\"deployments\",\"url\":\"types/UseInkathonProviderContextType.html#__type.deployments\",\"classes\":\"\",\"parent\":\"UseInkathonProviderContextType.__type\"},{\"kind\":32,\"name\":\"UseInkathonProviderContext\",\"url\":\"variables/UseInkathonProviderContext.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"useInkathon\",\"url\":\"functions/useInkathon.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"UseInkathonProviderProps\",\"url\":\"interfaces/UseInkathonProviderProps.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"appName\",\"url\":\"interfaces/UseInkathonProviderProps.html#appName\",\"classes\":\"\",\"parent\":\"UseInkathonProviderProps\"},{\"kind\":1024,\"name\":\"defaultChain\",\"url\":\"interfaces/UseInkathonProviderProps.html#defaultChain\",\"classes\":\"\",\"parent\":\"UseInkathonProviderProps\"},{\"kind\":1024,\"name\":\"connectOnInit\",\"url\":\"interfaces/UseInkathonProviderProps.html#connectOnInit\",\"classes\":\"\",\"parent\":\"UseInkathonProviderProps\"},{\"kind\":1024,\"name\":\"deployments\",\"url\":\"interfaces/UseInkathonProviderProps.html#deployments\",\"classes\":\"\",\"parent\":\"UseInkathonProviderProps\"},{\"kind\":1024,\"name\":\"apiOptions\",\"url\":\"interfaces/UseInkathonProviderProps.html#apiOptions\",\"classes\":\"\",\"parent\":\"UseInkathonProviderProps\"},{\"kind\":64,\"name\":\"UseInkathonProvider\",\"url\":\"functions/UseInkathonProvider.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"SubstrateDeployment\",\"url\":\"interfaces/SubstrateDeployment.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"contractId\",\"url\":\"interfaces/SubstrateDeployment.html#contractId\",\"classes\":\"\",\"parent\":\"SubstrateDeployment\"},{\"kind\":1024,\"name\":\"networkId\",\"url\":\"interfaces/SubstrateDeployment.html#networkId\",\"classes\":\"\",\"parent\":\"SubstrateDeployment\"},{\"kind\":1024,\"name\":\"abi\",\"url\":\"interfaces/SubstrateDeployment.html#abi\",\"classes\":\"\",\"parent\":\"SubstrateDeployment\"},{\"kind\":1024,\"name\":\"address\",\"url\":\"interfaces/SubstrateDeployment.html#address\",\"classes\":\"\",\"parent\":\"SubstrateDeployment\"},{\"kind\":64,\"name\":\"registerDeployment\",\"url\":\"functions/registerDeployment.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"registerDeployments\",\"url\":\"functions/registerDeployments.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"getDeployment\",\"url\":\"functions/getDeployment.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"getDeploymentContract\",\"url\":\"functions/getDeploymentContract.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"SubstrateWallet\",\"url\":\"interfaces/SubstrateWallet.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"id\",\"url\":\"interfaces/SubstrateWallet.html#id\",\"classes\":\"\",\"parent\":\"SubstrateWallet\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/SubstrateWallet.html#name\",\"classes\":\"\",\"parent\":\"SubstrateWallet\"},{\"kind\":1024,\"name\":\"platforms\",\"url\":\"interfaces/SubstrateWallet.html#platforms\",\"classes\":\"\",\"parent\":\"SubstrateWallet\"},{\"kind\":1024,\"name\":\"urls\",\"url\":\"interfaces/SubstrateWallet.html#urls\",\"classes\":\"\",\"parent\":\"SubstrateWallet\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/SubstrateWallet.html#urls.__type\",\"classes\":\"\",\"parent\":\"SubstrateWallet.urls\"},{\"kind\":1024,\"name\":\"website\",\"url\":\"interfaces/SubstrateWallet.html#urls.__type.website\",\"classes\":\"\",\"parent\":\"SubstrateWallet.urls.__type\"},{\"kind\":1024,\"name\":\"chromeExtension\",\"url\":\"interfaces/SubstrateWallet.html#urls.__type.chromeExtension\",\"classes\":\"\",\"parent\":\"SubstrateWallet.urls.__type\"},{\"kind\":1024,\"name\":\"firefoxExtension\",\"url\":\"interfaces/SubstrateWallet.html#urls.__type.firefoxExtension\",\"classes\":\"\",\"parent\":\"SubstrateWallet.urls.__type\"},{\"kind\":1024,\"name\":\"iosApp\",\"url\":\"interfaces/SubstrateWallet.html#urls.__type.iosApp\",\"classes\":\"\",\"parent\":\"SubstrateWallet.urls.__type\"},{\"kind\":1024,\"name\":\"androidApp\",\"url\":\"interfaces/SubstrateWallet.html#urls.__type.androidApp\",\"classes\":\"\",\"parent\":\"SubstrateWallet.urls.__type\"},{\"kind\":1024,\"name\":\"logoUrls\",\"url\":\"interfaces/SubstrateWallet.html#logoUrls\",\"classes\":\"\",\"parent\":\"SubstrateWallet\"},{\"kind\":8,\"name\":\"SubstrateWalletPlatform\",\"url\":\"enums/SubstrateWalletPlatform.html\",\"classes\":\"\"},{\"kind\":16,\"name\":\"Browser\",\"url\":\"enums/SubstrateWalletPlatform.html#Browser\",\"classes\":\"\",\"parent\":\"SubstrateWalletPlatform\"},{\"kind\":16,\"name\":\"Android\",\"url\":\"enums/SubstrateWalletPlatform.html#Android\",\"classes\":\"\",\"parent\":\"SubstrateWalletPlatform\"},{\"kind\":16,\"name\":\"iOS\",\"url\":\"enums/SubstrateWalletPlatform.html#iOS\",\"classes\":\"\",\"parent\":\"SubstrateWalletPlatform\"},{\"kind\":32,\"name\":\"polkadotjs\",\"url\":\"variables/polkadotjs.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"subwallet\",\"url\":\"variables/subwallet.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"talisman\",\"url\":\"variables/talisman.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"nova\",\"url\":\"variables/nova.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"alephzeroSigner\",\"url\":\"variables/alephzeroSigner.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"nightly\",\"url\":\"variables/nightly.html\",\"classes\":\"\"},{\"kind\":32,\"name\":\"allSubstrateWallets\",\"url\":\"variables/allSubstrateWallets.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"getSubstrateWallet\",\"url\":\"functions/getSubstrateWallet.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"isWalletInstalled\",\"url\":\"functions/isWalletInstalled.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"enableWallet\",\"url\":\"functions/enableWallet.html\",\"classes\":\"\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,46.052]],[\"comment/0\",[]],[\"name/1\",[1,46.052]],[\"comment/1\",[]],[\"name/2\",[2,40.943]],[\"comment/2\",[]],[\"name/3\",[3,46.052]],[\"comment/3\",[]],[\"name/4\",[4,46.052]],[\"comment/4\",[]],[\"name/5\",[5,46.052]],[\"comment/5\",[]],[\"name/6\",[6,46.052]],[\"comment/6\",[]],[\"name/7\",[7,46.052]],[\"comment/7\",[]],[\"name/8\",[8,46.052]],[\"comment/8\",[]],[\"name/9\",[9,46.052]],[\"comment/9\",[]],[\"name/10\",[10,40.943]],[\"comment/10\",[]],[\"name/11\",[11,46.052]],[\"comment/11\",[]],[\"name/12\",[12,46.052]],[\"comment/12\",[]],[\"name/13\",[13,46.052]],[\"comment/13\",[]],[\"name/14\",[14,46.052]],[\"comment/14\",[]],[\"name/15\",[15,46.052]],[\"comment/15\",[]],[\"name/16\",[16,46.052]],[\"comment/16\",[]],[\"name/17\",[17,46.052]],[\"comment/17\",[]],[\"name/18\",[18,46.052]],[\"comment/18\",[]],[\"name/19\",[19,46.052]],[\"comment/19\",[]],[\"name/20\",[20,46.052]],[\"comment/20\",[]],[\"name/21\",[21,46.052]],[\"comment/21\",[]],[\"name/22\",[22,46.052]],[\"comment/22\",[]],[\"name/23\",[23,46.052]],[\"comment/23\",[]],[\"name/24\",[24,46.052]],[\"comment/24\",[]],[\"name/25\",[25,26.593]],[\"comment/25\",[]],[\"name/26\",[26,46.052]],[\"comment/26\",[]],[\"name/27\",[27,46.052]],[\"comment/27\",[]],[\"name/28\",[28,46.052]],[\"comment/28\",[]],[\"name/29\",[29,46.052]],[\"comment/29\",[]],[\"name/30\",[30,46.052]],[\"comment/30\",[]],[\"name/31\",[31,46.052]],[\"comment/31\",[]],[\"name/32\",[32,46.052]],[\"comment/32\",[]],[\"name/33\",[33,46.052]],[\"comment/33\",[]],[\"name/34\",[34,46.052]],[\"comment/34\",[]],[\"name/35\",[35,46.052]],[\"comment/35\",[]],[\"name/36\",[25,26.593]],[\"comment/36\",[]],[\"name/37\",[36,46.052]],[\"comment/37\",[]],[\"name/38\",[37,46.052]],[\"comment/38\",[]],[\"name/39\",[38,46.052]],[\"comment/39\",[]],[\"name/40\",[39,46.052]],[\"comment/40\",[]],[\"name/41\",[40,46.052]],[\"comment/41\",[]],[\"name/42\",[41,46.052]],[\"comment/42\",[]],[\"name/43\",[42,46.052]],[\"comment/43\",[]],[\"name/44\",[43,46.052]],[\"comment/44\",[]],[\"name/45\",[44,46.052]],[\"comment/45\",[]],[\"name/46\",[25,26.593]],[\"comment/46\",[]],[\"name/47\",[45,46.052]],[\"comment/47\",[]],[\"name/48\",[46,46.052]],[\"comment/48\",[]],[\"name/49\",[47,46.052]],[\"comment/49\",[]],[\"name/50\",[48,46.052]],[\"comment/50\",[]],[\"name/51\",[49,46.052]],[\"comment/51\",[]],[\"name/52\",[50,46.052]],[\"comment/52\",[]],[\"name/53\",[51,46.052]],[\"comment/53\",[]],[\"name/54\",[52,46.052]],[\"comment/54\",[]],[\"name/55\",[53,46.052]],[\"comment/55\",[]],[\"name/56\",[54,46.052]],[\"comment/56\",[]],[\"name/57\",[55,46.052]],[\"comment/57\",[]],[\"name/58\",[56,46.052]],[\"comment/58\",[]],[\"name/59\",[57,46.052]],[\"comment/59\",[]],[\"name/60\",[58,46.052]],[\"comment/60\",[]],[\"name/61\",[59,46.052]],[\"comment/61\",[]],[\"name/62\",[60,46.052]],[\"comment/62\",[]],[\"name/63\",[61,46.052]],[\"comment/63\",[]],[\"name/64\",[62,46.052]],[\"comment/64\",[]],[\"name/65\",[63,46.052]],[\"comment/65\",[]],[\"name/66\",[64,46.052]],[\"comment/66\",[]],[\"name/67\",[65,46.052]],[\"comment/67\",[]],[\"name/68\",[25,26.593]],[\"comment/68\",[]],[\"name/69\",[66,40.943]],[\"comment/69\",[]],[\"name/70\",[67,37.579]],[\"comment/70\",[]],[\"name/71\",[68,46.052]],[\"comment/71\",[]],[\"name/72\",[25,26.593]],[\"comment/72\",[]],[\"name/73\",[66,40.943]],[\"comment/73\",[]],[\"name/74\",[67,37.579]],[\"comment/74\",[]],[\"name/75\",[69,46.052]],[\"comment/75\",[]],[\"name/76\",[70,46.052]],[\"comment/76\",[]],[\"name/77\",[71,46.052]],[\"comment/77\",[]],[\"name/78\",[72,46.052]],[\"comment/78\",[]],[\"name/79\",[73,46.052]],[\"comment/79\",[]],[\"name/80\",[74,46.052]],[\"comment/80\",[]],[\"name/81\",[75,46.052]],[\"comment/81\",[]],[\"name/82\",[76,46.052]],[\"comment/82\",[]],[\"name/83\",[25,26.593]],[\"comment/83\",[]],[\"name/84\",[77,46.052]],[\"comment/84\",[]],[\"name/85\",[78,46.052]],[\"comment/85\",[]],[\"name/86\",[79,46.052]],[\"comment/86\",[]],[\"name/87\",[80,46.052]],[\"comment/87\",[]],[\"name/88\",[81,46.052]],[\"comment/88\",[]],[\"name/89\",[82,46.052]],[\"comment/89\",[]],[\"name/90\",[83,46.052]],[\"comment/90\",[]],[\"name/91\",[25,26.593]],[\"comment/91\",[]],[\"name/92\",[84,46.052]],[\"comment/92\",[]],[\"name/93\",[85,46.052]],[\"comment/93\",[]],[\"name/94\",[86,46.052]],[\"comment/94\",[]],[\"name/95\",[25,26.593]],[\"comment/95\",[]],[\"name/96\",[87,46.052]],[\"comment/96\",[]],[\"name/97\",[25,26.593]],[\"comment/97\",[]],[\"name/98\",[88,46.052]],[\"comment/98\",[]],[\"name/99\",[89,46.052]],[\"comment/99\",[]],[\"name/100\",[90,46.052]],[\"comment/100\",[]],[\"name/101\",[91,46.052]],[\"comment/101\",[]],[\"name/102\",[92,46.052]],[\"comment/102\",[]],[\"name/103\",[93,46.052]],[\"comment/103\",[]],[\"name/104\",[94,40.943]],[\"comment/104\",[]],[\"name/105\",[95,46.052]],[\"comment/105\",[]],[\"name/106\",[96,46.052]],[\"comment/106\",[]],[\"name/107\",[97,46.052]],[\"comment/107\",[]],[\"name/108\",[98,46.052]],[\"comment/108\",[]],[\"name/109\",[99,46.052]],[\"comment/109\",[]],[\"name/110\",[100,46.052]],[\"comment/110\",[]],[\"name/111\",[94,40.943]],[\"comment/111\",[]],[\"name/112\",[101,46.052]],[\"comment/112\",[]],[\"name/113\",[102,46.052]],[\"comment/113\",[]],[\"name/114\",[103,46.052]],[\"comment/114\",[]],[\"name/115\",[104,46.052]],[\"comment/115\",[]],[\"name/116\",[105,46.052]],[\"comment/116\",[]],[\"name/117\",[106,46.052]],[\"comment/117\",[]],[\"name/118\",[67,37.579]],[\"comment/118\",[]],[\"name/119\",[107,46.052]],[\"comment/119\",[]],[\"name/120\",[108,46.052]],[\"comment/120\",[]],[\"name/121\",[109,46.052]],[\"comment/121\",[]],[\"name/122\",[110,46.052]],[\"comment/122\",[]],[\"name/123\",[111,46.052]],[\"comment/123\",[]],[\"name/124\",[112,46.052]],[\"comment/124\",[]],[\"name/125\",[2,40.943]],[\"comment/125\",[]],[\"name/126\",[113,46.052]],[\"comment/126\",[]],[\"name/127\",[114,46.052]],[\"comment/127\",[]],[\"name/128\",[25,26.593]],[\"comment/128\",[]],[\"name/129\",[115,46.052]],[\"comment/129\",[]],[\"name/130\",[116,46.052]],[\"comment/130\",[]],[\"name/131\",[117,46.052]],[\"comment/131\",[]],[\"name/132\",[118,46.052]],[\"comment/132\",[]],[\"name/133\",[119,46.052]],[\"comment/133\",[]],[\"name/134\",[120,46.052]],[\"comment/134\",[]],[\"name/135\",[121,46.052]],[\"comment/135\",[]],[\"name/136\",[122,46.052]],[\"comment/136\",[]],[\"name/137\",[123,46.052]],[\"comment/137\",[]],[\"name/138\",[124,46.052]],[\"comment/138\",[]],[\"name/139\",[10,40.943]],[\"comment/139\",[]],[\"name/140\",[125,46.052]],[\"comment/140\",[]],[\"name/141\",[126,46.052]],[\"comment/141\",[]],[\"name/142\",[127,46.052]],[\"comment/142\",[]],[\"name/143\",[128,46.052]],[\"comment/143\",[]],[\"name/144\",[129,46.052]],[\"comment/144\",[]],[\"name/145\",[130,46.052]],[\"comment/145\",[]],[\"name/146\",[131,46.052]],[\"comment/146\",[]],[\"name/147\",[132,46.052]],[\"comment/147\",[]],[\"name/148\",[133,46.052]],[\"comment/148\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":25,\"name\":{\"25\":{},\"36\":{},\"46\":{},\"68\":{},\"72\":{},\"83\":{},\"91\":{},\"95\":{},\"97\":{},\"128\":{}},\"comment\":{}}],[\"abi\",{\"_index\":106,\"name\":{\"117\":{}},\"comment\":{}}],[\"accountarraysareequal\",{\"_index\":21,\"name\":{\"21\":{}},\"comment\":{}}],[\"accounts\",{\"_index\":88,\"name\":{\"98\":{}},\"comment\":{}}],[\"accountsareequal\",{\"_index\":20,\"name\":{\"20\":{}},\"comment\":{}}],[\"activeaccount\",{\"_index\":89,\"name\":{\"99\":{}},\"comment\":{}}],[\"activechain\",{\"_index\":82,\"name\":{\"89\":{}},\"comment\":{}}],[\"activeextension\",{\"_index\":90,\"name\":{\"100\":{}},\"comment\":{}}],[\"activesigner\",{\"_index\":91,\"name\":{\"101\":{}},\"comment\":{}}],[\"address\",{\"_index\":67,\"name\":{\"70\":{},\"74\":{},\"118\":{}},\"comment\":{}}],[\"alephzero\",{\"_index\":16,\"name\":{\"16\":{}},\"comment\":{}}],[\"alephzerosigner\",{\"_index\":128,\"name\":{\"143\":{}},\"comment\":{}}],[\"alephzerotestnet\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"allsubstratechains\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}],[\"allsubstratewallets\",{\"_index\":130,\"name\":{\"145\":{}},\"comment\":{}}],[\"android\",{\"_index\":123,\"name\":{\"137\":{}},\"comment\":{}}],[\"androidapp\",{\"_index\":119,\"name\":{\"133\":{}},\"comment\":{}}],[\"api\",{\"_index\":84,\"name\":{\"92\":{}},\"comment\":{}}],[\"apioptions\",{\"_index\":101,\"name\":{\"112\":{}},\"comment\":{}}],[\"appname\",{\"_index\":98,\"name\":{\"108\":{}},\"comment\":{}}],[\"astar\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"balance\",{\"_index\":53,\"name\":{\"55\":{}},\"comment\":{}}],[\"balancedata\",{\"_index\":44,\"name\":{\"45\":{}},\"comment\":{}}],[\"balanceformatted\",{\"_index\":54,\"name\":{\"56\":{}},\"comment\":{}}],[\"balanceformatteroptions\",{\"_index\":41,\"name\":{\"42\":{}},\"comment\":{}}],[\"blockhash\",{\"_index\":33,\"name\":{\"33\":{}},\"comment\":{}}],[\"browser\",{\"_index\":122,\"name\":{\"136\":{}},\"comment\":{}}],[\"chromeextension\",{\"_index\":116,\"name\":{\"130\":{}},\"comment\":{}}],[\"code\",{\"_index\":74,\"name\":{\"80\":{}},\"comment\":{}}],[\"connect\",{\"_index\":86,\"name\":{\"94\":{}},\"comment\":{}}],[\"connectoninit\",{\"_index\":100,\"name\":{\"110\":{}},\"comment\":{}}],[\"contract\",{\"_index\":66,\"name\":{\"69\":{},\"73\":{}},\"comment\":{}}],[\"contractcalldryrun\",{\"_index\":22,\"name\":{\"22\":{}},\"comment\":{}}],[\"contractid\",{\"_index\":104,\"name\":{\"115\":{}},\"comment\":{}}],[\"contractquery\",{\"_index\":23,\"name\":{\"23\":{}},\"comment\":{}}],[\"contracttx\",{\"_index\":34,\"name\":{\"34\":{}},\"comment\":{}}],[\"contracttxresult\",{\"_index\":24,\"name\":{\"24\":{}},\"comment\":{}}],[\"decodedoutput\",{\"_index\":37,\"name\":{\"38\":{}},\"comment\":{}}],[\"decodeoutput\",{\"_index\":35,\"name\":{\"35\":{}},\"comment\":{}}],[\"defaultchain\",{\"_index\":99,\"name\":{\"109\":{}},\"comment\":{}}],[\"deploycontract\",{\"_index\":39,\"name\":{\"40\":{}},\"comment\":{}}],[\"deployments\",{\"_index\":94,\"name\":{\"104\":{},\"111\":{}},\"comment\":{}}],[\"development\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"disconnect\",{\"_index\":87,\"name\":{\"96\":{}},\"comment\":{}}],[\"dryresult\",{\"_index\":26,\"name\":{\"26\":{}},\"comment\":{}}],[\"enablewallet\",{\"_index\":133,\"name\":{\"148\":{}},\"comment\":{}}],[\"error\",{\"_index\":81,\"name\":{\"88\":{}},\"comment\":{}}],[\"errorevent\",{\"_index\":29,\"name\":{\"29\":{}},\"comment\":{}}],[\"errormessage\",{\"_index\":28,\"name\":{\"28\":{}},\"comment\":{}}],[\"explorerurls\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"extrinsichash\",{\"_index\":31,\"name\":{\"31\":{}},\"comment\":{}}],[\"extrinsicindex\",{\"_index\":32,\"name\":{\"32\":{}},\"comment\":{}}],[\"fauceturls\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"firefoxextension\",{\"_index\":117,\"name\":{\"131\":{}},\"comment\":{}}],[\"formatbalance\",{\"_index\":42,\"name\":{\"43\":{}},\"comment\":{}}],[\"freebalance\",{\"_index\":47,\"name\":{\"49\":{}},\"comment\":{}}],[\"freebalanceformatted\",{\"_index\":48,\"name\":{\"50\":{}},\"comment\":{}}],[\"getabimessage\",{\"_index\":43,\"name\":{\"44\":{}},\"comment\":{}}],[\"getbalance\",{\"_index\":55,\"name\":{\"57\":{}},\"comment\":{}}],[\"getdeployment\",{\"_index\":109,\"name\":{\"121\":{}},\"comment\":{}}],[\"getdeploymentcontract\",{\"_index\":110,\"name\":{\"122\":{}},\"comment\":{}}],[\"getgaslimit\",{\"_index\":57,\"name\":{\"59\":{}},\"comment\":{}}],[\"getmaxgaslimit\",{\"_index\":58,\"name\":{\"60\":{}},\"comment\":{}}],[\"getsubstratechain\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"getsubstratewallet\",{\"_index\":131,\"name\":{\"146\":{}},\"comment\":{}}],[\"id\",{\"_index\":112,\"name\":{\"124\":{}},\"comment\":{}}],[\"initializationerror\",{\"_index\":70,\"name\":{\"76\":{}},\"comment\":{}}],[\"initpolkadotjs\",{\"_index\":59,\"name\":{\"61\":{}},\"comment\":{}}],[\"ios\",{\"_index\":124,\"name\":{\"138\":{}},\"comment\":{}}],[\"iosapp\",{\"_index\":118,\"name\":{\"132\":{}},\"comment\":{}}],[\"isconnected\",{\"_index\":80,\"name\":{\"87\":{}},\"comment\":{}}],[\"isconnecting\",{\"_index\":79,\"name\":{\"86\":{}},\"comment\":{}}],[\"iserror\",{\"_index\":38,\"name\":{\"39\":{}},\"comment\":{}}],[\"isinitialized\",{\"_index\":78,\"name\":{\"85\":{}},\"comment\":{}}],[\"isinitializing\",{\"_index\":77,\"name\":{\"84\":{}},\"comment\":{}}],[\"iswalletinstalled\",{\"_index\":132,\"name\":{\"147\":{}},\"comment\":{}}],[\"lastactiveaccount\",{\"_index\":93,\"name\":{\"103\":{}},\"comment\":{}}],[\"logourls\",{\"_index\":120,\"name\":{\"134\":{}},\"comment\":{}}],[\"message\",{\"_index\":75,\"name\":{\"81\":{}},\"comment\":{}}],[\"name\",{\"_index\":2,\"name\":{\"2\":{},\"125\":{}},\"comment\":{}}],[\"network\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"networkid\",{\"_index\":105,\"name\":{\"116\":{}},\"comment\":{}}],[\"nightly\",{\"_index\":129,\"name\":{\"144\":{}},\"comment\":{}}],[\"noaccountinjected\",{\"_index\":72,\"name\":{\"78\":{}},\"comment\":{}}],[\"nosubstrateextensiondetected\",{\"_index\":71,\"name\":{\"77\":{}},\"comment\":{}}],[\"nova\",{\"_index\":127,\"name\":{\"142\":{}},\"comment\":{}}],[\"output\",{\"_index\":36,\"name\":{\"37\":{}},\"comment\":{}}],[\"platforms\",{\"_index\":113,\"name\":{\"126\":{}},\"comment\":{}}],[\"polkadotbalanceformatteroptions\",{\"_index\":40,\"name\":{\"41\":{}},\"comment\":{}}],[\"polkadotjs\",{\"_index\":10,\"name\":{\"10\":{},\"139\":{}},\"comment\":{}}],[\"provider\",{\"_index\":85,\"name\":{\"93\":{}},\"comment\":{}}],[\"reduciblebalance\",{\"_index\":51,\"name\":{\"53\":{}},\"comment\":{}}],[\"reduciblebalanceformatted\",{\"_index\":52,\"name\":{\"54\":{}},\"comment\":{}}],[\"registerdeployment\",{\"_index\":107,\"name\":{\"119\":{}},\"comment\":{}}],[\"registerdeployments\",{\"_index\":108,\"name\":{\"120\":{}},\"comment\":{}}],[\"reservedbalance\",{\"_index\":49,\"name\":{\"51\":{}},\"comment\":{}}],[\"reservedbalanceformatted\",{\"_index\":50,\"name\":{\"52\":{}},\"comment\":{}}],[\"result\",{\"_index\":27,\"name\":{\"27\":{}},\"comment\":{}}],[\"rococo\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}],[\"rpcurls\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"setactiveaccount\",{\"_index\":92,\"name\":{\"102\":{}},\"comment\":{}}],[\"shibuya\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"shiden\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"ss58prefix\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"subscan\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"substratechain\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"substratedeployment\",{\"_index\":103,\"name\":{\"114\":{}},\"comment\":{}}],[\"substrateexplorer\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"substratewallet\",{\"_index\":111,\"name\":{\"123\":{}},\"comment\":{}}],[\"substratewalletplatform\",{\"_index\":121,\"name\":{\"135\":{}},\"comment\":{}}],[\"subwallet\",{\"_index\":125,\"name\":{\"140\":{}},\"comment\":{}}],[\"successevent\",{\"_index\":30,\"name\":{\"30\":{}},\"comment\":{}}],[\"switchactivechain\",{\"_index\":83,\"name\":{\"90\":{}},\"comment\":{}}],[\"talisman\",{\"_index\":126,\"name\":{\"141\":{}},\"comment\":{}}],[\"testnet\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"tokendecimals\",{\"_index\":45,\"name\":{\"47\":{}},\"comment\":{}}],[\"tokensymbol\",{\"_index\":46,\"name\":{\"48\":{}},\"comment\":{}}],[\"transferbalance\",{\"_index\":60,\"name\":{\"62\":{}},\"comment\":{}}],[\"transferfullbalance\",{\"_index\":61,\"name\":{\"63\":{}},\"comment\":{}}],[\"unwrapresultordefault\",{\"_index\":63,\"name\":{\"65\":{}},\"comment\":{}}],[\"unwrapresultorerror\",{\"_index\":62,\"name\":{\"64\":{}},\"comment\":{}}],[\"urls\",{\"_index\":114,\"name\":{\"127\":{}},\"comment\":{}}],[\"usebalance\",{\"_index\":64,\"name\":{\"66\":{}},\"comment\":{}}],[\"usecontract\",{\"_index\":65,\"name\":{\"67\":{}},\"comment\":{}}],[\"useinkathon\",{\"_index\":96,\"name\":{\"106\":{}},\"comment\":{}}],[\"useinkathonerror\",{\"_index\":73,\"name\":{\"79\":{}},\"comment\":{}}],[\"useinkathonerrorcode\",{\"_index\":69,\"name\":{\"75\":{}},\"comment\":{}}],[\"useinkathonprovider\",{\"_index\":102,\"name\":{\"113\":{}},\"comment\":{}}],[\"useinkathonprovidercontext\",{\"_index\":95,\"name\":{\"105\":{}},\"comment\":{}}],[\"useinkathonprovidercontexttype\",{\"_index\":76,\"name\":{\"82\":{}},\"comment\":{}}],[\"useinkathonproviderprops\",{\"_index\":97,\"name\":{\"107\":{}},\"comment\":{}}],[\"useregisteredcontract\",{\"_index\":68,\"name\":{\"71\":{}},\"comment\":{}}],[\"watchbalance\",{\"_index\":56,\"name\":{\"58\":{}},\"comment\":{}}],[\"website\",{\"_index\":115,\"name\":{\"129\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,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"; \ No newline at end of file diff --git a/docs/assets/style.css b/docs/assets/style.css index 18b4f8f..108428c 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -32,7 +32,6 @@ --light-color-ts-accessor: var(--light-color-ts-property); --light-color-ts-get-signature: var(--light-color-ts-accessor); --light-color-ts-set-signature: var(--light-color-ts-accessor); - /* object literal not included as it is not used and will be removed in 0.25 */ --light-color-ts-type-alias: #d51270; /* reference not included as links will be colored with the kind that it points to */ @@ -72,7 +71,6 @@ --dark-color-ts-accessor: var(--dark-color-ts-property); --dark-color-ts-get-signature: var(--dark-color-ts-accessor); --dark-color-ts-set-signature: var(--dark-color-ts-accessor); - /* object literal not included as it is not used and will be removed in 0.25 */ --dark-color-ts-type-alias: #ff6492; /* reference not included as links will be colored with the kind that it points to */ @@ -468,13 +466,12 @@ blockquote { padding: 0 0 0 20px; margin: 0; } -.tsd-typography h4, .tsd-typography .tsd-index-panel h3, .tsd-index-panel .tsd-typography h3, +.tsd-typography h4, .tsd-typography h5, .tsd-typography h6 { font-size: 1em; - margin: 0; } .tsd-typography h5, .tsd-typography h6 { @@ -485,6 +482,19 @@ blockquote { .tsd-typography ol { margin: 1em 0; } +.tsd-typography table { + border-collapse: collapse; + border: none; +} +.tsd-typography td, +.tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); +} +.tsd-typography thead, +.tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); +} .tsd-breadcrumb { margin: 0; @@ -900,8 +910,9 @@ a.tsd-index-link { box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); } #tsd-search .results li { - padding: 0 10px; background-color: var(--color-background); + line-height: initial; + padding: 4px; } #tsd-search .results li:nth-child(even) { background-color: var(--color-background-secondary); @@ -909,12 +920,15 @@ a.tsd-index-link { #tsd-search .results li.state { display: none; } -#tsd-search .results li.current, -#tsd-search .results li:hover { +#tsd-search .results li.current:not(.no-results), +#tsd-search .results li:hover:not(.no-results) { background-color: var(--color-accent); } #tsd-search .results a { - display: block; + display: flex; + align-items: center; + padding: 0.25rem; + box-sizing: border-box; } #tsd-search .results a:before { top: 10px; @@ -1070,7 +1084,9 @@ ul.tsd-type-parameter-list h5 { overflow: hidden; opacity: 0.8; height: 40px; - transition: opacity 0.1s, background-color 0.2s; + transition: + opacity 0.1s, + background-color 0.2s; vertical-align: bottom; cursor: pointer; } @@ -1122,7 +1138,7 @@ img { } .deprecated { - text-decoration: line-through; + text-decoration: line-through !important; } .warning { diff --git a/docs/enums/AssetType.html b/docs/enums/AssetType.html new file mode 100644 index 0000000..d525c38 --- /dev/null +++ b/docs/enums/AssetType.html @@ -0,0 +1,90 @@ +AssetType | @scio-labs/use-inkathon
+
+ +
+
+
+
+ +

Enumeration AssetType

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
PSP22: "PSP22"
+
+ +
PSP34: "PSP34"
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/docs/enums/SubstrateExplorer.html b/docs/enums/SubstrateExplorer.html index 59c91bc..90ce5cc 100644 --- a/docs/enums/SubstrateExplorer.html +++ b/docs/enums/SubstrateExplorer.html @@ -1,13 +1,13 @@ -SubstrateExplorer | @scio-labs/use-inkathon
+SubstrateExplorer | @scio-labs/use-inkathon
-
+
@@ -16,113 +16,75 @@
  • SubstrateExplorer
  • Enumeration SubstrateExplorer

    +
  • Defined in src/chains.ts:14
  • - +

    Enumeration Members

    -

    Enumeration Members

    - +
    PolkadotJs: "polkadotjs"
    +
  • Defined in src/chains.ts:16
  • Subscan: "subscan"
    +
  • Defined in src/chains.ts:15
  • On This Page

    +
  • PolkadotJs
  • +
  • Subscan
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/enums/SubstrateWalletPlatform.html b/docs/enums/SubstrateWalletPlatform.html index 173a432..5d11a72 100644 --- a/docs/enums/SubstrateWalletPlatform.html +++ b/docs/enums/SubstrateWalletPlatform.html @@ -1,13 +1,13 @@ -SubstrateWalletPlatform | @scio-labs/use-inkathon
    +SubstrateWalletPlatform | @scio-labs/use-inkathon
    -
    +
    @@ -16,120 +16,82 @@
  • SubstrateWalletPlatform
  • Enumeration SubstrateWalletPlatform

    +
  • Defined in src/wallets.ts:19
  • - +

    Enumeration Members

    -

    Enumeration Members

    - +
    Android: "android"
    +
  • Defined in src/wallets.ts:21
  • Browser: "browser"
    +
  • Defined in src/wallets.ts:20
  • iOS: "ios"
    +
  • Defined in src/wallets.ts:22
  • On This Page

    +
  • Android
  • +
  • Browser
  • +
  • iOS
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/enums/UseInkathonErrorCode.html b/docs/enums/UseInkathonErrorCode.html index 21c2335..bcd2584 100644 --- a/docs/enums/UseInkathonErrorCode.html +++ b/docs/enums/UseInkathonErrorCode.html @@ -1,13 +1,13 @@ -UseInkathonErrorCode | @scio-labs/use-inkathon
    +UseInkathonErrorCode | @scio-labs/use-inkathon
    -
    +
    @@ -20,120 +20,82 @@

    Enumeration UseInkathonErrorCode

    +
  • Defined in src/provider.tsx:31
  • - +

    Enumeration Members

    - +
    InitializationError: 0
    +
  • Defined in src/provider.tsx:32
  • NoAccountInjected: 2
    +
  • Defined in src/provider.tsx:34
  • NoSubstrateExtensionDetected: 1
    +
  • Defined in src/provider.tsx:33
  • On This Page

    +
  • InitializationError
  • +
  • NoAccountInjected
  • +
  • NoSubstrateExtensionDetected
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/UseInkathonProvider.html b/docs/functions/UseInkathonProvider.html index 2f477e0..88b959a 100644 --- a/docs/functions/UseInkathonProvider.html +++ b/docs/functions/UseInkathonProvider.html @@ -1,13 +1,13 @@ -UseInkathonProvider | @scio-labs/use-inkathon
    +UseInkathonProvider | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function UseInkathonProvider

      - +
    • Parameters

      @@ -28,85 +28,47 @@
      props: Optional context: any

    Returns ReactNode

    +
  • Defined in node_modules/.pnpm/@types+react@18.2.21/node_modules/@types/react/index.d.ts:563
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/accountArraysAreEqual.html b/docs/functions/accountArraysAreEqual.html index 4f0f88c..52da19b 100644 --- a/docs/functions/accountArraysAreEqual.html +++ b/docs/functions/accountArraysAreEqual.html @@ -1,13 +1,13 @@ -accountArraysAreEqual | @scio-labs/use-inkathon
    +accountArraysAreEqual | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function accountArraysAreEqual

      - +
    • Returns true if both given arrays of injected accounts contain the same objects with the same addresses in the same order.

      @@ -32,85 +32,47 @@
      a2: Returns boolean
    +
  • Defined in src/helpers/accountsAreEqual.ts:14
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/accountsAreEqual.html b/docs/functions/accountsAreEqual.html index 5657e4d..3549ddc 100644 --- a/docs/functions/accountsAreEqual.html +++ b/docs/functions/accountsAreEqual.html @@ -1,13 +1,13 @@ -accountsAreEqual | @scio-labs/use-inkathon
    +accountsAreEqual | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function accountsAreEqual

      - +
    • Returns true if both given injected accounts have the same address.

      @@ -31,85 +31,47 @@
      Optional Returns boolean
    +
  • Defined in src/helpers/accountsAreEqual.ts:6
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/contractCallDryRun.html b/docs/functions/contractCallDryRun.html index dcd741c..75d194b 100644 --- a/docs/functions/contractCallDryRun.html +++ b/docs/functions/contractCallDryRun.html @@ -1,13 +1,13 @@ -contractCallDryRun | @scio-labs/use-inkathon
    +contractCallDryRun | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function contractCallDryRun

      - +
    • Performs a dry run for the given contract method and arguments. Is used within contractQuery & contractTx for gas estimation.

      @@ -40,85 +40,47 @@
      args: Returns Promise<ContractCallOutcome>
    +
  • Defined in src/helpers/contractCall.ts:16
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/contractQuery.html b/docs/functions/contractQuery.html index b7414f9..5744577 100644 --- a/docs/functions/contractQuery.html +++ b/docs/functions/contractQuery.html @@ -1,13 +1,13 @@ -contractQuery | @scio-labs/use-inkathon
    +contractQuery | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function contractQuery

      - +
    • Calls a given non-mutating contract method (query) with maximum possible gas limit.

      @@ -39,85 +39,47 @@
      args: Returns Promise<ContractCallOutcome>
    +
  • Defined in src/helpers/contractCall.ts:42
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/contractTx.html b/docs/functions/contractTx.html index fc57104..8d20080 100644 --- a/docs/functions/contractTx.html +++ b/docs/functions/contractTx.html @@ -1,13 +1,13 @@ -contractTx | @scio-labs/use-inkathon
    +contractTx | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function contractTx

      - +
    • Parameters

      @@ -49,85 +49,47 @@
      result: Returns void | Promise<void>

    Returns Promise<ContractTxResult>

    +
  • Defined in src/helpers/contractCall.ts:72
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/decodeOutput.html b/docs/functions/decodeOutput.html index 5ccd589..6fd9109 100644 --- a/docs/functions/decodeOutput.html +++ b/docs/functions/decodeOutput.html @@ -1,13 +1,13 @@ -decodeOutput | @scio-labs/use-inkathon
    +decodeOutput | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function decodeOutput

      - +
    • Decodes & unwraps outputs and errors of a given result, contract, and method. Parsed error message can be found in decodedOutput if isError is true. @@ -42,85 +42,47 @@

      isErroroutput: any
    +
  • Defined in src/helpers/decodeOutput.ts:35
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/deployContract.html b/docs/functions/deployContract.html index 0f5653e..5452aa5 100644 --- a/docs/functions/deployContract.html +++ b/docs/functions/deployContract.html @@ -1,13 +1,13 @@ -deployContract | @scio-labs/use-inkathon
    +deployContract | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function deployContract

      - +
    • Uploads & instantiates a contract on-chain.

      @@ -41,85 +41,47 @@
      options: Returns Promise<{
          address: string;
          block: SignedBlock;
          blockNumber: number;
          hash: string;
      }>
    +
  • Defined in src/helpers/deployContract.ts:12
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/enableWallet.html b/docs/functions/enableWallet.html index d58e754..3232e9e 100644 --- a/docs/functions/enableWallet.html +++ b/docs/functions/enableWallet.html @@ -1,13 +1,13 @@ -enableWallet | @scio-labs/use-inkathon
    +enableWallet | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function enableWallet

      - +
    • Enables the given wallet (if existent) and returns the injected extension.

      @@ -31,85 +31,47 @@
      appName: Returns Promise<undefined | InjectedExtension>
    +
  • Defined in src/wallets.ts:165
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/formatBalance.html b/docs/functions/formatBalance.html index c0ec150..0036753 100644 --- a/docs/functions/formatBalance.html +++ b/docs/functions/formatBalance.html @@ -1,13 +1,13 @@ -formatBalance | @scio-labs/use-inkathon
    +formatBalance | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function formatBalance

      - +
    • Improved & extended version of formatBalance from @polkadot/util.

      @@ -29,89 +29,53 @@
      api: Optional value: BN
    • -
      Optional options: BalanceFormatterOptions
    +
    Optional options: BalanceFormatterOptions
    +
  • +
    Optional tokenData: TokenData
  • Returns string

    +
  • Defined in src/helpers/formatBalance.ts:25
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/getAbiMessage.html b/docs/functions/getAbiMessage.html index 6fcbaa5..ddd99f9 100644 --- a/docs/functions/getAbiMessage.html +++ b/docs/functions/getAbiMessage.html @@ -1,13 +1,13 @@ -getAbiMessage | @scio-labs/use-inkathon
    +getAbiMessage | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function getAbiMessage

      - +
    • Returns the ABI message for the given method name within the given contract.

      @@ -31,85 +31,47 @@
      method: Returns AbiMessage
    +
  • Defined in src/helpers/getAbiMessage.ts:7
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/getBalance.html b/docs/functions/getBalance.html index 5add5b4..50553b4 100644 --- a/docs/functions/getBalance.html +++ b/docs/functions/getBalance.html @@ -1,13 +1,13 @@ -getBalance | @scio-labs/use-inkathon
    +getBalance | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function getBalance

    +
  • Defined in src/helpers/getBalance.ts:22
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/getDeployment.html b/docs/functions/getDeployment.html index 199260a..12cdbba 100644 --- a/docs/functions/getDeployment.html +++ b/docs/functions/getDeployment.html @@ -1,13 +1,13 @@ -getDeployment | @scio-labs/use-inkathon
    +getDeployment | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function getDeployment

      - +
    • Returns the first matching deployment from the given deployments array with an equal contractId and networkId

      @@ -34,85 +34,47 @@
      networkId: Returns undefined | SubstrateDeployment
    +
  • Defined in src/registry.ts:53
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/getDeploymentContract.html b/docs/functions/getDeploymentContract.html index 041d48b..10acad2 100644 --- a/docs/functions/getDeploymentContract.html +++ b/docs/functions/getDeploymentContract.html @@ -1,13 +1,13 @@ -getDeploymentContract | @scio-labs/use-inkathon
    +getDeploymentContract | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function getDeploymentContract

      - +
    • Takes the first matching deployment from the given deployments array with an equal contractId and networkId and creates a ContractPromise.

      @@ -36,85 +36,47 @@
      networkId: Returns undefined | ContractPromise
    +
  • Defined in src/registry.ts:70
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/getGasLimit.html b/docs/functions/getGasLimit.html index 31045d7..f408a13 100644 --- a/docs/functions/getGasLimit.html +++ b/docs/functions/getGasLimit.html @@ -1,13 +1,13 @@ -getGasLimit | @scio-labs/use-inkathon
    +getGasLimit | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function getGasLimit

      - +
    • Helper function that returns Weights V2 gasLimit object.

      @@ -33,85 +33,47 @@
      _proofSize: Returns WeightV2
    +
  • Defined in src/helpers/getGasLimit.ts:8
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/getMaxGasLimit.html b/docs/functions/getMaxGasLimit.html index 7061328..d67756e 100644 --- a/docs/functions/getMaxGasLimit.html +++ b/docs/functions/getMaxGasLimit.html @@ -1,13 +1,13 @@ -getMaxGasLimit | @scio-labs/use-inkathon
    +getMaxGasLimit | @scio-labs/use-inkathon
    -
    +
    @@ -17,10 +17,10 @@

    Function getMaxGasLimit

      - +
    • Helper function that returns the maximum gas limit Weights V2 object -for an extrinsiv based on the api chain constants. +for an extrinsic based on the api chain constants. NOTE: It's reduced by a given factor (defaults to 80%) to avoid storage exhaust.

      @@ -33,85 +33,47 @@
      reductionFactor: Returns WeightV2
    +
  • Defined in src/helpers/getGasLimit.ts:23
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/getPSP22Balances.html b/docs/functions/getPSP22Balances.html new file mode 100644 index 0000000..221b5ec --- /dev/null +++ b/docs/functions/getPSP22Balances.html @@ -0,0 +1,79 @@ +getPSP22Balances | @scio-labs/use-inkathon
    +
    + +
    +
    +
    +
    + +

    Function getPSP22Balances

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/getSubstrateChain.html b/docs/functions/getSubstrateChain.html index 165c294..8039f42 100644 --- a/docs/functions/getSubstrateChain.html +++ b/docs/functions/getSubstrateChain.html @@ -1,13 +1,13 @@ -getSubstrateChain | @scio-labs/use-inkathon
    +getSubstrateChain | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function getSubstrateChain

    +
  • Defined in src/chains.ts:131
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/getSubstrateWallet.html b/docs/functions/getSubstrateWallet.html index bcbe554..8fbede5 100644 --- a/docs/functions/getSubstrateWallet.html +++ b/docs/functions/getSubstrateWallet.html @@ -1,13 +1,13 @@ -getSubstrateWallet | @scio-labs/use-inkathon
    +getSubstrateWallet | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function getSubstrateWallet

    +
  • Defined in src/wallets.ts:137
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/initPolkadotJs.html b/docs/functions/initPolkadotJs.html index d9828a8..cba5010 100644 --- a/docs/functions/initPolkadotJs.html +++ b/docs/functions/initPolkadotJs.html @@ -1,13 +1,13 @@ -initPolkadotJs | @scio-labs/use-inkathon
    +initPolkadotJs | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function initPolkadotJs

      - +
    • Helper to initialize polkadot.js API with given chain and options.

      @@ -31,85 +31,47 @@
      Optional Returns Promise<{
          api: ApiPromise;
          provider: WsProvider | HttpProvider;
      }>
    +
  • Defined in src/helpers/initPolkadotJs.ts:8
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/isWalletInstalled.html b/docs/functions/isWalletInstalled.html index 64a3ff9..825ed54 100644 --- a/docs/functions/isWalletInstalled.html +++ b/docs/functions/isWalletInstalled.html @@ -1,13 +1,13 @@ -isWalletInstalled | @scio-labs/use-inkathon
    +isWalletInstalled | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function isWalletInstalled

      - +
    • Parameters

      @@ -26,85 +26,47 @@

      Parameters

      wallet: SubstrateWallet

    Returns undefined | boolean

    +
  • Defined in src/wallets.ts:145
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/parsePSP22Balance.html b/docs/functions/parsePSP22Balance.html new file mode 100644 index 0000000..66e3d37 --- /dev/null +++ b/docs/functions/parsePSP22Balance.html @@ -0,0 +1,77 @@ +parsePSP22Balance | @scio-labs/use-inkathon
    +
    + +
    +
    +
    +
    + +

    Function parsePSP22Balance

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/registerDeployment.html b/docs/functions/registerDeployment.html index 1fba4f6..832c9b5 100644 --- a/docs/functions/registerDeployment.html +++ b/docs/functions/registerDeployment.html @@ -1,13 +1,13 @@ -registerDeployment | @scio-labs/use-inkathon
    +registerDeployment | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function registerDeployment

      - +
    • Registering the given deployment with the given setDeployments dispatcher. The registry is kept unique, so if there is already one deployment with @@ -33,85 +33,47 @@

      deployment: Returns void
    +
  • Defined in src/registry.ts:21
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/registerDeployments.html b/docs/functions/registerDeployments.html index d458c77..8a8a19c 100644 --- a/docs/functions/registerDeployments.html +++ b/docs/functions/registerDeployments.html @@ -1,13 +1,13 @@ -registerDeployments | @scio-labs/use-inkathon
    +registerDeployments | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function registerDeployments

      - +
    • Registers all given deployments via registerDeployment after awaiting the promise.

      @@ -31,85 +31,47 @@
      deployments: Returns Promise<void>
    +
  • Defined in src/registry.ts:42
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/transferBalance.html b/docs/functions/transferBalance.html index 420a969..7b67f91 100644 --- a/docs/functions/transferBalance.html +++ b/docs/functions/transferBalance.html @@ -1,13 +1,13 @@ -transferBalance | @scio-labs/use-inkathon
    +transferBalance | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function transferBalance

      - +
    • Transfers a given amount of tokens from one account to another.

      @@ -48,85 +48,47 @@

      Returns voidReturns Promise<unknown>

    +
  • Defined in src/helpers/transferBalance.ts:9
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/transferFullBalance.html b/docs/functions/transferFullBalance.html index b632940..603ce11 100644 --- a/docs/functions/transferFullBalance.html +++ b/docs/functions/transferFullBalance.html @@ -1,13 +1,13 @@ -transferFullBalance | @scio-labs/use-inkathon
    +transferFullBalance | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function transferFullBalance

      - +
    • Transfers all available tokens from one account to another.

      @@ -48,85 +48,47 @@

      Returns voidReturns Promise<unknown>

    +
  • Defined in src/helpers/transferBalance.ts:50
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/unwrapResultOrDefault.html b/docs/functions/unwrapResultOrDefault.html index 0a941a6..96120b8 100644 --- a/docs/functions/unwrapResultOrDefault.html +++ b/docs/functions/unwrapResultOrDefault.html @@ -1,13 +1,13 @@ -unwrapResultOrDefault | @scio-labs/use-inkathon
    +unwrapResultOrDefault | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function unwrapResultOrDefault

      - +
    • Unwraps a Weights V2 result type or returns the given default if there is no 'ok' value.

      @@ -36,85 +36,47 @@
      defaultValue: Returns T
    +
  • Defined in src/helpers/unwrapResult.ts:19
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/unwrapResultOrError.html b/docs/functions/unwrapResultOrError.html index ed1e949..73da3a4 100644 --- a/docs/functions/unwrapResultOrError.html +++ b/docs/functions/unwrapResultOrError.html @@ -1,13 +1,13 @@ -unwrapResultOrError | @scio-labs/use-inkathon
    +unwrapResultOrError | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function unwrapResultOrError

      - +
    • Unwraps a Weights V2 result type or errors if there is no 'ok' value.

      @@ -34,85 +34,47 @@
      outcome: Returns T
    +
  • Defined in src/helpers/unwrapResult.ts:6
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/useBalance.html b/docs/functions/useBalance.html index 8856c98..e22e3da 100644 --- a/docs/functions/useBalance.html +++ b/docs/functions/useBalance.html @@ -1,13 +1,13 @@ -useBalance | @scio-labs/use-inkathon
    +useBalance | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function useBalance

    +
  • Defined in src/hooks/useBalance.ts:10
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/useContract.html b/docs/functions/useContract.html index 137510c..b425934 100644 --- a/docs/functions/useContract.html +++ b/docs/functions/useContract.html @@ -1,13 +1,13 @@ -useContract | @scio-labs/use-inkathon
    +useContract | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function useContract

      - +
    • React Hook that returns a ContractPromise object configured with the active api & chain as well as the given abi and address.

      @@ -37,85 +37,47 @@
      addresscontract: undefined | ContractPromise
    +
  • Defined in src/hooks/useContract.ts:10
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/useInkathon.html b/docs/functions/useInkathon.html index a7eddf3..7f75f3c 100644 --- a/docs/functions/useInkathon.html +++ b/docs/functions/useInkathon.html @@ -1,13 +1,13 @@ -useInkathon | @scio-labs/use-inkathon
    +useInkathon | @scio-labs/use-inkathon
    -
    +
    @@ -17,92 +17,54 @@

    Function useInkathon

    +
  • Defined in src/provider.tsx:73
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/usePSP22Balances.html b/docs/functions/usePSP22Balances.html new file mode 100644 index 0000000..bafef7b --- /dev/null +++ b/docs/functions/usePSP22Balances.html @@ -0,0 +1,79 @@ +usePSP22Balances | @scio-labs/use-inkathon
    +
    + +
    +
    +
    +
    + +

    Function usePSP22Balances

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/useRegisteredContract.html b/docs/functions/useRegisteredContract.html index 73d2bde..a4ca4ca 100644 --- a/docs/functions/useRegisteredContract.html +++ b/docs/functions/useRegisteredContract.html @@ -1,13 +1,13 @@ -useRegisteredContract | @scio-labs/use-inkathon
    +useRegisteredContract | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function useRegisteredContract

      - +
    • React Hook that returns a ContractPromise object configured with the active api & chain as well as the given deployment contract id @@ -38,85 +38,47 @@

      addresscontract: undefined | ContractPromise
    +
  • Defined in src/hooks/useRegisteredContract.ts:10
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/watchBalance.html b/docs/functions/watchBalance.html index 696e4a9..69bc9c2 100644 --- a/docs/functions/watchBalance.html +++ b/docs/functions/watchBalance.html @@ -1,13 +1,13 @@ -watchBalance | @scio-labs/use-inkathon
    +watchBalance | @scio-labs/use-inkathon
    -
    +
    @@ -17,7 +17,7 @@

    Function watchBalance

      - +
    • Watches the native token balance of the given address and returns it in a callback. The returned void function can be used to unsubscribe.

      @@ -47,85 +47,47 @@
      Optional Returns Promise<null | VoidFunction>
    +
  • Defined in src/helpers/getBalance.ts:46
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/functions/watchPSP22Balances.html b/docs/functions/watchPSP22Balances.html new file mode 100644 index 0000000..ce6daea --- /dev/null +++ b/docs/functions/watchPSP22Balances.html @@ -0,0 +1,93 @@ +watchPSP22Balances | @scio-labs/use-inkathon
    +
    + +
    +
    +
    +
    + +

    Function watchPSP22Balances

    +
    +
      + +
    • +

      Watches the PSP-22 token balances of the given address and returns it in a callback. +The returned void function can be used to unsubscribe.

      +
      +
      +

      Parameters

      +
        +
      • +
        api: ApiPromise
      • +
      • +
        address: undefined | string | AccountId
      • +
      • +
        callback: ((data) => void)
        +
      • +
      • +
        Optional formatterOptions: BalanceFormatterOptions
      +

      Returns null | VoidFunction

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index efb64dc..e8ddede 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,13 +1,13 @@ -@scio-labs/use-inkathon
    +@scio-labs/use-inkathon
    -
    +
    @@ -36,49 +36,49 @@

    @scio-labs/use-inkathon

  • Works multichain with live & dynamic chain-switching out-of-the-box
  • Getting Started

    Install the package from the npm registry:

    -
    npm install @scio-labs/use-inkathon
    +
    npm install @scio-labs/use-inkathon
     

    Use it:

    1. Wrap it around your app or parent component:
    -
    // import { development, UseInkathonProvider } from '@scio-labs/use-inkathon'

    <UseInkathonProvider appName="ink!athon" defaultChain={development}>
    <Component {...pageProps} />
    </UseInkathonProvider> +
    // import { development, UseInkathonProvider } from '@scio-labs/use-inkathon'

    <UseInkathonProvider appName="ink!athon" defaultChain={development}>
    <Component {...pageProps} />
    </UseInkathonProvider>
    1. Use the useInkathon hook everywhere underneath to access all the exposed properties below.
    -
    import { useInkathon } from '@scio-labs/use-inkathon'

    const { api, connect, activeChain, activeAccount, … } = useInkathon() +
    import { useInkathon } from '@scio-labs/use-inkathon'

    const { api, connect, activeChain, activeAccount, … } = useInkathon()

    The Contract Registry Concept 🌟

    Define metadata once and create ContractPromises everywhere with just a single identifier:

    -
    const { contract } = useRegisteredContract('greeter')
    +
    const { contract } = useRegisteredContract('greeter')
     

    This works by defining typesafe contract metadata objects (example) which are passed to the UseInkathonProvider provider (example).

    -
    import { alephzeroTestnet, SubstrateDeployment } from '@scio-labs/use-inkathon'

    export const getDeployments = async (): Promise<SubstrateDeployment[]> => {
    return [
    {
    contractId: 'greeter',
    networkId: alephzeroTestnet.network,
    abi: await import(`@inkathon/contracts/greeter/deployments/metadata.json`),
    address: '5HPwzKmJ6wgs18BEcLdH5P3mULnfnowvRzBtFcgQcwTLVwFc',
    },
    ]
    } +
    import { alephzeroTestnet, SubstrateDeployment } from '@scio-labs/use-inkathon'

    export const getDeployments = async (): Promise<SubstrateDeployment[]> => {
    return [
    {
    contractId: 'greeter',
    networkId: alephzeroTestnet.network,
    abi: await import(`@inkathon/contracts/greeter/deployments/metadata.json`),
    address: '5HPwzKmJ6wgs18BEcLdH5P3mULnfnowvRzBtFcgQcwTLVwFc',
    },
    ]
    }
    -
    <UseInkathonProvider
    appName="ink!athon"
    defaultChain={alephzeroTestnet}
    deployments={getDeployments()}
    >
    <Component {...pageProps} />
    </UseInkathonProvider> +
    <UseInkathonProvider
    appName="ink!athon"
    defaultChain={alephzeroTestnet}
    deployments={getDeployments()}
    >
    <Component {...pageProps} />
    </UseInkathonProvider>

    -

    Package Development

    # Install pnpm (https://pnpm.io/)
    npm i -g pnpm

    # Install dependencies
    pnpm i

    # Start tsup in development mode (watching)
    pnpm dev

    # Build the package and generated docs
    pnpm build +

    Package Development

    # Install pnpm (https://pnpm.io/)
    npm i -g pnpm

    # Install dependencies
    pnpm i

    # Start tsup in development mode (watching)
    pnpm dev

    # Build the package and generated docs
    pnpm build

    Heads up, when locally importing a development version of this package into other projects: Unfortunately, this does not yet work w/o generating a local packages .tgz-build every time. Otherwise, polkadot.js thinks it's installed twice with two different versions.

    -
    # 1. [THIS PACKAGE] Generate a .tgz package of the build
    pnpm tsup && pnpm pack

    # 2. [OTHER PROJECT] Add it as a dependency in your other project
    # NOTE: This results in a package.json entry like: `"@scio-labs/use-inkathon": "file:../scio-labs-use-inkathon-0.0.1-alpha.X.tgz"`
    pnpm add ../use-inkathon/scio-labs-use-inkathon-0.0.1-alpha.X.tgz
    # 3. [OTHER PROJECT] Subsequent updates can be done via
    # TIP: Add `--offline` flag for faster package updates
    pnpm update @scio-labs/use-inkathon +
    # 1. [THIS PACKAGE] Generate a .tgz package of the build
    pnpm tsup && pnpm pack

    # 2. [OTHER PROJECT] Add it as a dependency in your other project
    # NOTE: This results in a package.json entry like: `"@scio-labs/use-inkathon": "file:../scio-labs-use-inkathon-0.0.1-alpha.X.tgz"`
    pnpm add ../use-inkathon/scio-labs-use-inkathon-0.0.1-alpha.X.tgz
    # 3. [OTHER PROJECT] Subsequent updates can be done via
    # TIP: Add `--offline` flag for faster package updates
    pnpm update @scio-labs/use-inkathon
    -

    Package Release

    GITHUB_TOKEN=… pnpm release-it
    +

    Package Release

    GITHUB_TOKEN=… pnpm release-it
     
    @@ -99,68 +99,30 @@

    Package Development
  • Package Release
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/interfaces/ChainAsset.html b/docs/interfaces/ChainAsset.html new file mode 100644 index 0000000..99ede8b --- /dev/null +++ b/docs/interfaces/ChainAsset.html @@ -0,0 +1,136 @@ +ChainAsset | @scio-labs/use-inkathon
    +
    + +
    +
    +
    +
    + +

    Interface ChainAsset

    +
    +

    Hierarchy

    +
      +
    • ChainAsset
    +
    +
    +
    + +
    +
    +

    Properties

    +
    + +
    assetType: AssetType
    +
    + +
    decimals: number
    +
    + +
    iconPath: string
    +
    + +
    metadata: null | Record<any, any>
    +
    + +
    name: string
    +
    + +
    originChain: string
    +
    + +
    slug: string
    +
    + +
    symbol: string
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/interfaces/SubstrateChain.html b/docs/interfaces/SubstrateChain.html index d351a46..e938e08 100644 --- a/docs/interfaces/SubstrateChain.html +++ b/docs/interfaces/SubstrateChain.html @@ -1,13 +1,13 @@ -SubstrateChain | @scio-labs/use-inkathon
    +SubstrateChain | @scio-labs/use-inkathon
    -
    +
    @@ -24,15 +24,15 @@

    Hierarchy

    • SubstrateChain
    +
  • Defined in src/chains.ts:4
  • - +

    Properties

    -
    explorerUrls? +
    explorerUrls? faucetUrls? name network @@ -43,53 +43,53 @@

    Properties

    Properties

    - +
    explorerUrls?: Partial<Record<SubstrateExplorer, string>>
    +
  • Defined in src/chains.ts:9
  • faucetUrls?: string[]
    +
  • Defined in src/chains.ts:11
  • name: string
    +
  • Defined in src/chains.ts:6
  • network: string
    +
  • Defined in src/chains.ts:5
  • rpcUrls: [string, ...string[]]
    +
  • Defined in src/chains.ts:7
  • ss58Prefix?: number
    +
  • Defined in src/chains.ts:8
  • testnet?: boolean
    +
  • Defined in src/chains.ts:10
  • @@ -104,68 +104,30 @@

    ss58Prefix
  • testnet
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/interfaces/SubstrateDeployment.html b/docs/interfaces/SubstrateDeployment.html index 59ccb5f..2e37442 100644 --- a/docs/interfaces/SubstrateDeployment.html +++ b/docs/interfaces/SubstrateDeployment.html @@ -1,13 +1,13 @@ -SubstrateDeployment | @scio-labs/use-inkathon
    +SubstrateDeployment | @scio-labs/use-inkathon
    -
    +
    @@ -24,15 +24,15 @@

    Hierarchy

    • SubstrateDeployment
    +
  • Defined in src/registry.ts:9
  • - +

    Properties

    -
    abi +
    abi address contractId networkId @@ -40,38 +40,38 @@

    Properties

    Properties

    - +
    abi: string | Abi | Record<string, unknown>
    +
  • Defined in src/registry.ts:12
  • address: string | AccountId
    +
  • Defined in src/registry.ts:13
  • contractId: string
    +
  • Defined in src/registry.ts:10
  • networkId: string
    +
  • Defined in src/registry.ts:11
  • @@ -83,68 +83,30 @@

    contractId
  • networkId
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/interfaces/SubstrateWallet.html b/docs/interfaces/SubstrateWallet.html index eea5c37..4185776 100644 --- a/docs/interfaces/SubstrateWallet.html +++ b/docs/interfaces/SubstrateWallet.html @@ -1,13 +1,13 @@ -SubstrateWallet | @scio-labs/use-inkathon
    +SubstrateWallet | @scio-labs/use-inkathon
    -
    +
    @@ -24,15 +24,15 @@

    Hierarchy

    • SubstrateWallet
    +
  • Defined in src/wallets.ts:6
  • - +

    Properties

    -
    id +
    id logoUrls name platforms @@ -41,25 +41,25 @@

    Properties

    Properties

    - +
    id: string
    +
  • Defined in src/wallets.ts:7
  • logoUrls: [string, ...string[]]
    +
  • Defined in src/wallets.ts:17
  • name: string
    +
  • Defined in src/wallets.ts:8
  • +
  • Defined in src/wallets.ts:9
  • urls: {
        androidApp?: string;
        chromeExtension?: string;
        firefoxExtension?: string;
        iosApp?: string;
        website: string;
    }
    @@ -77,20 +77,20 @@
    Optional
    website: string
    +
  • Defined in src/wallets.ts:10
  • @@ -103,68 +103,30 @@

    platforms
  • urls
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/interfaces/UseInkathonError.html b/docs/interfaces/UseInkathonError.html index 5c2c2fb..4facccd 100644 --- a/docs/interfaces/UseInkathonError.html +++ b/docs/interfaces/UseInkathonError.html @@ -1,13 +1,13 @@ -UseInkathonError | @scio-labs/use-inkathon
    +UseInkathonError | @scio-labs/use-inkathon
    -
    +
    @@ -20,42 +20,42 @@

    Hierarchy

    • UseInkathonError
    +
  • Defined in src/provider.tsx:36
  • - +

    Properties

    -

    Properties

    - +
    +
  • Defined in src/provider.tsx:37
  • message: string
    +
  • Defined in src/provider.tsx:38
  • @@ -65,68 +65,30 @@

    code
  • message
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/interfaces/UseInkathonProviderProps.html b/docs/interfaces/UseInkathonProviderProps.html index f25bc1e..dec8193 100644 --- a/docs/interfaces/UseInkathonProviderProps.html +++ b/docs/interfaces/UseInkathonProviderProps.html @@ -1,13 +1,13 @@ -UseInkathonProviderProps | @scio-labs/use-inkathon
    +UseInkathonProviderProps | @scio-labs/use-inkathon
    -
    +
    @@ -27,15 +27,15 @@

    Hierarchy

    • UseInkathonProviderProps
    +
  • Defined in src/provider.tsx:85
  • - +

    Properties

    -
    apiOptions? +
    apiOptions? appName children? connectOnInit? @@ -45,49 +45,49 @@

    Properties

    Properties

    - +
    apiOptions?: ApiOptions
    +
  • Defined in src/provider.tsx:90
  • appName: string
    +
  • Defined in src/provider.tsx:86
  • children?: ReactNode
    +
  • Defined in node_modules/.pnpm/@types+react@18.2.21/node_modules/@types/react/index.d.ts:842
  • connectOnInit?: boolean
    +
  • Defined in src/provider.tsx:88
  • defaultChain: string | SubstrateChain
    +
  • Defined in src/provider.tsx:87
  • deployments?: Promise<SubstrateDeployment[]>
    +
  • Defined in src/provider.tsx:89
  • @@ -101,68 +101,30 @@

    defaultChain
  • deployments
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index d770429..4ab1aa0 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,13 +1,13 @@ -@scio-labs/use-inkathon
    +@scio-labs/use-inkathon
    -
    +
    +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/BalanceData.html b/docs/types/BalanceData.html index 68f3181..133aece 100644 --- a/docs/types/BalanceData.html +++ b/docs/types/BalanceData.html @@ -1,13 +1,13 @@ -BalanceData | @scio-labs/use-inkathon
    +BalanceData | @scio-labs/use-inkathon
    -
    +
    @@ -40,85 +40,47 @@
    tokenDecimals
    tokenSymbol: string
    +
  • Defined in src/helpers/getBalance.ts:6
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/BalanceFormatterOptions.html b/docs/types/BalanceFormatterOptions.html index 0b0f379..36c32a7 100644 --- a/docs/types/BalanceFormatterOptions.html +++ b/docs/types/BalanceFormatterOptions.html @@ -1,13 +1,13 @@ -BalanceFormatterOptions | @scio-labs/use-inkathon
    +BalanceFormatterOptions | @scio-labs/use-inkathon
    -
    +
    @@ -26,85 +26,47 @@
    Optional
    Optional removeTrailingZeros?: boolean
    +
  • Defined in src/helpers/formatBalance.ts:8
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/ContractTxResult.html b/docs/types/ContractTxResult.html index 636115b..808ccb3 100644 --- a/docs/types/ContractTxResult.html +++ b/docs/types/ContractTxResult.html @@ -1,13 +1,13 @@ -ContractTxResult | @scio-labs/use-inkathon
    +ContractTxResult | @scio-labs/use-inkathon
    -
    +
    @@ -40,85 +40,47 @@
    Optional Optional successEvent?: EventRecord
    +
  • Defined in src/helpers/contractCall.ts:62
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/PSP22BalanceData.html b/docs/types/PSP22BalanceData.html new file mode 100644 index 0000000..7787ca6 --- /dev/null +++ b/docs/types/PSP22BalanceData.html @@ -0,0 +1,78 @@ +PSP22BalanceData | @scio-labs/use-inkathon
    +
    + +
    +
    +
    +
    + +

    Type alias PSP22BalanceData

    +
    PSP22BalanceData: {
        balance?: BN;
        balanceFormatted?: string;
        iconPath: string;
        tokenDecimals: number;
        tokenSlug: string;
        tokenSymbol: string;
    }
    +
    +

    Type declaration

    +
      +
    • +
      Optional balance?: BN
    • +
    • +
      Optional balanceFormatted?: string
    • +
    • +
      iconPath: string
    • +
    • +
      tokenDecimals: number
    • +
    • +
      tokenSlug: string
    • +
    • +
      tokenSymbol: string
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/PolkadotBalanceFormatterOptions.html b/docs/types/PolkadotBalanceFormatterOptions.html index 92fd721..992feb6 100644 --- a/docs/types/PolkadotBalanceFormatterOptions.html +++ b/docs/types/PolkadotBalanceFormatterOptions.html @@ -1,13 +1,13 @@ -PolkadotBalanceFormatterOptions | @scio-labs/use-inkathon
    +PolkadotBalanceFormatterOptions | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Type alias PolkadotBalanceFormatterOptions

    PolkadotBalanceFormatterOptions: NonNullable<Parameters<typeof polkadotFormatBalance>["1"]>
    +
  • Defined in src/helpers/formatBalance.ts:4
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/TokenData.html b/docs/types/TokenData.html new file mode 100644 index 0000000..5a9e7f6 --- /dev/null +++ b/docs/types/TokenData.html @@ -0,0 +1,70 @@ +TokenData | @scio-labs/use-inkathon
    +
    + +
    +
    +
    +
    + +

    Type alias TokenData

    +
    TokenData: {
        tokenDecimals: number;
        tokenSymbol: string;
    }
    +
    +

    Type declaration

    +
      +
    • +
      tokenDecimals: number
    • +
    • +
      tokenSymbol: string
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/types/UseInkathonProviderContextType.html b/docs/types/UseInkathonProviderContextType.html index 6bad58c..3fd485c 100644 --- a/docs/types/UseInkathonProviderContextType.html +++ b/docs/types/UseInkathonProviderContextType.html @@ -1,13 +1,13 @@ -UseInkathonProviderContextType | @scio-labs/use-inkathon
    +UseInkathonProviderContextType | @scio-labs/use-inkathon
    -
    +
    +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html b/docs/variables/PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html new file mode 100644 index 0000000..abcfcbd --- /dev/null +++ b/docs/variables/PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html @@ -0,0 +1,66 @@ +PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL | @scio-labs/use-inkathon
    +
    + +
    +
    +
    +
    + +

    Variable PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVALConst

    +
    PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL: 60000 = 60000
    +

    Default refresh interval for the PSP-22 token balances.

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/UseInkathonProviderContext.html b/docs/variables/UseInkathonProviderContext.html index 243e91e..f05e647 100644 --- a/docs/variables/UseInkathonProviderContext.html +++ b/docs/variables/UseInkathonProviderContext.html @@ -1,13 +1,13 @@ -UseInkathonProviderContext | @scio-labs/use-inkathon
    +UseInkathonProviderContext | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable UseInkathonProviderContextConst

    UseInkathonProviderContext: Context<null | UseInkathonProviderContextType> = ...
    +
  • Defined in src/provider.tsx:68
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/alephzero.html b/docs/variables/alephzero.html index 56d8671..93b19e3 100644 --- a/docs/variables/alephzero.html +++ b/docs/variables/alephzero.html @@ -1,13 +1,13 @@ -alephzero | @scio-labs/use-inkathon
    +alephzero | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable alephzeroConst

    alephzero: SubstrateChain = ...
    +
  • Defined in src/chains.ts:91
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/alephzeroSigner.html b/docs/variables/alephzeroSigner.html index e88e402..d5216e9 100644 --- a/docs/variables/alephzeroSigner.html +++ b/docs/variables/alephzeroSigner.html @@ -1,13 +1,13 @@ -alephzeroSigner | @scio-labs/use-inkathon
    +alephzeroSigner | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable alephzeroSignerConst

    alephzeroSigner: SubstrateWallet = ...
    +
  • Defined in src/wallets.ts:91
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/alephzeroTestnet.html b/docs/variables/alephzeroTestnet.html index 4c1eb91..3facd4e 100644 --- a/docs/variables/alephzeroTestnet.html +++ b/docs/variables/alephzeroTestnet.html @@ -1,13 +1,13 @@ -alephzeroTestnet | @scio-labs/use-inkathon
    +alephzeroTestnet | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable alephzeroTestnetConst

    alephzeroTestnet: SubstrateChain = ...
    +
  • Defined in src/chains.ts:40
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/allSubstrateChains.html b/docs/variables/allSubstrateChains.html index 6f9307d..2e5a78a 100644 --- a/docs/variables/allSubstrateChains.html +++ b/docs/variables/allSubstrateChains.html @@ -1,13 +1,13 @@ -allSubstrateChains | @scio-labs/use-inkathon
    +allSubstrateChains | @scio-labs/use-inkathon
    -
    +
    @@ -20,85 +20,47 @@

    Variable allSubstrateChainsConst <

    +
  • Defined in src/chains.ts:118
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/allSubstrateWallets.html b/docs/variables/allSubstrateWallets.html index 3231adf..7b7ff3c 100644 --- a/docs/variables/allSubstrateWallets.html +++ b/docs/variables/allSubstrateWallets.html @@ -1,13 +1,13 @@ -allSubstrateWallets | @scio-labs/use-inkathon
    +allSubstrateWallets | @scio-labs/use-inkathon
    -
    +
    @@ -20,85 +20,47 @@

    Variable allSubstrateWalletsConst

    +
  • Defined in src/wallets.ts:125
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/astar.html b/docs/variables/astar.html index a8fb951..bcc4dae 100644 --- a/docs/variables/astar.html +++ b/docs/variables/astar.html @@ -1,13 +1,13 @@ -astar | @scio-labs/use-inkathon
    +astar | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable astarConst

    astar: SubstrateChain = ...
    +
  • Defined in src/chains.ts:104
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/development.html b/docs/variables/development.html index 3bae73c..d2c8d87 100644 --- a/docs/variables/development.html +++ b/docs/variables/development.html @@ -1,13 +1,13 @@ -development | @scio-labs/use-inkathon
    +development | @scio-labs/use-inkathon
    -
    +
    +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/nightly.html b/docs/variables/nightly.html index 4f3df75..ab1ec97 100644 --- a/docs/variables/nightly.html +++ b/docs/variables/nightly.html @@ -1,13 +1,13 @@ -nightly | @scio-labs/use-inkathon
    +nightly | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable nightlyConst

    nightly: SubstrateWallet = ...
    +
  • Defined in src/wallets.ts:106
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/nova.html b/docs/variables/nova.html index 2d633a5..a2ee502 100644 --- a/docs/variables/nova.html +++ b/docs/variables/nova.html @@ -1,13 +1,13 @@ -nova | @scio-labs/use-inkathon
    +nova | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable novaConst

    nova: SubstrateWallet = ...
    +
  • Defined in src/wallets.ts:76
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/polkadotjs.html b/docs/variables/polkadotjs.html index b77ae2c..96abe54 100644 --- a/docs/variables/polkadotjs.html +++ b/docs/variables/polkadotjs.html @@ -1,13 +1,13 @@ -polkadotjs | @scio-labs/use-inkathon
    +polkadotjs | @scio-labs/use-inkathon
    -
    +
    +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/psp22Abi.html b/docs/variables/psp22Abi.html new file mode 100644 index 0000000..baeae2b --- /dev/null +++ b/docs/variables/psp22Abi.html @@ -0,0 +1,63 @@ +psp22Abi | @scio-labs/use-inkathon
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/psp22Asset.html b/docs/variables/psp22Asset.html new file mode 100644 index 0000000..6e9b151 --- /dev/null +++ b/docs/variables/psp22Asset.html @@ -0,0 +1,63 @@ +psp22Asset | @scio-labs/use-inkathon
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/rococo.html b/docs/variables/rococo.html index 1f3f8b7..82ff6f5 100644 --- a/docs/variables/rococo.html +++ b/docs/variables/rococo.html @@ -1,13 +1,13 @@ -rococo | @scio-labs/use-inkathon
    +rococo | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable rococoConst

    rococo: SubstrateChain = ...
    +
  • Defined in src/chains.ts:54
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/shibuya.html b/docs/variables/shibuya.html index 7f1f9b8..9df21a2 100644 --- a/docs/variables/shibuya.html +++ b/docs/variables/shibuya.html @@ -1,13 +1,13 @@ -shibuya | @scio-labs/use-inkathon
    +shibuya | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable shibuyaConst

    shibuya: SubstrateChain = ...
    +
  • Defined in src/chains.ts:65
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/shiden.html b/docs/variables/shiden.html index e9cb29b..04c2197 100644 --- a/docs/variables/shiden.html +++ b/docs/variables/shiden.html @@ -1,13 +1,13 @@ -shiden | @scio-labs/use-inkathon
    +shiden | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable shidenConst

    shiden: SubstrateChain = ...
    +
  • Defined in src/chains.ts:79
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/subwallet.html b/docs/variables/subwallet.html index 0bd0318..f9af418 100644 --- a/docs/variables/subwallet.html +++ b/docs/variables/subwallet.html @@ -1,13 +1,13 @@ -subwallet | @scio-labs/use-inkathon
    +subwallet | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable subwalletConst

    subwallet: SubstrateWallet = ...
    +
  • Defined in src/wallets.ts:44
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/docs/variables/talisman.html b/docs/variables/talisman.html index d8d627f..09b6f5f 100644 --- a/docs/variables/talisman.html +++ b/docs/variables/talisman.html @@ -1,13 +1,13 @@ -talisman | @scio-labs/use-inkathon
    +talisman | @scio-labs/use-inkathon
    -
    +
    @@ -17,85 +17,47 @@

    Variable talismanConst

    talisman: SubstrateWallet = ...
    +
  • Defined in src/wallets.ts:60
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file