UNPKG

@venusprotocol/governance-contracts

Version:
366 lines (365 loc) 13.8 kB
{ "_format": "hh-sol-artifact-1", "contractName": "GovernorBravoDelegateStorageV3", "sourceName": "contracts/Governance/GovernorBravoInterfaces.sol", "abi": [ { "constant": true, "inputs": [], "name": "admin", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "guardian", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "implementation", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "initialProposalId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "latestProposalIds", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingAdmin", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "proposalConfigs", "outputs": [ { "internalType": "uint256", "name": "votingDelay", "type": "uint256" }, { "internalType": "uint256", "name": "votingPeriod", "type": "uint256" }, { "internalType": "uint256", "name": "proposalThreshold", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "proposalCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "proposalMaxOperations", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "proposalThreshold", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "proposalTimelocks", "outputs": [ { "internalType": "contract TimelockInterface", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "proposals", "outputs": [ { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "address", "name": "proposer", "type": "address" }, { "internalType": "uint256", "name": "eta", "type": "uint256" }, { "internalType": "uint256", "name": "startBlock", "type": "uint256" }, { "internalType": "uint256", "name": "endBlock", "type": "uint256" }, { "internalType": "uint256", "name": "forVotes", "type": "uint256" }, { "internalType": "uint256", "name": "againstVotes", "type": "uint256" }, { "internalType": "uint256", "name": "abstainVotes", "type": "uint256" }, { "internalType": "bool", "name": "canceled", "type": "bool" }, { "internalType": "bool", "name": "executed", "type": "bool" }, { "internalType": "uint8", "name": "proposalType", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "timelock", "outputs": [ { "internalType": "contract TimelockInterface", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "validationParams", "outputs": [ { "internalType": "uint256", "name": "minVotingPeriod", "type": "uint256" }, { "internalType": "uint256", "name": "maxVotingPeriod", "type": "uint256" }, { "internalType": "uint256", "name": "minVotingDelay", "type": "uint256" }, { "internalType": "uint256", "name": "maxVotingDelay", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "votingDelay", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "votingPeriod", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "xvsVault", "outputs": [ { "internalType": "contract XvsVaultInterface", "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" } ], "bytecode": "0x608060405234801561001057600080fd5b506105cb806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063452a9320116100a2578063d33219b411610071578063d33219b4146101f7578063da35c664146101ff578063ee9799ee14610207578063f851a4401461021a578063fc4eee42146102225761010b565b8063452a9320146101d75780635c60da1b146101df5780637bdbe4d0146101e7578063b58131b0146101ef5761010b565b806326782247116100de578063267822471461018057806334cf39091461019557806335a87de2146101ad5780633932abb1146101cf5761010b565b8063013cf08b1461011057806302a251a31461014357806317977c61146101585780631b9ce5751461016b575b600080fd5b61012361011e3660046103b3565b61022a565b60405161013a9b9a9998979695949392919061042e565b60405180910390f35b61014b610296565b60405161013a9190610420565b61014b61016636600461038d565b61029c565b6101736102ae565b60405161013a9190610412565b6101886102bd565b60405161013a9190610404565b61019d6102cc565b60405161013a94939291906104fa565b6101c06101bb3660046103b3565b6102db565b60405161013a939291906104d2565b61014b6102fc565b610188610302565b610188610311565b61014b610320565b61014b610326565b61017361032c565b61014b61033b565b6101736102153660046103b3565b610341565b61018861035c565b61014b61036b565b600a60208190526000918252604090912080546001820154600283015460078401546008850154600986015496860154600b870154600c880154600e9098015496986001600160a01b039096169794969395929492939192909160ff808316926101009004811691168b565b60045481565b600b6020526000908152604090205481565b6009546001600160a01b031681565b6001546001600160a01b031681565b60105460115460125460135484565b600e6020526000908152604090208054600182015460029092015490919083565b60035481565b600d546001600160a01b031681565b6002546001600160a01b031681565b600c5481565b60055481565b6008546001600160a01b031681565b60075481565b600f602052600090815260409020546001600160a01b031681565b6000546001600160a01b031681565b60065481565b803561037c81610568565b92915050565b803561037c8161057f565b60006020828403121561039f57600080fd5b60006103ab8484610371565b949350505050565b6000602082840312156103c557600080fd5b60006103ab8484610382565b6103da81610538565b82525050565b6103da81610543565b6103da8161055d565b6103da81610554565b6103da81610557565b6020810161037c82846103d1565b6020810161037c82846103e9565b6020810161037c82846103f2565b610160810161043d828e6103f2565b61044a602083018d6103d1565b610457604083018c6103f2565b610464606083018b6103f2565b610471608083018a6103f2565b61047e60a08301896103f2565b61048b60c08301886103f2565b61049860e08301876103f2565b6104a66101008301866103e0565b6104b46101208301856103e0565b6104c26101408301846103fb565b9c9b505050505050505050505050565b606081016104e082866103f2565b6104ed60208301856103f2565b6103ab60408301846103f2565b6080810161050882876103f2565b61051560208301866103f2565b61052260408301856103f2565b61052f60608301846103f2565b95945050505050565b600061037c82610548565b151590565b6001600160a01b031690565b90565b60ff1690565b600061037c82610538565b61057181610538565b811461057c57600080fd5b50565b6105718161055456fea365627a7a723158206b092dddbea658743225e44c571ce3d297356e797c50771b1a5bfb41f62905066c6578706572696d656e74616cf564736f6c63430005100040", "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c8063452a9320116100a2578063d33219b411610071578063d33219b4146101f7578063da35c664146101ff578063ee9799ee14610207578063f851a4401461021a578063fc4eee42146102225761010b565b8063452a9320146101d75780635c60da1b146101df5780637bdbe4d0146101e7578063b58131b0146101ef5761010b565b806326782247116100de578063267822471461018057806334cf39091461019557806335a87de2146101ad5780633932abb1146101cf5761010b565b8063013cf08b1461011057806302a251a31461014357806317977c61146101585780631b9ce5751461016b575b600080fd5b61012361011e3660046103b3565b61022a565b60405161013a9b9a9998979695949392919061042e565b60405180910390f35b61014b610296565b60405161013a9190610420565b61014b61016636600461038d565b61029c565b6101736102ae565b60405161013a9190610412565b6101886102bd565b60405161013a9190610404565b61019d6102cc565b60405161013a94939291906104fa565b6101c06101bb3660046103b3565b6102db565b60405161013a939291906104d2565b61014b6102fc565b610188610302565b610188610311565b61014b610320565b61014b610326565b61017361032c565b61014b61033b565b6101736102153660046103b3565b610341565b61018861035c565b61014b61036b565b600a60208190526000918252604090912080546001820154600283015460078401546008850154600986015496860154600b870154600c880154600e9098015496986001600160a01b039096169794969395929492939192909160ff808316926101009004811691168b565b60045481565b600b6020526000908152604090205481565b6009546001600160a01b031681565b6001546001600160a01b031681565b60105460115460125460135484565b600e6020526000908152604090208054600182015460029092015490919083565b60035481565b600d546001600160a01b031681565b6002546001600160a01b031681565b600c5481565b60055481565b6008546001600160a01b031681565b60075481565b600f602052600090815260409020546001600160a01b031681565b6000546001600160a01b031681565b60065481565b803561037c81610568565b92915050565b803561037c8161057f565b60006020828403121561039f57600080fd5b60006103ab8484610371565b949350505050565b6000602082840312156103c557600080fd5b60006103ab8484610382565b6103da81610538565b82525050565b6103da81610543565b6103da8161055d565b6103da81610554565b6103da81610557565b6020810161037c82846103d1565b6020810161037c82846103e9565b6020810161037c82846103f2565b610160810161043d828e6103f2565b61044a602083018d6103d1565b610457604083018c6103f2565b610464606083018b6103f2565b610471608083018a6103f2565b61047e60a08301896103f2565b61048b60c08301886103f2565b61049860e08301876103f2565b6104a66101008301866103e0565b6104b46101208301856103e0565b6104c26101408301846103fb565b9c9b505050505050505050505050565b606081016104e082866103f2565b6104ed60208301856103f2565b6103ab60408301846103f2565b6080810161050882876103f2565b61051560208301866103f2565b61052260408301856103f2565b61052f60608301846103f2565b95945050505050565b600061037c82610548565b151590565b6001600160a01b031690565b90565b60ff1690565b600061037c82610538565b61057181610538565b811461057c57600080fd5b50565b6105718161055456fea365627a7a723158206b092dddbea658743225e44c571ce3d297356e797c50771b1a5bfb41f62905066c6578706572696d656e74616cf564736f6c63430005100040", "linkReferences": {}, "deployedLinkReferences": {} }