@multiversx/sdk-dapp-liquidity 2.0.0 → 2.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all-networks--dfVLHLJ.js +2 -0
- package/all-networks-Czd8zS1n.mjs +4 -0
- package/api/checkAccount.js +1 -21
- package/api/checkAccount.mjs +13 -13
- package/api/confirmRate.js +1 -29
- package/api/confirmRate.mjs +17 -22
- package/api/getChains.js +1 -17
- package/api/getChains.mjs +10 -10
- package/api/getRate.js +1 -27
- package/api/getRate.mjs +17 -20
- package/api/getTokens.js +1 -22
- package/api/getTokens.mjs +14 -15
- package/api/getTokensBalances.js +1 -21
- package/api/getTokensBalances.mjs +13 -13
- package/api/getTransactions.js +1 -38
- package/api/getTransactions.mjs +25 -31
- package/api/index.js +1 -18
- package/api/index.mjs +16 -16
- package/api/sendTransactions.js +1 -32
- package/api/sendTransactions.mjs +19 -19
- package/api/tests/confirmRate.spec.js +1 -130
- package/api/tests/confirmRate.spec.mjs +44 -58
- package/api/tests/getChains.spec.js +1 -43
- package/api/tests/getChains.spec.mjs +15 -18
- package/api/tests/getRate.spec.js +1 -87
- package/api/tests/getRate.spec.mjs +35 -49
- package/api/tests/getTokens.spec.js +1 -68
- package/api/tests/getTokens.spec.mjs +23 -29
- package/api/tests/getTransactions.spec.js +1 -94
- package/api/tests/getTransactions.spec.mjs +35 -51
- package/api/tests/sendTransactions.spec.js +1 -96
- package/api/tests/sendTransactions.spec.mjs +44 -52
- package/constants/index.js +1 -4
- package/constants/index.mjs +2 -2
- package/default-D0Jk5ROI.mjs +4 -0
- package/default-DbU6vPaB.js +2 -0
- package/helpers/assertRateConfirmationMatchesIntent.d.ts +8 -0
- package/helpers/assertRateConfirmationMatchesIntent.js +2 -0
- package/helpers/assertRateConfirmationMatchesIntent.mjs +20 -0
- package/helpers/base64Utils.js +1 -31
- package/helpers/base64Utils.mjs +14 -24
- package/helpers/decodeLoginToken.js +1 -27
- package/helpers/decodeLoginToken.mjs +13 -18
- package/helpers/decodeToken.js +1 -39
- package/helpers/decodeToken.mjs +20 -31
- package/helpers/getApiURL.js +1 -7
- package/helpers/getApiURL.mjs +3 -5
- package/helpers/getBridgeURL.js +1 -7
- package/helpers/getBridgeURL.mjs +3 -5
- package/helpers/getDisplayName.js +1 -11
- package/helpers/getDisplayName.mjs +3 -8
- package/helpers/getMvxApiURL.js +1 -7
- package/helpers/getMvxApiURL.mjs +3 -5
- package/helpers/getMvxChainId.js +1 -7
- package/helpers/getMvxChainId.mjs +3 -5
- package/helpers/getMvxExplorerAddress.js +1 -7
- package/helpers/getMvxExplorerAddress.mjs +3 -5
- package/helpers/index.d.ts +2 -0
- package/helpers/index.js +1 -22
- package/helpers/index.mjs +24 -20
- package/helpers/safeImageUrl.d.ts +1 -0
- package/helpers/safeImageUrl.js +2 -0
- package/helpers/safeImageUrl.mjs +13 -0
- package/helpers/serializeTransaction.js +1 -8
- package/helpers/serializeTransaction.mjs +3 -5
- package/helpers/tests/assertRateConfirmationMatchesIntent.spec.d.ts +1 -0
- package/helpers/tests/assertRateConfirmationMatchesIntent.spec.js +2 -0
- package/helpers/tests/assertRateConfirmationMatchesIntent.spec.mjs +52 -0
- package/helpers/tests/base64Utils.spec.js +1 -29
- package/helpers/tests/base64Utils.spec.mjs +11 -24
- package/helpers/tests/decodeLoginToken.spec.js +1 -34
- package/helpers/tests/decodeLoginToken.spec.mjs +13 -24
- package/helpers/tests/decodeToken.spec.js +1 -27
- package/helpers/tests/decodeToken.spec.mjs +7 -12
- package/helpers/tests/safeImageUrl.spec.d.ts +1 -0
- package/helpers/tests/safeImageUrl.spec.js +2 -0
- package/helpers/tests/safeImageUrl.spec.mjs +32 -0
- package/helpers/tests/serializeTransaction.spec.d.ts +1 -0
- package/helpers/tests/serializeTransaction.spec.js +2 -0
- package/helpers/tests/serializeTransaction.spec.mjs +24 -0
- package/index.js +1 -228
- package/index.mjs +196 -192
- package/package.json +14 -9
- package/react.esm-B0AMOHxa.js +73 -0
- package/react.esm-BxvJJ86Q.mjs +9949 -0
- package/reactjs/adapters/SuiAdapter.d.ts +14 -0
- package/reactjs/adapters/SuiAdapter.js +1 -349
- package/reactjs/adapters/SuiAdapter.mjs +171 -199
- package/reactjs/components/AccountAddress/AccountAddress.js +1 -31
- package/reactjs/components/AccountAddress/AccountAddress.mjs +16 -16
- package/reactjs/components/AccountAddress/index.js +1 -4
- package/reactjs/components/AccountAddress/index.mjs +2 -2
- package/reactjs/components/AmountCard/AmountCard.js +1 -33
- package/reactjs/components/AmountCard/AmountCard.mjs +19 -21
- package/reactjs/components/AmountCard/index.js +1 -4
- package/reactjs/components/AmountCard/index.mjs +2 -2
- package/reactjs/components/AmountInput/AmountInput.js +1 -71
- package/reactjs/components/AmountInput/AmountInput.mjs +42 -46
- package/reactjs/components/AmountInput/index.js +1 -4
- package/reactjs/components/AmountInput/index.mjs +2 -2
- package/reactjs/components/BridgeForm/BridgeForm.d.ts +9 -0
- package/reactjs/components/BridgeForm/BridgeForm.js +1 -89
- package/reactjs/components/BridgeForm/BridgeForm.mjs +72 -79
- package/reactjs/components/BridgeForm/Deposit.js +1 -673
- package/reactjs/components/BridgeForm/Deposit.mjs +381 -503
- package/reactjs/components/BridgeForm/Transfer.js +1 -559
- package/reactjs/components/BridgeForm/Transfer.mjs +316 -427
- package/reactjs/components/BridgeForm/hooks/useBridgeAmounts.js +1 -78
- package/reactjs/components/BridgeForm/hooks/useBridgeAmounts.mjs +47 -70
- package/reactjs/components/BridgeForm/hooks/useBridgeRateFetching.js +1 -58
- package/reactjs/components/BridgeForm/hooks/useBridgeRateFetching.mjs +36 -47
- package/reactjs/components/BridgeForm/hooks/useBridgeTokenSelection.js +1 -266
- package/reactjs/components/BridgeForm/hooks/useBridgeTokenSelection.mjs +163 -231
- package/reactjs/components/BridgeForm/index.js +1 -4
- package/reactjs/components/BridgeForm/index.mjs +2 -2
- package/reactjs/components/BridgeForm/utils/bridgeFormHelpers.js +1 -76
- package/reactjs/components/BridgeForm/utils/bridgeFormHelpers.mjs +35 -65
- package/reactjs/components/BridgeHistory/BridgeHistory.js +1 -367
- package/reactjs/components/BridgeHistory/BridgeHistory.mjs +177 -193
- package/reactjs/components/BridgeHistory/index.js +1 -4
- package/reactjs/components/BridgeHistory/index.mjs +2 -2
- package/reactjs/components/Connect/BridgeAccountDisplay.js +1 -150
- package/reactjs/components/Connect/BridgeAccountDisplay.mjs +99 -115
- package/reactjs/components/Connect/BridgeConnectButton.js +1 -34
- package/reactjs/components/Connect/BridgeConnectButton.mjs +20 -19
- package/reactjs/components/Connect/ChainSelectConnect.js +1 -144
- package/reactjs/components/Connect/ChainSelectConnect.mjs +70 -83
- package/reactjs/components/Connect/CustomConnectButton.js +1 -40
- package/reactjs/components/Connect/CustomConnectButton.mjs +24 -30
- package/reactjs/components/Connect/MvxAccountDisplay.js +1 -97
- package/reactjs/components/Connect/MvxAccountDisplay.mjs +47 -50
- package/reactjs/components/Connect/MvxConnectButton.js +1 -43
- package/reactjs/components/Connect/MvxConnectButton.mjs +35 -40
- package/reactjs/components/Connect/SwitchChainButton.js +1 -29
- package/reactjs/components/Connect/SwitchChainButton.mjs +15 -18
- package/reactjs/components/Connect/index.js +1 -16
- package/reactjs/components/Connect/index.mjs +14 -14
- package/reactjs/components/CopyButton/CopyButton.js +1 -46
- package/reactjs/components/CopyButton/CopyButton.mjs +33 -36
- package/reactjs/components/CopyButton/index.js +1 -4
- package/reactjs/components/CopyButton/index.mjs +2 -2
- package/reactjs/components/CopyButton/utils/copyToClipboard.js +1 -38
- package/reactjs/components/CopyButton/utils/copyToClipboard.mjs +20 -32
- package/reactjs/components/CopyButton/utils/index.js +1 -4
- package/reactjs/components/CopyButton/utils/index.mjs +2 -2
- package/reactjs/components/DisplayAmount/DisplayAmount.js +1 -90
- package/reactjs/components/DisplayAmount/DisplayAmount.mjs +68 -75
- package/reactjs/components/DisplayAmount/components/AnimateNumber/AnimateNumber.js +1 -39
- package/reactjs/components/DisplayAmount/components/AnimateNumber/AnimateNumber.mjs +26 -33
- package/reactjs/components/DisplayAmount/components/PrecisedAmount/PrecisedAmount.js +1 -61
- package/reactjs/components/DisplayAmount/components/PrecisedAmount/PrecisedAmount.mjs +38 -46
- package/reactjs/components/DisplayAmount/index.js +1 -4
- package/reactjs/components/DisplayAmount/index.mjs +2 -2
- package/reactjs/components/DisplayAmount/utils/index.js +1 -4
- package/reactjs/components/DisplayAmount/utils/index.mjs +2 -2
- package/reactjs/components/DisplayAmount/utils/truncateAmount.js +1 -21
- package/reactjs/components/DisplayAmount/utils/truncateAmount.mjs +9 -13
- package/reactjs/components/Error/Error.js +1 -66
- package/reactjs/components/Error/Error.mjs +29 -29
- package/reactjs/components/Error/index.js +1 -4
- package/reactjs/components/Error/index.mjs +2 -2
- package/reactjs/components/SmallLoader/SmallLoader.js +1 -21
- package/reactjs/components/SmallLoader/SmallLoader.mjs +13 -18
- package/reactjs/components/SmallLoader/index.js +1 -4
- package/reactjs/components/SmallLoader/index.mjs +2 -2
- package/reactjs/components/ToggleDirection/ToggleDirection.js +1 -30
- package/reactjs/components/ToggleDirection/ToggleDirection.mjs +22 -28
- package/reactjs/components/TokenSelector/TokenSelector.js +1 -172
- package/reactjs/components/TokenSelector/TokenSelector.mjs +98 -118
- package/reactjs/components/TokenSelector/components/ChainSelect/ChainSelect.js +1 -94
- package/reactjs/components/TokenSelector/components/ChainSelect/ChainSelect.mjs +48 -57
- package/reactjs/components/TokenSelector/components/ChainSelect/components/ChainOptionLabel.js +1 -51
- package/reactjs/components/TokenSelector/components/ChainSelect/components/ChainOptionLabel.mjs +45 -44
- package/reactjs/components/TokenSelector/components/ChainSelect/components/FormatChainOptionLabel.js +1 -18
- package/reactjs/components/TokenSelector/components/ChainSelect/components/FormatChainOptionLabel.mjs +9 -14
- package/reactjs/components/TokenSelector/components/ChainSelect/components/IndicatorSeparator.js +1 -6
- package/reactjs/components/TokenSelector/components/ChainSelect/components/IndicatorSeparator.mjs +2 -4
- package/reactjs/components/TokenSelector/components/ChainSelect/components/SelectedChainOption.js +1 -39
- package/reactjs/components/TokenSelector/components/ChainSelect/components/SelectedChainOption.mjs +22 -18
- package/reactjs/components/TokenSelector/components/SelectContainer.js +1 -40
- package/reactjs/components/TokenSelector/components/SelectContainer.mjs +36 -38
- package/reactjs/components/TokenSelector/components/SelectContent.js +1 -136
- package/reactjs/components/TokenSelector/components/SelectContent.mjs +79 -103
- package/reactjs/components/TokenSelector/components/SelectedOption.js +1 -28
- package/reactjs/components/TokenSelector/components/SelectedOption.mjs +22 -24
- package/reactjs/components/TokenSelector/components/TokenIcon.js +1 -81
- package/reactjs/components/TokenSelector/components/TokenIcon.mjs +52 -57
- package/reactjs/components/TokenSelector/components/TokenItem.js +1 -80
- package/reactjs/components/TokenSelector/components/TokenItem.mjs +41 -54
- package/reactjs/components/TokenSelector/components/TokenList.js +1 -23
- package/reactjs/components/TokenSelector/components/TokenList.mjs +19 -21
- package/reactjs/components/TokenSelector/components/TokenSymbol.js +1 -25
- package/reactjs/components/TokenSelector/components/TokenSymbol.mjs +14 -15
- package/reactjs/components/TokenSelector/index.js +1 -4
- package/reactjs/components/TokenSelector/index.mjs +2 -2
- package/reactjs/components/TransactionToast/TransactionToast.js +1 -53
- package/reactjs/components/TransactionToast/TransactionToast.mjs +27 -28
- package/reactjs/components/TransactionToast/TransactionToastContainer.js +1 -20
- package/reactjs/components/TransactionToast/TransactionToastContainer.mjs +16 -18
- package/reactjs/components/TransactionToast/index.js +1 -6
- package/reactjs/components/TransactionToast/index.mjs +4 -4
- package/reactjs/components/TrimAddress/TrimAddress.js +1 -27
- package/reactjs/components/TrimAddress/TrimAddress.mjs +19 -24
- package/reactjs/components/TrimAddress/index.js +1 -4
- package/reactjs/components/TrimAddress/index.mjs +2 -2
- package/reactjs/components/base/MxButton/MxButton.js +1 -71
- package/reactjs/components/base/MxButton/MxButton.mjs +46 -46
- package/reactjs/components/base/MxButton/index.js +1 -4
- package/reactjs/components/base/MxButton/index.mjs +2 -2
- package/reactjs/components/base/MxCard/MxCard.js +1 -54
- package/reactjs/components/base/MxCard/MxCard.mjs +34 -34
- package/reactjs/components/base/MxCard/index.js +1 -4
- package/reactjs/components/base/MxCard/index.mjs +2 -2
- package/reactjs/components/base/MxCircleLoader/MxCircleLoader.js +1 -28
- package/reactjs/components/base/MxCircleLoader/MxCircleLoader.mjs +24 -26
- package/reactjs/components/base/MxCircleLoader/index.js +1 -4
- package/reactjs/components/base/MxCircleLoader/index.mjs +2 -2
- package/reactjs/components/base/MxLink/MxLink.js +1 -70
- package/reactjs/components/base/MxLink/MxLink.mjs +44 -46
- package/reactjs/components/base/MxLink/index.js +1 -4
- package/reactjs/components/base/MxLink/index.mjs +2 -2
- package/reactjs/components/base/MxSearch/MxSearch.js +1 -69
- package/reactjs/components/base/MxSearch/MxSearch.mjs +37 -41
- package/reactjs/components/base/MxSearch/index.js +1 -4
- package/reactjs/components/base/MxSearch/index.mjs +2 -2
- package/reactjs/components/base/MxSlideover/MxSlideover.js +1 -78
- package/reactjs/components/base/MxSlideover/MxSlideover.mjs +72 -74
- package/reactjs/components/base/MxSlideover/index.js +1 -4
- package/reactjs/components/base/MxSlideover/index.mjs +2 -2
- package/reactjs/components/base/MxTooltip/MxTooltip.js +1 -163
- package/reactjs/components/base/MxTooltip/MxTooltip.mjs +92 -135
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/TooltipContainer.js +1 -33
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/TooltipContainer.mjs +29 -31
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/index.js +1 -4
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/index.mjs +2 -2
- package/reactjs/components/base/MxTooltip/components/TooltipContent/TooltipContent.js +1 -27
- package/reactjs/components/base/MxTooltip/components/TooltipContent/TooltipContent.mjs +23 -25
- package/reactjs/components/base/MxTooltip/components/TooltipContent/index.js +1 -4
- package/reactjs/components/base/MxTooltip/components/TooltipContent/index.mjs +2 -2
- package/reactjs/components/base/MxTooltip/components/index.js +1 -6
- package/reactjs/components/base/MxTooltip/components/index.mjs +4 -4
- package/reactjs/components/base/MxTooltip/index.js +1 -4
- package/reactjs/components/base/MxTooltip/index.mjs +2 -2
- package/reactjs/components/base/index.js +1 -14
- package/reactjs/components/base/index.mjs +12 -12
- package/reactjs/components/index.js +1 -54
- package/reactjs/components/index.mjs +52 -52
- package/reactjs/constants/chains.js +1 -54
- package/reactjs/constants/chains.mjs +33 -52
- package/reactjs/constants/index.js +1 -13
- package/reactjs/constants/index.mjs +9 -10
- package/reactjs/context/Web3AppProvider.js +1 -40
- package/reactjs/context/Web3AppProvider.mjs +34 -34
- package/reactjs/context/queryClient.js +1 -11
- package/reactjs/context/queryClient.mjs +5 -8
- package/reactjs/context/useWeb3App.js +1 -12
- package/reactjs/context/useWeb3App.mjs +7 -8
- package/reactjs/helpers/index.js +1 -6
- package/reactjs/helpers/index.mjs +4 -4
- package/reactjs/helpers/resolveBridgeApiChainId.js +1 -40
- package/reactjs/helpers/resolveBridgeApiChainId.mjs +21 -34
- package/reactjs/hooks/index.js +1 -35
- package/reactjs/hooks/index.mjs +33 -33
- package/reactjs/hooks/tests/useGenericSignMessage.spec.d.ts +1 -0
- package/reactjs/hooks/tests/useGenericSignMessage.spec.js +2 -0
- package/reactjs/hooks/tests/useGenericSignMessage.spec.mjs +52 -0
- package/reactjs/hooks/tests/useSignTransaction.spec.d.ts +1 -0
- package/reactjs/hooks/tests/useSignTransaction.spec.js +2 -0
- package/reactjs/hooks/tests/useSignTransaction.spec.mjs +156 -0
- package/reactjs/hooks/useAccount.js +1 -13
- package/reactjs/hooks/useAccount.mjs +7 -8
- package/reactjs/hooks/useBalances.js +1 -53
- package/reactjs/hooks/useBalances.mjs +28 -40
- package/reactjs/hooks/useBridgeApiChainId.js +1 -13
- package/reactjs/hooks/useBridgeApiChainId.mjs +9 -9
- package/reactjs/hooks/useBridgeFormik.js +1 -162
- package/reactjs/hooks/useBridgeFormik.mjs +110 -150
- package/reactjs/hooks/useDebounce.js +1 -13
- package/reactjs/hooks/useDebounce.mjs +8 -10
- package/reactjs/hooks/useFetchBridgeData.js +1 -45
- package/reactjs/hooks/useFetchBridgeData.mjs +37 -38
- package/reactjs/hooks/useFetchTokens.js +1 -113
- package/reactjs/hooks/useFetchTokens.mjs +80 -106
- package/reactjs/hooks/useGenericSignMessage.js +1 -55
- package/reactjs/hooks/useGenericSignMessage.mjs +47 -47
- package/reactjs/hooks/useGetChainId.js +1 -11
- package/reactjs/hooks/useGetChainId.mjs +7 -8
- package/reactjs/hooks/useResolveTokenChain.js +1 -20
- package/reactjs/hooks/useResolveTokenChain.mjs +11 -14
- package/reactjs/hooks/useSendTransactions.js +1 -25
- package/reactjs/hooks/useSendTransactions.mjs +19 -23
- package/reactjs/hooks/useSignTransaction.js +1 -86
- package/reactjs/hooks/useSignTransaction.mjs +59 -59
- package/reactjs/hooks/useSuiConnect.js +1 -86
- package/reactjs/hooks/useSuiConnect.mjs +52 -70
- package/reactjs/hooks/validation/index.js +1 -10
- package/reactjs/hooks/validation/index.mjs +8 -8
- package/reactjs/hooks/validation/useAmountSchema.js +1 -32
- package/reactjs/hooks/validation/useAmountSchema.mjs +8 -11
- package/reactjs/hooks/validation/useSecondAmountSchema.js +1 -26
- package/reactjs/hooks/validation/useSecondAmountSchema.mjs +5 -6
- package/reactjs/hooks/validation/useTestHasEnoughFunds.js +1 -37
- package/reactjs/hooks/validation/useTestHasEnoughFunds.mjs +20 -29
- package/reactjs/hooks/validation/useTestIsConnected.js +1 -27
- package/reactjs/hooks/validation/useTestIsConnected.mjs +13 -19
- package/reactjs/index.js +1 -190
- package/reactjs/index.mjs +154 -154
- package/reactjs/init/index.js +1 -5
- package/reactjs/init/index.mjs +3 -3
- package/reactjs/init/init.d.ts +1 -0
- package/reactjs/init/init.js +1 -139
- package/reactjs/init/init.mjs +59 -72
- package/reactjs/queries/index.js +1 -17
- package/reactjs/queries/index.mjs +15 -15
- package/reactjs/queries/useCheckAccount.query.js +1 -39
- package/reactjs/queries/useCheckAccount.query.mjs +29 -33
- package/reactjs/queries/useGetAllTokens.query.js +1 -35
- package/reactjs/queries/useGetAllTokens.query.mjs +26 -30
- package/reactjs/queries/useGetChains.query.js +1 -34
- package/reactjs/queries/useGetChains.query.mjs +26 -28
- package/reactjs/queries/useGetHistory.query.d.ts +1 -1
- package/reactjs/queries/useGetHistory.query.js +1 -68
- package/reactjs/queries/useGetHistory.query.mjs +55 -58
- package/reactjs/queries/useGetMvxTokensBalances.query.d.ts +1 -1
- package/reactjs/queries/useGetMvxTokensBalances.query.js +1 -71
- package/reactjs/queries/useGetMvxTokensBalances.query.mjs +40 -53
- package/reactjs/queries/useGetNonMvxTokensBalances.query.d.ts +1 -1
- package/reactjs/queries/useGetNonMvxTokensBalances.query.js +1 -81
- package/reactjs/queries/useGetNonMvxTokensBalances.query.mjs +51 -59
- package/reactjs/queries/useGetRate.mutation.js +1 -18
- package/reactjs/queries/useGetRate.mutation.mjs +12 -15
- package/reactjs/reexports.js +1 -48
- package/reactjs/reexports.mjs +13 -13
- package/reactjs/utils/delay.js +1 -6
- package/reactjs/utils/delay.mjs +3 -3
- package/reactjs/utils/formatAmount.js +1 -23
- package/reactjs/utils/formatAmount.mjs +16 -17
- package/reactjs/utils/getCleanStringAmount.js +1 -11
- package/reactjs/utils/getCleanStringAmount.mjs +6 -8
- package/reactjs/utils/getCompletePathname.js +1 -5
- package/reactjs/utils/getCompletePathname.mjs +3 -3
- package/reactjs/utils/getInitialTokens.js +1 -12
- package/reactjs/utils/getInitialTokens.mjs +6 -7
- package/reactjs/utils/hasEnoughFunds.js +1 -19
- package/reactjs/utils/hasEnoughFunds.mjs +11 -14
- package/reactjs/utils/index.js +1 -26
- package/reactjs/utils/index.mjs +24 -24
- package/reactjs/utils/isStringFloat.js +1 -21
- package/reactjs/utils/isStringFloat.mjs +11 -18
- package/reactjs/utils/mxClsx.js +1 -8
- package/reactjs/utils/mxClsx.mjs +4 -6
- package/reactjs/utils/pipe.js +1 -25
- package/reactjs/utils/pipe.mjs +13 -17
- package/reactjs/utils/removeCommas.js +1 -6
- package/reactjs/utils/removeCommas.mjs +2 -4
- package/reactjs/utils/roundAmount.js +1 -40
- package/reactjs/utils/roundAmount.mjs +16 -36
- package/reactjs/utils/testNumber.js +1 -4
- package/reactjs/utils/testNumber.mjs +2 -2
- package/store/inMemoryStore.js +1 -39
- package/store/inMemoryStore.mjs +17 -21
- package/style.css +1 -2274
- package/types/chainType.js +1 -11
- package/types/chainType.mjs +2 -9
- package/types/errors.d.ts +3 -0
- package/types/errors.js +2 -0
- package/types/errors.mjs +8 -0
- package/types/providerType.js +1 -9
- package/types/providerType.mjs +2 -7
- package/types/transaction.d.ts +2 -0
- package/all-networks-EJIVYZ_i.mjs +0 -4
- package/all-networks-NYACMyeN.js +0 -4
- package/default-BYtXv70Z.mjs +0 -4
- package/default-H3AbmzFV.js +0 -4
- package/reactjs/hooks/useSignTransaction.d.ts +0 -511
package/types/chainType.js
CHANGED
|
@@ -1,12 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
var ChainType = /* @__PURE__ */ ((ChainType2) => {
|
|
5
|
-
ChainType2["evm"] = "evm";
|
|
6
|
-
ChainType2["sol"] = "sol";
|
|
7
|
-
ChainType2["btc"] = "btc";
|
|
8
|
-
ChainType2["mvx"] = "mvx";
|
|
9
|
-
ChainType2["sui"] = "sui";
|
|
10
|
-
return ChainType2;
|
|
11
|
-
})(ChainType || {});
|
|
12
|
-
exports.ChainType = ChainType;
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=(e=>(e.evm="evm",e.sol="sol",e.btc="btc",e.mvx="mvx",e.sui="sui",e))(t||{});exports.ChainType=t;
|
package/types/chainType.mjs
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
var
|
|
2
|
-
ChainType2["evm"] = "evm";
|
|
3
|
-
ChainType2["sol"] = "sol";
|
|
4
|
-
ChainType2["btc"] = "btc";
|
|
5
|
-
ChainType2["mvx"] = "mvx";
|
|
6
|
-
ChainType2["sui"] = "sui";
|
|
7
|
-
return ChainType2;
|
|
8
|
-
})(ChainType || {});
|
|
1
|
+
var m = /* @__PURE__ */ ((v) => (v.evm = "evm", v.sol = "sol", v.btc = "btc", v.mvx = "mvx", v.sui = "sui", v))(m || {});
|
|
9
2
|
export {
|
|
10
|
-
ChainType
|
|
3
|
+
m as ChainType
|
|
11
4
|
};
|
package/types/errors.js
ADDED
package/types/errors.mjs
ADDED
package/types/providerType.js
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
var ProviderType = /* @__PURE__ */ ((ProviderType2) => {
|
|
5
|
-
ProviderType2["MultiversxBridge"] = "multiversxBridge";
|
|
6
|
-
ProviderType2["XMoney"] = "xmoney";
|
|
7
|
-
ProviderType2["None"] = "none";
|
|
8
|
-
return ProviderType2;
|
|
9
|
-
})(ProviderType || {});
|
|
10
|
-
exports.ProviderType = ProviderType;
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var n=(e=>(e.MultiversxBridge="multiversxBridge",e.XMoney="xmoney",e.None="none",e))(n||{});exports.ProviderType=n;
|
package/types/providerType.mjs
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
var
|
|
2
|
-
ProviderType2["MultiversxBridge"] = "multiversxBridge";
|
|
3
|
-
ProviderType2["XMoney"] = "xmoney";
|
|
4
|
-
ProviderType2["None"] = "none";
|
|
5
|
-
return ProviderType2;
|
|
6
|
-
})(ProviderType || {});
|
|
1
|
+
var n = /* @__PURE__ */ ((e) => (e.MultiversxBridge = "multiversxBridge", e.XMoney = "xmoney", e.None = "none", e))(n || {});
|
|
7
2
|
export {
|
|
8
|
-
ProviderType
|
|
3
|
+
n as ProviderType
|
|
9
4
|
};
|
package/types/transaction.d.ts
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const AllNetworks = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_800_5975)'%3e%3crect%20width='16'%20height='16'%20rx='4'%20fill='%23627EEA'/%3e%3cg%20clip-path='url(%23clip1_800_5975)'%3e%3cpath%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016Z'%20fill='%23627EEA'/%3e%3cpath%20d='M8.24902%202V6.435L11.9975%208.11L8.24902%202Z'%20fill='white'%20fill-opacity='0.602'/%3e%3cpath%20d='M8.249%202L4.5%208.11L8.249%206.435V2Z'%20fill='white'/%3e%3cpath%20d='M8.24902%2010.9841V13.9976L12%208.80811L8.24902%2010.9841Z'%20fill='white'%20fill-opacity='0.602'/%3e%3cpath%20d='M8.249%2013.9976V10.9836L4.5%208.80811L8.249%2013.9976Z'%20fill='white'/%3e%3cpath%20d='M8.24902%2010.2865L11.9975%208.11004L8.24902%206.43604V10.2865Z'%20fill='white'%20fill-opacity='0.2'/%3e%3cpath%20d='M4.5%208.11004L8.249%2010.2865V6.43604L4.5%208.11004Z'%20fill='white'%20fill-opacity='0.602'/%3e%3c/g%3e%3c/g%3e%3crect%20x='8'%20y='8'%20width='16'%20height='16'%20rx='4'%20fill='%23F0B90B'/%3e%3cpath%20d='M12.703%2015.9785L11.3515%2017.3252L10%2015.9785L11.3515%2014.6319L12.703%2015.9785ZM16%2012.6933L18.3168%2015.0166L19.6683%2013.67L17.3515%2011.3466L16%2010L14.6485%2011.3466L12.3168%2013.67L13.6683%2015.0166L16%2012.6933ZM20.6485%2014.6319L19.297%2015.9785L20.6485%2017.3252C21.1763%2016.7993%2021.4722%2016.5044%2022%2015.9785L20.6485%2014.6319ZM16%2019.2489L13.6832%2016.9404L12.3168%2018.2871L14.6337%2020.5956L15.9852%2021.9422L17.3366%2020.5956L19.6683%2018.2871L18.3168%2016.9404L16%2019.2489ZM16%2017.3252L17.3515%2015.9785L16%2014.6319L14.6485%2015.9785L16%2017.3252Z'%20fill='white'/%3e%3cdefs%3e%3cclipPath%20id='clip0_800_5975'%3e%3crect%20width='16'%20height='16'%20rx='4'%20fill='white'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_800_5975'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
2
|
-
export {
|
|
3
|
-
AllNetworks as A
|
|
4
|
-
};
|
package/all-networks-NYACMyeN.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
const AllNetworks = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_800_5975)'%3e%3crect%20width='16'%20height='16'%20rx='4'%20fill='%23627EEA'/%3e%3cg%20clip-path='url(%23clip1_800_5975)'%3e%3cpath%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016Z'%20fill='%23627EEA'/%3e%3cpath%20d='M8.24902%202V6.435L11.9975%208.11L8.24902%202Z'%20fill='white'%20fill-opacity='0.602'/%3e%3cpath%20d='M8.249%202L4.5%208.11L8.249%206.435V2Z'%20fill='white'/%3e%3cpath%20d='M8.24902%2010.9841V13.9976L12%208.80811L8.24902%2010.9841Z'%20fill='white'%20fill-opacity='0.602'/%3e%3cpath%20d='M8.249%2013.9976V10.9836L4.5%208.80811L8.249%2013.9976Z'%20fill='white'/%3e%3cpath%20d='M8.24902%2010.2865L11.9975%208.11004L8.24902%206.43604V10.2865Z'%20fill='white'%20fill-opacity='0.2'/%3e%3cpath%20d='M4.5%208.11004L8.249%2010.2865V6.43604L4.5%208.11004Z'%20fill='white'%20fill-opacity='0.602'/%3e%3c/g%3e%3c/g%3e%3crect%20x='8'%20y='8'%20width='16'%20height='16'%20rx='4'%20fill='%23F0B90B'/%3e%3cpath%20d='M12.703%2015.9785L11.3515%2017.3252L10%2015.9785L11.3515%2014.6319L12.703%2015.9785ZM16%2012.6933L18.3168%2015.0166L19.6683%2013.67L17.3515%2011.3466L16%2010L14.6485%2011.3466L12.3168%2013.67L13.6683%2015.0166L16%2012.6933ZM20.6485%2014.6319L19.297%2015.9785L20.6485%2017.3252C21.1763%2016.7993%2021.4722%2016.5044%2022%2015.9785L20.6485%2014.6319ZM16%2019.2489L13.6832%2016.9404L12.3168%2018.2871L14.6337%2020.5956L15.9852%2021.9422L17.3366%2020.5956L19.6683%2018.2871L18.3168%2016.9404L16%2019.2489ZM16%2017.3252L17.3515%2015.9785L16%2014.6319L14.6485%2015.9785L16%2017.3252Z'%20fill='white'/%3e%3cdefs%3e%3cclipPath%20id='clip0_800_5975'%3e%3crect%20width='16'%20height='16'%20rx='4'%20fill='white'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_800_5975'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
4
|
-
exports.AllNetworks = AllNetworks;
|
package/default-BYtXv70Z.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const DefaultIcon = "data:image/svg+xml,%3csvg%20width='256'%20height='256'%20viewBox='0%200%20256%20256'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M128.625%2063.3125C128.312%2063%20127.688%2063%20127.062%2063.3125L102.375%2072.6875L128%2082.375L153.312%2072.6875L128.625%2063.3125ZM95.5%20113.938L120.5%20123.312V95.5L95.5%2085.8125V113.938ZM135.5%20123.312L160.5%20113.938V85.8125L135.5%2095.5V123.312ZM128%20191.125L92.375%20206.75C88%20208.625%2082.6875%20208.625%2078.3125%20206.75L48.3125%20193.625C42.0625%20190.812%2038%20184.562%2038%20177.375V140.188C38%20133%2042.375%20126.438%2049.25%20123.938L79.25%20112.375C79.5625%20112.375%2079.875%20112.062%2080.5%20112.062V77.0625C80.5%2069.875%2084.875%2063.3125%2091.75%2060.8125L121.75%2049.25C125.5%2047.6875%20130.188%2047.6875%20133.938%2049.25L163.938%2060.8125C170.812%2063.3125%20175.5%2069.875%20175.5%2077.0625V112.062C175.812%20112.375%20176.125%20112.375%20176.438%20112.375L206.438%20123.938C213.312%20126.438%20218%20133%20218%20140.188V177.375C218%20184.562%20213.625%20190.812%20207.375%20193.625L177.375%20206.75C173%20208.625%20167.688%20208.625%20163.312%20206.75L128%20191.125ZM84.5625%20126.438L59.875%20135.812L85.5%20145.5L110.812%20135.812L86.125%20126.438C85.8125%20126.438%2085.1875%20126.438%2084.5625%20126.438ZM93%20158.625V190.188L118%20179.25V149.25L93%20158.625ZM78%20158.625L53%20149.25V177.375C53%20178.625%2053.3125%20179.25%2054.25%20179.875L78%20190.188V158.625ZM169.562%20126.438L144.875%20135.812L170.5%20145.5L195.812%20135.812L171.125%20126.438C170.812%20126.438%20170.188%20126.438%20169.562%20126.438ZM178%20190.188L201.438%20179.875C202.375%20179.25%20203%20178.312%20203%20177.375V149.25L178%20158.625V190.188ZM163%20158.625L138%20149.25V179.25L163%20190.188V158.625Z'%20fill='%239195A3'/%3e%3cpath%20opacity='0.4'%20d='M95.5%2085.8125L120.5%2095.5V123.312L95.5%20113.938V85.8125ZM160.5%20113.938L135.5%20123.312V95.5L160.5%2085.8125V113.938ZM118%20149.25V179.25L93%20190.188V158.625L118%20149.25ZM53%20149.25L78%20158.625V190.188L54.25%20179.875C53.3125%20179.25%2053%20178.625%2053%20177.375V149.25ZM178%20158.625L203%20149.25V177.375C203%20178.312%20202.375%20179.25%20201.438%20179.875L178%20190.188V158.625ZM163%20190.188L138%20179.25V149.25L163%20158.625V190.188Z'%20fill='%239195A3'/%3e%3c/svg%3e";
|
|
2
|
-
export {
|
|
3
|
-
DefaultIcon as D
|
|
4
|
-
};
|
package/default-H3AbmzFV.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
const DefaultIcon = "data:image/svg+xml,%3csvg%20width='256'%20height='256'%20viewBox='0%200%20256%20256'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M128.625%2063.3125C128.312%2063%20127.688%2063%20127.062%2063.3125L102.375%2072.6875L128%2082.375L153.312%2072.6875L128.625%2063.3125ZM95.5%20113.938L120.5%20123.312V95.5L95.5%2085.8125V113.938ZM135.5%20123.312L160.5%20113.938V85.8125L135.5%2095.5V123.312ZM128%20191.125L92.375%20206.75C88%20208.625%2082.6875%20208.625%2078.3125%20206.75L48.3125%20193.625C42.0625%20190.812%2038%20184.562%2038%20177.375V140.188C38%20133%2042.375%20126.438%2049.25%20123.938L79.25%20112.375C79.5625%20112.375%2079.875%20112.062%2080.5%20112.062V77.0625C80.5%2069.875%2084.875%2063.3125%2091.75%2060.8125L121.75%2049.25C125.5%2047.6875%20130.188%2047.6875%20133.938%2049.25L163.938%2060.8125C170.812%2063.3125%20175.5%2069.875%20175.5%2077.0625V112.062C175.812%20112.375%20176.125%20112.375%20176.438%20112.375L206.438%20123.938C213.312%20126.438%20218%20133%20218%20140.188V177.375C218%20184.562%20213.625%20190.812%20207.375%20193.625L177.375%20206.75C173%20208.625%20167.688%20208.625%20163.312%20206.75L128%20191.125ZM84.5625%20126.438L59.875%20135.812L85.5%20145.5L110.812%20135.812L86.125%20126.438C85.8125%20126.438%2085.1875%20126.438%2084.5625%20126.438ZM93%20158.625V190.188L118%20179.25V149.25L93%20158.625ZM78%20158.625L53%20149.25V177.375C53%20178.625%2053.3125%20179.25%2054.25%20179.875L78%20190.188V158.625ZM169.562%20126.438L144.875%20135.812L170.5%20145.5L195.812%20135.812L171.125%20126.438C170.812%20126.438%20170.188%20126.438%20169.562%20126.438ZM178%20190.188L201.438%20179.875C202.375%20179.25%20203%20178.312%20203%20177.375V149.25L178%20158.625V190.188ZM163%20158.625L138%20149.25V179.25L163%20190.188V158.625Z'%20fill='%239195A3'/%3e%3cpath%20opacity='0.4'%20d='M95.5%2085.8125L120.5%2095.5V123.312L95.5%20113.938V85.8125ZM160.5%20113.938L135.5%20123.312V95.5L160.5%2085.8125V113.938ZM118%20149.25V179.25L93%20190.188V158.625L118%20149.25ZM53%20149.25L78%20158.625V190.188L54.25%20179.875C53.3125%20179.25%2053%20178.625%2053%20177.375V149.25ZM178%20158.625L203%20149.25V177.375C203%20178.312%20202.375%20179.25%20201.438%20179.875L178%20190.188V158.625ZM163%20190.188L138%20179.25V149.25L163%20158.625V190.188Z'%20fill='%239195A3'/%3e%3c/svg%3e";
|
|
4
|
-
exports.DefaultIcon = DefaultIcon;
|
|
@@ -1,511 +0,0 @@
|
|
|
1
|
-
import { TransactionInstructionCtorFields } from '@solana/web3.js';
|
|
2
|
-
import { Provider } from '@reown/appkit-adapter-solana/react';
|
|
3
|
-
import { BitcoinConnector } from '@reown/appkit-adapter-bitcoin';
|
|
4
|
-
|
|
5
|
-
export declare const useSignTransaction: () => {
|
|
6
|
-
evm: {
|
|
7
|
-
error: null;
|
|
8
|
-
status: "idle";
|
|
9
|
-
reset: () => void;
|
|
10
|
-
context: unknown;
|
|
11
|
-
variables: undefined;
|
|
12
|
-
isError: false;
|
|
13
|
-
isIdle: true;
|
|
14
|
-
isPending: false;
|
|
15
|
-
isSuccess: false;
|
|
16
|
-
failureCount: number;
|
|
17
|
-
failureReason: import('@wagmi/core').SendTransactionErrorType | null;
|
|
18
|
-
isPaused: boolean;
|
|
19
|
-
submittedAt: number;
|
|
20
|
-
mutate: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
|
|
21
|
-
mutateAsync: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
|
|
22
|
-
sendTransaction: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
|
|
23
|
-
hash: `0x${string}` | undefined;
|
|
24
|
-
signTransaction: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
|
|
25
|
-
} | {
|
|
26
|
-
error: null;
|
|
27
|
-
status: "pending";
|
|
28
|
-
reset: () => void;
|
|
29
|
-
context: unknown;
|
|
30
|
-
variables: {
|
|
31
|
-
gasPrice?: bigint | undefined;
|
|
32
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
33
|
-
maxFeePerGas?: undefined | undefined;
|
|
34
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
35
|
-
type?: "legacy" | undefined;
|
|
36
|
-
nonce?: number | undefined;
|
|
37
|
-
to?: `0x${string}` | null | undefined;
|
|
38
|
-
value?: bigint | undefined;
|
|
39
|
-
accessList?: undefined;
|
|
40
|
-
authorizationList?: undefined;
|
|
41
|
-
blobVersionedHashes?: undefined;
|
|
42
|
-
data?: `0x${string}` | undefined;
|
|
43
|
-
blobs?: undefined;
|
|
44
|
-
kzg?: undefined;
|
|
45
|
-
sidecars?: undefined;
|
|
46
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
47
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
48
|
-
assertChainId?: boolean | undefined | undefined;
|
|
49
|
-
chainId?: number | undefined;
|
|
50
|
-
connector?: import('wagmi').Connector | undefined;
|
|
51
|
-
gas?: bigint | null | undefined;
|
|
52
|
-
} | {
|
|
53
|
-
gasPrice?: bigint | undefined;
|
|
54
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
55
|
-
maxFeePerGas?: undefined | undefined;
|
|
56
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
57
|
-
type?: "eip2930" | undefined;
|
|
58
|
-
nonce?: number | undefined;
|
|
59
|
-
to?: `0x${string}` | null | undefined;
|
|
60
|
-
value?: bigint | undefined;
|
|
61
|
-
accessList?: import('viem').AccessList | undefined;
|
|
62
|
-
authorizationList?: undefined;
|
|
63
|
-
blobVersionedHashes?: undefined;
|
|
64
|
-
data?: `0x${string}` | undefined;
|
|
65
|
-
blobs?: undefined;
|
|
66
|
-
kzg?: undefined;
|
|
67
|
-
sidecars?: undefined;
|
|
68
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
69
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
70
|
-
assertChainId?: boolean | undefined | undefined;
|
|
71
|
-
chainId?: number | undefined;
|
|
72
|
-
connector?: import('wagmi').Connector | undefined;
|
|
73
|
-
gas?: bigint | null | undefined;
|
|
74
|
-
} | {
|
|
75
|
-
gasPrice?: undefined | undefined;
|
|
76
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
77
|
-
maxFeePerGas?: bigint | undefined;
|
|
78
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
79
|
-
type?: "eip1559" | undefined;
|
|
80
|
-
nonce?: number | undefined;
|
|
81
|
-
to?: `0x${string}` | null | undefined;
|
|
82
|
-
value?: bigint | undefined;
|
|
83
|
-
accessList?: import('viem').AccessList | undefined;
|
|
84
|
-
authorizationList?: undefined;
|
|
85
|
-
blobVersionedHashes?: undefined;
|
|
86
|
-
data?: `0x${string}` | undefined;
|
|
87
|
-
blobs?: undefined;
|
|
88
|
-
kzg?: undefined;
|
|
89
|
-
sidecars?: undefined;
|
|
90
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
91
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
92
|
-
assertChainId?: boolean | undefined | undefined;
|
|
93
|
-
chainId?: number | undefined;
|
|
94
|
-
connector?: import('wagmi').Connector | undefined;
|
|
95
|
-
gas?: bigint | null | undefined;
|
|
96
|
-
} | {
|
|
97
|
-
gasPrice?: undefined | undefined;
|
|
98
|
-
maxFeePerBlobGas?: bigint | undefined;
|
|
99
|
-
maxFeePerGas?: bigint | undefined;
|
|
100
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
101
|
-
type?: "eip4844" | undefined;
|
|
102
|
-
nonce?: number | undefined;
|
|
103
|
-
to: `0x${string}` | null;
|
|
104
|
-
value?: bigint | undefined;
|
|
105
|
-
accessList?: import('viem').AccessList | undefined;
|
|
106
|
-
authorizationList?: undefined;
|
|
107
|
-
blobVersionedHashes: readonly import('viem').Hex[];
|
|
108
|
-
data?: `0x${string}` | undefined;
|
|
109
|
-
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
110
|
-
kzg?: undefined;
|
|
111
|
-
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
112
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
113
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
114
|
-
assertChainId?: boolean | undefined | undefined;
|
|
115
|
-
chainId?: number | undefined;
|
|
116
|
-
connector?: import('wagmi').Connector | undefined;
|
|
117
|
-
gas?: bigint | null | undefined;
|
|
118
|
-
} | {
|
|
119
|
-
gasPrice?: undefined | undefined;
|
|
120
|
-
maxFeePerBlobGas?: bigint | undefined;
|
|
121
|
-
maxFeePerGas?: bigint | undefined;
|
|
122
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
123
|
-
type?: "eip4844" | undefined;
|
|
124
|
-
nonce?: number | undefined;
|
|
125
|
-
to: `0x${string}` | null;
|
|
126
|
-
value?: bigint | undefined;
|
|
127
|
-
accessList?: import('viem').AccessList | undefined;
|
|
128
|
-
authorizationList?: undefined;
|
|
129
|
-
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
130
|
-
data?: `0x${string}` | undefined;
|
|
131
|
-
blobs: readonly import('viem').Hex[] | readonly import('viem').ByteArray[];
|
|
132
|
-
kzg?: import('viem').Kzg | undefined;
|
|
133
|
-
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
134
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
135
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
136
|
-
assertChainId?: boolean | undefined | undefined;
|
|
137
|
-
chainId?: number | undefined;
|
|
138
|
-
connector?: import('wagmi').Connector | undefined;
|
|
139
|
-
gas?: bigint | null | undefined;
|
|
140
|
-
} | {
|
|
141
|
-
gasPrice?: undefined | undefined;
|
|
142
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
143
|
-
maxFeePerGas?: bigint | undefined;
|
|
144
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
145
|
-
type?: "eip7702" | undefined;
|
|
146
|
-
nonce?: number | undefined;
|
|
147
|
-
to?: `0x${string}` | null | undefined;
|
|
148
|
-
value?: bigint | undefined;
|
|
149
|
-
accessList?: import('viem').AccessList | undefined;
|
|
150
|
-
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
151
|
-
blobVersionedHashes?: undefined;
|
|
152
|
-
data?: `0x${string}` | undefined;
|
|
153
|
-
blobs?: undefined;
|
|
154
|
-
kzg?: undefined;
|
|
155
|
-
sidecars?: undefined;
|
|
156
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
157
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
158
|
-
assertChainId?: boolean | undefined | undefined;
|
|
159
|
-
chainId?: number | undefined;
|
|
160
|
-
connector?: import('wagmi').Connector | undefined;
|
|
161
|
-
gas?: bigint | null | undefined;
|
|
162
|
-
};
|
|
163
|
-
isError: false;
|
|
164
|
-
isIdle: false;
|
|
165
|
-
isPending: true;
|
|
166
|
-
isSuccess: false;
|
|
167
|
-
failureCount: number;
|
|
168
|
-
failureReason: import('@wagmi/core').SendTransactionErrorType | null;
|
|
169
|
-
isPaused: boolean;
|
|
170
|
-
submittedAt: number;
|
|
171
|
-
mutate: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
|
|
172
|
-
mutateAsync: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
|
|
173
|
-
sendTransaction: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
|
|
174
|
-
hash: `0x${string}` | undefined;
|
|
175
|
-
signTransaction: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
|
|
176
|
-
} | {
|
|
177
|
-
error: import('@wagmi/core').SendTransactionErrorType;
|
|
178
|
-
status: "error";
|
|
179
|
-
reset: () => void;
|
|
180
|
-
context: unknown;
|
|
181
|
-
variables: {
|
|
182
|
-
gasPrice?: bigint | undefined;
|
|
183
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
184
|
-
maxFeePerGas?: undefined | undefined;
|
|
185
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
186
|
-
type?: "legacy" | undefined;
|
|
187
|
-
nonce?: number | undefined;
|
|
188
|
-
to?: `0x${string}` | null | undefined;
|
|
189
|
-
value?: bigint | undefined;
|
|
190
|
-
accessList?: undefined;
|
|
191
|
-
authorizationList?: undefined;
|
|
192
|
-
blobVersionedHashes?: undefined;
|
|
193
|
-
data?: `0x${string}` | undefined;
|
|
194
|
-
blobs?: undefined;
|
|
195
|
-
kzg?: undefined;
|
|
196
|
-
sidecars?: undefined;
|
|
197
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
198
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
199
|
-
assertChainId?: boolean | undefined | undefined;
|
|
200
|
-
chainId?: number | undefined;
|
|
201
|
-
connector?: import('wagmi').Connector | undefined;
|
|
202
|
-
gas?: bigint | null | undefined;
|
|
203
|
-
} | {
|
|
204
|
-
gasPrice?: bigint | undefined;
|
|
205
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
206
|
-
maxFeePerGas?: undefined | undefined;
|
|
207
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
208
|
-
type?: "eip2930" | undefined;
|
|
209
|
-
nonce?: number | undefined;
|
|
210
|
-
to?: `0x${string}` | null | undefined;
|
|
211
|
-
value?: bigint | undefined;
|
|
212
|
-
accessList?: import('viem').AccessList | undefined;
|
|
213
|
-
authorizationList?: undefined;
|
|
214
|
-
blobVersionedHashes?: undefined;
|
|
215
|
-
data?: `0x${string}` | undefined;
|
|
216
|
-
blobs?: undefined;
|
|
217
|
-
kzg?: undefined;
|
|
218
|
-
sidecars?: undefined;
|
|
219
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
220
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
221
|
-
assertChainId?: boolean | undefined | undefined;
|
|
222
|
-
chainId?: number | undefined;
|
|
223
|
-
connector?: import('wagmi').Connector | undefined;
|
|
224
|
-
gas?: bigint | null | undefined;
|
|
225
|
-
} | {
|
|
226
|
-
gasPrice?: undefined | undefined;
|
|
227
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
228
|
-
maxFeePerGas?: bigint | undefined;
|
|
229
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
230
|
-
type?: "eip1559" | undefined;
|
|
231
|
-
nonce?: number | undefined;
|
|
232
|
-
to?: `0x${string}` | null | undefined;
|
|
233
|
-
value?: bigint | undefined;
|
|
234
|
-
accessList?: import('viem').AccessList | undefined;
|
|
235
|
-
authorizationList?: undefined;
|
|
236
|
-
blobVersionedHashes?: undefined;
|
|
237
|
-
data?: `0x${string}` | undefined;
|
|
238
|
-
blobs?: undefined;
|
|
239
|
-
kzg?: undefined;
|
|
240
|
-
sidecars?: undefined;
|
|
241
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
242
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
243
|
-
assertChainId?: boolean | undefined | undefined;
|
|
244
|
-
chainId?: number | undefined;
|
|
245
|
-
connector?: import('wagmi').Connector | undefined;
|
|
246
|
-
gas?: bigint | null | undefined;
|
|
247
|
-
} | {
|
|
248
|
-
gasPrice?: undefined | undefined;
|
|
249
|
-
maxFeePerBlobGas?: bigint | undefined;
|
|
250
|
-
maxFeePerGas?: bigint | undefined;
|
|
251
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
252
|
-
type?: "eip4844" | undefined;
|
|
253
|
-
nonce?: number | undefined;
|
|
254
|
-
to: `0x${string}` | null;
|
|
255
|
-
value?: bigint | undefined;
|
|
256
|
-
accessList?: import('viem').AccessList | undefined;
|
|
257
|
-
authorizationList?: undefined;
|
|
258
|
-
blobVersionedHashes: readonly import('viem').Hex[];
|
|
259
|
-
data?: `0x${string}` | undefined;
|
|
260
|
-
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
261
|
-
kzg?: undefined;
|
|
262
|
-
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
263
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
264
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
265
|
-
assertChainId?: boolean | undefined | undefined;
|
|
266
|
-
chainId?: number | undefined;
|
|
267
|
-
connector?: import('wagmi').Connector | undefined;
|
|
268
|
-
gas?: bigint | null | undefined;
|
|
269
|
-
} | {
|
|
270
|
-
gasPrice?: undefined | undefined;
|
|
271
|
-
maxFeePerBlobGas?: bigint | undefined;
|
|
272
|
-
maxFeePerGas?: bigint | undefined;
|
|
273
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
274
|
-
type?: "eip4844" | undefined;
|
|
275
|
-
nonce?: number | undefined;
|
|
276
|
-
to: `0x${string}` | null;
|
|
277
|
-
value?: bigint | undefined;
|
|
278
|
-
accessList?: import('viem').AccessList | undefined;
|
|
279
|
-
authorizationList?: undefined;
|
|
280
|
-
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
281
|
-
data?: `0x${string}` | undefined;
|
|
282
|
-
blobs: readonly import('viem').Hex[] | readonly import('viem').ByteArray[];
|
|
283
|
-
kzg?: import('viem').Kzg | undefined;
|
|
284
|
-
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
285
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
286
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
287
|
-
assertChainId?: boolean | undefined | undefined;
|
|
288
|
-
chainId?: number | undefined;
|
|
289
|
-
connector?: import('wagmi').Connector | undefined;
|
|
290
|
-
gas?: bigint | null | undefined;
|
|
291
|
-
} | {
|
|
292
|
-
gasPrice?: undefined | undefined;
|
|
293
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
294
|
-
maxFeePerGas?: bigint | undefined;
|
|
295
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
296
|
-
type?: "eip7702" | undefined;
|
|
297
|
-
nonce?: number | undefined;
|
|
298
|
-
to?: `0x${string}` | null | undefined;
|
|
299
|
-
value?: bigint | undefined;
|
|
300
|
-
accessList?: import('viem').AccessList | undefined;
|
|
301
|
-
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
302
|
-
blobVersionedHashes?: undefined;
|
|
303
|
-
data?: `0x${string}` | undefined;
|
|
304
|
-
blobs?: undefined;
|
|
305
|
-
kzg?: undefined;
|
|
306
|
-
sidecars?: undefined;
|
|
307
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
308
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
309
|
-
assertChainId?: boolean | undefined | undefined;
|
|
310
|
-
chainId?: number | undefined;
|
|
311
|
-
connector?: import('wagmi').Connector | undefined;
|
|
312
|
-
gas?: bigint | null | undefined;
|
|
313
|
-
};
|
|
314
|
-
isError: true;
|
|
315
|
-
isIdle: false;
|
|
316
|
-
isPending: false;
|
|
317
|
-
isSuccess: false;
|
|
318
|
-
failureCount: number;
|
|
319
|
-
failureReason: import('@wagmi/core').SendTransactionErrorType | null;
|
|
320
|
-
isPaused: boolean;
|
|
321
|
-
submittedAt: number;
|
|
322
|
-
mutate: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
|
|
323
|
-
mutateAsync: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
|
|
324
|
-
sendTransaction: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
|
|
325
|
-
hash: `0x${string}` | undefined;
|
|
326
|
-
signTransaction: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
|
|
327
|
-
} | {
|
|
328
|
-
error: null;
|
|
329
|
-
status: "success";
|
|
330
|
-
reset: () => void;
|
|
331
|
-
context: unknown;
|
|
332
|
-
variables: {
|
|
333
|
-
gasPrice?: bigint | undefined;
|
|
334
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
335
|
-
maxFeePerGas?: undefined | undefined;
|
|
336
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
337
|
-
type?: "legacy" | undefined;
|
|
338
|
-
nonce?: number | undefined;
|
|
339
|
-
to?: `0x${string}` | null | undefined;
|
|
340
|
-
value?: bigint | undefined;
|
|
341
|
-
accessList?: undefined;
|
|
342
|
-
authorizationList?: undefined;
|
|
343
|
-
blobVersionedHashes?: undefined;
|
|
344
|
-
data?: `0x${string}` | undefined;
|
|
345
|
-
blobs?: undefined;
|
|
346
|
-
kzg?: undefined;
|
|
347
|
-
sidecars?: undefined;
|
|
348
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
349
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
350
|
-
assertChainId?: boolean | undefined | undefined;
|
|
351
|
-
chainId?: number | undefined;
|
|
352
|
-
connector?: import('wagmi').Connector | undefined;
|
|
353
|
-
gas?: bigint | null | undefined;
|
|
354
|
-
} | {
|
|
355
|
-
gasPrice?: bigint | undefined;
|
|
356
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
357
|
-
maxFeePerGas?: undefined | undefined;
|
|
358
|
-
maxPriorityFeePerGas?: undefined | undefined;
|
|
359
|
-
type?: "eip2930" | undefined;
|
|
360
|
-
nonce?: number | undefined;
|
|
361
|
-
to?: `0x${string}` | null | undefined;
|
|
362
|
-
value?: bigint | undefined;
|
|
363
|
-
accessList?: import('viem').AccessList | undefined;
|
|
364
|
-
authorizationList?: undefined;
|
|
365
|
-
blobVersionedHashes?: undefined;
|
|
366
|
-
data?: `0x${string}` | undefined;
|
|
367
|
-
blobs?: undefined;
|
|
368
|
-
kzg?: undefined;
|
|
369
|
-
sidecars?: undefined;
|
|
370
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
371
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
372
|
-
assertChainId?: boolean | undefined | undefined;
|
|
373
|
-
chainId?: number | undefined;
|
|
374
|
-
connector?: import('wagmi').Connector | undefined;
|
|
375
|
-
gas?: bigint | null | undefined;
|
|
376
|
-
} | {
|
|
377
|
-
gasPrice?: undefined | undefined;
|
|
378
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
379
|
-
maxFeePerGas?: bigint | undefined;
|
|
380
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
381
|
-
type?: "eip1559" | undefined;
|
|
382
|
-
nonce?: number | undefined;
|
|
383
|
-
to?: `0x${string}` | null | undefined;
|
|
384
|
-
value?: bigint | undefined;
|
|
385
|
-
accessList?: import('viem').AccessList | undefined;
|
|
386
|
-
authorizationList?: undefined;
|
|
387
|
-
blobVersionedHashes?: undefined;
|
|
388
|
-
data?: `0x${string}` | undefined;
|
|
389
|
-
blobs?: undefined;
|
|
390
|
-
kzg?: undefined;
|
|
391
|
-
sidecars?: undefined;
|
|
392
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
393
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
394
|
-
assertChainId?: boolean | undefined | undefined;
|
|
395
|
-
chainId?: number | undefined;
|
|
396
|
-
connector?: import('wagmi').Connector | undefined;
|
|
397
|
-
gas?: bigint | null | undefined;
|
|
398
|
-
} | {
|
|
399
|
-
gasPrice?: undefined | undefined;
|
|
400
|
-
maxFeePerBlobGas?: bigint | undefined;
|
|
401
|
-
maxFeePerGas?: bigint | undefined;
|
|
402
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
403
|
-
type?: "eip4844" | undefined;
|
|
404
|
-
nonce?: number | undefined;
|
|
405
|
-
to: `0x${string}` | null;
|
|
406
|
-
value?: bigint | undefined;
|
|
407
|
-
accessList?: import('viem').AccessList | undefined;
|
|
408
|
-
authorizationList?: undefined;
|
|
409
|
-
blobVersionedHashes: readonly import('viem').Hex[];
|
|
410
|
-
data?: `0x${string}` | undefined;
|
|
411
|
-
blobs?: readonly `0x${string}`[] | readonly import('viem').ByteArray[] | undefined;
|
|
412
|
-
kzg?: undefined;
|
|
413
|
-
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
414
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
415
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
416
|
-
assertChainId?: boolean | undefined | undefined;
|
|
417
|
-
chainId?: number | undefined;
|
|
418
|
-
connector?: import('wagmi').Connector | undefined;
|
|
419
|
-
gas?: bigint | null | undefined;
|
|
420
|
-
} | {
|
|
421
|
-
gasPrice?: undefined | undefined;
|
|
422
|
-
maxFeePerBlobGas?: bigint | undefined;
|
|
423
|
-
maxFeePerGas?: bigint | undefined;
|
|
424
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
425
|
-
type?: "eip4844" | undefined;
|
|
426
|
-
nonce?: number | undefined;
|
|
427
|
-
to: `0x${string}` | null;
|
|
428
|
-
value?: bigint | undefined;
|
|
429
|
-
accessList?: import('viem').AccessList | undefined;
|
|
430
|
-
authorizationList?: undefined;
|
|
431
|
-
blobVersionedHashes?: readonly `0x${string}`[] | undefined;
|
|
432
|
-
data?: `0x${string}` | undefined;
|
|
433
|
-
blobs: readonly import('viem').Hex[] | readonly import('viem').ByteArray[];
|
|
434
|
-
kzg?: import('viem').Kzg | undefined;
|
|
435
|
-
sidecars?: readonly import('viem').BlobSidecar<`0x${string}`>[] | undefined;
|
|
436
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
437
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
438
|
-
assertChainId?: boolean | undefined | undefined;
|
|
439
|
-
chainId?: number | undefined;
|
|
440
|
-
connector?: import('wagmi').Connector | undefined;
|
|
441
|
-
gas?: bigint | null | undefined;
|
|
442
|
-
} | {
|
|
443
|
-
gasPrice?: undefined | undefined;
|
|
444
|
-
maxFeePerBlobGas?: undefined | undefined;
|
|
445
|
-
maxFeePerGas?: bigint | undefined;
|
|
446
|
-
maxPriorityFeePerGas?: bigint | undefined;
|
|
447
|
-
type?: "eip7702" | undefined;
|
|
448
|
-
nonce?: number | undefined;
|
|
449
|
-
to?: `0x${string}` | null | undefined;
|
|
450
|
-
value?: bigint | undefined;
|
|
451
|
-
accessList?: import('viem').AccessList | undefined;
|
|
452
|
-
authorizationList?: import('viem').AuthorizationList<number, boolean> | undefined;
|
|
453
|
-
blobVersionedHashes?: undefined;
|
|
454
|
-
data?: `0x${string}` | undefined;
|
|
455
|
-
blobs?: undefined;
|
|
456
|
-
kzg?: undefined;
|
|
457
|
-
sidecars?: undefined;
|
|
458
|
-
account?: `0x${string}` | import('viem').Account | null | undefined;
|
|
459
|
-
dataSuffix?: `0x${string}` | undefined;
|
|
460
|
-
assertChainId?: boolean | undefined | undefined;
|
|
461
|
-
chainId?: number | undefined;
|
|
462
|
-
connector?: import('wagmi').Connector | undefined;
|
|
463
|
-
gas?: bigint | null | undefined;
|
|
464
|
-
};
|
|
465
|
-
isError: false;
|
|
466
|
-
isIdle: false;
|
|
467
|
-
isPending: false;
|
|
468
|
-
isSuccess: true;
|
|
469
|
-
failureCount: number;
|
|
470
|
-
failureReason: import('@wagmi/core').SendTransactionErrorType | null;
|
|
471
|
-
isPaused: boolean;
|
|
472
|
-
submittedAt: number;
|
|
473
|
-
mutate: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
|
|
474
|
-
mutateAsync: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
|
|
475
|
-
sendTransaction: import('wagmi/query').SendTransactionMutate<import('wagmi').Config, unknown>;
|
|
476
|
-
hash: `0x${string}` | undefined;
|
|
477
|
-
signTransaction: import('wagmi/query').SendTransactionMutateAsync<import('wagmi').Config, unknown>;
|
|
478
|
-
};
|
|
479
|
-
solana: {
|
|
480
|
-
signTransaction: ({ feePayer, instructions, recentBlockhash }: {
|
|
481
|
-
feePayer: string;
|
|
482
|
-
instructions: TransactionInstructionCtorFields[];
|
|
483
|
-
recentBlockhash?: string;
|
|
484
|
-
}) => Promise<string | undefined>;
|
|
485
|
-
connection: import('@solana/web3.js').Connection | undefined;
|
|
486
|
-
walletProvider: Provider;
|
|
487
|
-
};
|
|
488
|
-
bitcoin: {
|
|
489
|
-
signTransaction: (params: {
|
|
490
|
-
psbt: string;
|
|
491
|
-
signInputs: {
|
|
492
|
-
address: string;
|
|
493
|
-
index: number;
|
|
494
|
-
sighashTypes: number[];
|
|
495
|
-
}[];
|
|
496
|
-
broadcast: boolean;
|
|
497
|
-
}) => Promise<string>;
|
|
498
|
-
walletProvider: BitcoinConnector;
|
|
499
|
-
};
|
|
500
|
-
sui: {
|
|
501
|
-
signTransaction: (suiParams?: {
|
|
502
|
-
/** Base64 BCS transaction bytes (Reown / WalletConnect `sui_signAndExecuteTransaction`). */
|
|
503
|
-
transaction?: string;
|
|
504
|
-
/** @deprecated use `transaction` — same bytes, older name */
|
|
505
|
-
transactionBlock?: string;
|
|
506
|
-
address: string;
|
|
507
|
-
options?: Record<string, unknown>;
|
|
508
|
-
}) => Promise<any>;
|
|
509
|
-
walletProvider: any;
|
|
510
|
-
};
|
|
511
|
-
};
|