@uaht/sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

@uaht/sdk

Table of contents

Variables

Functions

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", 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> }

Defined in

index.ts:2565


usePrepareUahtComOffer

usePrepareUahtComOffer(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "offer", 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, "offer", number> }

Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "offer".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtComABI, "offer">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "offer", 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, "offer", number> }

Defined in

index.ts:2584


usePrepareUahtComRefund

usePrepareUahtComRefund(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "refund", 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, "refund", number> }

Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "refund".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtComABI, "refund">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "refund", 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, "refund", number> }

Defined in

index.ts:2603


usePrepareUahtComTimer

usePrepareUahtComTimer(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "timer", 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, "timer", number> }

Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "timer".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtComABI, "timer">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "timer", 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, "timer", number> }

Defined in

index.ts:2622


usePrepareUahtComUseVoucher

usePrepareUahtComUseVoucher(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "useVoucher", 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, "useVoucher", number> }

Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "useVoucher".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtComABI, "useVoucher">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "useVoucher", 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, "useVoucher", number> }

Defined in

index.ts:2641


usePrepareUahtComVoucher

usePrepareUahtComVoucher(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "voucher", 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, "voucher", number> }

Wraps usePrepareContractWrite with abi set to uahtComABI and functionName set to "voucher".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtComABI, "voucher">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, "voucher", 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, "voucher", number> }

Defined in

index.ts:2660


usePrepareUahtComWrite

usePrepareUahtComWrite<TFunctionName>(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, TFunctionName, 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, TFunctionName, number> }

Wraps usePrepareContractWrite with abi set to uahtComABI.

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends string

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtComABI, TFunctionName>, "address" | "abi"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtComABI, TFunctionName, 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, TFunctionName, number> }

Defined in

index.ts:2414


usePrepareUahtDaoAffiliate

usePrepareUahtDaoAffiliate(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "affiliate", 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 uahtDaoABI, "affiliate", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "affiliate".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "affiliate">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "affiliate", 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 uahtDaoABI, "affiliate", number> }

Defined in

index.ts:3354


usePrepareUahtDaoApprove

usePrepareUahtDaoApprove(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "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 uahtDaoABI, "approve", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "approve".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "approve">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "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 uahtDaoABI, "approve", number> }

Defined in

index.ts:3373


usePrepareUahtDaoAssign

usePrepareUahtDaoAssign(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "assign", 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 uahtDaoABI, "assign", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "assign".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "assign">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "assign", 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 uahtDaoABI, "assign", number> }

Defined in

index.ts:3392


usePrepareUahtDaoDelegate

usePrepareUahtDaoDelegate(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "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 uahtDaoABI, "delegate", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "delegate".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "delegate">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "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 uahtDaoABI, "delegate", number> }

Defined in

index.ts:3411


usePrepareUahtDaoInput

usePrepareUahtDaoInput(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "input", 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 uahtDaoABI, "input", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "input".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "input">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "input", 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 uahtDaoABI, "input", number> }

Defined in

index.ts:3430


usePrepareUahtDaoOutput

usePrepareUahtDaoOutput(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "output", 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 uahtDaoABI, "output", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "output".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "output">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "output", 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 uahtDaoABI, "output", number> }

Defined in

index.ts:3449


usePrepareUahtDaoPropose

usePrepareUahtDaoPropose(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "propose", 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 uahtDaoABI, "propose", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "propose".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "propose">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "propose", 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 uahtDaoABI, "propose", number> }

Defined in

index.ts:3468


usePrepareUahtDaoTransfer

usePrepareUahtDaoTransfer(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "transfer", 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 uahtDaoABI, "transfer", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "transfer".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "transfer">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "transfer", 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 uahtDaoABI, "transfer", number> }

Defined in

index.ts:3487


usePrepareUahtDaoUpgrade

usePrepareUahtDaoUpgrade(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "upgrade", 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 uahtDaoABI, "upgrade", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "upgrade".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "upgrade">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "upgrade", 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 uahtDaoABI, "upgrade", number> }

Defined in

index.ts:3506


usePrepareUahtDaoVote

usePrepareUahtDaoVote(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "vote", 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 uahtDaoABI, "vote", number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI and functionName set to "vote".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, "vote">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, "vote", 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 uahtDaoABI, "vote", number> }

Defined in

index.ts:3525


usePrepareUahtDaoWrite

usePrepareUahtDaoWrite<TFunctionName>(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, TFunctionName, 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 uahtDaoABI, TFunctionName, number> }

Wraps usePrepareContractWrite with abi set to uahtDaoABI.

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends string

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtDaoABI, TFunctionName>, "address" | "abi"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtDaoABI, TFunctionName, 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 uahtDaoABI, TFunctionName, number> }

Defined in

index.ts:3336


usePrepareUahtDecreaseAllowance

usePrepareUahtDecreaseAllowance(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "decreaseAllowance", 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, "decreaseAllowance", number> }

Wraps usePrepareContractWrite with abi set to uahtABI and functionName set to "decreaseAllowance".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtABI, "decreaseAllowance">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "decreaseAllowance", 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, "decreaseAllowance", number> }

Defined in

index.ts:1315


usePrepareUahtDelegate

usePrepareUahtDelegate(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "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 uahtABI, "delegate", number> }

Wraps usePrepareContractWrite with abi set to uahtABI and functionName set to "delegate".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtABI, "delegate">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "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 uahtABI, "delegate", number> }

Defined in

index.ts:1334


usePrepareUahtIncreaseAllowance

usePrepareUahtIncreaseAllowance(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "increaseAllowance", 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, "increaseAllowance", number> }

Wraps usePrepareContractWrite with abi set to uahtABI and functionName set to "increaseAllowance".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtABI, "increaseAllowance">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "increaseAllowance", 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, "increaseAllowance", number> }

Defined in

index.ts:1353


usePrepareUahtInput

usePrepareUahtInput(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "input", 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, "input", number> }

Wraps usePrepareContractWrite with abi set to uahtABI and functionName set to "input".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtABI, "input">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "input", 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, "input", number> }

Defined in

index.ts:1372


usePrepareUahtOutput

usePrepareUahtOutput(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "output", 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, "output", number> }

Wraps usePrepareContractWrite with abi set to uahtABI and functionName set to "output".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtABI, "output">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "output", 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, "output", number> }

Defined in

index.ts:1391


usePrepareUahtTransfer

usePrepareUahtTransfer(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "transfer", 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, "transfer", number> }

Wraps usePrepareContractWrite with abi set to uahtABI and functionName set to "transfer".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtABI, "transfer">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "transfer", 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, "transfer", number> }

Defined in

index.ts:1410


usePrepareUahtTransferFrom

usePrepareUahtTransferFrom(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "transferFrom", 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, "transferFrom", number> }

Wraps usePrepareContractWrite with abi set to uahtABI and functionName set to "transferFrom".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtABI, "transferFrom">, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, "transferFrom", 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, "transferFrom", number> }

Defined in

index.ts:1429


usePrepareUahtWrite

usePrepareUahtWrite<TFunctionName>(config?): Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, TFunctionName, 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, TFunctionName, number> }

Wraps usePrepareContractWrite with abi set to uahtABI.

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends string

Parameters

Name Type
config Omit<UsePrepareContractWriteConfig<readonly uahtABI, TFunctionName>, "address" | "abi"> & { chainId?: 137 }

Returns

Pick<QueryObserverResult<PrepareWriteContractResult<readonly uahtABI, TFunctionName, 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, TFunctionName, number> }

Defined in

index.ts:1278


useUahtAllowance

useUahtAllowance<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtABI and functionName set to "allowance".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "allowance"
TSelectData ReadContractResult<readonly uahtABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:850


useUahtApprovalEvent

useUahtApprovalEvent(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtABI and eventName set to "Approval".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtABI, "Approval">, "address" | "abi" | "eventName"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:1466


useUahtApprove

useUahtApprove<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtABI and functionName set to "approve".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtABI, "approve", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtABI, "approve"> : UseContractWriteUnpreparedArgs<readonly uahtABI, "approve"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "approve" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtABI, "approve", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtABI, "approve"> : UseContractWriteUnpreparedArgs<readonly uahtABI, "approve"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "approve" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtABI, "approve", void>
writeAsync MutationFn<TMode, readonly uahtABI, "approve", Promise<WriteContractResult>>

Defined in

index.ts:1011


useUahtBalanceOf

useUahtBalanceOf<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtABI and functionName set to "balanceOf".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "balanceOf"
TSelectData ReadContractResult<readonly uahtABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:872


useUahtComBalance

useUahtComBalance<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "balance".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "balance"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1563


useUahtComCancelDeal

useUahtComCancelDeal<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "cancelDeal".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "cancelDeal", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "cancelDeal"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "cancelDeal"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "cancelDeal" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "cancelDeal", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "cancelDeal"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "cancelDeal"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "cancelDeal" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "cancelDeal", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "cancelDeal", Promise<WriteContractResult>>

Defined in

index.ts:1988


useUahtComCancelDealEvent

useUahtComCancelDealEvent(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtComABI and eventName set to "CancelDeal".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtComABI, "CancelDeal">, "address" | "abi" | "eventName"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:2697


useUahtComClock

useUahtComClock<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "clock".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "clock"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1585


useUahtComCloseDeal

useUahtComCloseDeal<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "closeDeal".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "closeDeal", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "closeDeal"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "closeDeal"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "closeDeal" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "closeDeal", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "closeDeal"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "closeDeal"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "closeDeal" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "closeDeal", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "closeDeal", Promise<WriteContractResult>>

Defined in

index.ts:2021


useUahtComCloseDealEvent

useUahtComCloseDealEvent(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtComABI and eventName set to "CloseDeal".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtComABI, "CloseDeal">, "address" | "abi" | "eventName"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:2716


useUahtComCloseOffer

useUahtComCloseOffer<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "closeOffer".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "closeOffer", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "closeOffer"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "closeOffer"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "closeOffer" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "closeOffer", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "closeOffer"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "closeOffer"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "closeOffer" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "closeOffer", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "closeOffer", Promise<WriteContractResult>>

Defined in

index.ts:2054


useUahtComCloseOfferEvent

useUahtComCloseOfferEvent(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtComABI and eventName set to "CloseOffer".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtComABI, "CloseOffer">, "address" | "abi" | "eventName"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:2735


useUahtComConfig

useUahtComConfig<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "config".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "config", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "config"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "config"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "config" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "config", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "config"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "config"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "config" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "config", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "config", Promise<WriteContractResult>>

Defined in

index.ts:2087


useUahtComDeal

useUahtComDeal<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "deal".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "deal", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "deal"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "deal"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "deal" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "deal", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "deal"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "deal"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "deal" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "deal", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "deal", Promise<WriteContractResult>>

Defined in

index.ts:2120


useUahtComDealEvent

useUahtComDealEvent(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtComABI and eventName set to "Deal".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtComABI, "Deal">, "address" | "abi" | "eventName"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:2754


useUahtComDeals

useUahtComDeals<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "deals".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "deals"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1607


useUahtComDelegate

useUahtComDelegate<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "delegate".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "delegate", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "delegate"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "delegate"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "delegate" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "delegate", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "delegate"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "delegate"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "delegate" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "delegate", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "delegate", Promise<WriteContractResult>>

Defined in

index.ts:2150


useUahtComDurationId

useUahtComDurationId<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "duration_id".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "duration_id"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1629


useUahtComEvent

useUahtComEvent<TEventName>(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtComABI.

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TEventName extends string

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtComABI, TEventName>, "address" | "abi"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:2679


useUahtComFee

useUahtComFee<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "fee".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "fee"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1651


useUahtComFeeId

useUahtComFeeId<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "fee_id".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "fee_id"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1673


useUahtComHash

useUahtComHash<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "hash".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "hash"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1695


useUahtComHashDeal

useUahtComHashDeal<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "hashDeal".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "hashDeal"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1717


useUahtComHashVoucher

useUahtComHashVoucher<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "hashVoucher".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "hashVoucher"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1739


useUahtComMigrate

useUahtComMigrate<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "migrate".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "migrate", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "migrate"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "migrate"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "migrate" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "migrate", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "migrate"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "migrate"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "migrate" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "migrate", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "migrate", Promise<WriteContractResult>>

Defined in

index.ts:2183


useUahtComMulticall

useUahtComMulticall<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "multicall".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "multicall", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "multicall"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "multicall"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "multicall" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "multicall", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "multicall"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "multicall"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "multicall" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "multicall", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "multicall", Promise<WriteContractResult>>

Defined in

index.ts:2216


useUahtComOffer

useUahtComOffer<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "offer".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "offer", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "offer"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "offer"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "offer" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "offer", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "offer"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "offer"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "offer" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "offer", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "offer", Promise<WriteContractResult>>

Defined in

index.ts:2249


useUahtComOfferEvent

useUahtComOfferEvent(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtComABI and eventName set to "Offer".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtComABI, "Offer">, "address" | "abi" | "eventName"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:2773


useUahtComOffers

useUahtComOffers<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "offers".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "offers"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1761


useUahtComRead

useUahtComRead<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI.

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends string
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1542


useUahtComRefund

useUahtComRefund<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "refund".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "refund", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "refund"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "refund"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "refund" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "refund", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "refund"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "refund"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "refund" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "refund", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "refund", Promise<WriteContractResult>>

Defined in

index.ts:2282


useUahtComRefundEvent

useUahtComRefundEvent(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtComABI and eventName set to "Refund".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtComABI, "Refund">, "address" | "abi" | "eventName"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:2792


useUahtComSignedHash

useUahtComSignedHash<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "signedHash".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "signedHash"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1783


useUahtComSlotsId

useUahtComSlotsId<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "slots_id".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "slots_id"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1805


useUahtComTimer

useUahtComTimer<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "timer".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "timer", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "timer"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "timer"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "timer" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "timer", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "timer"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "timer"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "timer" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "timer", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "timer", Promise<WriteContractResult>>

Defined in

index.ts:2315


useUahtComUaht

useUahtComUaht<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "uaht".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "uaht"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1827


useUahtComUahtDao

useUahtComUahtDao<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "uaht_dao".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "uaht_dao"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1849


useUahtComUseVoucher

useUahtComUseVoucher<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "useVoucher".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "useVoucher", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "useVoucher"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "useVoucher"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "useVoucher" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "useVoucher", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "useVoucher"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "useVoucher"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "useVoucher" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "useVoucher", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "useVoucher", Promise<WriteContractResult>>

Defined in

index.ts:2348


useUahtComUseVoucherEvent

useUahtComUseVoucherEvent(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtComABI and eventName set to "UseVoucher".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtComABI, "UseVoucher">, "address" | "abi" | "eventName"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:2811


useUahtComVars

useUahtComVars<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "vars".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "vars"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1871


useUahtComVerifyHash

useUahtComVerifyHash<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "verifyHash".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "verifyHash"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1893


useUahtComVerifyVoucher

useUahtComVerifyVoucher<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "verifyVoucher".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "verifyVoucher"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1915


useUahtComVoucher

useUahtComVoucher<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI and functionName set to "voucher".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "voucher", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "voucher"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "voucher"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "voucher" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, "voucher", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, "voucher"> : UseContractWriteUnpreparedArgs<readonly uahtComABI, "voucher"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "voucher" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, "voucher", void>
writeAsync MutationFn<TMode, readonly uahtComABI, "voucher", Promise<WriteContractResult>>

Defined in

index.ts:2381


useUahtComVoucherEvent

useUahtComVoucherEvent(config?): undefined | () => void

Wraps useContractEvent with abi set to uahtComABI and eventName set to "Voucher".

View Contract on Polygon Polygon Scan

Parameters

Name Type
config Omit<UseContractEventConfig<readonly uahtComABI, "Voucher">, "address" | "abi" | "eventName"> & { chainId?: 137 }

Returns

undefined | () => void

Defined in

index.ts:2830


useUahtComVouchers

useUahtComVouchers<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtComABI and functionName set to "vouchers".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "vouchers"
TSelectData ReadContractResult<readonly uahtComABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtComABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:1937


useUahtComWrite

useUahtComWrite<TFunctionName, TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtComABI.

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends string
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, TFunctionName, TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, TFunctionName> : UseContractWriteUnpreparedArgs<readonly uahtComABI, TFunctionName> & { address?: `0x${string}` ; chainId?: TChainId } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtComABI, TFunctionName, TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtComABI, TFunctionName> : UseContractWriteUnpreparedArgs<readonly uahtComABI, TFunctionName> & { abi?: undefined ; address?: undefined ; chainId?: TChainId }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtComABI, TFunctionName, void>
writeAsync MutationFn<TMode, readonly uahtComABI, TFunctionName, Promise<WriteContractResult>>

Defined in

index.ts:1959


useUahtDaoAffiliate

useUahtDaoAffiliate<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "affiliate".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "affiliate", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "affiliate"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "affiliate"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "affiliate" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "affiliate", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "affiliate"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "affiliate"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "affiliate" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "affiliate", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "affiliate", Promise<WriteContractResult>>

Defined in

index.ts:3009


useUahtDaoAllowance

useUahtDaoAllowance<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtDaoABI and functionName set to "allowance".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "allowance"
TSelectData ReadContractResult<readonly uahtDaoABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtDaoABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:2870


useUahtDaoApprove

useUahtDaoApprove<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "approve".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "approve", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "approve"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "approve"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "approve" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "approve", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "approve"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "approve"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "approve" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "approve", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "approve", Promise<WriteContractResult>>

Defined in

index.ts:3042


useUahtDaoAssign

useUahtDaoAssign<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "assign".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "assign", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "assign"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "assign"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "assign" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "assign", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "assign"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "assign"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "assign" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "assign", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "assign", Promise<WriteContractResult>>

Defined in

index.ts:3075


useUahtDaoDelegate

useUahtDaoDelegate<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "delegate".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "delegate", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "delegate"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "delegate"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "delegate" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "delegate", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "delegate"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "delegate"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "delegate" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "delegate", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "delegate", Promise<WriteContractResult>>

Defined in

index.ts:3108


useUahtDaoInput

useUahtDaoInput<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "input".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "input", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "input"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "input"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "input" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "input", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "input"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "input"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "input" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "input", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "input", Promise<WriteContractResult>>

Defined in

index.ts:3141


useUahtDaoOperators

useUahtDaoOperators<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtDaoABI and functionName set to "operators".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "operators"
TSelectData ReadContractResult<readonly uahtDaoABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtDaoABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:2892


useUahtDaoOutput

useUahtDaoOutput<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "output".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "output", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "output"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "output"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "output" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "output", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "output"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "output"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "output" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "output", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "output", Promise<WriteContractResult>>

Defined in

index.ts:3174


useUahtDaoProposal

useUahtDaoProposal<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtDaoABI and functionName set to "proposal".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "proposal"
TSelectData ReadContractResult<readonly uahtDaoABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtDaoABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:2914


useUahtDaoPropose

useUahtDaoPropose<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "propose".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "propose", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "propose"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "propose"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "propose" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "propose", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "propose"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "propose"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "propose" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "propose", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "propose", Promise<WriteContractResult>>

Defined in

index.ts:3207


useUahtDaoRead

useUahtDaoRead<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtDaoABI.

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends string
TSelectData ReadContractResult<readonly uahtDaoABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtDaoABI, TFunctionName, TSelectData>, "address" | "abi"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:2849


useUahtDaoTransfer

useUahtDaoTransfer<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "transfer".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "transfer", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "transfer"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "transfer"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "transfer" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "transfer", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "transfer"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "transfer"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "transfer" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "transfer", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "transfer", Promise<WriteContractResult>>

Defined in

index.ts:3240


useUahtDaoTrust

useUahtDaoTrust<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtDaoABI and functionName set to "trust".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "trust"
TSelectData ReadContractResult<readonly uahtDaoABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtDaoABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:2936


useUahtDaoUahtContract

useUahtDaoUahtContract<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtDaoABI and functionName set to "uaht_contract".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "uaht_contract"
TSelectData ReadContractResult<readonly uahtDaoABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtDaoABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:2958


useUahtDaoUpgrade

useUahtDaoUpgrade<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "upgrade".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "upgrade", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "upgrade"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "upgrade"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "upgrade" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "upgrade", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "upgrade"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "upgrade"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "upgrade" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "upgrade", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "upgrade", Promise<WriteContractResult>>

Defined in

index.ts:3273


useUahtDaoVote

useUahtDaoVote<TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI and functionName set to "vote".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "vote", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "vote"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "vote"> & { address?: `0x${string}` ; chainId?: TChainId ; functionName?: "vote" } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, "vote", TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, "vote"> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, "vote"> & { abi?: undefined ; address?: undefined ; chainId?: TChainId ; functionName?: "vote" }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, "vote", void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, "vote", Promise<WriteContractResult>>

Defined in

index.ts:3306


useUahtDaoWrite

useUahtDaoWrite<TFunctionName, TMode, TChainId>(config?): Object

Wraps useContractWrite with abi set to uahtDaoABI.

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends string
TMode extends WriteContractMode = undefined
TChainId extends number = 137

Parameters

Name Type
config TMode extends "prepared" ? MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, TFunctionName, TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, TFunctionName> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, TFunctionName> & { address?: `0x${string}` ; chainId?: TChainId } : MutationConfig<WriteContractResult, Error, UseContractWriteArgs<readonly uahtDaoABI, TFunctionName, TMode>> & { mode?: TMode } & TMode extends "prepared" ? UseContractWritePreparedArgs<readonly uahtDaoABI, TFunctionName> : UseContractWriteUnpreparedArgs<readonly uahtDaoABI, TFunctionName> & { abi?: undefined ; address?: undefined ; chainId?: TChainId }

Returns

Object

Name Type
data undefined | WriteContractResult
error null | Error
isError boolean
isIdle boolean
isLoading boolean
isSuccess boolean
reset () => void
status "error" | "loading" | "success" | "idle"
variables undefined | UseContractWriteArgs<Abi, string, undefined>
write MutationFn<TMode, readonly uahtDaoABI, TFunctionName, void>
writeAsync MutationFn<TMode, readonly uahtDaoABI, TFunctionName, Promise<WriteContractResult>>

Defined in

index.ts:2980


useUahtDecimals

useUahtDecimals<TFunctionName, TSelectData>(config?): UseQueryResult<TSelectData, Error>

Wraps useContractRead with abi set to uahtABI and functionName set to "decimals".

View Contract on Polygon Polygon Scan

Type parameters

Name Type
TFunctionName extends "decimals"
TSelectData ReadContractResult<readonly uahtABI, TFunctionName>

Parameters

Name Type
config Omit<UseContractReadConfig<readonly uahtABI, TFunctionName, TSelectData>, "address" | "abi" | "functionName"> & { chainId?: 137 }

Returns

UseQueryResult<TSelectData, Error>

Defined in

index.ts:894


useUahtDecreaseAllowance

useUahtDecreaseAllowance<TMode, TChainId>(config?): Object

Wraps __useContractWri

Readme

Keywords

Package Sidebar

Install

npm i @uaht/sdk

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

1.56 MB

Total Files

5

Last publish

Collaborators

  • starscrowding