@uaht/sdk v1.0.6
@uaht/sdk
Table of contents
Variables
- uahtABI
- uahtAddress
- uahtComABI
- uahtComAddress
- uahtComConfig
- uahtConfig
- uahtDaoABI
- uahtDaoAddress
- uahtDaoConfig
Functions
- usePrepareUahtApprove
- usePrepareUahtComCancelDeal
- usePrepareUahtComCloseDeal
- usePrepareUahtComCloseOffer
- usePrepareUahtComConfig
- usePrepareUahtComDeal
- usePrepareUahtComDelegate
- usePrepareUahtComMigrate
- usePrepareUahtComMulticall
- usePrepareUahtComOffer
- usePrepareUahtComRefund
- usePrepareUahtComTimer
- usePrepareUahtComUseVoucher
- usePrepareUahtComVoucher
- usePrepareUahtComWrite
- usePrepareUahtDaoAffiliate
- usePrepareUahtDaoApprove
- usePrepareUahtDaoAssign
- usePrepareUahtDaoDelegate
- usePrepareUahtDaoInput
- usePrepareUahtDaoOutput
- usePrepareUahtDaoPropose
- usePrepareUahtDaoTransfer
- usePrepareUahtDaoUpgrade
- usePrepareUahtDaoVote
- usePrepareUahtDaoWrite
- usePrepareUahtDecreaseAllowance
- usePrepareUahtDelegate
- usePrepareUahtIncreaseAllowance
- usePrepareUahtInput
- usePrepareUahtOutput
- usePrepareUahtTransfer
- usePrepareUahtTransferFrom
- usePrepareUahtWrite
- useUahtAllowance
- useUahtApprovalEvent
- useUahtApprove
- useUahtBalanceOf
- useUahtComBalance
- useUahtComCancelDeal
- useUahtComCancelDealEvent
- useUahtComClock
- useUahtComCloseDeal
- useUahtComCloseDealEvent
- useUahtComCloseOffer
- useUahtComCloseOfferEvent
- useUahtComConfig
- useUahtComDeal
- useUahtComDealEvent
- useUahtComDeals
- useUahtComDelegate
- useUahtComDurationId
- useUahtComEvent
- useUahtComFee
- useUahtComFeeId
- useUahtComHash
- useUahtComHashDeal
- useUahtComHashVoucher
- useUahtComMigrate
- useUahtComMulticall
- useUahtComOffer
- useUahtComOfferEvent
- useUahtComOffers
- useUahtComRead
- useUahtComRefund
- useUahtComRefundEvent
- useUahtComSignedHash
- useUahtComSlotsId
- useUahtComTimer
- useUahtComUaht
- useUahtComUahtDao
- useUahtComUseVoucher
- useUahtComUseVoucherEvent
- useUahtComVars
- useUahtComVerifyHash
- useUahtComVerifyVoucher
- useUahtComVoucher
- useUahtComVoucherEvent
- useUahtComVouchers
- useUahtComWrite
- useUahtDaoAffiliate
- useUahtDaoAllowance
- useUahtDaoApprove
- useUahtDaoAssign
- useUahtDaoDelegate
- useUahtDaoInput
- useUahtDaoOperators
- useUahtDaoOutput
- useUahtDaoProposal
- useUahtDaoPropose
- useUahtDaoRead
- useUahtDaoTransfer
- useUahtDaoTrust
- useUahtDaoUahtContract
- useUahtDaoUpgrade
- useUahtDaoVote
- useUahtDaoWrite
- useUahtDecimals
- useUahtDecreaseAllowance
- useUahtDelegate
- useUahtEvent
- useUahtIncreaseAllowance
- useUahtInput
- useUahtInputEvent
- useUahtName
- useUahtOutput
- useUahtOutputEvent
- useUahtRead
- useUahtSymbol
- useUahtTotalSupply
- useUahtTransfer
- useUahtTransferEvent
- useUahtTransferFrom
- useUahtWrite
Variables
uahtABI
• Const uahtABI: readonly [{ inputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "constructor" = 'constructor' }, { anonymous: false = false; inputs: readonly { indexed: true = true; internalType: "address" = 'address'; name: "owner" = 'owner'; type: "address" = 'address' }, { indexed: true = true; internalType: "address" = 'address'; name: "spender" = 'spender'; type: "address" = 'address' }, { indexed: false = false; internalType: "uint256" = 'uint256'; name: "value" = 'value'; type: "uint256" = 'uint256' } ; name: "Approval" = 'Approval'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { indexed: false = false; internalType: "uint256" = 'uint256'; name: "value" = 'value'; type: "uint256" = 'uint256' } ; name: "Input" = 'Input'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { indexed: false = false; internalType: "uint256" = 'uint256'; name: "value" = 'value'; type: "uint256" = 'uint256' } ; name: "Output" = 'Output'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: true = true; internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { indexed: true = true; internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { indexed: false = false; internalType: "uint256" = 'uint256'; name: "value" = 'value'; type: "uint256" = 'uint256' } ; name: "Transfer" = 'Transfer'; type: "event" = 'event' }, { inputs: readonly { internalType: "address" = 'address'; name: "owner" = 'owner'; type: "address" = 'address' }, { internalType: "address" = 'address'; name: "spender" = 'spender'; type: "address" = 'address' } ; name: "allowance" = 'allowance'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "spender" = 'spender'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "amount" = 'amount'; type: "uint256" = 'uint256' } ; name: "approve" = 'approve'; outputs: readonly { internalType: "bool" = 'bool'; name: "" = ''; type: "bool" = 'bool' } ; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "account" = 'account'; type: "address" = 'address' } ; name: "balanceOf" = 'balanceOf'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "decimals" = 'decimals'; outputs: readonly { internalType: "uint8" = 'uint8'; name: "" = ''; type: "uint8" = 'uint8' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "spender" = 'spender'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "subtractedValue" = 'subtractedValue'; type: "uint256" = 'uint256' } ; name: "decreaseAllowance" = 'decreaseAllowance'; outputs: readonly { internalType: "bool" = 'bool'; name: "" = ''; type: "bool" = 'bool' } ; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "bool" = 'bool'; name: "confirm" = 'confirm'; type: "bool" = 'bool' } ; name: "delegate" = 'delegate'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "spender" = 'spender'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "addedValue" = 'addedValue'; type: "uint256" = 'uint256' } ; name: "increaseAllowance" = 'increaseAllowance'; outputs: readonly { internalType: "bool" = 'bool'; name: "" = ''; type: "bool" = 'bool' } ; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "input" = 'input'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "name" = 'name'; outputs: readonly { internalType: "string" = 'string'; name: "" = ''; type: "string" = 'string' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "output" = 'output'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "symbol" = 'symbol'; outputs: readonly { internalType: "string" = 'string'; name: "" = ''; type: "string" = 'string' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "totalSupply" = 'totalSupply'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "amount" = 'amount'; type: "uint256" = 'uint256' } ; name: "transfer" = 'transfer'; outputs: readonly { internalType: "bool" = 'bool'; name: "" = ''; type: "bool" = 'bool' } ; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "amount" = 'amount'; type: "uint256" = 'uint256' } ; name: "transferFrom" = 'transferFrom'; outputs: readonly { internalType: "bool" = 'bool'; name: "" = ''; type: "bool" = 'bool' } ; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }]
View Contract on Polygon Polygon Scan
Defined in
index.ts:25
uahtAddress
• Const uahtAddress: Object
View Contract on Polygon Polygon Scan
Type declaration
| Name | Type |
|---|---|
137 | "0x0D9447E16072b636b4a1E8f2b8C644e58F3eaA6A" |
Defined in
index.ts:231
uahtComABI
• Const uahtComABI: readonly [{ inputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "constructor" = 'constructor' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { indexed: false = false; internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' } ; name: "CancelDeal" = 'CancelDeal'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { indexed: false = false; internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' } ; name: "CloseDeal" = 'CloseDeal'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { indexed: false = false; internalType: "uint256" = 'uint256'; name: "slot" = 'slot'; type: "uint256" = 'uint256' } ; name: "CloseOffer" = 'CloseOffer'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { indexed: false = false; internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { indexed: false = false; internalType: "uint256" = 'uint256'; name: "slot" = 'slot'; type: "uint256" = 'uint256' } ; name: "Deal" = 'Deal'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { indexed: false = false; internalType: "uint256" = 'uint256'; name: "slot" = 'slot'; type: "uint256" = 'uint256' } ; name: "Offer" = 'Offer'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { indexed: false = false; internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' } ; name: "Refund" = 'Refund'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { indexed: false = false; internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' } ; name: "UseVoucher" = 'UseVoucher'; type: "event" = 'event' }, { anonymous: false = false; inputs: readonly { indexed: false = false; internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { indexed: false = false; internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' } ; name: "Voucher" = 'Voucher'; type: "event" = 'event' }, { inputs: readonly [] = []; name: "balance" = 'balance'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' } ; name: "cancelDeal" = 'cancelDeal'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' }, { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' } ; name: "clock" = 'clock'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "bytes" = 'bytes'; name: "sig" = 'sig'; type: "bytes" = 'bytes' } ; name: "closeDeal" = 'closeDeal'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "slot" = 'slot'; type: "uint256" = 'uint256' } ; name: "closeOffer" = 'closeOffer'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' }, { internalType: "uint256" = 'uint256'; name: "value" = 'value'; type: "uint256" = 'uint256' } ; name: "config" = 'config'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "slot" = 'slot'; type: "uint256" = 'uint256' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "deal" = 'deal'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' }, { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' } ; name: "deals" = 'deals'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "bool" = 'bool'; name: "confirm" = 'confirm'; type: "bool" = 'bool' } ; name: "delegate" = 'delegate'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "duration_id" = 'duration_id'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "fee" = 'fee'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "fee_id" = 'fee_id'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "nonce" = 'nonce'; type: "uint256" = 'uint256' } ; name: "hash" = 'hash'; outputs: readonly { internalType: "bytes32" = 'bytes32'; name: "" = ''; type: "bytes32" = 'bytes32' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' } ; name: "hashDeal" = 'hashDeal'; outputs: readonly { internalType: "bytes32" = 'bytes32'; name: "" = ''; type: "bytes32" = 'bytes32' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' } ; name: "hashVoucher" = 'hashVoucher'; outputs: readonly { internalType: "bytes32" = 'bytes32'; name: "" = ''; type: "bytes32" = 'bytes32' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "bool" = 'bool'; name: "confirm" = 'confirm'; type: "bool" = 'bool' } ; name: "migrate" = 'migrate'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly [{ internalType: "bytes[]" = 'bytes[]'; name: "data" = 'data'; type: "bytes[]" = 'bytes[]' }] ; name: "multicall" = 'multicall'; outputs: readonly [{ internalType: "bytes[]" = 'bytes[]'; name: "results" = 'results'; type: "bytes[]" = 'bytes[]' }] ; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "slot" = 'slot'; type: "uint256" = 'uint256' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "offer" = 'offer'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; name: "offers" = 'offers'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "slot" = 'slot'; type: "uint256" = 'uint256' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "refund" = 'refund'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "nonce" = 'nonce'; type: "uint256" = 'uint256' } ; name: "signedHash" = 'signedHash'; outputs: readonly { internalType: "bytes32" = 'bytes32'; name: "" = ''; type: "bytes32" = 'bytes32' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "slots_id" = 'slots_id'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "timestamp" = 'timestamp'; type: "uint256" = 'uint256' } ; name: "timer" = 'timer'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "uaht" = 'uaht'; outputs: readonly { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "uaht_dao" = 'uaht_dao'; outputs: readonly { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' }, { internalType: "bytes" = 'bytes'; name: "sig" = 'sig'; type: "bytes" = 'bytes' } ; name: "useVoucher" = 'useVoucher'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; name: "vars" = 'vars'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "nonce" = 'nonce'; type: "uint256" = 'uint256' }, { internalType: "bytes" = 'bytes'; name: "sig" = 'sig'; type: "bytes" = 'bytes' }, { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' } ; name: "verifyHash" = 'verifyHash'; outputs: readonly { internalType: "bool" = 'bool'; name: "" = ''; type: "bool" = 'bool' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' }, { internalType: "bytes" = 'bytes'; name: "sig" = 'sig'; type: "bytes" = 'bytes' } ; name: "verifyVoucher" = 'verifyVoucher'; outputs: readonly { internalType: "bool" = 'bool'; name: "" = ''; type: "bool" = 'bool' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "voucher" = 'voucher'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; name: "vouchers" = 'vouchers'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }]
View Contract on Polygon Polygon Scan
Defined in
index.ts:247
uahtComAddress
• Const uahtComAddress: Object
View Contract on Polygon Polygon Scan
Type declaration
| Name | Type |
|---|---|
137 | "0x46640C2a02b02Ea78a4E12cC963d99c86E73cdcD" |
Defined in
index.ts:651
uahtComConfig
• Const uahtComConfig: Object
View Contract on Polygon Polygon Scan
Type declaration
| Name | Type |
|---|---|
abi | readonly uahtComABI |
address | { 137: "0x46640C2a02b02Ea78a4E12cC963d99c86E73cdcD" = '0x46640C2a02b02Ea78a4E12cC963d99c86E73cdcD' } |
address.137 | "0x46640C2a02b02Ea78a4E12cC963d99c86E73cdcD" |
Defined in
index.ts:658
uahtConfig
• Const uahtConfig: Object
View Contract on Polygon Polygon Scan
Type declaration
| Name | Type |
|---|---|
abi | readonly uahtABI |
address | { 137: "0x0D9447E16072b636b4a1E8f2b8C644e58F3eaA6A" = '0x0D9447E16072b636b4a1E8f2b8C644e58F3eaA6A' } |
address.137 | "0x0D9447E16072b636b4a1E8f2b8C644e58F3eaA6A" |
Defined in
index.ts:238
uahtDaoABI
• Const uahtDaoABI: readonly [{ inputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "constructor" = 'constructor' }, { inputs: readonly { internalType: "address" = 'address'; name: "operator" = 'operator'; type: "address" = 'address' }, { internalType: "bool" = 'bool'; name: "confirm" = 'confirm'; type: "bool" = 'bool' } ; name: "affiliate" = 'affiliate'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "operator" = 'operator'; type: "address" = 'address' } ; name: "allowance" = 'allowance'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' } ; name: "approve" = 'approve'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "operator" = 'operator'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "stake" = 'stake'; type: "uint256" = 'uint256' } ; name: "assign" = 'assign'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "bool" = 'bool'; name: "confirm" = 'confirm'; type: "bool" = 'bool' } ; name: "delegate" = 'delegate'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "input" = 'input'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' } ; name: "operators" = 'operators'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "output" = 'output'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; name: "proposal" = 'proposal'; outputs: readonly { internalType: "uint256" = 'uint256'; name: "" = ''; type: "uint256" = 'uint256' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' } ; name: "propose" = 'propose'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "from" = 'from'; type: "address" = 'address' }, { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' }, { internalType: "uint256" = 'uint256'; name: "fee" = 'fee'; type: "uint256" = 'uint256' } ; name: "transfer" = 'transfer'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' } ; name: "trust" = 'trust'; outputs: readonly { internalType: "bool" = 'bool'; name: "" = ''; type: "bool" = 'bool' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly [] = []; name: "uaht_contract" = 'uaht_contract'; outputs: readonly { internalType: "address" = 'address'; name: "" = ''; type: "address" = 'address' } ; stateMutability: "view" = 'view'; type: "function" = 'function' }, { inputs: readonly { internalType: "address" = 'address'; name: "to" = 'to'; type: "address" = 'address' }, { internalType: "bool" = 'bool'; name: "confirm" = 'confirm'; type: "bool" = 'bool' } ; name: "upgrade" = 'upgrade'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }, { inputs: readonly { internalType: "uint256" = 'uint256'; name: "id" = 'id'; type: "uint256" = 'uint256' }, { internalType: "uint256" = 'uint256'; name: "uah" = 'uah'; type: "uint256" = 'uint256' } ; name: "vote" = 'vote'; outputs: readonly [] = []; stateMutability: "nonpayable" = 'nonpayable'; type: "function" = 'function' }]
View Contract on Polygon Polygon Scan
Defined in
index.ts:670
uahtDaoAddress
• Const uahtDaoAddress: Object
View Contract on Polygon Polygon Scan
Type declaration
| Name | Type |
|---|---|
137 | "0x08B491bC7848C6AF42c3882794A93d70c04e5816" |
Defined in
index.ts:808
uahtDaoConfig
• Const uahtDaoConfig: Object
View Contract on Polygon Polygon Scan
Type declaration
| Name | Type |
|---|---|
abi | readonly uahtDaoABI |
address | { 137: "0x08B491bC7848C6AF42c3882794A93d70c04e5816" = '0x08B491bC7848C6AF42c3882794A93d70c04e5816' } |
address.137 | "0x08B491bC7848C6AF42c3882794A93d70c04e5816" |
Defined in
index.ts:815
Functions
usePrepareUahtApprove
▸ usePrepareUahtApprove(config?): Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtABI, "approve", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtABI, "approve", number> }
Wraps usePrepareContractWrite with abi set to uahtABI and functionName set to "approve".
View Contract on Polygon Polygon Scan
Parameters
| Name | Type |
|---|---|
config | Omit\<UsePrepareContractWriteConfig\<readonly uahtABI, "approve">, "address" | "abi" | "functionName"> & { chainId?: 137 } |
Returns
Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtABI, "approve", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtABI, "approve", number> }
Defined in
index.ts:1296
usePrepareUahtComCancelDeal
▸ usePrepareUahtComCancelDeal(config?): Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "cancelDeal", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "cancelDeal", number> }
Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "cancelDeal".
View Contract on Polygon Polygon Scan
Parameters
| Name | Type |
|---|---|
config | Omit\<UsePrepareContractWriteConfig\<readonly uahtComABI, "cancelDeal">, "address" | "abi" | "functionName"> & { chainId?: 137 } |
Returns
Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "cancelDeal", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "cancelDeal", number> }
Defined in
index.ts:2432
usePrepareUahtComCloseDeal
▸ usePrepareUahtComCloseDeal(config?): Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "closeDeal", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "closeDeal", number> }
Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "closeDeal".
View Contract on Polygon Polygon Scan
Parameters
| Name | Type |
|---|---|
config | Omit\<UsePrepareContractWriteConfig\<readonly uahtComABI, "closeDeal">, "address" | "abi" | "functionName"> & { chainId?: 137 } |
Returns
Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "closeDeal", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "closeDeal", number> }
Defined in
index.ts:2451
usePrepareUahtComCloseOffer
▸ usePrepareUahtComCloseOffer(config?): Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "closeOffer", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "closeOffer", number> }
Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "closeOffer".
View Contract on Polygon Polygon Scan
Parameters
| Name | Type |
|---|---|
config | Omit\<UsePrepareContractWriteConfig\<readonly uahtComABI, "closeOffer">, "address" | "abi" | "functionName"> & { chainId?: 137 } |
Returns
Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "closeOffer", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "closeOffer", number> }
Defined in
index.ts:2470
usePrepareUahtComConfig
▸ usePrepareUahtComConfig(config?): Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "config", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "config", number> }
Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "config".
View Contract on Polygon Polygon Scan
Parameters
| Name | Type |
|---|---|
config | Omit\<UsePrepareContractWriteConfig\<readonly uahtComABI, "config">, "address" | "abi" | "functionName"> & { chainId?: 137 } |
Returns
Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "config", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "config", number> }
Defined in
index.ts:2489
usePrepareUahtComDeal
▸ usePrepareUahtComDeal(config?): Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "deal", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "deal", number> }
Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "deal".
View Contract on Polygon Polygon Scan
Parameters
| Name | Type |
|---|---|
config | Omit\<UsePrepareContractWriteConfig\<readonly uahtComABI, "deal">, "address" | "abi" | "functionName"> & { chainId?: 137 } |
Returns
Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "deal", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "deal", number> }
Defined in
index.ts:2508
usePrepareUahtComDelegate
▸ usePrepareUahtComDelegate(config?): Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "delegate", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "delegate", number> }
Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "delegate".
View Contract on Polygon Polygon Scan
Parameters
| Name | Type |
|---|---|
config | Omit\<UsePrepareContractWriteConfig\<readonly uahtComABI, "delegate">, "address" | "abi" | "functionName"> & { chainId?: 137 } |
Returns
Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "delegate", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "delegate", number> }
Defined in
index.ts:2527
usePrepareUahtComMigrate
▸ usePrepareUahtComMigrate(config?): Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "migrate", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "migrate", number> }
Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "migrate".
View Contract on Polygon Polygon Scan
Parameters
| Name | Type |
|---|---|
config | Omit\<UsePrepareContractWriteConfig\<readonly uahtComABI, "migrate">, "address" | "abi" | "functionName"> & { chainId?: 137 } |
Returns
Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "migrate", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "migrate", number> }
Defined in
index.ts:2546
usePrepareUahtComMulticall
▸ usePrepareUahtComMulticall(config?): Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "multicall", number>, Error>, "data" | "error" | "fetchStatus" | "isError" | "isFetched" | "isFetchedAfterMount" | "isFetching" | "isLoading" | "isRefetching" | "isSuccess" | "refetch"> & { internal: Pick\<QueryObserverResult\<unknown, unknown>, "dataUpdatedAt" | "errorUpdatedAt" | "failureCount" | "isLoadingError" | "isPaused" | "isPlaceholderData" | "isPreviousData" | "isRefetchError" | "isStale" | "remove"> ; isIdle: boolean ; status: "error" | "loading" | "success" | "idle" } & { config: PrepareWriteContractResult\<readonly uahtComABI, "multicall", number> }
Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "multicall".
View Contract on Polygon Polygon Scan
Parameters
| Name | Type |
|---|---|
config | Omit\<UsePrepareContractWriteConfig\<readonly uahtComABI, "multicall">, "address" | "abi" | "functionName"> & { chainId?: 137 } |
Returns
Pick\<QueryObserverResult\<PrepareWriteContractResult\<readonly uahtComABI, "multicall",