@q-dev/gdk-sdk
Version:
Typescript Library to interact with GDK Contracts
1,527 lines • 104 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "GeneralDAOVoting",
"sourceName": "contracts/governance/GeneralDAOVoting.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "beacon",
"type": "address"
}
],
"name": "BeaconUpgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "proposer",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "string",
"name": "remark",
"type": "string"
},
{
"internalType": "string",
"name": "relatedExpertPanel",
"type": "string"
},
{
"internalType": "string",
"name": "relatedVotingSituation",
"type": "string"
},
{
"internalType": "bytes",
"name": "callData",
"type": "bytes"
},
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"components": [
{
"internalType": "enum VotingType",
"name": "votingType",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "votingStartTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingEndTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoEndTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.VotingParams",
"name": "params",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "votedFor",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votedAgainst",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoesCount",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.VotingCounters",
"name": "counters",
"type": "tuple"
},
{
"internalType": "bool",
"name": "executed",
"type": "bool"
}
],
"indexed": false,
"internalType": "struct IDAOVoting.DAOProposal",
"name": "proposal",
"type": "tuple"
}
],
"name": "ProposalCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "ProposalExecuted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "voter",
"type": "address"
}
],
"name": "UserVetoed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "voter",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "votingPower",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint8",
"name": "option",
"type": "uint8"
}
],
"name": "UserVoted",
"type": "event"
},
{
"inputs": [],
"name": "DAO_VOTING_RESOURCE",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "votingToken_",
"type": "address"
},
{
"internalType": "string",
"name": "panelName_",
"type": "string"
},
{
"internalType": "string",
"name": "resource_",
"type": "string"
}
],
"name": "__DAOVoting_init",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "member_",
"type": "address"
},
{
"internalType": "string",
"name": "permission_",
"type": "string"
}
],
"name": "checkPermission",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "string",
"name": "votingSituationName",
"type": "string"
},
{
"components": [
{
"internalType": "uint256",
"name": "votingPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingType",
"type": "uint256"
},
{
"internalType": "string",
"name": "votingTarget",
"type": "string"
},
{
"internalType": "uint256",
"name": "votingMinAmount",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.DAOVotingValues",
"name": "votingValues",
"type": "tuple"
}
],
"internalType": "struct IDAOVoting.InitialSituation",
"name": "conf_",
"type": "tuple"
}
],
"name": "createDAOVotingSituation",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"components": [
{
"internalType": "string",
"name": "votingSituationName",
"type": "string"
},
{
"components": [
{
"internalType": "uint256",
"name": "votingPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingType",
"type": "uint256"
},
{
"internalType": "string",
"name": "votingTarget",
"type": "string"
},
{
"internalType": "uint256",
"name": "votingMinAmount",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.DAOVotingValues",
"name": "votingValues",
"type": "tuple"
}
],
"internalType": "struct IDAOVoting.InitialSituation",
"name": "initialSituation",
"type": "tuple"
},
{
"internalType": "string",
"name": "externalLink",
"type": "string"
}
],
"internalType": "struct IDAOVoting.ExtendedSituation",
"name": "conf_",
"type": "tuple"
}
],
"name": "createDAOVotingSituationWithLink",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "situation_",
"type": "string"
},
{
"internalType": "string",
"name": "remark_",
"type": "string"
},
{
"internalType": "bytes",
"name": "callData_",
"type": "bytes"
}
],
"name": "createProposal",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "daoParameterStorage",
"outputs": [
{
"internalType": "contract DAOParameterStorage",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "daoRegistry",
"outputs": [
{
"internalType": "contract DAORegistry",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "daoVault",
"outputs": [
{
"internalType": "contract DAOVault",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId_",
"type": "uint256"
}
],
"name": "executeProposal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId_",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "signature_",
"type": "bytes"
}
],
"name": "executeProposalWithSignature",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getCurrentExecutingProposalId",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getInjector",
"outputs": [
{
"internalType": "address",
"name": "injector_",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId_",
"type": "uint256"
}
],
"name": "getProposal",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "string",
"name": "remark",
"type": "string"
},
{
"internalType": "string",
"name": "relatedExpertPanel",
"type": "string"
},
{
"internalType": "string",
"name": "relatedVotingSituation",
"type": "string"
},
{
"internalType": "bytes",
"name": "callData",
"type": "bytes"
},
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"components": [
{
"internalType": "enum VotingType",
"name": "votingType",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "votingStartTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingEndTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoEndTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.VotingParams",
"name": "params",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "votedFor",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votedAgainst",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoesCount",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.VotingCounters",
"name": "counters",
"type": "tuple"
},
{
"internalType": "bool",
"name": "executed",
"type": "bool"
}
],
"internalType": "struct IDAOVoting.DAOProposal",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "offset_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "limit_",
"type": "uint256"
}
],
"name": "getProposalList",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "string",
"name": "remark",
"type": "string"
},
{
"internalType": "string",
"name": "relatedExpertPanel",
"type": "string"
},
{
"internalType": "string",
"name": "relatedVotingSituation",
"type": "string"
},
{
"internalType": "bytes",
"name": "callData",
"type": "bytes"
},
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"components": [
{
"internalType": "enum VotingType",
"name": "votingType",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "votingStartTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingEndTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoEndTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.VotingParams",
"name": "params",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "votedFor",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votedAgainst",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoesCount",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.VotingCounters",
"name": "counters",
"type": "tuple"
},
{
"internalType": "bool",
"name": "executed",
"type": "bool"
}
],
"internalType": "struct IDAOVoting.DAOProposal[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "offset_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "limit_",
"type": "uint256"
}
],
"name": "getProposalSituationLinkList",
"outputs": [
{
"internalType": "string[]",
"name": "",
"type": "string[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId_",
"type": "uint256"
}
],
"name": "getProposalStatus",
"outputs": [
{
"internalType": "enum IDAOVoting.ProposalStatus",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId_",
"type": "uint256"
}
],
"name": "getProposalVotingStats",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "currentQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "currentMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "currentVetoQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.VotingStats",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getResource",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "situation_",
"type": "string"
}
],
"name": "getVotingSituationExternalLink",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "situation_",
"type": "string"
}
],
"name": "getVotingSituationInfo",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "votingPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingType",
"type": "uint256"
},
{
"internalType": "string",
"name": "votingTarget",
"type": "string"
},
{
"internalType": "uint256",
"name": "votingMinAmount",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.DAOVotingValues",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "situation_",
"type": "string"
}
],
"name": "getVotingSituationInfoWithLink",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "votingPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingType",
"type": "uint256"
},
{
"internalType": "string",
"name": "votingTarget",
"type": "string"
},
{
"internalType": "uint256",
"name": "votingMinAmount",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.DAOVotingValues",
"name": "",
"type": "tuple"
},
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getVotingSituations",
"outputs": [
{
"internalType": "string[]",
"name": "",
"type": "string[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
},
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "hasUserVetoed",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
},
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "hasUserVoted",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "implementation",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "permissionManager",
"outputs": [
{
"internalType": "contract PermissionManager",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proposalCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId_",
"type": "uint256"
}
],
"name": "proposalSituationLink",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "proposals",
"outputs": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "string",
"name": "remark",
"type": "string"
},
{
"internalType": "string",
"name": "relatedExpertPanel",
"type": "string"
},
{
"internalType": "string",
"name": "relatedVotingSituation",
"type": "string"
},
{
"internalType": "bytes",
"name": "callData",
"type": "bytes"
},
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"components": [
{
"internalType": "enum VotingType",
"name": "votingType",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "votingStartTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingEndTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoEndTime",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredMajority",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.VotingParams",
"name": "params",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "votedFor",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votedAgainst",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoesCount",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.VotingCounters",
"name": "counters",
"type": "tuple"
},
{
"internalType": "bool",
"name": "executed",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "situation_",
"type": "string"
}
],
"name": "removeVotingSituation",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "registryAddress_",
"type": "address"
},
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"name": "setDependencies",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "injector_",
"type": "address"
}
],
"name": "setInjector",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "targetPanel",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
}
],
"name": "upgradeTo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId_",
"type": "uint256"
}
],
"name": "veto",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId_",
"type": "uint256"
}
],
"name": "voteAgainst",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId_",
"type": "uint256"
}
],
"name": "voteFor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "votingToken",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60a080604052346100315730608052613dda9081610037823960805181818161171e015281816117e20152611c970152f35b600080fdfe608060408181526004908136101561001657600080fd5b60009283803560e01c918262707322146126315750508063013cf08b146124e157806301ffc9a71461247157806307325a301461236757806309914cba146123425780630d61b5191461231757806311911cae146122de5780631d28dec7146120665780632a2b6ba01461203d5780632b52b07e146120145780633605f30714611f425780633659cfe614611c71578381633885bfeb14611bea575080633e3b5b1914611bb4578063401853b714611b6f5780634e68c99b14610a525780634f1ef286146117cb57806352d1902d146117095780635903bd6c146116e05780635c60da1b146116aa57806369130451146115395783816371834626146114675750806373708b1b146113f1578063750e443a1461126a57806375706ff2146111da57806377f8e93b146110f157806386a5053514610e7a5780638cb941cc14610e45578063ab663d0f14610e07578063b034012314610dde578063b66bfb5f14610a77578063bb65dc8314610a52578063c7f758a81461095c578063cc7a204914610933578063d047d8771461084b578063d12a79211461081f578063d8ad4e1c1461075c578063da35c6641461073e578063dc296ae1146106f8578063e83d587314610688578063eb741a24146106425763f5fcd084146101f757600080fd5b3461063e57606036600319011261063e57610210612d18565b6001600160401b0360243581811161063a5761022f903690860161283b565b60443582811161063657610246903690870161283b565b9086549560ff8760081c161594858096610629575b8015610612575b156105b857600197868960ff198316178b556105a7575b508351858111610594578061028e8a54612952565b95601f96878111610527575b506020908783116001146104aa578c9261049f575b5050600019600383901b1c191690891b1788555b60018060a01b03166bffffffffffffffffffffffff60a01b6003541617600355815193841161048c57509082916102fb600254612952565b82811161041c575b50602091831160011461039d578792610392575b5050600019600383901b1c191690841b176002555b6000197f69ff26ae7567e3e590df6e0174c58cf39f6d291d404355c047056a744cc2c45755610359578280f35b825461ff0019168355519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a138808280f35b015190503880610317565b600288528693507f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace9190601f198416895b818110610404575084116103eb575b505050811b0160025561032c565b015160001960f88460031b161c191690553880806103dd565b828401518555899690940193602093840193016103ce565b90919250600288527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace8380860160051c82019260208710610483575b9186958a929594930160051c01915b828110610475575050610303565b8a8155869550899101610467565b92508192610458565b634e487b7160e01b885260419052602487fd5b0151905038806102af565b8b8d528b93507fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf69190601f1984168e5b81811061050f575084116104f6575b505050811b0188556102c3565b015160001960f88460031b161c191690553880806104e9565b8284015185558e9690940193602093840193016104da565b9091508a8c527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf68780850160051c8201926020861061058b575b918d91869594930160051c01915b82811061057d57505061029a565b8e81558594508d910161056f565b92508192610561565b634e487b7160e01b8a526041835260248afd5b61ffff191661010117895538610279565b865162461bcd60e51b8152602081840152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b1580156102625750600160ff891614610262565b50600160ff89161061025b565b8680fd5b8580fd5b8280fd5b50903461063e578160031936011261063e5781602093610660612d2e565b92358152600d8552209060018060a01b0316600052825260ff81600020541690519015158152f35b50903461063e57602036600319011261063e57906106e2816106f4946106db943581527f69ff26ae7567e3e590df6e0174c58cf39f6d291d404355c047056a744cc2c45660205220825193848092612acf565b03836127ff565b51918291602083526020830190612c36565b0390f35b50903461063e578160031936011261063e5781602093610716612d2e565b92358152600c8552209060018060a01b0316600052825260ff81600020541690519015158152f35b50903461063e578260031936011261063e5760209250549051908152f35b503461063e578060031936011261063e57610775612d18565b602435906001600160401b03821161081b576107c59361079a6020933690830161283b565b6007548551633ca8e36d60e11b81529687946001600160a01b03909216938593849390918401613613565b03915afa91821561081157602093926107e2575b50519015158152f35b610803919250833d851161080a575b6107fb81836127ff565b8101906135fb565b90386107d9565b503d6107f1565b81513d85823e3d90fd5b8480fd5b838234610847576106f49061083c61083636612d86565b906134cd565b905191829182612e51565b5080fd5b503461063e57602036600319011261063e576001600160401b038383358281116108475761087e6020913690870161283b565b94610887612f52565b506108a98551968793849363d047d87760e01b85528401526024830190612c36565b038173__$c79b64498c17dd34c719581fd9a6e3e96c$__5af49283156109295784936108e5575b8251602080825281906106f490820187612caf565b909192503d8085833e6108f881836127ff565b81019360208286031261092657815192831161092657509261091e916106f49401612fda565b9038806108d0565b80fd5b82513d86823e3d90fd5b83823461084757816003193601126108475760075490516001600160a01b039091168152602090f35b503461063e57602036600319011261063e5760ff6011826106f49561097f613248565b5085358152600b602052206109b36109fb85519661099c88612791565b8354885286516109ba816109b38160018901612acf565b03826127ff565b602089015286516109d2816109b38160028901612acf565b8789015286516109e9816109b38160038901612acf565b60608901528651928380928601612acf565b608086015260058101546001600160a01b031660a0860152610a1f60068201612b85565b60c0860152610a30600e8201612beb565b60e0860152015416151561010083015251918291602083526020830190612d9c565b83823461084757816003193601126108475780516106f4916106e2826106db81612a40565b50829034610847576003199260603685011261063e576001600160401b0392813584811161084757610aac903690840161283b565b9460243585811161063e57610ac4903690850161283b565b9460443590811161063e57610b1696610b59610ae6610b3a933690880161283b565b93875194610af386612732565b600d865260209a866c4352454154455f564f54494e4760981b8d80990152613647565b610b4a89519a8b96879663a864fa5160e01b885260608c8901526064880190612c36565b9084878303016024880152612c36565b91848303016044850152612c36565b038173__$4d8892694447b0a4da3b0c8b08fb630088$__5af4938415610dd2578194610d9e575b50838152600b85528281209073__$c79b64498c17dd34c719581fd9a6e3e96c$__803b156108475781602491865192838092630accbf1760e31b825287898301525af48015610d9457610d80575b505060ff60068201541691610be283612b65565b82610d1f5784917f1c9828afe76db05bdceea92afda76c15aa3022db889ea29f3ca1b1905ed3e50a9160ff60118751938a855280548b860152610c7a61024094858b880152610c38610260880160018501612acf565b90610c69610c56601f1993848b82030160608c015260028701612acf565b838a82030160808b015260038601612acf565b918883030160a08901528301612acf565b60058201546001600160a01b031660c087015297610c9781612b65565b60e0860152600781015461010086015260088101546101208601526009810154610140860152600a810154610160860152600b810154610180860152600c8101546101a0860152600d8101546101c0860152600e8101546101e0860152600f81015461020086015260108101546102208601520154161515908201528033940390a351908152f35b835162461bcd60e51b8152908101869052603560248201527f5b5147444b2d3031383031325d2d546865207265737472696374656420766f7460448201527434b7339034b9903737ba1039bab83837b93a32b21760591b6064820152608490fd5b610d8a8291612763565b6109265780610bce565b85513d84823e3d90fd5b9093508481813d8311610dcb575b610db681836127ff565b81010312610dc657519285610b80565b600080fd5b503d610dac565b508251903d90823e3d90fd5b83823461084757816003193601126108475760035490516001600160a01b039091168152602090f35b8382346108475781600319360112610847576020907f69ff26ae7567e3e590df6e0174c58cf39f6d291d404355c047056a744cc2c457549051908152f35b833461092657602036600319011261092657610e5f612d18565b610e676139f4565b600080516020613d8e8339815191525580f35b503461063e57602090816003193601126110ed57823591610e9a83613a6e565b610ea38361314c565b600a8110156110d8576001036110705782600052600c81528160002033600052815260ff82600020541661101c5782600052600c81528160002033600052815281600020600160ff1982541617905560018060a01b0393818560055416956003541685600052600b8252606460088660002001549160008751998a94859363369e7ed560e01b85523389860152602485015260448401525af1948515610fe257600095610fed575b5073__$4d8892694447b0a4da3b0c8b08fb630088$__90813b15610dc6578460646000928651948593849263bbb2eab960e01b8452830152896024830152600160448301525af48015610fe257916001917fff18b10a639bdb3188534561961f4bc58baec877ac42e92260a369ae1ba7bb3c9493610fd3575b5082519586528501523393a380f35b610fdc90612763565b38610fc4565b83513d6000823e3d90fd5b9094508181813d8311611015575b61100581836127ff565b81010312610dc657519338610f4b565b503d610ffb565b8390608492519162461bcd60e51b8352820152602960248201527f5b5147444b2d3031383031305d2d54686520757365722068617320616c726561604482015268323c903b37ba32b21760b91b6064820152fd5b8390608492519162461bcd60e51b8352820152603760248201527f5b5147444b2d3031383030395d2d5468652070726f706f73616c206d7573742060448201527f62652070656e64696e6720746f20626520766f7465642e0000000000000000006064820152fd5b602185634e487b7160e01b6000525260246000fd5b8380fd5b50903461063e57602090816003193601126110ed579260c09335908060a0855161111a81612776565b828152828682015282878201528260608201528260808201520152818152600b83528381209361114e600b86015495613924565b93838352600b815281832090600d8361116b600c85015494613995565b95878152600b845261117e828220613bb1565b978152600b84522001549560a0845161119681612776565b8981528381019283528581019485526060810196875260808101978852019687528351978852519087015251908501525160608401525160808301525160a0820152f35b5082346109265780600319360112610926576009546111f881613231565b91611205845193846127ff565b8183526009815260207f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af8185015b848410611247578651806106f48882612e51565b6001838192895161125c816109b38189612acf565b815201920193019290611233565b503461063e57602090816003193601126110ed5782359161128a83613a6e565b6112938361314c565b600a8110156110d8576001036110705782600052600c81528160002033600052815260ff82600020541661101c5782600052600c81528160002033600052815281600020600160ff1982541617905560018060a01b0393818560055416956003541685600052600b8252606460088660002001549160008751998a94859363369e7ed560e01b85523389860152602485015260448401525af1948515610fe2576000956113c2575b5073__$4d8892694447b0a4da3b0c8b08fb630088$__90813b15610dc6578460646000928651948593849263bbb2eab960e01b8452830152896024830152600260448301525af48015610fe257916002917fff18b10a639bdb3188534561961f4bc58baec877ac42e92260a369ae1ba7bb3c9493610fd3575082519586528501523393a380f35b9094508181813d83116113ea575b6113da81836127ff565b81010312610dc65751933861133b565b503d6113d0565b5082346109265761140a61140436612d86565b90613313565b8251916020808401906020855283518092526020868601968360051b870101940192955b82871061143b5785850386f35b909192938280611457600193603f198a82030186528851612d9c565b960192019601959291909261142e565b808484346115355760203660031901126115355781356001600160401b03811161153057611498903690840161283b565b916114bf82516114a781612732565b600681526544454c45544560d01b6020820152613647565b73__$c79b64498c17dd34c719581fd9a6e3e96c$__92833b1561081b5761150493602086938551968794859384936338c1a31360e11b85528401526024830190612c36565b03915af490811561152757506115175750f35b61152090612763565b6109265780f35b513d84823e3d90fd5b505050fd5b5050fd5b503461063e5761154836612d44565b50906115526139f4565b600680546001600160a01b03198082166001600160a01b0395861690811790935583516309a06df560e41b81529095926020928816179082818581855afa90811561168357908691899161168d575b5016866007541617600755835163065ab60960e41b815282848201528281806115cc6024820161298c565b0381855afa9081156116835783929187918a91611666575b50168760085416176008558451938480926306bdb01960e21b82525afa92831561165d57508592611630575b50501690600554161760055533600080516020613d8e8339815191525580f35b61164f9250803d10611656575b61164781836127ff565b810190613212565b3880611610565b503d61163d565b513d87823e3d90fd5b61167d9150843d86116116565761164781836127ff565b386115e4565b85513d8a823e3d90fd5b6116a49150843d86116116565761164781836127ff565b386115a1565b838234610847578160031936011261084757600080516020613dae8339815191525490516001600160a01b039091168152602090f35b83823461084757816003193601126108475760055490516001600160a01b039091168152602090f35b509134610926578060031936011261092657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036117635760208251600080516020613dae8339815191528152f35b6020608492