npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@uaht/sdk

v1.0.6

Published

Borderless protocol for free people 🇺🇦

Downloads

7

Readme

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