From d228de6b784a1c192c9b6b521af9bced43441692 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Jan 2024 03:29:20 +0000 Subject: [PATCH 1/2] RELEASING: Releasing 1 package(s) Releases: @scio-labs/use-inkathon@0.7.0 [skip ci] --- .changeset/spicy-geckos-love.md | 5 ----- CHANGELOG.md | 6 ++++++ package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/spicy-geckos-love.md diff --git a/.changeset/spicy-geckos-love.md b/.changeset/spicy-geckos-love.md deleted file mode 100644 index 903bb5d..0000000 --- a/.changeset/spicy-geckos-love.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@scio-labs/use-inkathon': minor ---- - -Add support for type-safe contract-interactions via `typechain-polkadot`. A new hook `useRegisteredTypedContract` enables easy instantiation with automatic assignment of api instance, network-dependant contract address, and the connected signer. Currently, only queries (read-only) are supported with those instances. – See README.md for more information. diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bf3223..87b2105 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @scio-labs/use-inkathon +## 0.7.0 + +### Minor Changes + +- [#57](https://github.com/scio-labs/use-inkathon/pull/57) [`7d356d7`](https://github.com/scio-labs/use-inkathon/commit/7d356d745073ea27e3daf56af379cb9ba6811d28) Thanks [@wottpal](https://github.com/wottpal)! - Add support for type-safe contract-interactions via `typechain-polkadot`. A new hook `useRegisteredTypedContract` enables easy instantiation with automatic assignment of api instance, network-dependant contract address, and the connected signer. Currently, only queries (read-only) are supported with those instances. – See README.md for more information. + ## 0.6.3 ### Patch Changes diff --git a/package.json b/package.json index 058ecd1..9c5677d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@scio-labs/use-inkathon", "author": "Scio Labs (https://scio.xyz)", - "version": "0.6.3", + "version": "0.7.0", "description": "Typesafe React Hooks abstracting functionality by polkadot.js for working with Substrate-based networks and ink! Smart Contracts.", "homepage": "https://inkathon.xyz", "license": "GPL-3.0", From 38d97f5ba82f4099e0231cc11bbe11758e036e36 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Jan 2024 03:29:23 +0000 Subject: [PATCH 2/2] chore(changeset): Bump version & Update docs --- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/enums/AssetType.html | 4 ++-- docs/enums/SubstrateExplorer.html | 4 ++-- docs/enums/SubstrateWalletPlatform.html | 4 ++-- docs/enums/UseInkathonErrorCode.html | 4 ++-- docs/functions/UseInkathonProvider.html | 2 +- docs/functions/accountArraysAreEqual.html | 2 +- docs/functions/accountsAreEqual.html | 2 +- docs/functions/checkIfBalanceSufficient.html | 2 +- docs/functions/contractCallDryRun.html | 2 +- docs/functions/contractQuery.html | 2 +- docs/functions/contractTx.html | 2 +- docs/functions/decodeOutput.html | 2 +- docs/functions/deployContract.html | 2 +- docs/functions/enableWallet.html | 2 +- docs/functions/formatBalance.html | 2 +- docs/functions/getAbiMessage.html | 2 +- docs/functions/getBalance.html | 2 +- docs/functions/getDeployment.html | 2 +- docs/functions/getDeploymentContract.html | 2 +- docs/functions/getExtrinsicErrorMessage.html | 2 +- docs/functions/getGasLimit.html | 2 +- docs/functions/getMaxGasLimit.html | 2 +- docs/functions/getNightlyConnectAdapter.html | 2 +- docs/functions/getPSP22Balances.html | 2 +- docs/functions/getSubstrateChain.html | 2 +- docs/functions/getSubstrateWallet.html | 2 +- docs/functions/getWebsiteIcon.html | 2 +- docs/functions/initPolkadotJs.html | 2 +- docs/functions/isWalletInstalled.html | 2 +- docs/functions/parsePSP22Balance.html | 2 +- docs/functions/registerDeployment.html | 2 +- docs/functions/registerDeployments.html | 2 +- docs/functions/transferBalance.html | 2 +- docs/functions/transferFullBalance.html | 2 +- docs/functions/unwrapResultOrDefault.html | 2 +- docs/functions/unwrapResultOrError.html | 2 +- docs/functions/useBalance.html | 2 +- docs/functions/useContract.html | 2 +- docs/functions/useInkathon.html | 2 +- docs/functions/usePSP22Balances.html | 2 +- docs/functions/useRegisteredContract.html | 6 +++--- docs/functions/useRegisteredTypedContract.html | 4 ++++ docs/functions/watchBalance.html | 2 +- docs/functions/watchPSP22Balances.html | 2 +- docs/index.html | 15 +++++++++++++-- docs/interfaces/ChainAsset.html | 4 ++-- docs/interfaces/DeployedContract.html | 4 ++-- docs/interfaces/SubstrateChain.html | 4 ++-- docs/interfaces/SubstrateDeployment.html | 4 ++-- docs/interfaces/SubstrateWallet.html | 4 ++-- docs/interfaces/UseInkathonError.html | 4 ++-- docs/interfaces/UseInkathonProviderProps.html | 4 ++-- docs/modules.html | 4 +++- docs/types/BalanceData.html | 2 +- docs/types/BalanceFormatterOptions.html | 2 +- docs/types/ContractTxResult.html | 2 +- docs/types/ExstrinsicThrowErrorMessage.html | 2 +- docs/types/PSP22BalanceData.html | 2 +- docs/types/PolkadotBalanceFormatterOptions.html | 2 +- docs/types/TokenData.html | 2 +- docs/types/TransferBalanceResult.html | 2 +- docs/types/TypechainContractConstructor.html | 1 + docs/types/UseInkathonProviderContextType.html | 2 +- ...PSP22_TOKEN_BALANCE_SUBSCRIPTION_INTERVAL.html | 2 +- docs/variables/agungTestnet.html | 2 +- docs/variables/alephzero.html | 2 +- docs/variables/alephzeroSigner.html | 2 +- docs/variables/alephzeroTestnet.html | 2 +- docs/variables/allPSP22Assets.html | 2 +- docs/variables/allSubstrateChains.html | 2 +- docs/variables/allSubstrateWallets.html | 2 +- docs/variables/amplitude.html | 2 +- docs/variables/amplitudeTestnet.html | 2 +- docs/variables/astar.html | 2 +- docs/variables/bitCountryAlphaTestnet.html | 2 +- docs/variables/development.html | 2 +- docs/variables/khala.html | 2 +- docs/variables/nightly.html | 2 +- docs/variables/nightlyConnect.html | 2 +- docs/variables/nova.html | 2 +- docs/variables/pendulum.html | 2 +- docs/variables/phala.html | 2 +- docs/variables/phalaPOC6Testnet.html | 2 +- docs/variables/polkadotjs.html | 2 +- docs/variables/psp22Abi.html | 2 +- docs/variables/rococo.html | 2 +- docs/variables/shibuya.html | 2 +- docs/variables/shiden.html | 2 +- docs/variables/subwallet.html | 2 +- docs/variables/t0rnTestnet.html | 2 +- docs/variables/talisman.html | 2 +- 93 files changed, 123 insertions(+), 105 deletions(-) create mode 100644 docs/functions/useRegisteredTypedContract.html create mode 100644 docs/types/TypechainContractConstructor.html diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 447f901..1453e31 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5XY0XKjNhQG4HfhOtNs3W7a5o443o7brO3a7O7FTicjw7FRLUtUEom9nb57xxiCJA4HepfJ+fUhJAySvv4TWTjZ6D6KjQGbnAuIbqKC2Ty6j0CWR3P7Vvgut0cR3UQHLrPo/ud/b97absqtsZpZmJ0KoTTo0OgERlhfmBBgV4LZndLHXtGP9bufDMzlgdlcyZnWSk9V1rlVLNMvTnPGZTU6rcOlBb1jKZjbtuwTk/d3DvIIhVBnyKZKWs1SnApDFPg2MNX1Uc6PjMKuPTiCxDuI5Eax18mjyWuG4sJpQ70wNBJcafXCM9ArrQozBHth6gIPTDCZwiOzrDXtuQBz65QC4d0vP33/ftJVPih9ZNaCXhaWK2l6xDA2pDcPW3JagymFDdmwPuTNTsZqLg1Pk1yr12oSPoIxbA8hTUSHrrLarCYTYnjD+qCnxIFlyo4c64H40NUSdQCJdfutMChoJs0OdN0BfOrQ0JCMPOeXRwBOwVfjegk6PWoWn5Pl77PF80P8FC+ms+fNp4fNdD1fJfPl4nm+SGbrz/FTe9kXpjnbimaKxzT2e/GD2wG2L+U+AWOl+3pqr+HWKUZAkX8DrVCjKY4BNnwv3e8qwlwjYzDqxoIMyYlqqKtvnMExN0FT/kepjwtSI8nrJ2TQrGMUeiwEt6W7cnCopjgGoKYgyFCcsQx/KC4FouGW26kqpdXnWBQ5I3qDJwk6gxcQqvDXCq3nlAnkkDPBsOZVgWgo+T634ow1rUvDjadKSkjR3vsJilIvaP8v/yeaFSCzUpRHrGlTo5r3DVsxMGxVfbWc3hFPQpihuPoz+Bf6m2urFGGKySTechSoa0RzrVKVoq/da4VoanK+Lc/oMNYlunEGsqdtBpJqWm5fg/Ww07opEoB9pyUxf06ZQpjg5sjQW2hqRHPku99Ku1Km1ToIWx746N2P7msuTS+voFhrdjaxhtnfJRMYiwaH4THmGC7NIT3Md/WyalPudjzl3nuwZfuyFF+vuKdMiEd9XpcShTupEeQfJegzpVWBEVByopTkRBAZpCqDZWmLEh0xt04yly1odz/tQm6CoEBenvtwk9pCbp1gdtUuoJ5pzPECBLQHG295Z9PUQl6AhojutFWawA4FPKXvNKAfoqYNDdLw7FTvI/HdpmejWZr/lZknfuR9vW3KNPKRnQYcJ0FTC291EmessPjrty9L8+7e2fSwXobm+k6qPI86q+oF+3+x3RRNfoGt4RbmqerroJMgKC65bc4GfkPHzk9QlLl2fC6NvfyRoVoYIsCCaQPuvGFgJ0SAGvbcWND0+6Gb+l8kOohIjECtfwyCgUFkBPahFGIE6MQItJSvmhXX85mlfoQd805zWhYNjoaDU9M+Fjk39VEDxJ23VZqgPgFOmUaaxWUP0pRpZPB9F2Zobl0/nNhhv2d2gwT8ymyaE8Pu1oeYwRvupjrkn/8B8CO1u1MaAAA=" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA5XZ0XKjNhQG4HfxdabZut20zR1xvB23Wdu12d2LnU5GhmOjWpaoJBKznb57xxiCJA4Herez59cnIWEQytd/JhbOdnI/iYwBG5c5TG4mObPZ5H4CsjiZ27fCd5k9icnN5MhlOrn/+d+bt7bbYmesZhbm51woDTo0OoER1hcmBNi1YHav9KlX9GP97icDC3lkNlNyrrXSM5V2LhXL9IuzjHFZzU7rcGlB71kC5rYt+8T0/Z2DPEIuVAnpTEmrWYJTYYgC3yam6h/l/Mgo7DqCE0h8gEhuFHtdPJq8ZiguXDbUC0MjwbVWLzwFvdYqN0OwF6Y6eGCCyQQemWWtacsczK1TCo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UaaTaXPUhTppHB512YoblNfXNif1TwzG5wLHw5Wxuve2mii1dmk4xYWbc+xAzOaTfVIf/8D6rghFEeGwAA" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index f61d6eb..73c0b41 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA81dW3PbOLL+L/KrjqPmnXnzZLzn+JzZJDvJ7D64Ui6agmVuaJJLUr5sav77KYCk2AC7eZGUqn2KI6IvwNdoAB9A8MeqzF+q1fvbH6vvSbZdvbet9SqLnsTq/SpK089fPlvWVVWJulqtV/syXb1fPUdlEt2nonqnF7h8rJ/S1XoVp1FViWr1frX6c02o3YpnkebFk8hqQid6OldhlIri8d+izL+Kqs4EpdUsMld1mcd5nBMKmwdz1VSPyf3+LSL0tE/mKqo3ZcbXEj2dq/A+qT/k+6wu367S4jHiddMFZ0O022e7EXjQ49kqn4o0qfdbMaLWKDJXdfEYpdHnTx88XrVZZEEkbEVGB8JWZIsrP1brucq+y7oQitTvizvhWO+brayqo5JSJH+fjaLItvt0/0Sh1z5aFBBcFMxvofTL/r6qy6gWHx6jJGNSqlFoVL3nHNTvRK1LHrQ/7LO4TvKsejcoM1d5FMey81dXpbj+1z5KCd1mkYWqr8oyepuhXy8310j8KOLvNw+/RGmUxeLL/uEhiRM8APV2uKKzTeVZXUZx/SFK01/Lt9/3FBDDQkvV/20vyrcRzer5qFJrE/rg9vH5oZX8+vq7qPZp3zb1WyGqd+bjcYdd1/YOmu/upIo5+i4ORZHa9aqISgkW4WNvEjZW30rb8m1+JVqjl1honvnL1l3Gi3KxC+VZ7YuyzMu/iqqKdkta/9KQO58v18+4z831pJM6ix/VPo5FVS32xJA7T5u81mWSVUn8P1H1uKhZDMHzenOTbcXrUe50kmfx5z7N4+9LWwYLHesFkW2/vo6k2q+vc5P3VsT5Vnza18WeGnrw4+PT64i+C+2XiVyrldU8ZwDLZ9eL8uPyIL7Qn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uNY3aEqdr6htJlZAy8T2GMEjeQALnxyyGn5ErddIrHbhXUZZdWDKKkJL5opsNyHIT8cY3wECrt70ml52Kcp5QlqFXadsc9eyqhoHMjLdldK04JnxFzb6loGZIWP0iu7gBqMeHicBZetQEVNmwLUB9nksa8EuXGL5hdsT9pXIjl83xvJ4lXAZsRwJzxkz/AxCwi4IdBUMdwxx0sAdlcIqaEWASFOwuxhJEJJ3FywOThAg2kr+QLDbIVF86lz1NI4OjYjMLH8coB6PksN7CtRHr78TkYLTp/sSa+XqI4fqbksag+2OZQwT5OjcGXPLR4+WoT7F8bCJY1/W6+KpBBpkonV+9tvf/75/wnQVIbdqwAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA81dWXPcOJL+L6XXWrmSN/2mdmt2vdtje9rumQeFQ0GxIIljiuTwkKVx9H/fAEgWE2Amj6pyxDxZLuYFfInrAwj+2JT592rz9ubH5luS7TdvbWu7yaInsXm7idL00+dPlnVVVaKuNttNU6abt5vnqEyiu1RUb3SBy8f6Kd1sN3EaVZWoNm83mz+3hNm9eBZpXjyJrCZsoqdLDUapKB7/Lcr8i6jqTFBWTZGlpss8zuOcMNg+WGqmekzumteIsNM9WWqo3pUZX0r0dKnBu6R+lzdZXb5epcVjxNumBRdD9NBkDxPwoMeLTT4VaVI3ezFh1hBZarp4jNLo08d3Hm/aFFmRCXuR0YmwF9nqwk+Veqmxb7IshCH1++pGONX6Fhur6qikDMnfF6Mosn2TNk8Uet2jVQnBZcHyGko/N3dVXUa1ePcYJRnTpRpCk+Y952D+QdS65sH6fZPFdZJn1ZuRzFLjURzLxl9dleL6X02UErZNkZWmr8oyel1gX5db6iR+FPG39/e/RGmUxeJzc3+fxAkegAY/nOhiV3lWl1Fcv4vS9Nfy9feGAmIstNb83xpRvk5YVs8njVq70Ad3yM93neaXl99F1aRD3dSvhajemI+nA3Zd2ztYvr2VJpbYuziIIrPbTRGVEiwixsEl7Kyhlvbl6/JCdE4vsdIy95dduE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+44T0MinE0LK7ZGMbOkeE64SdlpeiEuWz2FNVgpLb5dq4oU/XCOqbXL40I6YIFcDqKF52D7vM4zzWtlrxRgKnVMRjcgEPG+yUrxJT0x5c8yGXjdVjcte86ptIqPXwWnuhr75w/8E6U194xEpYi91rkJ+HKrrPQ+E6wmMGS39W/QeCcIeJ3Tpc7z2x1NRmpTaXlQcDdPsCTPQDS+CgiUb/nSUcCR7rHRaviTUvpkLlke1FForDdwPwbFkbjidiIaLAXa61YzOhiWNRVSNy1EaAsh1ve88ve8wEj+jslmf/TU+cw9oKhWvk9a7MiAkISmEuDYfLvnB14V5px4FGOATt6AO7JauG6tHuMiopS3i2msQ2DV6FOt22utstU9jFsLJmdhu48OxyttUcwYXX4P1Uye2O5LAr+rqMsupelNSMF+Ut28ka+uNBBm8osAfLeiv3TZpSkaBaYVe5df9ZhcMWJP44BG4OuItkmUVpjtxYCnCWsSuxJvteRkVbHXnZ7ZJpZcITdA5p3cqIPPFRw2b3pkYDMN5uAXbe0VTULC5AdcfuYzeVICsOTXdY2qCpRHL4kj3SxV0YS7Eg5TGb52on/dgaN0yMt/JxnxhO1F5vhlqThHh8Z5d3hJG4vU11dLIHH0YBlqUmDBbqK+a4pnE1sdOdRl8o6xZQP8SyDE0l+uk108xwFbELPs0M32Tx6M2e6fse1fEjNU1HuccSZUqZ3wJA8LAr0MOnvvC8A/dV9LLp63ZTJIVIk0xs3t58/fPP/wd7qIRTwbIAAA=="; \ No newline at end of file diff --git a/docs/enums/AssetType.html b/docs/enums/AssetType.html index 4c8ecca..bb03d45 100644 --- a/docs/enums/AssetType.html +++ b/docs/enums/AssetType.html @@ -1,3 +1,3 @@ -AssetType | @scio-labs/use-inkathon

Enumeration Members

PSP22 +AssetType | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

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 704afa5..d85b719 100644 --- a/docs/enums/SubstrateExplorer.html +++ b/docs/enums/SubstrateExplorer.html @@ -1,3 +1,3 @@ -SubstrateExplorer | @scio-labs/use-inkathon

Enumeration SubstrateExplorer

Enumeration Members

PolkadotJs +SubstrateExplorer | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

PolkadotJs: "polkadotjs"
Subscan: "subscan"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/SubstrateWalletPlatform.html b/docs/enums/SubstrateWalletPlatform.html index e2bd81a..da30964 100644 --- a/docs/enums/SubstrateWalletPlatform.html +++ b/docs/enums/SubstrateWalletPlatform.html @@ -1,4 +1,4 @@ -SubstrateWalletPlatform | @scio-labs/use-inkathon

Enumeration SubstrateWalletPlatform

Enumeration Members

Android +SubstrateWalletPlatform | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

Android: "android"
Browser: "browser"
iOS: "ios"

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/UseInkathonErrorCode.html b/docs/enums/UseInkathonErrorCode.html index 2c0b3a7..7233d62 100644 --- a/docs/enums/UseInkathonErrorCode.html +++ b/docs/enums/UseInkathonErrorCode.html @@ -1,4 +1,4 @@ -UseInkathonErrorCode | @scio-labs/use-inkathon

Enumeration UseInkathonErrorCode

Enumeration Members

InitializationError +UseInkathonErrorCode | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

InitializationError: 0
NoAccountInjected: 2
NoSubstrateExtensionDetected: 1

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/UseInkathonProvider.html b/docs/functions/UseInkathonProvider.html index 4f54910..c56baf6 100644 --- a/docs/functions/UseInkathonProvider.html +++ b/docs/functions/UseInkathonProvider.html @@ -1 +1 @@ -UseInkathonProvider | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +UseInkathonProvider | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/accountArraysAreEqual.html b/docs/functions/accountArraysAreEqual.html index 807a9db..c7802aa 100644 --- a/docs/functions/accountArraysAreEqual.html +++ b/docs/functions/accountArraysAreEqual.html @@ -1,3 +1,3 @@ accountArraysAreEqual | @scio-labs/use-inkathon

Function accountArraysAreEqual

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

    -

    Parameters

    • a1: InjectedAccount[]
    • a2: InjectedAccount[]

    Returns boolean

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • a1: InjectedAccount[]
  • a2: InjectedAccount[]

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/accountsAreEqual.html b/docs/functions/accountsAreEqual.html index d0603ca..906e8ca 100644 --- a/docs/functions/accountsAreEqual.html +++ b/docs/functions/accountsAreEqual.html @@ -1,2 +1,2 @@ accountsAreEqual | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • Optional a1: InjectedAccount
  • Optional a2: InjectedAccount

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/checkIfBalanceSufficient.html b/docs/functions/checkIfBalanceSufficient.html index 29d0eb4..8979edb 100644 --- a/docs/functions/checkIfBalanceSufficient.html +++ b/docs/functions/checkIfBalanceSufficient.html @@ -1,3 +1,3 @@ checkIfBalanceSufficient | @scio-labs/use-inkathon

Function checkIfBalanceSufficient

  • Fetches the balance of the given address and returns a boolean whether this is zero or below an optionally passed minimum value.

    -

    Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • Optional minBalance: string | number | bigint | BN

    Returns Promise<boolean>

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • account: string | IKeyringPair
  • Optional minBalance: string | number | bigint | BN

Returns Promise<boolean>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/contractCallDryRun.html b/docs/functions/contractCallDryRun.html index e0d541f..d24236a 100644 --- a/docs/functions/contractCallDryRun.html +++ b/docs/functions/contractCallDryRun.html @@ -1,3 +1,3 @@ contractCallDryRun | @scio-labs/use-inkathon
  • Performs a dry run for the given contract method and arguments. Is used within contractQuery & contractTx for gas estimation.

    -

    Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • contract: ContractPromise
    • method: string
    • options: ContractOptions = ...
    • args: unknown[] = ...

    Returns Promise<ContractCallOutcome>

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • account: string | IKeyringPair
  • contract: ContractPromise
  • method: string
  • options: ContractOptions = ...
  • args: unknown[] = ...

Returns Promise<ContractCallOutcome>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/contractQuery.html b/docs/functions/contractQuery.html index 2fc1741..5ee1e8a 100644 --- a/docs/functions/contractQuery.html +++ b/docs/functions/contractQuery.html @@ -1,2 +1,2 @@ contractQuery | @scio-labs/use-inkathon
  • Calls a given non-mutating contract method (query) with maximum possible gas limit.

    -

    Parameters

    • api: ApiPromise
    • address: string
    • contract: ContractPromise
    • method: string
    • options: ContractOptions = ...
    • args: unknown[] = ...

    Returns Promise<ContractCallOutcome>

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • address: string
  • contract: ContractPromise
  • method: string
  • options: ContractOptions = ...
  • args: unknown[] = ...

Returns Promise<ContractCallOutcome>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/contractTx.html b/docs/functions/contractTx.html index e602d32..0d4b499 100644 --- a/docs/functions/contractTx.html +++ b/docs/functions/contractTx.html @@ -1 +1 @@ -contractTx | @scio-labs/use-inkathon
  • Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • contract: ContractPromise
    • method: string
    • options: ContractOptions = ...
    • args: unknown[] = ...
    • Optional statusCb: ((result) => void | Promise<void>)
        • (result): void | Promise<void>
        • Parameters

          • result: ISubmittableResult

          Returns void | Promise<void>

    Returns Promise<ContractTxResult>

Generated using TypeDoc

\ No newline at end of file +contractTx | @scio-labs/use-inkathon
  • Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • contract: ContractPromise
    • method: string
    • options: ContractOptions = ...
    • args: unknown[] = ...
    • Optional statusCb: ((result) => void | Promise<void>)
        • (result): void | Promise<void>
        • Parameters

          • result: ISubmittableResult

          Returns void | Promise<void>

    Returns Promise<ContractTxResult>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/decodeOutput.html b/docs/functions/decodeOutput.html index 80f48a1..fc117c7 100644 --- a/docs/functions/decodeOutput.html +++ b/docs/functions/decodeOutput.html @@ -1,4 +1,4 @@ decodeOutput | @scio-labs/use-inkathon
  • Decodes & unwraps outputs and errors of a given result, contract, and method. Parsed error message can be found in decodedOutput if isError is true. SOURCE: https://github.com/paritytech/contracts-ui (GPL-3.0-only)

    -

    Parameters

    • __namedParameters: Pick<ContractExecResult, "result" | "debugMessage">
    • contract: ContractPromise
    • method: string

    Returns {
        decodedOutput: string;
        isError: boolean;
        output: any;
    }

    • decodedOutput: string
    • isError: boolean
    • output: any

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • __namedParameters: Pick<ContractExecResult, "result" | "debugMessage">
  • contract: ContractPromise
  • method: string

Returns {
    decodedOutput: string;
    isError: boolean;
    output: any;
}

  • decodedOutput: string
  • isError: boolean
  • output: any

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/deployContract.html b/docs/functions/deployContract.html index 2b1f68f..26e912e 100644 --- a/docs/functions/deployContract.html +++ b/docs/functions/deployContract.html @@ -1,2 +1,2 @@ deployContract | @scio-labs/use-inkathon
  • Uploads & instantiates a contract on-chain.

    -

    Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • abi: any
    • wasm: string | Uint8Array | Buffer
    • constructorMethod: string = 'new'
    • args: unknown[] = ...
    • options: ContractOptions = ...

    Returns Promise<DeployedContract>

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • account: string | IKeyringPair
  • abi: any
  • wasm: string | Uint8Array | Buffer
  • constructorMethod: string = 'new'
  • args: unknown[] = ...
  • options: ContractOptions = ...

Returns Promise<DeployedContract>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/enableWallet.html b/docs/functions/enableWallet.html index 702b5d4..8a64674 100644 --- a/docs/functions/enableWallet.html +++ b/docs/functions/enableWallet.html @@ -1,2 +1,2 @@ enableWallet | @scio-labs/use-inkathon
  • Enables the given wallet (if existent) and returns the injected extension.

    -

    Parameters

    Returns Promise<undefined | InjectedExtension>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<undefined | InjectedExtension>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/formatBalance.html b/docs/functions/formatBalance.html index 394ac0e..a194077 100644 --- a/docs/functions/formatBalance.html +++ b/docs/functions/formatBalance.html @@ -1,2 +1,2 @@ formatBalance | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getAbiMessage.html b/docs/functions/getAbiMessage.html index b19ac78..4fa4c70 100644 --- a/docs/functions/getAbiMessage.html +++ b/docs/functions/getAbiMessage.html @@ -1,2 +1,2 @@ getAbiMessage | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • contract: ContractPromise
  • method: string

Returns AbiMessage

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getBalance.html b/docs/functions/getBalance.html index a4aab2e..c20192a 100644 --- a/docs/functions/getBalance.html +++ b/docs/functions/getBalance.html @@ -1,2 +1,2 @@ getBalance | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<BalanceData>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getDeployment.html b/docs/functions/getDeployment.html index 6265af9..6b41d1b 100644 --- a/docs/functions/getDeployment.html +++ b/docs/functions/getDeployment.html @@ -1,3 +1,3 @@ getDeployment | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns undefined | SubstrateDeployment

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getDeploymentContract.html b/docs/functions/getDeploymentContract.html index 73dc573..dc09b4a 100644 --- a/docs/functions/getDeploymentContract.html +++ b/docs/functions/getDeploymentContract.html @@ -1,3 +1,3 @@ getDeploymentContract | @scio-labs/use-inkathon

Function getDeploymentContract

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

    -

    Parameters

    Returns undefined | ContractPromise

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns undefined | ContractPromise

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getExtrinsicErrorMessage.html b/docs/functions/getExtrinsicErrorMessage.html index e3c0216..08c8ef9 100644 --- a/docs/functions/getExtrinsicErrorMessage.html +++ b/docs/functions/getExtrinsicErrorMessage.html @@ -1 +1 @@ -getExtrinsicErrorMessage | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +getExtrinsicErrorMessage | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getGasLimit.html b/docs/functions/getGasLimit.html index 6dcdd64..f09d51a 100644 --- a/docs/functions/getGasLimit.html +++ b/docs/functions/getGasLimit.html @@ -1,2 +1,2 @@ getGasLimit | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • _refTime: string | BN
  • _proofSize: string | BN

Returns WeightV2

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getMaxGasLimit.html b/docs/functions/getMaxGasLimit.html index 0a989c4..09ef317 100644 --- a/docs/functions/getMaxGasLimit.html +++ b/docs/functions/getMaxGasLimit.html @@ -1,4 +1,4 @@ getMaxGasLimit | @scio-labs/use-inkathon
  • Helper function that returns the maximum gas limit Weights V2 object for an extrinsic based on the api chain constants. NOTE: It's reduced by a given factor (defaults to 80%) to avoid storage exhaust.

    -

    Parameters

    • api: ApiPromise
    • reductionFactor: number = 0.8

    Returns WeightV2

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • reductionFactor: number = 0.8

Returns WeightV2

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getNightlyConnectAdapter.html b/docs/functions/getNightlyConnectAdapter.html index 50e505e..3ae1059 100644 --- a/docs/functions/getNightlyConnectAdapter.html +++ b/docs/functions/getNightlyConnectAdapter.html @@ -1 +1 @@ -getNightlyConnectAdapter | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +getNightlyConnectAdapter | @scio-labs/use-inkathon

Function getNightlyConnectAdapter

  • Parameters

    • Optional appName: string
    • Optional appIcon: string
    • Optional appOrigin: string
    • persisted: boolean = true

    Returns Promise<any>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getPSP22Balances.html b/docs/functions/getPSP22Balances.html index ae75d74..7ef8492 100644 --- a/docs/functions/getPSP22Balances.html +++ b/docs/functions/getPSP22Balances.html @@ -1,2 +1,2 @@ getPSP22Balances | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • address: undefined | string | AccountId
  • chainId: string
  • Optional formatterOptions: BalanceFormatterOptions

Returns Promise<PSP22BalanceData[]>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getSubstrateChain.html b/docs/functions/getSubstrateChain.html index f28857e..9862781 100644 --- a/docs/functions/getSubstrateChain.html +++ b/docs/functions/getSubstrateChain.html @@ -1,2 +1,2 @@ getSubstrateChain | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • Optional networkId: string

Returns undefined | SubstrateChain

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getSubstrateWallet.html b/docs/functions/getSubstrateWallet.html index 7756217..6a3aee4 100644 --- a/docs/functions/getSubstrateWallet.html +++ b/docs/functions/getSubstrateWallet.html @@ -1,2 +1,2 @@ getSubstrateWallet | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • id: string

Returns undefined | SubstrateWallet

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getWebsiteIcon.html b/docs/functions/getWebsiteIcon.html index f1ad8ec..ce9e0da 100644 --- a/docs/functions/getWebsiteIcon.html +++ b/docs/functions/getWebsiteIcon.html @@ -1 +1 @@ -getWebsiteIcon | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +getWebsiteIcon | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/initPolkadotJs.html b/docs/functions/initPolkadotJs.html index de490fc..e98a367 100644 --- a/docs/functions/initPolkadotJs.html +++ b/docs/functions/initPolkadotJs.html @@ -1,2 +1,2 @@ initPolkadotJs | @scio-labs/use-inkathon
  • Helper to initialize polkadot.js API with given chain and options.

    -

    Parameters

    Returns Promise<{
        api: ApiPromise;
        provider: WsProvider | HttpProvider;
    }>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<{
    api: ApiPromise;
    provider: WsProvider | HttpProvider;
}>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/isWalletInstalled.html b/docs/functions/isWalletInstalled.html index 98c0d2c..e3b13c3 100644 --- a/docs/functions/isWalletInstalled.html +++ b/docs/functions/isWalletInstalled.html @@ -1 +1 @@ -isWalletInstalled | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +isWalletInstalled | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/parsePSP22Balance.html b/docs/functions/parsePSP22Balance.html index df7f2c7..1ef94d5 100644 --- a/docs/functions/parsePSP22Balance.html +++ b/docs/functions/parsePSP22Balance.html @@ -1,2 +1,2 @@ parsePSP22Balance | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/registerDeployment.html b/docs/functions/registerDeployment.html index 04bbff9..6da1a70 100644 --- a/docs/functions/registerDeployment.html +++ b/docs/functions/registerDeployment.html @@ -1,4 +1,4 @@ registerDeployment | @scio-labs/use-inkathon
  • Registering the given deployment with the given setDeployments dispatcher. The registry is kept unique, so if there is already one deployment with equal contractId and networkId it will be replaced.

    -

    Parameters

    Returns void

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/registerDeployments.html b/docs/functions/registerDeployments.html index 6fcc30f..6d2106d 100644 --- a/docs/functions/registerDeployments.html +++ b/docs/functions/registerDeployments.html @@ -1,2 +1,2 @@ registerDeployments | @scio-labs/use-inkathon

Function registerDeployments

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

    -

    Parameters

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/transferBalance.html b/docs/functions/transferBalance.html index 29c3768..0863dcb 100644 --- a/docs/functions/transferBalance.html +++ b/docs/functions/transferBalance.html @@ -1,2 +1,2 @@ transferBalance | @scio-labs/use-inkathon
  • Transfers a given amount of tokens from one account to another.

    -

    Parameters

    • api: ApiPromise
    • fromAccount: string | IKeyringPair
    • toAddress: string | AccountId
    • amount: string | number | bigint | BN
    • Optional allowDeath: boolean
    • Optional statusCb: ((result) => void | Promise<void>)
        • (result): void | Promise<void>
        • Parameters

          • result: ISubmittableResult

          Returns void | Promise<void>

    Returns Promise<TransferBalanceResult>

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • fromAccount: string | IKeyringPair
  • toAddress: string | AccountId
  • amount: string | number | bigint | BN
  • Optional allowDeath: boolean
  • Optional statusCb: ((result) => void | Promise<void>)
      • (result): void | Promise<void>
      • Parameters

        • result: ISubmittableResult

        Returns void | Promise<void>

Returns Promise<TransferBalanceResult>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/transferFullBalance.html b/docs/functions/transferFullBalance.html index 3de478b..9e87a96 100644 --- a/docs/functions/transferFullBalance.html +++ b/docs/functions/transferFullBalance.html @@ -1,2 +1,2 @@ transferFullBalance | @scio-labs/use-inkathon

Function transferFullBalance

  • Transfers all available tokens from one account to another.

    -

    Parameters

    • api: ApiPromise
    • fromAccount: string | IKeyringPair
    • toAddress: string | AccountId
    • Optional keepAlive: boolean
    • Optional statusCb: ((result) => void | Promise<void>)
        • (result): void | Promise<void>
        • Parameters

          • result: ISubmittableResult

          Returns void | Promise<void>

    Returns Promise<TransferBalanceResult>

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • fromAccount: string | IKeyringPair
  • toAddress: string | AccountId
  • Optional keepAlive: boolean
  • Optional statusCb: ((result) => void | Promise<void>)
      • (result): void | Promise<void>
      • Parameters

        • result: ISubmittableResult

        Returns void | Promise<void>

Returns Promise<TransferBalanceResult>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/unwrapResultOrDefault.html b/docs/functions/unwrapResultOrDefault.html index e443f28..1e33bc1 100644 --- a/docs/functions/unwrapResultOrDefault.html +++ b/docs/functions/unwrapResultOrDefault.html @@ -1,2 +1,2 @@ unwrapResultOrDefault | @scio-labs/use-inkathon

Function unwrapResultOrDefault

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

    -

    Type Parameters

    • T = any

    Parameters

    • outcome: Pick<ContractCallOutcome, "result" | "output">
    • defaultValue: T

    Returns T

Generated using TypeDoc

\ No newline at end of file +

Type Parameters

  • T = any

Parameters

  • outcome: Pick<ContractCallOutcome, "result" | "output">
  • defaultValue: T

Returns T

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/unwrapResultOrError.html b/docs/functions/unwrapResultOrError.html index 35987b1..0a74721 100644 --- a/docs/functions/unwrapResultOrError.html +++ b/docs/functions/unwrapResultOrError.html @@ -1,2 +1,2 @@ unwrapResultOrError | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Type Parameters

  • T = any

Parameters

  • outcome: Pick<ContractCallOutcome, "result" | "output">

Returns T

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/useBalance.html b/docs/functions/useBalance.html index 85955aa..2c040af 100644 --- a/docs/functions/useBalance.html +++ b/docs/functions/useBalance.html @@ -1,2 +1,2 @@ useBalance | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns BalanceData

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/useContract.html b/docs/functions/useContract.html index 643532c..743893d 100644 --- a/docs/functions/useContract.html +++ b/docs/functions/useContract.html @@ -1,3 +1,3 @@ useContract | @scio-labs/use-inkathon
  • React Hook that returns a ContractPromise object configured with the active api & chain as well as the given abi and address.

    -

    Parameters

    • Optional abi: string | Record<string, unknown> | Abi
    • Optional address: string | AccountId

    Returns {
        address: undefined | string | AccountId;
        contract: undefined | ContractPromise;
    }

    • address: undefined | string | AccountId
    • contract: undefined | ContractPromise

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • Optional abi: string | Record<string, unknown> | Abi
  • Optional address: string | AccountId

Returns {
    address: undefined | string | AccountId;
    contract: undefined | ContractPromise;
}

  • address: undefined | string | AccountId
  • contract: undefined | ContractPromise

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/useInkathon.html b/docs/functions/useInkathon.html index 0259a2a..3c76288 100644 --- a/docs/functions/useInkathon.html +++ b/docs/functions/useInkathon.html @@ -1,2 +1,2 @@ useInkathon | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Returns UseInkathonProviderContextType

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/usePSP22Balances.html b/docs/functions/usePSP22Balances.html index 620a723..b161216 100644 --- a/docs/functions/usePSP22Balances.html +++ b/docs/functions/usePSP22Balances.html @@ -1,2 +1,2 @@ usePSP22Balances | @scio-labs/use-inkathon

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns PSP22BalanceData[]

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/useRegisteredContract.html b/docs/functions/useRegisteredContract.html index 3b235e7..ec25a36 100644 --- a/docs/functions/useRegisteredContract.html +++ b/docs/functions/useRegisteredContract.html @@ -1,4 +1,4 @@ useRegisteredContract | @scio-labs/use-inkathon

Function useRegisteredContract

  • React Hook that returns a ContractPromise object configured with -the active api & chain as well as the given deployment contract id -which is looked up from the deployments registry.

    -

    Parameters

    • contractId: string
    • Optional networkId: string

    Returns {
        address: undefined | string | AccountId;
        contract: undefined | ContractPromise;
    }

    • address: undefined | string | AccountId
    • contract: undefined | ContractPromise

Generated using TypeDoc

\ No newline at end of file +the active api & chain with the given deployment contract id which +is looked up from the deployments registry.

+

Parameters

  • contractId: string
  • Optional networkId: string

Returns {
    address: undefined | string | AccountId;
    contract: undefined | ContractPromise;
}

  • address: undefined | string | AccountId
  • contract: undefined | ContractPromise

Generated using TypeDoc

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

Function useRegisteredTypedContract

  • React Hook that returns a type-safe contract object by typechain-polkadot, +configured with the active api & chain for the given deployment contract id +which is looked up from the deployments registry.

    +

    Type Parameters

    • T

    Parameters

    Returns {
        address: undefined | string | AccountId;
        contract: undefined | ContractPromise;
        typedContract: undefined | T;
    }

    • address: undefined | string | AccountId
    • contract: undefined | ContractPromise
    • typedContract: undefined | T

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/watchBalance.html b/docs/functions/watchBalance.html index bb03c8d..afdbedf 100644 --- a/docs/functions/watchBalance.html +++ b/docs/functions/watchBalance.html @@ -1,3 +1,3 @@ watchBalance | @scio-labs/use-inkathon
  • Watches the native token balance 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 Promise<null | VoidFunction>

Generated using TypeDoc

\ No newline at end of file +

Parameters

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

Returns Promise<null | VoidFunction>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/watchPSP22Balances.html b/docs/functions/watchPSP22Balances.html index eedb1fb..c4545da 100644 --- a/docs/functions/watchPSP22Balances.html +++ b/docs/functions/watchPSP22Balances.html @@ -1,3 +1,3 @@ watchPSP22Balances | @scio-labs/use-inkathon
  • 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)
    • chainId: string
    • Optional formatterOptions: BalanceFormatterOptions

    Returns null | VoidFunction

Generated using TypeDoc

\ No newline at end of file +

Parameters

  • api: ApiPromise
  • address: undefined | string | AccountId
  • callback: ((data) => void)
  • chainId: string
  • 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 efe809f..9af7d38 100644 --- a/docs/index.html +++ b/docs/index.html @@ -18,8 +18,9 @@
  1. Getting started 🚀
  2. Features ✨
  3. -
  4. Contract Registry 🗳️
      +
    1. Contract Registry 🗳️
      1. How it works
      2. +
      3. Typed Contracts
    2. Examples 📚
    3. @@ -67,6 +68,7 @@
    4. Constants definitions for Substrate-based chains, wallets, and assets
    5. Works multichain with live & dynamic chain-switching out of the box
    6. +
    7. Full contract-level type-safety with typechain-polkadot via useRegisteredTypedContract
    8. [!NOTE]
      Checkout our TypeDoc Documentation for more details.

      @@ -87,6 +89,15 @@

      Then access the contract as above:

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

      Typed Contracts

      +

      [!NOTE]
      Make sure to also install @727-ventures/typechain-types, bn.js, and @types/bn.js as dependencies in your project. Find a complete setup & usage example in the ink!athon boilerplate.

      +
      +

      If you are using typechain-polkadot to generate type-safe contracts, you can use the useRegisteredTypedContract hook instead:

      +
      import GreeterContract from '[…]/typed-contracts/contracts/greeter'

      // …

      const { typedContract } = useRegisteredTypedContract('greeter', GreeterContract)
      const result = await typedContract.query.greet() +
      +
      +

      [!IMPORTANT]
      Currently, only queries are supported until typechain-polkadot#138 is merged. Alternatively, we're considering switching to the prosopo/typechain-polkadot fork completely.

      +

      Examples 📚

      Within this repository: