123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 |
- [
- {
- "inputs": [
- {
- "internalType": "bytes32[]",
- "name": "domains",
- "type": "bytes32[]"
- }
- ],
- "name": "bulkResolve",
- "outputs": [
- {
- "internalType": "address[]",
- "name": "result",
- "type": "address[]"
- }
- ],
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "contract Governance",
- "name": "governance",
- "type": "address"
- }
- ],
- "name": "getAllProposals",
- "outputs": [
- {
- "components": [
- {
- "internalType": "address",
- "name": "proposer",
- "type": "address"
- },
- {
- "internalType": "address",
- "name": "target",
- "type": "address"
- },
- {
- "internalType": "uint256",
- "name": "startTime",
- "type": "uint256"
- },
- {
- "internalType": "uint256",
- "name": "endTime",
- "type": "uint256"
- },
- {
- "internalType": "uint256",
- "name": "forVotes",
- "type": "uint256"
- },
- {
- "internalType": "uint256",
- "name": "againstVotes",
- "type": "uint256"
- },
- {
- "internalType": "bool",
- "name": "executed",
- "type": "bool"
- },
- {
- "internalType": "bool",
- "name": "extended",
- "type": "bool"
- },
- {
- "internalType": "enum Governance.ProposalState",
- "name": "state",
- "type": "uint8"
- }
- ],
- "internalType": "struct GovernanceAggregator.Proposal[]",
- "name": "proposals",
- "type": "tuple[]"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "contract Governance",
- "name": "governance",
- "type": "address"
- },
- {
- "internalType": "address[]",
- "name": "accs",
- "type": "address[]"
- }
- ],
- "name": "getGovernanceBalances",
- "outputs": [
- {
- "internalType": "uint256[]",
- "name": "amounts",
- "type": "uint256[]"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "address[]",
- "name": "fromTokens",
- "type": "address[]"
- },
- {
- "internalType": "uint256[]",
- "name": "oneUnitAmounts",
- "type": "uint256[]"
- }
- ],
- "name": "getPricesInETH",
- "outputs": [
- {
- "internalType": "uint256[]",
- "name": "prices",
- "type": "uint256[]"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "contract Governance",
- "name": "governance",
- "type": "address"
- },
- {
- "internalType": "address",
- "name": "account",
- "type": "address"
- }
- ],
- "name": "getUserData",
- "outputs": [
- {
- "internalType": "uint256",
- "name": "balance",
- "type": "uint256"
- },
- {
- "internalType": "uint256",
- "name": "latestProposalId",
- "type": "uint256"
- },
- {
- "internalType": "uint256",
- "name": "latestProposalIdState",
- "type": "uint256"
- },
- {
- "internalType": "uint256",
- "name": "timelock",
- "type": "uint256"
- },
- {
- "internalType": "address",
- "name": "delegatee",
- "type": "address"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "contract Miner",
- "name": "miner",
- "type": "address"
- },
- {
- "internalType": "address[]",
- "name": "instances",
- "type": "address[]"
- }
- ],
- "name": "minerRates",
- "outputs": [
- {
- "internalType": "uint256[]",
- "name": "_rates",
- "type": "uint256[]"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "bytes32",
- "name": "node",
- "type": "bytes32"
- }
- ],
- "name": "resolve",
- "outputs": [
- {
- "internalType": "address",
- "name": "",
- "type": "address"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "contract RewardSwap",
- "name": "swap",
- "type": "address"
- }
- ],
- "name": "swapState",
- "outputs": [
- {
- "internalType": "uint256",
- "name": "balance",
- "type": "uint256"
- },
- {
- "internalType": "uint256",
- "name": "poolWeight",
- "type": "uint256"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "contract Miner",
- "name": "miner",
- "type": "address"
- },
- {
- "internalType": "address[]",
- "name": "instances",
- "type": "address[]"
- },
- {
- "internalType": "contract RewardSwap",
- "name": "swap",
- "type": "address"
- }
- ],
- "name": "miningData",
- "outputs": [
- {
- "internalType": "uint256[]",
- "name": "_rates",
- "type": "uint256[]"
- },
- {
- "internalType": "uint256",
- "name": "balance",
- "type": "uint256"
- },
- {
- "internalType": "uint256",
- "name": "poolWeight",
- "type": "uint256"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "address[]",
- "name": "fromTokens",
- "type": "address[]"
- },
- {
- "internalType": "uint256[]",
- "name": "oneUnitAmounts",
- "type": "uint256[]"
- },
- {
- "internalType": "contract RewardSwap",
- "name": "swap",
- "type": "address"
- }
- ],
- "name": "marketData",
- "outputs": [
- {
- "internalType": "uint256[]",
- "name": "prices",
- "type": "uint256[]"
- },
- {
- "internalType": "uint256",
- "name": "balance",
- "type": "uint256"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- }
- ]
|