Module: constants/abis
Variables
ABIAddressBook
• ABIAddressBook: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "constructor"
= 'constructor' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "bytes32"
= 'bytes32'; name
: "name"
= 'name'; type
: "bytes32"
= 'bytes32' }, { indexed
: false
= false; internalType
: "address"
= 'address'; name
: "value"
= 'value'; type
: "address"
= 'address' }] ; name
: "File"
= 'File'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "gauge"
= 'gauge'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "bribe"
= 'bribe'; type
: "address"
= 'address' }] ; name
: "SetBribeOfGauge"
= 'SetBribeOfGauge'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "token0"
= 'token0'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "token1"
= 'token1'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "canonicalId"
= 'canonicalId'; type
: "uint256"
= 'uint256' }] ; name
: "SetCanonicalIdOfPair"
= 'SetCanonicalIdOfPair'; type
: "event"
= 'event' }, { inputs
: readonly [] = []; name
: "agency"
= 'agency'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "agentNFT"
= 'agentNFT'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "bribeOfGauge"
= 'bribeOfGauge'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "factory"
= 'factory'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "farm"
= 'farm'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: "name"
= 'name'; type
: "bytes32"
= 'bytes32' }, { internalType
: "address"
= 'address'; name
: "value"
= 'value'; type
: "address"
= 'address' }] ; name
: "file"
= 'file'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "token0"
= 'token0'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "token1"
= 'token1'; type
: "address"
= 'address' }] ; name
: "getCanonicalIdOfPair"
= 'getCanonicalIdOfPair'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "govToken"
= 'govToken'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "govTokenStaking"
= 'govTokenStaking'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "nextAddressBook"
= 'nextAddressBook'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "owner"
= 'owner'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "router"
= 'router'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "gauge"
= 'gauge'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "bribe"
= 'bribe'; type
: "address"
= 'address' }] ; name
: "setBribeOfGauge"
= 'setBribeOfGauge'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "token0"
= 'token0'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "token1"
= 'token1'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "canonicalId"
= 'canonicalId'; type
: "uint256"
= 'uint256' }] ; name
: "setCanonicalIdOfPair"
= 'setCanonicalIdOfPair'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "treasury"
= 'treasury'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }]
Defined in
src/constants/abis/AddressBook.ts:1
ABIAgency
• ABIAgency: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "root"
= 'root'; type
: "address"
= 'address' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "constructor"
= 'constructor' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "uint256"
= 'uint256'; name
: "referrer"
= 'referrer'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "referee"
= 'referee'; type
: "uint256"
= 'uint256' }] ; name
: "Register"
= 'Register'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "signer"
= 'signer'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "bytes32"
= 'bytes32'; name
: "digest"
= 'digest'; type
: "bytes32"
= 'bytes32' }] ; name
: "Sign"
= 'Sign'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: false
= false; internalType
: "address"
= 'address'; name
: "newOwner"
= 'newOwner'; type
: "address"
= 'address' }] ; name
: "TransferOwnership"
= 'TransferOwnership'; type
: "event"
= 'event' }, { inputs
: readonly [] = []; name
: "DOMAIN_SEPARATOR"
= 'DOMAIN_SEPARATOR'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "REGISTER_ONCE_TYPEHASH"
= 'REGISTER_ONCE_TYPEHASH'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "REGISTER_PARENT_TYPEHASH"
= 'REGISTER_PARENT_TYPEHASH'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_controller"
= '_controller'; type
: "address"
= 'address' }] ; name
: "addController"
= 'addController'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "newUser"
= 'newUser'; type
: "address"
= 'address' }] ; name
: "adminAdd"
= 'adminAdd'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "id"
= 'id'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "agentNFT"
= 'agentNFT'; outputs
: readonly [{ internalType
: "contract AgentNFT"
= 'contract AgentNFT'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "id"
= 'id'; type
: "uint256"
= 'uint256' }] ; name
: "getAgent"
= 'getAgent'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }, { internalType
: "uint256[]"
= 'uint256[]'; name
: ""
= ''; type
: "uint256[]"
= 'uint256[]' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: "structHash"
= 'structHash'; type
: "bytes32"
= 'bytes32' }] ; name
: "getHashTypedData"
= 'getHashTypedData'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "isController"
= 'isController'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "oneTimeCodes"
= 'oneTimeCodes'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "owner"
= 'owner'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; name
: "presign"
= 'presign'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "bytes"
= 'bytes'; name
: "parentSig"
= 'parentSig'; type
: "bytes"
= 'bytes' }, { internalType
: "bytes"
= 'bytes'; name
: "onceSig"
= 'onceSig'; type
: "bytes"
= 'bytes' }, { internalType
: "uint256"
= 'uint256'; name
: "deadline"
= 'deadline'; type
: "uint256"
= 'uint256' }] ; name
: "register"
= 'register'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "id"
= 'id'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "payable"
= 'payable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_controller"
= '_controller'; type
: "address"
= 'address' }] ; name
: "removeController"
= 'removeController'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenAddress"
= 'tokenAddress'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "rescueERC20"
= 'rescueERC20'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: "digest"
= 'digest'; type
: "bytes32"
= 'bytes32' }] ; name
: "sign"
= 'sign'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; 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
: "from"
= 'from'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "id"
= 'id'; type
: "uint256"
= 'uint256' }] ; name
: "transfer"
= 'transfer'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; name
: "transferCooldown"
= 'transferCooldown'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }] ; name
: "transferOwnership"
= 'transferOwnership'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }] ; name
: "userInfo"
= 'userInfo'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: "ref"
= 'ref'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "gen"
= 'gen'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "whois"
= 'whois'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }]
Defined in
src/constants/abis/Agency.ts:1
ABIBribe
• ABIBribe: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_gauge"
= '_gauge'; type
: "address"
= 'address' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "constructor"
= 'constructor' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "from"
= 'from'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "token"
= 'token'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "uint256"
= 'uint256'; name
: "week"
= 'week'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "AddReward"
= 'AddReward'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "token"
= 'token'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "uint256"
= 'uint256'; name
: "week"
= 'week'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "ClaimReward"
= 'ClaimReward'; type
: "event"
= 'event' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "token"
= 'token'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "week"
= 'week'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "addReward"
= 'addReward'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "token"
= 'token'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "week"
= 'week'; type
: "uint256"
= 'uint256' }] ; name
: "claimReward"
= 'claimReward'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "token"
= 'token'; type
: "address"
= 'address' }, { internalType
: "uint256[]"
= 'uint256[]'; name
: "week"
= 'week'; type
: "uint256[]"
= 'uint256[]' }] ; name
: "claimRewards"
= 'claimRewards'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address[]"
= 'address[]'; name
: "token"
= 'token'; type
: "address[]"
= 'address[]' }, { internalType
: "uint256[][]"
= 'uint256[][]'; name
: "week"
= 'week'; type
: "uint256[][]"
= 'uint256[][]' }] ; name
: "claimRewardsMultipleTokens"
= 'claimRewardsMultipleTokens'; outputs
: readonly [{ internalType
: "uint256[]"
= 'uint256[]'; name
: "amount"
= 'amount'; type
: "uint256[]"
= 'uint256[]' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; name
: "claimed"
= 'claimed'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "gauge"
= 'gauge'; outputs
: readonly [{ internalType
: "contract IGauge"
= 'contract IGauge'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; name
: "tokenRewardOfWeek"
= 'tokenRewardOfWeek'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }]
Defined in
ABIDyson
• ABIDyson: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }] ; 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
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "Approval"
= 'Approval'; 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
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "Transfer"
= 'Transfer'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: false
= false; internalType
: "address"
= 'address'; name
: "newOwner"
= 'newOwner'; type
: "address"
= 'address' }] ; name
: "TransferOwnership"
= 'TransferOwnership'; type
: "event"
= 'event' }, { inputs
: readonly [] = []; name
: "DOMAIN_SEPARATOR"
= 'DOMAIN_SEPARATOR'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "PERMIT_TYPEHASH"
= 'PERMIT_TYPEHASH'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_minter"
= '_minter'; type
: "address"
= 'address' }] ; name
: "addMinter"
= 'addMinter'; 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
: "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
: ""
= ''; type
: "address"
= 'address' }] ; name
: "balanceOf"
= 'balanceOf'; 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
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "burn"
= 'burn'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; 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
: ""
= ''; type
: "address"
= 'address' }] ; name
: "isMinter"
= 'isMinter'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; 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
: "mint"
= 'mint'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; 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
: ""
= ''; type
: "address"
= 'address' }] ; name
: "nonces"
= 'nonces'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "owner"
= 'owner'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_spender"
= '_spender'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "_amount"
= '_amount'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "_deadline"
= '_deadline'; type
: "uint256"
= 'uint256' }, { internalType
: "uint8"
= 'uint8'; name
: "_v"
= '_v'; type
: "uint8"
= 'uint8' }, { internalType
: "bytes32"
= 'bytes32'; name
: "_r"
= '_r'; type
: "bytes32"
= 'bytes32' }, { internalType
: "bytes32"
= 'bytes32'; name
: "_s"
= '_s'; type
: "bytes32"
= 'bytes32' }] ; name
: "permit"
= 'permit'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_minter"
= '_minter'; type
: "address"
= 'address' }] ; name
: "removeMinter"
= 'removeMinter'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenAddress"
= 'tokenAddress'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "rescueERC20"
= 'rescueERC20'; 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' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }] ; name
: "transferOwnership"
= 'transferOwnership'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }]
Defined in
ABIDysonSwapFactory
• ABIDysonSwapFactory: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_controller"
= '_controller'; type
: "address"
= 'address' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "constructor"
= 'constructor' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "token0"
= 'token0'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "token1"
= 'token1'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "id"
= 'id'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "address"
= 'address'; name
: "pair"
= 'pair'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; name
: "PairCreated"
= 'PairCreated'; type
: "event"
= 'event' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; name
: "allPairs"
= 'allPairs'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "allPairsLength"
= 'allPairsLength'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "becomeController"
= 'becomeController'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "controller"
= 'controller'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenA"
= 'tokenA'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "tokenB"
= 'tokenB'; type
: "address"
= 'address' }] ; name
: "createPair"
= 'createPair'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: "pair"
= 'pair'; type
: "address"
= 'address' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "getInitCodeHash"
= 'getInitCodeHash'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "pure"
= 'pure'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; name
: "getPair"
= 'getPair'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "getPairCount"
= 'getPairCount'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "open2public"
= 'open2public'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "pendingController"
= 'pendingController'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "permissionless"
= 'permissionless'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_controller"
= '_controller'; type
: "address"
= 'address' }] ; name
: "setController"
= 'setController'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }]
Defined in
src/constants/abis/DysonSwapFactory.ts:1
ABIDysonSwapPair
• ABIDysonSwapPair: 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
: "operator"
= 'operator'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "bool"
= 'bool'; name
: "approved"
= 'approved'; type
: "bool"
= 'bool' }] ; name
: "ApprovalForAll"
= 'ApprovalForAll'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "bool"
= 'bool'; name
: "isToken0"
= 'isToken0'; type
: "bool"
= 'bool' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amountIn"
= 'amountIn'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "token0Amt"
= 'token0Amt'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "token1Amt"
= 'token1Amt'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "due"
= 'due'; type
: "uint256"
= 'uint256' }] ; name
: "Deposit"
= 'Deposit'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "token0Amt"
= 'token0Amt'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "token1Amt"
= 'token1Amt'; type
: "uint256"
= 'uint256' }] ; name
: "FeeCollected"
= 'FeeCollected'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "sender"
= 'sender'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "bool"
= 'bool'; name
: "isSwap0"
= 'isSwap0'; type
: "bool"
= 'bool' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amountIn"
= 'amountIn'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amountOut"
= 'amountOut'; type
: "uint256"
= 'uint256' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }] ; name
: "Swap"
= 'Swap'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "bool"
= 'bool'; name
: "isToken0"
= 'isToken0'; type
: "bool"
= 'bool' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amountOut"
= 'amountOut'; type
: "uint256"
= 'uint256' }] ; name
: "Withdraw"
= 'Withdraw'; type
: "event"
= 'event' }, { inputs
: readonly [] = []; name
: "APPROVE_TYPEHASH"
= 'APPROVE_TYPEHASH'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "DOMAIN_SEPARATOR"
= 'DOMAIN_SEPARATOR'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "basis"
= 'basis'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint64"
= 'uint64'; name
: "_oldFeeRatio"
= '_oldFeeRatio'; type
: "uint64"
= 'uint64' }, { internalType
: "uint256"
= 'uint256'; name
: "_elapsedTime"
= '_elapsedTime'; type
: "uint256"
= 'uint256' }] ; name
: "calcNewFeeRatio"
= 'calcNewFeeRatio'; outputs
: readonly [{ internalType
: "uint64"
= 'uint64'; name
: "_newFeeRatio"
= '_newFeeRatio'; type
: "uint64"
= 'uint64' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "collectFee"
= 'collectFee'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "input"
= 'input'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "time"
= 'time'; type
: "uint256"
= 'uint256' }] ; name
: "deposit0"
= 'deposit0'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "input"
= 'input'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "time"
= 'time'; type
: "uint256"
= 'uint256' }] ; name
: "deposit1"
= 'deposit1'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "factory"
= 'factory'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "farm"
= 'farm'; outputs
: readonly [{ internalType
: "contract IFarm"
= 'contract IFarm'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "feeTo"
= 'feeTo'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "getFeeRatio"
= 'getFeeRatio'; outputs
: readonly [{ internalType
: "uint64"
= 'uint64'; name
: "_feeRatio0"
= '_feeRatio0'; type
: "uint64"
= 'uint64' }, { internalType
: "uint64"
= 'uint64'; name
: "_feeRatio1"
= '_feeRatio1'; type
: "uint64"
= 'uint64' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "time"
= 'time'; type
: "uint256"
= 'uint256' }] ; name
: "getPremium"
= 'getPremium'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "premium"
= 'premium'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "getReserves"
= 'getReserves'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "reserve0"
= 'reserve0'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "reserve1"
= 'reserve1'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "halfLife"
= 'halfLife'; outputs
: readonly [{ internalType
: "uint64"
= 'uint64'; name
: ""
= ''; type
: "uint64"
= 'uint64' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_token0"
= '_token0'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_token1"
= '_token1'; type
: "address"
= 'address' }] ; name
: "initialize"
= 'initialize'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "nonces"
= 'nonces'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "noteCount"
= 'noteCount'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; name
: "notes"
= 'notes'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "token0Amt"
= 'token0Amt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "token1Amt"
= 'token1Amt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "due"
= 'due'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "operatorApprovals"
= 'operatorApprovals'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenAddress"
= 'tokenAddress'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "rescueERC20"
= 'rescueERC20'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "operator"
= 'operator'; type
: "address"
= 'address' }, { internalType
: "bool"
= 'bool'; name
: "approved"
= 'approved'; type
: "bool"
= 'bool' }] ; name
: "setApprovalForAll"
= 'setApprovalForAll'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "owner"
= 'owner'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "operator"
= 'operator'; type
: "address"
= 'address' }, { internalType
: "bool"
= 'bool'; name
: "approved"
= 'approved'; type
: "bool"
= 'bool' }, { internalType
: "uint256"
= 'uint256'; name
: "deadline"
= 'deadline'; type
: "uint256"
= 'uint256' }, { internalType
: "bytes"
= 'bytes'; name
: "sig"
= 'sig'; type
: "bytes"
= 'bytes' }] ; name
: "setApprovalForAllWithSig"
= 'setApprovalForAllWithSig'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "_basis"
= '_basis'; type
: "uint256"
= 'uint256' }] ; name
: "setBasis"
= 'setBasis'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_farm"
= '_farm'; type
: "address"
= 'address' }] ; name
: "setFarm"
= 'setFarm'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_feeTo"
= '_feeTo'; type
: "address"
= 'address' }] ; name
: "setFeeTo"
= 'setFeeTo'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint64"
= 'uint64'; name
: "_halfLife"
= '_halfLife'; type
: "uint64"
= 'uint64' }] ; name
: "setHalfLife"
= 'setHalfLife'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "input"
= 'input'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }] ; name
: "swap0in"
= 'swap0in'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "input"
= 'input'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }] ; name
: "swap1in"
= 'swap1in'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "token0"
= 'token0'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "token1"
= 'token1'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }] ; name
: "withdraw"
= 'withdraw'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "token0Amt"
= 'token0Amt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "token1Amt"
= 'token1Amt'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "from"
= 'from'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }] ; name
: "withdrawFrom"
= 'withdrawFrom'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "token0Amt"
= 'token0Amt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "token1Amt"
= 'token1Amt'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }]
Defined in
src/constants/abis/DysonSwapPair.ts:1
ABIDysonSwapRouter
• ABIDysonSwapRouter: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_WETH"
= '_WETH'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_factory"
= '_factory'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_sDYSON"
= '_sDYSON'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_DYSON"
= '_DYSON'; type
: "address"
= 'address' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "constructor"
= 'constructor' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: false
= false; internalType
: "address"
= 'address'; name
: "newOwner"
= 'newOwner'; type
: "address"
= 'address' }] ; name
: "TransferOwnership"
= 'TransferOwnership'; type
: "event"
= 'event' }, { inputs
: readonly [] = []; name
: "CODE_HASH"
= 'CODE_HASH'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "DYSON"
= 'DYSON'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "DYSON_FACTORY"
= 'DYSON_FACTORY'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "WETH"
= 'WETH'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenIn"
= 'tokenIn'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "tokenOut"
= 'tokenOut'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "input"
= 'input'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "time"
= 'time'; type
: "uint256"
= 'uint256' }] ; name
: "deposit"
= 'deposit'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenOut"
= 'tokenOut'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "time"
= 'time'; type
: "uint256"
= 'uint256' }] ; name
: "depositETH"
= 'depositETH'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "payable"
= 'payable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "gauge"
= 'gauge'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }] ; name
: "depositToGauge"
= 'depositToGauge'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "pair"
= 'pair'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "token0Amt"
= 'token0Amt'; type
: "uint256"
= 'uint256' }] ; name
: "fairPrice"
= 'fairPrice'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "token1Amt"
= 'token1Amt'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; 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 [] = []; name
: "owner"
= 'owner'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenAddress"
= 'tokenAddress'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "contractAddress"
= 'contractAddress'; type
: "address"
= 'address' }, { internalType
: "bool"
= 'bool'; name
: "enable"
= 'enable'; type
: "bool"
= 'bool' }] ; name
: "rely"
= 'rely'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenAddress"
= 'tokenAddress'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "rescueERC20"
= 'rescueERC20'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "sDYSON"
= 'sDYSON'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "token"
= 'token'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "value"
= 'value'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "deadline"
= 'deadline'; type
: "uint256"
= 'uint256' }, { internalType
: "uint8"
= 'uint8'; name
: "v"
= 'v'; type
: "uint8"
= 'uint8' }, { internalType
: "bytes32"
= 'bytes32'; name
: "r"
= 'r'; type
: "bytes32"
= 'bytes32' }, { internalType
: "bytes32"
= 'bytes32'; name
: "s"
= 's'; type
: "bytes32"
= 'bytes32' }] ; name
: "selfPermit"
= 'selfPermit'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "pair"
= 'pair'; type
: "address"
= 'address' }, { internalType
: "bool"
= 'bool'; name
: "approved"
= 'approved'; type
: "bool"
= 'bool' }, { internalType
: "uint256"
= 'uint256'; name
: "deadline"
= 'deadline'; type
: "uint256"
= 'uint256' }, { internalType
: "bytes"
= 'bytes'; name
: "sig"
= 'sig'; type
: "bytes"
= 'bytes' }] ; name
: "setApprovalForAllWithSig"
= 'setApprovalForAllWithSig'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "lockDuration"
= 'lockDuration'; type
: "uint256"
= 'uint256' }] ; name
: "stakeDyson"
= 'stakeDyson'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "sDYSONAmount"
= 'sDYSONAmount'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenIn"
= 'tokenIn'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "tokenOut"
= 'tokenOut'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "input"
= 'input'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }] ; name
: "swap"
= 'swap'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenOut"
= 'tokenOut'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }] ; name
: "swapETHIn"
= 'swapETHIn'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "payable"
= 'payable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address[]"
= 'address[]'; name
: "tokens"
= 'tokens'; type
: "address[]"
= 'address[]' }, { internalType
: "uint256[]"
= 'uint256[]'; name
: "indexes"
= 'indexes'; type
: "uint256[]"
= 'uint256[]' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }] ; name
: "swapETHInWithMultiHops"
= 'swapETHInWithMultiHops'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "payable"
= 'payable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenIn"
= 'tokenIn'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "input"
= 'input'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }] ; name
: "swapETHOut"
= 'swapETHOut'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address[]"
= 'address[]'; name
: "tokens"
= 'tokens'; type
: "address[]"
= 'address[]' }, { internalType
: "uint256[]"
= 'uint256[]'; name
: "indexes"
= 'indexes'; type
: "uint256[]"
= 'uint256[]' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "input"
= 'input'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }] ; name
: "swapETHOutWithMultiHops"
= 'swapETHOutWithMultiHops'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address[]"
= 'address[]'; name
: "tokens"
= 'tokens'; type
: "address[]"
= 'address[]' }, { internalType
: "uint256[]"
= 'uint256[]'; name
: "indexes"
= 'indexes'; type
: "uint256[]"
= 'uint256[]' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "input"
= 'input'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "minOutput"
= 'minOutput'; type
: "uint256"
= 'uint256' }] ; name
: "swapWithMultiHops"
= 'swapWithMultiHops'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "output"
= 'output'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }] ; name
: "transferOwnership"
= 'transferOwnership'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "pair"
= 'pair'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }] ; name
: "withdraw"
= 'withdraw'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "token0Amt"
= 'token0Amt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "token1Amt"
= 'token1Amt'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "pair"
= 'pair'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }] ; name
: "withdrawETH"
= 'withdrawETH'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "token0Amt"
= 'token0Amt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "token1Amt"
= 'token1Amt'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address[]"
= 'address[]'; name
: "pairs"
= 'pairs'; type
: "address[]"
= 'address[]' }, { internalType
: "uint256[]"
= 'uint256[]'; name
: "indexes"
= 'indexes'; type
: "uint256[]"
= 'uint256[]' }, { internalType
: "address[]"
= 'address[]'; name
: "tos"
= 'tos'; type
: "address[]"
= 'address[]' }] ; name
: "withdrawMultiPositions"
= 'withdrawMultiPositions'; outputs
: readonly [{ internalType
: "uint256[]"
= 'uint256[]'; name
: "token0Amounts"
= 'token0Amounts'; type
: "uint256[]"
= 'uint256[]' }, { internalType
: "uint256[]"
= 'uint256[]'; name
: "token1Amounts"
= 'token1Amounts'; type
: "uint256[]"
= 'uint256[]' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { stateMutability
: "payable"
= 'payable'; type
: "receive"
= 'receive' }]
Defined in
src/constants/abis/DysonSwapRouter.ts:1
ABIFarm
• ABIFarm: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_agency"
= '_agency'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_gov"
= '_gov'; type
: "address"
= 'address' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "constructor"
= 'constructor' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "poolId"
= 'poolId'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amountIn"
= 'amountIn'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amountOut"
= 'amountOut'; type
: "uint256"
= 'uint256' }] ; name
: "GrantSP"
= 'GrantSP'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "poolId"
= 'poolId'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "rewardRate"
= 'rewardRate'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "weight"
= 'weight'; type
: "uint256"
= 'uint256' }] ; name
: "RateUpdated"
= 'RateUpdated'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "parent"
= 'parent'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amountIn"
= 'amountIn'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amountOut"
= 'amountOut'; type
: "uint256"
= 'uint256' }] ; name
: "Swap"
= 'Swap'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: false
= false; internalType
: "address"
= 'address'; name
: "newOwner"
= 'newOwner'; type
: "address"
= 'address' }] ; name
: "TransferOwnership"
= 'TransferOwnership'; type
: "event"
= 'event' }, { inputs
: readonly [] = []; name
: "agency"
= 'agency'; outputs
: readonly [{ internalType
: "contract IAgency"
= 'contract IAgency'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "balanceOf"
= 'balanceOf'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "cooldown"
= 'cooldown'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "getCurrentGlobalReserve"
= 'getCurrentGlobalReserve'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "reserve"
= 'reserve'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "poolId"
= 'poolId'; type
: "address"
= 'address' }] ; name
: "getCurrentPoolReserve"
= 'getCurrentPoolReserve'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "reserve"
= 'reserve'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "globalPool"
= 'globalPool'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "weight"
= 'weight'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "rewardRate"
= 'rewardRate'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "lastUpdateTime"
= 'lastUpdateTime'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "lastReserve"
= 'lastReserve'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "gauge"
= 'gauge'; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "gov"
= 'gov'; outputs
: readonly [{ internalType
: "contract IERC20Mintable"
= 'contract IERC20Mintable'; name
: ""
= ''; type
: "address"
= 'address' }] ; 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
: "grantSP"
= 'grantSP'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "owner"
= 'owner'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "pools"
= 'pools'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "weight"
= 'weight'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "rewardRate"
= 'rewardRate'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "lastUpdateTime"
= 'lastUpdateTime'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "lastReserve"
= 'lastReserve'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "gauge"
= 'gauge'; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenAddress"
= 'tokenAddress'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "rescueERC20"
= 'rescueERC20'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "rewardRate"
= 'rewardRate'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "weight"
= 'weight'; type
: "uint256"
= 'uint256' }] ; name
: "setGlobalRewardRate"
= 'setGlobalRewardRate'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "poolId"
= 'poolId'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "gauge"
= 'gauge'; type
: "address"
= 'address' }] ; name
: "setPool"
= 'setPool'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "poolId"
= 'poolId'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "rewardRate"
= 'rewardRate'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "weight"
= 'weight'; type
: "uint256"
= 'uint256' }] ; name
: "setPoolRewardRate"
= 'setPoolRewardRate'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }] ; name
: "swap"
= 'swap'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "amountOut"
= 'amountOut'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }] ; name
: "transferOwnership"
= 'transferOwnership'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }]
Defined in
ABIGauge
• ABIGauge: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_farm"
= '_farm'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_sgov"
= '_sgov'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_poolId"
= '_poolId'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "_weight"
= '_weight'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "_base"
= '_base'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "_slope"
= '_slope'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "constructor"
= 'constructor' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "uint256"
= 'uint256'; name
: "week"
= 'week'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "ApplyWithdrawal"
= 'ApplyWithdrawal'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "address"
= 'address'; name
: "depositor"
= 'depositor'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "uint256"
= 'uint256'; name
: "week"
= 'week'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "Deposit"
= 'Deposit'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: false
= false; internalType
: "address"
= 'address'; name
: "newOwner"
= 'newOwner'; type
: "address"
= 'address' }] ; name
: "TransferOwnership"
= 'TransferOwnership'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "Withdraw"
= 'Withdraw'; type
: "event"
= 'event' }, { inputs
: readonly [] = []; name
: "SGOV"
= 'SGOV'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "applyWithdrawal"
= 'applyWithdrawal'; outputs
: readonly [] = []; 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 [{ internalType
: "address"
= 'address'; name
: "account"
= 'account'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "week"
= 'week'; type
: "uint256"
= 'uint256' }] ; name
: "balanceOfAt"
= 'balanceOfAt'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "base"
= 'base'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "user"
= 'user'; type
: "address"
= 'address' }] ; name
: "bonus"
= 'bonus'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "_bonus"
= '_bonus'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }] ; name
: "deposit"
= 'deposit'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "farm"
= 'farm'; outputs
: readonly [{ internalType
: "contract IFarm"
= 'contract IFarm'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "genesis"
= 'genesis'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "nextRewardRate"
= 'nextRewardRate'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "newRewardRate"
= 'newRewardRate'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "numCheckpoints"
= 'numCheckpoints'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "owner"
= 'owner'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "pendingWithdrawal"
= 'pendingWithdrawal'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "poolId"
= 'poolId'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenAddress"
= 'tokenAddress'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "rescueERC20"
= 'rescueERC20'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "_weight"
= '_weight'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "_base"
= '_base'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "_slope"
= '_slope'; type
: "uint256"
= 'uint256' }] ; name
: "setParams"
= 'setParams'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "slope"
= 'slope'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "thisWeek"
= 'thisWeek'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "tick"
= 'tick'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; 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
: "uint256"
= 'uint256'; name
: "week"
= 'week'; type
: "uint256"
= 'uint256' }] ; name
: "totalSupplyAt"
= 'totalSupplyAt'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }] ; name
: "transferOwnership"
= 'transferOwnership'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "weekToWithdraw"
= 'weekToWithdraw'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "weight"
= 'weight'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "withdraw"
= 'withdraw'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }]
Defined in
ABIOracle
• ABIOracle: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_aggregator"
= '_aggregator'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_accessController"
= '_accessController'; type
: "address"
= 'address' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "constructor"
= 'constructor' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "int256"
= 'int256'; name
: "current"
= 'current'; type
: "int256"
= 'int256' }, { indexed
: true
= true; internalType
: "uint256"
= 'uint256'; name
: "roundId"
= 'roundId'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "updatedAt"
= 'updatedAt'; type
: "uint256"
= 'uint256' }] ; name
: "AnswerUpdated"
= 'AnswerUpdated'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "uint256"
= 'uint256'; name
: "roundId"
= 'roundId'; type
: "uint256"
= 'uint256' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "startedBy"
= 'startedBy'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "startedAt"
= 'startedAt'; type
: "uint256"
= 'uint256' }] ; name
: "NewRound"
= 'NewRound'; 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' }] ; name
: "OwnershipTransferRequested"
= 'OwnershipTransferRequested'; 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' }] ; name
: "OwnershipTransferred"
= 'OwnershipTransferred'; type
: "event"
= 'event' }, { inputs
: readonly [] = []; name
: "acceptOwnership"
= 'acceptOwnership'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "accessController"
= 'accessController'; outputs
: readonly [{ internalType
: "contract AccessControllerInterface"
= 'contract AccessControllerInterface'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "aggregator"
= 'aggregator'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_aggregator"
= '_aggregator'; type
: "address"
= 'address' }] ; name
: "confirmAggregator"
= 'confirmAggregator'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; 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 [] = []; name
: "description"
= 'description'; outputs
: readonly [{ internalType
: "string"
= 'string'; name
: ""
= ''; type
: "string"
= 'string' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "_roundId"
= '_roundId'; type
: "uint256"
= 'uint256' }] ; name
: "getAnswer"
= 'getAnswer'; outputs
: readonly [{ internalType
: "int256"
= 'int256'; name
: ""
= ''; type
: "int256"
= 'int256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint80"
= 'uint80'; name
: "_roundId"
= '_roundId'; type
: "uint80"
= 'uint80' }] ; name
: "getRoundData"
= 'getRoundData'; outputs
: readonly [{ internalType
: "uint80"
= 'uint80'; name
: "roundId"
= 'roundId'; type
: "uint80"
= 'uint80' }, { internalType
: "int256"
= 'int256'; name
: "answer"
= 'answer'; type
: "int256"
= 'int256' }, { internalType
: "uint256"
= 'uint256'; name
: "startedAt"
= 'startedAt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "updatedAt"
= 'updatedAt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint80"
= 'uint80'; name
: "answeredInRound"
= 'answeredInRound'; type
: "uint80"
= 'uint80' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "_roundId"
= '_roundId'; type
: "uint256"
= 'uint256' }] ; name
: "getTimestamp"
= 'getTimestamp'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "latestAnswer"
= 'latestAnswer'; outputs
: readonly [{ internalType
: "int256"
= 'int256'; name
: ""
= ''; type
: "int256"
= 'int256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "latestRound"
= 'latestRound'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "latestRoundData"
= 'latestRoundData'; outputs
: readonly [{ internalType
: "uint80"
= 'uint80'; name
: "roundId"
= 'roundId'; type
: "uint80"
= 'uint80' }, { internalType
: "int256"
= 'int256'; name
: "answer"
= 'answer'; type
: "int256"
= 'int256' }, { internalType
: "uint256"
= 'uint256'; name
: "startedAt"
= 'startedAt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "updatedAt"
= 'updatedAt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint80"
= 'uint80'; name
: "answeredInRound"
= 'answeredInRound'; type
: "uint80"
= 'uint80' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "latestTimestamp"
= 'latestTimestamp'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "owner"
= 'owner'; outputs
: readonly [{ internalType
: "address payable"
= 'address payable'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint16"
= 'uint16'; name
: ""
= ''; type
: "uint16"
= 'uint16' }] ; name
: "phaseAggregators"
= 'phaseAggregators'; outputs
: readonly [{ internalType
: "contract AggregatorV2V3Interface"
= 'contract AggregatorV2V3Interface'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "phaseId"
= 'phaseId'; outputs
: readonly [{ internalType
: "uint16"
= 'uint16'; name
: ""
= ''; type
: "uint16"
= 'uint16' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_aggregator"
= '_aggregator'; type
: "address"
= 'address' }] ; name
: "proposeAggregator"
= 'proposeAggregator'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "proposedAggregator"
= 'proposedAggregator'; outputs
: readonly [{ internalType
: "contract AggregatorV2V3Interface"
= 'contract AggregatorV2V3Interface'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint80"
= 'uint80'; name
: "_roundId"
= '_roundId'; type
: "uint80"
= 'uint80' }] ; name
: "proposedGetRoundData"
= 'proposedGetRoundData'; outputs
: readonly [{ internalType
: "uint80"
= 'uint80'; name
: "roundId"
= 'roundId'; type
: "uint80"
= 'uint80' }, { internalType
: "int256"
= 'int256'; name
: "answer"
= 'answer'; type
: "int256"
= 'int256' }, { internalType
: "uint256"
= 'uint256'; name
: "startedAt"
= 'startedAt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "updatedAt"
= 'updatedAt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint80"
= 'uint80'; name
: "answeredInRound"
= 'answeredInRound'; type
: "uint80"
= 'uint80' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "proposedLatestRoundData"
= 'proposedLatestRoundData'; outputs
: readonly [{ internalType
: "uint80"
= 'uint80'; name
: "roundId"
= 'roundId'; type
: "uint80"
= 'uint80' }, { internalType
: "int256"
= 'int256'; name
: "answer"
= 'answer'; type
: "int256"
= 'int256' }, { internalType
: "uint256"
= 'uint256'; name
: "startedAt"
= 'startedAt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "updatedAt"
= 'updatedAt'; type
: "uint256"
= 'uint256' }, { internalType
: "uint80"
= 'uint80'; name
: "answeredInRound"
= 'answeredInRound'; type
: "uint80"
= 'uint80' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_accessController"
= '_accessController'; type
: "address"
= 'address' }] ; name
: "setController"
= 'setController'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_to"
= '_to'; type
: "address"
= 'address' }] ; name
: "transferOwnership"
= 'transferOwnership'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "version"
= 'version'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }]
Defined in
src/constants/abis/oracle.ts:1
ABISDyson
• ABISDyson: readonly [{ inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "dyson"
= 'dyson'; type
: "address"
= 'address' }] ; 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
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "Approval"
= 'Approval'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "vaultOwner"
= 'vaultOwner'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }] ; name
: "Migrate"
= 'Migrate'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "vaultOwner"
= 'vaultOwner'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "dysonAmountAdded"
= 'dysonAmountAdded'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "sDysonAmountAdded"
= 'sDysonAmountAdded'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "time"
= 'time'; type
: "uint256"
= 'uint256' }] ; name
: "Restake"
= 'Restake'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "vaultOwner"
= 'vaultOwner'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "depositor"
= 'depositor'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "sDysonAmount"
= 'sDysonAmount'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "time"
= 'time'; type
: "uint256"
= 'uint256' }] ; name
: "Stake"
= 'Stake'; 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
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "Transfer"
= 'Transfer'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: false
= false; internalType
: "address"
= 'address'; name
: "newOwner"
= 'newOwner'; type
: "address"
= 'address' }] ; name
: "TransferOwnership"
= 'TransferOwnership'; type
: "event"
= 'event' }, { anonymous
: false
= false; inputs
: readonly [{ indexed
: true
= true; internalType
: "address"
= 'address'; name
: "vaultOwner"
= 'vaultOwner'; type
: "address"
= 'address' }, { indexed
: true
= true; internalType
: "address"
= 'address'; name
: "receiver"
= 'receiver'; type
: "address"
= 'address' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }, { indexed
: false
= false; internalType
: "uint256"
= 'uint256'; name
: "sDysonAmount"
= 'sDysonAmount'; type
: "uint256"
= 'uint256' }] ; name
: "Unstake"
= 'Unstake'; type
: "event"
= 'event' }, { inputs
: readonly [] = []; name
: "DOMAIN_SEPARATOR"
= 'DOMAIN_SEPARATOR'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "Dyson"
= 'Dyson'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "PERMIT_TYPEHASH"
= 'PERMIT_TYPEHASH'; outputs
: readonly [{ internalType
: "bytes32"
= 'bytes32'; name
: ""
= ''; type
: "bytes32"
= 'bytes32' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_minter"
= '_minter'; type
: "address"
= 'address' }] ; name
: "addMinter"
= 'addMinter'; 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
: "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
: ""
= ''; type
: "address"
= 'address' }] ; name
: "balanceOf"
= 'balanceOf'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "burn"
= 'burn'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "currentModel"
= 'currentModel'; outputs
: readonly [{ internalType
: "contract StakingRateModel"
= 'contract StakingRateModel'; name
: ""
= ''; type
: "address"
= 'address' }] ; 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
: ""
= ''; type
: "address"
= 'address' }] ; name
: "dysonAmountStaked"
= 'dysonAmountStaked'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "lockDuration"
= 'lockDuration'; type
: "uint256"
= 'uint256' }] ; name
: "getStakingRate"
= 'getStakingRate'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "rate"
= 'rate'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "isMinter"
= 'isMinter'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }] ; name
: "migrate"
= 'migrate'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "migration"
= 'migration'; 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
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "mint"
= 'mint'; outputs
: readonly [{ internalType
: "bool"
= 'bool'; name
: ""
= ''; type
: "bool"
= 'bool' }] ; 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
: ""
= ''; type
: "address"
= 'address' }] ; name
: "nonces"
= 'nonces'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "owner"
= 'owner'; outputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "_spender"
= '_spender'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "_amount"
= '_amount'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "_deadline"
= '_deadline'; type
: "uint256"
= 'uint256' }, { internalType
: "uint8"
= 'uint8'; name
: "_v"
= '_v'; type
: "uint8"
= 'uint8' }, { internalType
: "bytes32"
= 'bytes32'; name
: "_r"
= '_r'; type
: "bytes32"
= 'bytes32' }, { internalType
: "bytes32"
= 'bytes32'; name
: "_s"
= '_s'; type
: "bytes32"
= 'bytes32' }] ; name
: "permit"
= 'permit'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_minter"
= '_minter'; type
: "address"
= 'address' }] ; name
: "removeMinter"
= 'removeMinter'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "tokenAddress"
= 'tokenAddress'; type
: "address"
= 'address' }, { internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; name
: "rescueERC20"
= 'rescueERC20'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "lockDuration"
= 'lockDuration'; type
: "uint256"
= 'uint256' }] ; name
: "restake"
= 'restake'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "sDysonAmountAdded"
= 'sDysonAmountAdded'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_migration"
= '_migration'; type
: "address"
= 'address' }] ; name
: "setMigration"
= 'setMigration'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "newModel"
= 'newModel'; type
: "address"
= 'address' }] ; name
: "setStakingRateModel"
= 'setStakingRateModel'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "int256"
= 'int256'; name
: "_unbackedSupplyCap"
= '_unbackedSupplyCap'; type
: "int256"
= 'int256' }] ; name
: "setUnbackedSupplyCap"
= 'setUnbackedSupplyCap'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "lockDuration"
= 'lockDuration'; type
: "uint256"
= 'uint256' }] ; name
: "stake"
= 'stake'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "sDysonAmount"
= 'sDysonAmount'; type
: "uint256"
= 'uint256' }] ; 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' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "_owner"
= '_owner'; type
: "address"
= 'address' }] ; name
: "transferOwnership"
= 'transferOwnership'; outputs
: readonly [] = []; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "unbackedSupply"
= 'unbackedSupply'; outputs
: readonly [{ internalType
: "int256"
= 'int256'; name
: ""
= ''; type
: "int256"
= 'int256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [] = []; name
: "unbackedSupplyCap"
= 'unbackedSupplyCap'; outputs
: readonly [{ internalType
: "int256"
= 'int256'; name
: ""
= ''; type
: "int256"
= 'int256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: "to"
= 'to'; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: "index"
= 'index'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "sDysonAmount"
= 'sDysonAmount'; type
: "uint256"
= 'uint256' }] ; name
: "unstake"
= 'unstake'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "amount"
= 'amount'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "nonpayable"
= 'nonpayable'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "vaultCount"
= 'vaultCount'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }, { internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; name
: "vaults"
= 'vaults'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: "dysonAmount"
= 'dysonAmount'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "sDysonAmount"
= 'sDysonAmount'; type
: "uint256"
= 'uint256' }, { internalType
: "uint256"
= 'uint256'; name
: "unlockTime"
= 'unlockTime'; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }, { inputs
: readonly [{ internalType
: "address"
= 'address'; name
: ""
= ''; type
: "address"
= 'address' }] ; name
: "votingPower"
= 'votingPower'; outputs
: readonly [{ internalType
: "uint256"
= 'uint256'; name
: ""
= ''; type
: "uint256"
= 'uint256' }] ; stateMutability
: "view"
= 'view'; type
: "function"
= 'function' }]