@gooddollar/goodprotocol
Version:
GoodDollar Protocol
1,167 lines • 97.6 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "CompoundVotingMachine",
"sourceName": "contracts/governance/CompoundVotingMachine.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": "address",
"name": "newGuardian",
"type": "address"
}
],
"name": "GuardianSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint8",
"name": "version",
"type": "uint8"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256[9]",
"name": "params",
"type": "uint256[9]"
}
],
"name": "ParametersSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "forBlockchain",
"type": "uint256"
}
],
"name": "ProposalBridge",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "ProposalCanceled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "proposer",
"type": "address"
},
{
"indexed": false,
"internalType": "address[]",
"name": "targets",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "string[]",
"name": "signatures",
"type": "string[]"
},
{
"indexed": false,
"internalType": "bytes[]",
"name": "calldatas",
"type": "bytes[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "startBlock",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "endBlock",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "description",
"type": "string"
}
],
"name": "ProposalCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "ProposalExecuted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "index",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "ok",
"type": "bool"
},
{
"indexed": false,
"internalType": "bytes",
"name": "result",
"type": "bytes"
}
],
"name": "ProposalExecutionResult",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "eta",
"type": "uint256"
}
],
"name": "ProposalQueued",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "proposer",
"type": "address"
},
{
"indexed": false,
"internalType": "address[]",
"name": "targets",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "string[]",
"name": "signatures",
"type": "string[]"
},
{
"indexed": false,
"internalType": "bytes[]",
"name": "calldatas",
"type": "bytes[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "startBlock",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "endBlock",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "forBlockchain",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "eta",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "forVotes",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "againstVotes",
"type": "uint256"
}
],
"name": "ProposalSucceeded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "voter",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "support",
"type": "bool"
},
{
"indexed": false,
"internalType": "uint256",
"name": "votes",
"type": "uint256"
}
],
"name": "VoteCast",
"type": "event"
},
{
"inputs": [],
"name": "BALLOT_TYPEHASH",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "DOMAIN_TYPEHASH",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_proposalId",
"type": "uint256"
}
],
"name": "approveProposal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "avatar",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
}
],
"name": "cancel",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "support",
"type": "bool"
}
],
"name": "castVote",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "support",
"type": "bool"
},
{
"internalType": "uint8",
"name": "v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "s",
"type": "bytes32"
}
],
"name": "castVoteBySig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "dao",
"outputs": [
{
"internalType": "contract Controller",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_proposalId",
"type": "uint256"
}
],
"name": "emitSucceeded",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
}
],
"name": "execute",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "fastQueuePeriod",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_guardian",
"type": "address"
}
],
"name": "fixGuardian",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "foundationGuardianRelease",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "gameChangerPeriod",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
}
],
"name": "getActions",
"outputs": [
{
"internalType": "address[]",
"name": "targets",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "string[]",
"name": "signatures",
"type": "string[]"
},
{
"internalType": "bytes[]",
"name": "calldatas",
"type": "bytes[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getChainId",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
},
{
"internalType": "address",
"name": "voter",
"type": "address"
}
],
"name": "getReceipt",
"outputs": [
{
"components": [
{
"internalType": "bool",
"name": "hasVoted",
"type": "bool"
},
{
"internalType": "bool",
"name": "support",
"type": "bool"
},
{
"internalType": "uint256",
"name": "votes",
"type": "uint256"
}
],
"internalType": "struct CompoundVotingMachine.Receipt",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "gracePeriod",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "guardian",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract INameService",
"name": "ns_",
"type": "address"
},
{
"internalType": "uint256",
"name": "votingPeriodBlocks_",
"type": "uint256"
},
{
"internalType": "address",
"name": "guardian_",
"type": "address"
},
{
"internalType": "address",
"name": "reputation_",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "latestProposalIds",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "nameService",
"outputs": [
{
"internalType": "contract INameService",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "nativeToken",
"outputs": [
{
"internalType": "contract IGoodDollar",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proposalCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proposalMaxOperations",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proposalPercentage",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "blockNumber",
"type": "uint256"
}
],
"name": "proposalThreshold",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"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": "bool",
"name": "canceled",
"type": "bool"
},
{
"internalType": "bool",
"name": "executed",
"type": "bool"
},
{
"internalType": "uint256",
"name": "quoromRequired",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "forBlockchain",
"type": "uint256"
},
{
"internalType": "bool",
"name": "guardianApproved",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "targets",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "string[]",
"name": "signatures",
"type": "string[]"
},
{
"internalType": "bytes[]",
"name": "calldatas",
"type": "bytes[]"
},
{
"internalType": "string",
"name": "description",
"type": "string"
},
{
"internalType": "uint256",
"name": "forBlockchain",
"type": "uint256"
}
],
"name": "propose",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "targets",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "string[]",
"name": "signatures",
"type": "string[]"
},
{
"internalType": "bytes[]",
"name": "calldatas",
"type": "bytes[]"
},
{
"internalType": "string",
"name": "description",
"type": "string"
}
],
"name": "propose",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "queuePeriod",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "quoromPercentage",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "quorumVotes",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "renounceGuardian",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "rep",
"outputs": [
{
"internalType": "contract ReputationInterface",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_guardian",
"type": "address"
}
],
"name": "setGuardian",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[9]",
"name": "_newParams",
"type": "uint256[9]"
}
],
"name": "setVotingParameters",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "proposalId",
"type": "uint256"
}
],
"name": "state",
"outputs": [
{
"internalType": "enum CompoundVotingMachine.ProposalState",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "updateAvatar",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "updateRep",
"outputs": [],
"stateMutability": "nonpayable",
"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": [],
"name": "votingDelay",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "votingPeriod",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60a06040523060805234801561001457600080fd5b506080516146cc61004c6000396000818161172a0152818161176a01528181611e0b01528181611e4b0152611ec701526146cc6000f3fe60806040526004361061020d5760003560e01c8063013cf08b1461021257806302a251a31461030757806304e3b9b81461032b57806306fdde03146103635780630944db16146103b257806315373e3d146103d257806317977c61146103f45780631b3c90a8146104215780631dc5a19c1461043657806320606b7014610456578063218e63211461047857806324bc1a641461048d578063328dd982146104a25780633408e470146104d2578063347a63c8146104e5578063358394d8146105055780633659cfe6146105255780633932abb1146105455780633e4f49e61461055b5780633e6326fc1461058857806340e58ee5146105b55780634162169f146105d5578063452a9320146105f55780634634c61f146106155780634f1ef2861461063557806352d1902d146106485780635aef7de61461065d5780635c9e13821461067d5780637629a4ac146106935780637bdbe4d0146106b35780637d36b66e146106c95780638a0dac4a146106e95780638b5d4b2c1461070957806398951b561461071f578063a06db7dc1461073f578063a840c93d14610755578063acb0fa591461076b578063ccc0795914610781578063d2895d16146107a1578063da35c664146107b7578063da95691a146107cd578063deaaa7cc146107ed578063e1758bd81461080f578063e23a9a5214610824578063e9946f6c146108d8578063fe0d94c1146108ed575b600080fd5b34801561021e57600080fd5b5061029b61022d366004613652565b60d9602052600090815260409020805460018201546002830154600784015460088501546009860154600a870154600b880154600d890154600e8a0154600f909a015498996001600160a01b03909816989697959694959394929360ff80841694610100909404811693168c565b604080519c8d526001600160a01b03909b1660208d0152998b019890985260608a0196909652608089019490945260a088019290925260c0870152151560e086015215156101008501526101208401526101408301521515610160820152610180015b60405180910390f35b34801561031357600080fd5b5061031d60cd5481565b6040519081526020016102fe565b34801561033757600080fd5b5060cc5461034b906001600160401b031681565b6040516001600160401b0390911681526020016102fe565b34801561036f57600080fd5b506103a560405180604001604052806016815260200175476f6f6444414f20566f74696e67204d616368696e6560501b81525081565b6040516102fe91906136bb565b3480156103be57600080fd5b5061031d6103cd366004613991565b610900565b3480156103de57600080fd5b506103f26103ed366004613a78565b610e67565b005b34801561040057600080fd5b5061031d61040f366004613aa8565b60da6020526000908152604090205481565b34801561042d57600080fd5b506103f2610f04565b34801561044257600080fd5b506103f2610451366004613ac5565b61102b565b34801561046257600080fd5b5061031d60008051602061455083398151915281565b34801561048457600080fd5b506103f2611065565b34801561049957600080fd5b5061031d61110e565b3480156104ae57600080fd5b506104c26104bd366004613652565b6111a7565b6040516102fe9493929190613bb9565b3480156104de57600080fd5b504661031d565b3480156104f157600080fd5b506103f2610500366004613652565b611438565b34801561051157600080fd5b506103f2610520366004613c11565b61155a565b34801561053157600080fd5b506103f2610540366004613aa8565b611720565b34801561055157600080fd5b5061031d60d15481565b34801561056757600080fd5b5061057b610576366004613652565b6117e5565b6040516102fe9190613c7a565b34801561059457600080fd5b506099546105a8906001600160a01b031681565b6040516102fe9190613ca2565b3480156105c157600080fd5b506103f26105d0366004613652565b611969565b3480156105e157600080fd5b506097546105a8906001600160a01b031681565b34801561060157600080fd5b5060d7546105a8906001600160a01b031681565b34801561062157600080fd5b506103f2610630366004613cb6565b611b78565b6103f2610643366004613d0e565b611e01565b34801561065457600080fd5b5061031d611eba565b34801561066957600080fd5b506098546105a8906001600160a01b031681565b34801561068957600080fd5b5061031d60ce5481565b34801561069f57600080fd5b5061031d6106ae366004613652565b611f68565b3480156106bf57600080fd5b5061031d60d05481565b3480156106d557600080fd5b506103f26106e4366004613aa8565b611ffc565b3480156106f557600080fd5b506103f2610704366004613aa8565b612043565b34801561071557600080fd5b5061031d60d25481565b34801561072b57600080fd5b506103f261073a366004613652565b612172565b34801561074b57600080fd5b5061031d60d55481565b34801561076157600080fd5b5061031d60cf5481565b34801561077757600080fd5b5061031d60d35481565b34801561078d57600080fd5b5060d6546105a8906001600160a01b031681565b3480156107ad57600080fd5b5061031d60d45481565b3480156107c357600080fd5b5061031d60d85481565b3480156107d957600080fd5b5061031d6107e8366004613d5d565b6121e1565b3480156107f957600080fd5b5061031d6000805160206145d083398151915281565b34801561081b57600080fd5b506105a86121fb565b34801561083057600080fd5b506108b261083f366004613e2e565b60408051606080820183526000808352602080840182905292840181905294855260d982528285206001600160a01b03949094168552600c90930181529281902081519283018252805460ff80821615158552610100909104161515938301939093526001909201549181019190915290565b6040805182511515815260208084015115159082015291810151908201526060016102fe565b3480156108e457600080fd5b506103f2612283565b6103f26108fb366004613652565b61233b565b60006109106106ae600143613e69565b60d6546001600160a01b031663a265ba4633600161092e8143613e69565b6040518463ffffffff1660e01b815260040161094c93929190613e7c565b602060405180830381865afa158015610969573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098d9190613e9d565b11610a035760405162461bcd60e51b8152602060048201526047602482015260008051602061463783398151915260448201527f70726f706f73657220766f7465732062656c6f772070726f706f73616c2074686064820152661c995cda1bdb1960ca1b608482015260a4015b60405180910390fd5b85518751148015610a15575084518751145b8015610a22575083518751145b610a975760405162461bcd60e51b815260206004820152604c602482015260008051602061463783398151915260448201527f70726f706f73616c2066756e6374696f6e20696e666f726d6174696f6e20617260648201526b0d2e8f240dad2e6dac2e8c6d60a31b608482015260a4016109fa565b8651600003610af35760405162461bcd60e51b815260206004820152603460248201526000805160206146378339815191526044820152736d7573742070726f7669646520616374696f6e7360601b60648201526084016109fa565b60d05487511115610b4d5760405162461bcd60e51b8152602060048201526030602482015260008051602061463783398151915260448201526f746f6f206d616e7920616374696f6e7360801b60648201526084016109fa565b33600090815260da60205260409020548015610cad576000610b6e826117e5565b90506001816007811115610b8457610b84613c64565b14158015610ba457506002816007811115610ba157610ba1613c64565b14155b610c185760405162461bcd60e51b81526020600482015260606024820152600080516020614637833981519152604482015260008051602061465783398151915260648201527f666f756e6420616e20616c7265616479206163746976652070726f706f73616c608482015260a4016109fa565b6000816007811115610c2c57610c2c613c64565b03610cab5760405162461bcd60e51b81526020600482015260616024820152600080516020614637833981519152604482015260008051602061465783398151915260648201527f666f756e6420616e20616c72656164792070656e64696e672070726f706f73616084820152601b60fa1b60a482015260c4016109fa565b505b600060d15443610cbd9190613eb6565b9050600060cd5482610ccf9190613eb6565b60d880549192506000610ce183613ec9565b909155505060d854600081815260d96020908152604082209283556001830180546001600160a01b0319163317905560028301919091558b51610d2c916003840191908e0190613485565b508951610d4290600483019060208d01906134ea565b508851610d5890600583019060208c0190613525565b508751610d6e90600683019060208b0190613577565b506007810183905560088101829055600060098201819055600a820155600b8101805461ffff19169055610da061110e565b600d820155600e8101869055805460018201546001600160a01b0316600090815260da602052604090208190557f7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e090338d8d8d8d89898f604051610e0c99989796959493929190613ee2565b60405180910390a1854614610e5857857f93f05b7f92e65fef7a2a62683de78a4230ca5ec425170818561a02b6afcff28b60d854604051610e4f91815260200190565b60405180910390a25b549a9950505050505050505050565b600082815260d96020526040812060d6549091906001600160a01b031663a265ba4633600185600701546040518463ffffffff1660e01b8152600401610eaf93929190613e7c565b602060405180830381865afa158015610ecc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef09190613e9d565b9050610efe3383858461288d565b50505050565b60995460405163bf40fac160e01b815260206004820152600a60248201526921a7a72a2927a62622a960b11b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa158015610f67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8b9190613f7a565b609780546001600160a01b0319166001600160a01b0392909216918217905560408051632d77bef360e11b81529051635aef7de6916004808201926020929091908290030181865afa158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110099190613f7a565b609880546001600160a01b0319166001600160a01b0392909216919091179055565b611033612a9f565b604080516101208181019092526110629183906009908390839080828437600092019190915250612b64915050565b50565b60995460405163bf40fac160e01b815260206004820152600a6024820152692922a82aaa20aa24a7a760b11b60448201526001600160a01b039091169063bf40fac190606401602060405180830381865afa1580156110c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ec9190613f7a565b60d680546001600160a01b0319166001600160a01b0392909216919091179055565b6000620f424060ce5460d660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561116a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118e9190613e9d565b6111989190613f97565b6111a29190613fae565b905090565b606080606080600060d960008781526020019081526020016000209050806003018160040182600501836006018380548060200260200160405190810160405280929190818152602001828054801561122957602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161120b575b505050505093508280548060200260200160405190810160405280929190818152602001828054801561127b57602002820191906000526020600020905b815481526020019060010190808311611267575b5050505050925081805480602002602001604051908101604052809291908181526020016000905b8282101561134f5783829060005260206000200180546112c290613fd0565b80601f01602080910402602001604051908101604052809291908181526020018280546112ee90613fd0565b801561133b5780601f106113105761010080835404028352916020019161133b565b820191906000526020600020905b81548152906001019060200180831161131e57829003601f168201915b5050505050815260200190600101906112a3565b50505050915080805480602002602001604051908101604052809291908181526020016000905b8282101561142257838290600052602060002001805461139590613fd0565b80601f01602080910402602001604051908101604052809291908181526020018280546113c190613fd0565b801561140e5780601f106113e35761010080835404028352916020019161140e565b820191906000526020600020905b8154815290600101906020018083116113f157829003601f168201915b505050505081526020019060010190611376565b5050505090509450945094509450509193509193565b6005611443826117e5565b600781111561145457611454613c64565b146114ad5760405162461bcd60e51b8152602060048201526024808201527f436f6d706f756e64566f74696e674d616368696e653a206e6f742053756363656044820152631959195960e21b60648201526084016109fa565b600081815260d9602052604090204681600e0154146114d857600b8101805461ff0019166101001790555b600181015460078201546008830154600e84015460028501546009860154600a8701546040517fa5369bfba6e8a577af7ee34ae49c68529b2c8914a2561282f16e3a706cb4333c9761154e978b976001600160a01b039092169660038c019660048d019660058e019660068f01969495946140fa565b60405180910390a15050565b600054610100900460ff161580801561157a5750600054600160ff909116105b8061159b575061158930612d16565b15801561159b575060005460ff166001145b6115fe5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016109fa565b6000805460ff191660011790558015611621576000805461ff0019166101001790555b60cc80546001600160401b0319166363b0cd0017905561164085612d25565b60d680546001600160a01b0319166001600160a01b038416179055604080516101208101825285815261753060208201526109c491810191909152600a6060820152600160808201526202a30060a0820152612a3060c08201526201518060e08201526203f4806101008201526116b681612b64565b5060d780546001600160a01b0319166001600160a01b0385161790558015611719576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906020015b60405180910390a15b5050505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036117685760405162461bcd60e51b81526004016109fa906141cf565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661179a612d48565b6001600160a01b0316146117c05760405162461bcd60e51b81526004016109fa90614209565b6117c981612d64565b6040805160008082526020820190925261106291839190612d6c565b60008160d854101580156117f95750600082115b61185f5760405162461bcd60e51b815260206004820152603160248201527f436f6d706f756e64566f74696e674d616368696e653a3a73746174653a20696e6044820152701d985b1a59081c1c9bdc1bdcd85b081a59607a1b60648201526084016109fa565b600082815260d960205260409020600b81015460ff16156118835750600392915050565b806007015443116118975750600092915050565b600b810154610100900460ff16156118b25750600792915050565b600081600201541180156118c95750806002015442105b156118d75750600292915050565b60028101541580156118ed575080600801544311155b156118fb5750600192915050565b80600a01548160090154111580611919575080600d01548160090154105b156119275750600492915050565b6000816002015411801561194c575060d55481600201546119489190613eb6565b4210155b1561195a5750600692915050565b50600592915050565b50919050565b6000611974826117e5565b9050600781600781111561198a5761198a613c64565b036119fd5760405162461bcd60e51b815260206004820152603e60248201527f436f6d706f756e64566f74696e674d616368696e653a3a63616e63656c3a206360448201527f616e6e6f742063616e63656c2065786563757465642070726f706f73616c000060648201526084016109fa565b600082815260d96020526040902060d7546001600160a01b0316336001600160a01b03161480611abe5750611a358160070154611f68565b60d6546001838101546001600160a01b039283169263a265ba4692911690611a5d8143613e69565b6040518463ffffffff1660e01b8152600401611a7b93929190613e7c565b602060405180830381865afa158015611a98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abc9190613e9d565b105b611b2a5760405162461bcd60e51b815260206004820152603760248201527f436f6d706f756e64566f74696e674d616368696e653a3a63616e63656c3a20706044820152761c9bdc1bdcd95c8818589bdd99481d1a1c995cda1bdb19604a1b60648201526084016109fa565b600b8101805460ff191660011790556040517f789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c90611b6b9085815260200190565b60405180910390a1505050565b6040805180820182526016815275476f6f6444414f20566f74696e67204d616368696e6560501b6020918201528151600080516020614550833981519152818301527ff0e8bb1b9036884fc34b9b811b9c0948f4a374ea4f5429d4533b8ab3c9fa373481840152466060820152306080808301919091528351808303909101815260a0820184528051908301206000805160206145d083398151915260c083015260e08201899052871515610100808401919091528451808403909101815261012083019094528351939092019290922061190160f01b6101408401526101428301829052610162830181905290916000906101820160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015611cd9573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611d5c5760405162461bcd60e51b815260206004820152603760248201527f436f6d706f756e64566f74696e674d616368696e653a3a63617374566f746542604482015276795369673a20696e76616c6964207369676e617475726560481b60648201526084016109fa565b600089815260d9602052604080822060d65460078201549251635132dd2360e11b81529193926001600160a01b039091169163a265ba4691611da5918791600191600401613e7c565b602060405180830381865afa158015611dc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de69190613e9d565b9050611df483838c8461288d565b5050505050505050505050565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003611e495760405162461bcd60e51b81526004016109fa906141cf565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611e7b612d48565b6001600160a01b031614611ea15760405162461bcd60e51b81526004016109fa90614209565b611eaa82612d64565b611eb682826001612d6c565b5050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611f555760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c6044820152771b1959081d1a1c9bdd59da0819195b1959d85d1958d85b1b60421b60648201526084016109fa565b5060008051602061459083398151915290565b60cf5460d654604051630981b24d60e41b815260048101849052600092620f42409290916001600160a01b039091169063981b24d090602401602060405180830381865afa158015611fbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe29190613e9d565b611fec9190613f97565b611ff69190613fae565b92915050565b60d7546001600160a01b0316734659176e962763e7c8a4ef965ecfd0fdf9f5205619016110625760d780546001600160a01b0383166001600160a01b031990911617905550565b6098546001600160a01b0316336001600160a01b03161480612078575060d7546001600160a01b0316336001600160a01b0316145b6120945760405162461bcd60e51b81526004016109fa90614243565b60d7546001600160a01b0316336001600160a01b031614806120c0575060cc546001600160401b031642115b61212d5760405162461bcd60e51b815260206004820152603860248201527f436f6d706f756e64566f74696e674d616368696e653a20666f756e646174696f6044820152771b88195e1c1a5c985d1a5bdb881b9bdd081c995858da195960421b60648201526084016109fa565b60d780546001600160a01b0319166001600160a01b0383169081179091556040516000805160206145f08339815191529161216791613ca2565b60405180910390a150565b6098546001600160a01b0316336001600160a01b031614806121a7575060d7546001600160a01b0316336001600160a01b0316145b6121c35760405162461bcd60e51b81526004016109fa90614243565b600090815260d960205260409020600f01805460ff19166001179055565b60006121f1868686868646610900565b9695505050505050565b60995460405163bf40fac160e01b815260206004820152600a60248201526923a7a7a22227a62620a960b11b60448201526000916001600160a01b03169063bf40fac190606401602060405180830381865afa15801561225f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a29190613f7a565b60d7546001600160a01b0316336001600160a01b0316146122f25760405162461bcd60e51b815260206004820152602360248201527f436f6d706f756e64566f74696e674d616368696e653a206e6f7420677561726460448201526234b0b760e91b60648201526084016109fa565b60d780546001600160a01b031916905560cc80546001600160401b03191690556040516000805160206145f08339815191529061233190600090613ca2565b60405180910390a1565b6005612346826117e5565b600781111561235757612357613c64565b146123d15760405162461bcd60e51b815260206004820152605060248201526000805160206145b083398151915260448201527f70726f706f73616c2063616e206f6e6c7920626520657865637574656420696660648201526f081a5d081a5cc81cdd58d8d95959195960821b608482015260a4016109fa565b46600082815260d960205260409020600e0154146124455760405162461bcd60e51b815260206004820152603d60248201526000805160206145b083398151915260448201527f70726f706f73616c20666f722077726f6e6720626c6f636b636861696e00000060648201526084016109fa565b60d7546001600160a01b0316158061246e5750600081815260d960205260409020600f015460ff165b6124cf5760405162461bcd60e51b815260206004820152602c60248201527f436f6d706f756e64566f74696e674d616368696e653a2070726f706f73616c2060448201526b1b9bdd08185c1c1c9bdd995960a21b60648201526084016109fa565b600081815260d960209081526040808320600b8101805461ff0019166101001790556003018054825181850281018501909352808352919290919083018282801561254357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612525575b50505050509050600060d960008481526020019081526020016000206004018054806020026020016040519081016040528092919081815260200182805480156125ac57602002820191906000526020600020905b815481526020019060010190808311612598575b50505050509050600060d96000858152602001908152602001600020600501805480602002602001604051908101604052809291908181526020016000905b8282101561269757838290600052602060002001805461260a90613fd0565b80601f016020809104026020016040519081016040528092919081815260200182805461263690613fd0565b80156126835780601f1061265857610100808354040283529160200191612683565b820191906000526020600020905b81548152906001019060200180831161266657829003601f168201915b5050505050815260200190600101906125eb565b505050509050600060d96000868152602001908152602001600020600601805480602002602001604051908101604052809291908181526020016000905b828210156127815783829060005260206000200180546126f490613fd0565b80601f016020809104026020016040519081016040528092919081815260200182805461272090613fd0565b801561276d5780601f106127425761010080835404028352916020019161276d565b820191906000526020600020905b81548152906001019060200180831161275057829003601f168201915b5050505050815260200190600101906126d5565b50505050905060005b845181101561285c576000806128068784815181106127ab576127ab614290565b60200260200101518785815181106127c5576127c5614290565b60200260200101518786815181106127df576127df614290565b60200260200101518787815181106127f9576127f9614290565b6020026020010151612edc565b915091507f7ee6f70307f5df49af1cdc334b322bc2ff99ae186134a468bf77618a2ce2ff048884848460405161283f94939291906142a6565b60405180910390a15050808061285490613ec9565b91505061278a565b506040518581527f712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f90602001611710565b8254600161289a826117e5565b60078111156128ab576128ab613c64565b14806128d0575060026128bd826117e5565b60078111156128ce576128ce613c64565b145b6129255760405162461bcd60e51b815260206004820152603260248201526000805160206146778339815191526044820152710e881d9bdd1a5b99c81a5cc818db1bdcd95960721b60648201526084016109fa565b6001600160a01b0385166000908152600c850160205260409020805460ff161561299d5760405162461bcd60e51b815260206004820152603560248201526000805160206146778339815191526044820152740e881d9bdd195c88185b1c9958591e481d9bdd1959605a1b60648201526084016109fa565b600a85015460098601541184156129cd57838660090160008282546129c29190613eb6565b909155506129e79050565b8386600a0160008282546129e19190613eb6565b90915550505b600a86015460098701805484548815156101000261ffff1990911617600190811786558501879055600d89015491549315159210919091141591101580612a36575085600d015486600a015410155b15612a4557612a4586826130fb565b604080516001600160a01b038916815260208101859052861515818301526060810186905290517f877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c469181900360800190a150505050505050565b60975460408051632d77bef360e11b8152905133926001600160a01b031691635aef7de69160048083019260209291908290030181865afa158015612ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b0c9190613f7a565b6001600160a01b031614612b625760405162461bcd60e51b815260206004820181905260248201527f6f6e6c79206176617461722063616e2063616c6c2074686973206d6574686f6460448201526064016109fa565b565b60ce541580612b84575060ce54612b7c906002613f97565b602082015111155b8015612b9657506020810151620f4240115b612bb25760405162461bcd60e51b81526004016109fa906142cd565b60cf541580612bd2575060cf54612bca906002613f97565b604082015111155b8015612be457506040810151620f4240115b612c005760405162461bcd60e51b81526004016109fa906142cd565b8051612c0e5760cd54612c11565b80515b60cd556020810151612c255760ce54612c2b565b60208101515b60ce556040810151612c3f5760cf54612c45565b60408101515b60cf556060810151612c595760d054612c5f565b60608101515b60d0556080810151612c735760d154612c79565b60808101515b60d15560a0810151612c8d5760d254612c93565b60a08101515b60d25560c0810151612ca75760d354612cad565b60c08101515b60d35560e0810151612cc15760d454612cc7565b60e08101515b60d455610100810151612cdc5760d554612ce3565b6101008101515b60d5556040517f51472f0134408629271bc25caae248dd940cd836aa7bbc3974aa1ec2978059b590612167908390614303565b6001600160a01b03163b151590565b609980546001600160a01b0319166001600160a01b038316179055611062610f04565b600080516020614590833981519152546001600160a01b031690565b611062612a9f565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615612da457612d9f8361324a565b505050565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612dfe575060408051601f3d908101601f19168201909252612dfb91810190613e9d565b60015b612e615760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016109fa565b6000805160206145908339815191528114612ed05760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016109fa565b50612d9f8383836132e4565b60006060808451600003612ef1575082612f1d565b848051906020012084604051602001612f0b929190614335565b60405160208183030381529060405290505b6097546000906060906001600160a01b03908116908a1603612f9f57886001600160a01b03168884604051612f529190614366565b60006040518083038185875af1925050503d8060008114612f8f576040519150601f19603f3d011682016040523d82523d6000602084013e612f94565b606091505b509092509050613067565b8715612fe1576098546040516001600160a01b039091169089156108fc02908a906000818181858888f19350505050158015612fdf573d6000803e3d6000fd5b505b6097546098546040516368db844d60e11b81526001600160a01b039283169263d1b7089a9261301a928e92899216908e90600401614382565b6000604051808303816000875af1158015613039573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261306191908101906143b6565b90925090505b816130ed5760405162461bcd60e51b815260206004820152604a60248201527f436f6d706f756e64566f74696e674d616368696e653a3a65786563757465547260448201527f616e73616374696f6e3a205472616e73616374696f6e2065786563757