UNPKG

@venusprotocol/governance-contracts

Version:
1,631 lines 106 kB
{ "address": "0xAA087d8427F3DF6eb2225C3B889Cf888Bef374ac", "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": true, "internalType": "address", "name": "implementation", "type": "address" } ], "name": "Upgraded", "type": "event" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [], "name": "admin", "outputs": [ { "internalType": "address", "name": "admin_", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "implementation", "outputs": [ { "internalType": "address", "name": "implementation_", "type": "address" } ], "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" }, { "stateMutability": "payable", "type": "receive" }, { "inputs": [], "name": "ConfigNotActive", "type": "error" }, { "inputs": [], "name": "ConfigStatusUnchanged", "type": "error" }, { "inputs": [], "name": "ExecutorStatusUnchanged", "type": "error" }, { "inputs": [], "name": "InvalidDebounce", "type": "error" }, { "inputs": [], "name": "InvalidDelegate", "type": "error" }, { "inputs": [], "name": "InvalidEndpointCall", "type": "error" }, { "inputs": [], "name": "InvalidLayerZeroEid", "type": "error" }, { "inputs": [], "name": "InvalidRemoteDelay", "type": "error" }, { "inputs": [], "name": "InvalidUpdateType", "type": "error" }, { "inputs": [ { "internalType": "uint32", "name": "eid", "type": "uint32" } ], "name": "NoPeer", "type": "error" }, { "inputs": [], "name": "NotAnExecutor", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "OnlyEndpoint", "type": "error" }, { "inputs": [ { "internalType": "uint32", "name": "eid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" } ], "name": "OnlyPeer", "type": "error" }, { "inputs": [], "name": "RemoteDelayUnchanged", "type": "error" }, { "inputs": [], "name": "RenounceOwnershipNotAllowed", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "calledContract", "type": "address" }, { "internalType": "string", "name": "methodSignature", "type": "string" } ], "name": "Unauthorized", "type": "error" }, { "inputs": [], "name": "UnsupportedUpdateType", "type": "error" }, { "inputs": [], "name": "UpdateIsExpired", "type": "error" }, { "inputs": [], "name": "UpdateNotFound", "type": "error" }, { "inputs": [], "name": "UpdateNotUnlocked", "type": "error" }, { "inputs": [], "name": "UpdateTooFrequent", "type": "error" }, { "inputs": [], "name": "ZeroAddressNotAllowed", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "updateTypeHash", "type": "bytes32" }, { "indexed": false, "internalType": "string", "name": "updateType", "type": "string" }, { "indexed": false, "internalType": "bool", "name": "previousActive", "type": "bool" }, { "indexed": true, "internalType": "bool", "name": "active", "type": "bool" } ], "name": "ConfigActiveUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "updateId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "arrivalTime", "type": "uint256" }, { "indexed": true, "internalType": "string", "name": "updateType", "type": "string" }, { "indexed": true, "internalType": "address", "name": "market", "type": "address" } ], "name": "DuplicateUpdateReceived", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "executor", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "previousApproved", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "ExecutorStatusUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldAccessControlManager", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAccessControlManager", "type": "address" } ], "name": "NewAccessControlManager", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferStarted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint32", "name": "eid", "type": "uint32" }, { "indexed": false, "internalType": "bytes32", "name": "peer", "type": "bytes32" } ], "name": "PeerSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "updateId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "arrivalTime", "type": "uint256" }, { "indexed": true, "internalType": "string", "name": "updateType", "type": "string" }, { "indexed": true, "internalType": "address", "name": "market", "type": "address" } ], "name": "RegisteredPendingUpdateExist", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "remoteDelay", "type": "uint256" } ], "name": "RemoteDelaySet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "updateId", "type": "uint256" } ], "name": "RemoteUpdateExecuted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "updateId", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "arrivalTime", "type": "uint256" }, { "indexed": true, "internalType": "string", "name": "updateType", "type": "string" }, { "indexed": true, "internalType": "address", "name": "market", "type": "address" } ], "name": "RemoteUpdateRegistered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "updateTypeHash", "type": "bytes32" }, { "indexed": false, "internalType": "string", "name": "updateType", "type": "string" }, { "indexed": true, "internalType": "address", "name": "previousRiskSteward", "type": "address" }, { "indexed": true, "internalType": "address", "name": "riskSteward", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "previousDebounce", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "debounce", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "previousActive", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "active", "type": "bool" } ], "name": "RiskParameterConfigUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "updateId", "type": "uint256" } ], "name": "UpdateRejected", "type": "event" }, { "inputs": [], "name": "LAYER_ZERO_EID", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "REMOTE_UPDATE_EXPIRATION_TIME", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "accessControlManager", "outputs": [ { "internalType": "contract IAccessControlManagerV8", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct Origin", "name": "origin", "type": "tuple" } ], "name": "allowInitializePath", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "endpoint", "outputs": [ { "internalType": "contract ILayerZeroEndpointV2", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "updateId", "type": "uint256" } ], "name": "executeUpdate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "updateType", "type": "string" }, { "internalType": "address", "name": "comptroller", "type": "address" } ], "name": "getExecutableUpdates", "outputs": [ { "internalType": "uint256[]", "name": "executableUpdates", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "updateType", "type": "string" }, { "internalType": "address", "name": "market", "type": "address" } ], "name": "getLastExecutedAt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "updateType", "type": "string" }, { "internalType": "address", "name": "market", "type": "address" } ], "name": "getRegisteredUpdate", "outputs": [ { "components": [ { "components": [ { "internalType": "string", "name": "referenceId", "type": "string" }, { "internalType": "uint256", "name": "updateId", "type": "uint256" }, { "internalType": "address", "name": "market", "type": "address" }, { "internalType": "string", "name": "updateType", "type": "string" }, { "internalType": "bytes32", "name": "updateTypeKey", "type": "bytes32" }, { "internalType": "bytes", "name": "newValue", "type": "bytes" }, { "internalType": "bytes", "name": "previousValue", "type": "bytes" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "address", "name": "publisher", "type": "address" }, { "internalType": "uint96", "name": "poolId", "type": "uint96" }, { "internalType": "uint32", "name": "destLzEid", "type": "uint32" }, { "internalType": "bytes", "name": "additionalData", "type": "bytes" } ], "internalType": "struct RiskParameterUpdate", "name": "update", "type": "tuple" }, { "internalType": "enum IDestinationStewardReceiver.UpdateStatus", "name": "status", "type": "uint8" }, { "internalType": "uint256", "name": "arrivalTime", "type": "uint256" }, { "internalType": "address", "name": "executor", "type": "address" } ], "internalType": "struct IDestinationStewardReceiver.DestinationUpdate", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "updateType", "type": "string" } ], "name": "getRiskParameterConfig", "outputs": [ { "components": [ { "internalType": "bool", "name": "active", "type": "bool" }, { "internalType": "uint256", "name": "debounce", "type": "uint256" }, { "internalType": "address", "name": "riskSteward", "type": "address" } ], "internalType": "struct IDestinationStewardReceiver.RiskParamConfig", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "accessControlManager_", "type": "address" }, { "internalType": "address", "name": "delegate_", "type": "address" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct Origin", "name": "", "type": "tuple" }, { "internalType": "bytes", "name": "", "type": "bytes" }, { "internalType": "address", "name": "_sender", "type": "address" } ], "name": "isComposeMsgSender", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "address", "name": "market", "type": "address" } ], "name": "lastExecutedAt", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "address", "name": "market", "type": "address" } ], "name": "lastRegisteredUpdateId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint32", "name": "srcEid", "type": "uint32" }, { "internalType": "bytes32", "name": "sender", "type": "bytes32" }, { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "internalType": "struct Origin", "name": "_origin", "type": "tuple" }, { "internalType": "bytes32", "name": "_guid", "type": "bytes32" }, { "internalType": "bytes", "name": "_message", "type": "bytes" }, { "internalType": "address", "name": "_executor", "type": "address" }, { "internalType": "bytes", "name": "_extraData", "type": "bytes" } ], "name": "lzReceive", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "", "type": "uint32" }, { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "name": "nextNonce", "outputs": [ { "internalType": "uint64", "name": "nonce", "type": "uint64" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oAppVersion", "outputs": [ { "internalType": "uint64", "name": "senderVersion", "type": "uint64" }, { "internalType": "uint64", "name": "receiverVersion", "type": "uint64" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_eid", "type": "uint32" } ], "name": "peers", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "updateId", "type": "uint256" } ], "name": "rejectUpdate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "remoteDelay", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "name": "riskParameterConfigs", "outputs": [ { "internalType": "bool", "name": "active", "type": "bool" }, { "internalType": "uint256", "name": "debounce", "type": "uint256" }, { "internalType": "address", "name": "riskSteward", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "accessControlManager_", "type": "address" } ], "name": "setAccessControlManager", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "updateType", "type": "string" }, { "internalType": "bool", "name": "active", "type": "bool" } ], "name": "setConfigActive", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_delegate", "type": "address" } ], "name": "setDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "_eid", "type": "uint32" }, { "internalType": "bytes32", "name": "_peer", "type": "bytes32" } ], "name": "setPeer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "newRemoteDelay", "type": "uint256" } ], "name": "setRemoteDelay", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "updateType", "type": "string" }, { "internalType": "address", "name": "riskSteward", "type": "address" }, { "internalType": "uint256", "name": "debounce", "type": "uint256" } ], "name": "setRiskParameterConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "executor", "type": "address" }, { "internalType": "bool", "name": "approved", "type": "bool" } ], "name": "setWhitelistedExecutor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "updateId", "type": "uint256" } ], "name": "updates", "outputs": [ { "components": [ { "internalType": "string", "name": "referenceId", "type": "string" }, { "internalType": "uint256", "name": "updateId", "type": "uint256" }, { "internalType": "address", "name": "market", "type": "address" }, { "internalType": "string", "name": "updateType", "type": "string" }, { "internalType": "bytes32", "name": "updateTypeKey", "type": "bytes32" }, { "internalType": "bytes", "name": "newValue", "type": "bytes" }, { "internalType": "bytes", "name": "previousValue", "type": "bytes" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "address", "name": "publisher", "type": "address" }, { "internalType": "uint96", "name": "poolId", "type": "uint96" }, { "internalType": "uint32", "name": "destLzEid", "type": "uint32" }, { "internalType": "bytes", "name": "additionalData", "type": "bytes" } ], "internalType": "struct RiskParameterUpdate", "name": "update", "type": "tuple" }, { "internalType": "enum IDestinationStewardReceiver.UpdateStatus", "name": "status", "type": "uint8" }, { "internalType": "uint256", "name": "arrivalTime", "type": "uint256" }, { "internalType": "address", "name": "executor", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "whitelistedExecutors", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_logic", "type": "address" }, { "internalType": "address", "name": "admin_", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "stateMutability": "payable", "type": "constructor" } ], "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "receipt": { "to": "0x0000000000000000000000000000000000008006", "from": "0xe2a089cA69a90f1E27E723EFD339Cff4c4701AcC", "contractAddress": "0xAA087d8427F3DF6eb2225C3B889Cf888Bef374ac", "transactionIndex": 1, "gasUsed": "179470", "logsBloom": "0x000000000004000000000000000000004000000000000000008000000000020000000000002000000000000000000000000000020020000000000000000080000000000000800400400020080000420000010000000000000000000000000800800008000200000000080000000008000000008080000000000000100000004000000000000000000000040000000000000001020000800000000000009000000000000000001000000000008004000000000000008400000a2000010000000400000022008000000210000080040000000000000500000000000000000020000000000000000000000000000000000000002800000000000000000000000000", "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b", "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "logs": [ { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0x000000000000000000000000000000000000800A", "topics": [ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", "0x000000000000000000000000e2a089ca69a90f1e27e723efd339cff4c4701acc", "0x0000000000000000000000000000000000000000000000000000000000008001" ], "data": "0x00000000000000000000000000000000000000000000000000000a243f791400", "logIndex": 4, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" }, { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0xAA087d8427F3DF6eb2225C3B889Cf888Bef374ac", "topics": [ "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", "0x0000000000000000000000000aded6366697f6bbf2d361ab177a22cb507e2757" ], "data": "0x", "logIndex": 5, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" }, { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0xAA087d8427F3DF6eb2225C3B889Cf888Bef374ac", "topics": [ "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", "0x0000000000000000000000000000000000000000000000000000000000000000", "0x000000000000000000000000e2a089ca69a90f1e27e723efd339cff4c4701acc" ], "data": "0x", "logIndex": 6, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" }, { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0xAA087d8427F3DF6eb2225C3B889Cf888Bef374ac", "topics": ["0x66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0"], "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d07f543d47c3a8997d6079958308e981ac14cd01", "logIndex": 7, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" }, { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0xe2Ef622A13e71D9Dd2BBd12cd4b27e1516FA8a09", "topics": ["0x6ee10e9ed4d6ce9742703a498707862f4b00f1396a87195eb93267b3d7983981"], "data": "0x000000000000000000000000aa087d8427f3df6eb2225c3b889cf888bef374ac0000000000000000000000001730527a0f0930269313d77a317361b42971a67e", "logIndex": 8, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" }, { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0xAA087d8427F3DF6eb2225C3B889Cf888Bef374ac", "topics": ["0xa1c2964049f672e1cba842d393f777ed468b9846eb7de186d7e73665a326b301"], "data": "0x0000000000000000000000000000000000000000000000000000000000005460", "logIndex": 9, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" }, { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0xAA087d8427F3DF6eb2225C3B889Cf888Bef374ac", "topics": ["0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"], "data": "0x0000000000000000000000000000000000000000000000000000000000000001", "logIndex": 10, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" }, { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0xAA087d8427F3DF6eb2225C3B889Cf888Bef374ac", "topics": ["0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"], "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018e44f588a4dcf2f7145d35a5c226e129040b6d3", "logIndex": 11, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" }, { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0x0000000000000000000000000000000000008006", "topics": [ "0x290afdae231a3fc0bbae8b1af63698b0a1d79b21ad17df0342dfb952fe74f8e5", "0x000000000000000000000000e2a089ca69a90f1e27e723efd339cff4c4701acc", "0x0100019b94e86808514a3c332c0d8160c92fb29c3652a9ce23d188ea77dfd61b", "0x000000000000000000000000aa087d8427f3df6eb2225c3b889cf888bef374ac" ], "data": "0x", "logIndex": 12, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" }, { "transactionIndex": 1, "blockNumber": 6462204, "transactionHash": "0xa172520509b60acaacf02ea06846a7c184612cab0d910b3ca46c0e9093bd09f1", "address": "0x000000000000000000000000000000000000800A", "topics": [ "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", "0x0000000000000000000000000000000000000000000000000000000000008001", "0x000000000000000000000000e2a089ca69a90f1e27e723efd339cff4c4701acc" ], "data": "0x0000000000000000000000000000000000000000000000000000060f98554080", "logIndex": 13, "blockHash": "0xc44c9f79a8cc6a45519fa4daf89f0abcc12b6c7de48c2aaafefa0f8007df629b" } ], "blockNumber": 6462204, "cumulativeGasUsed": "0", "status": 1, "byzantium": true }, "args": [ "0x0aDEd6366697F6bBf2d361AB177A22cb507e2757", "0x18E44f588a4DcF2F7145d35A5C226e129040b6D3", "0x485cc955000000000000000000000000d07f543d47c3a8997d6079958308e981ac14cd010000000000000000000000001730527a0f0930269313d77a317361b42971a67e" ], "numDeployments": 1, "solcInputHash": "061900cf7e8d0c00b7d210812921a713", "metadata": { "llvm_options": [], "optimizer_settings": { "is_debug_logging_enabled": false, "is_fallback_to_size_enabled": false, "is_verify_each_enabled": false, "level_back_end": "Aggressive", "level_middle_end": "Aggressive", "level_middle_end_size": "Zero" }, "solc_version": "0.8.25", "solc_zkvm_edition": "1.0.2", "source_metadata": "{\"compiler\":{\"version\":\"0.8.25+commit.d94a798c\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"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\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"admin_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"implementation_\",\"type\":\"address\"}],\"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\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"details\":\"This contract implements a proxy that is upgradeable by an admin. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches one of the admin functions exposed by the proxy itself. 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error that says \\\"admin cannot fallback to proxy target\\\". These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.\",\"events\":{\"AdminChanged(address,address)\":{\"details\":\"Emitted when the admin account has changed.\"},\"BeaconUpgraded(address)\":{\"details\":\"Emitted when the beacon is upgraded.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"admin()\":{\"details\":\"Returns the current admin. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\"},\"constructor\":{\"details\":\"Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.\"},\"implementation()\":{\"details\":\"Returns the current implementation. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`\"},\"upgradeTo(address)\":{\"details\":\"Upgrade the implementation of the proxy. NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}.\"},\"upgradeToAndCall(address,bytes)\":{\"details\":\"Upgrade the implementation of the proxy, and then call a function from the new implementation as specified by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the proxied contract. NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"hardhat-deploy/solc_0.8/proxy/OptimizedTransparentUpgradeableProxy.sol\":\"OptimizedTransparentUpgradeableProxy\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"details\":{\"constantOptimizer\":false,\"cse\":false,\"deduplicate\":false,\"inliner\":false,\"jumpdestRemover\":false,\"orderLiterals\":false,\"peephole\":false,\"simpleCounterForLoopUncheckedIncrement\":true,\"yul\":true,\"yulDetails\":{\"optimizerSteps\":\"dhfoDgvulfnTUtnIf[xa[r]EscLMcCTUtTOntnfDIulLculVcul [j]Tpeulxa[rul]xa[r]cLgvifCTUca[r]LSsTFOtfDnca[r]Iulc]jmul[jul] VcTOcul jmul:fDnTOcmu\",\"stackAllocation\":true}},\"runs\":200},\"remappings\":[]},\"sources\":{\"hardhat-deploy/solc_0.8/openzeppelin/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0x93b4e21c931252739a1ec13ea31d3d35a5c068be3163ccab83e4d70c40355f03\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bec47f69510a4ace724a15533969ce9479ea9dfef773b1da341c64e8f507cb9b\",\"dweb:/ipfs/QmSu6KnnhhcRAEtdqYncLKw6JEByiptoZR7paqQv2x5CVu\"]},\"hardhat-deploy/solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Proxy.sol\":{\"keccak256\":\"0x6309f9f39dc6f4f45a24f296543867aa358e32946cd6b2874627a996d606b3a0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4f5abfc32db1d44fd3d38d902879eaeaad827781bb9f954d3ccb8639c55db3c0\",\"dweb:/ipfs/QmVSkxFgWphaUx6w9XdvgwJJuxABdpuVQEbABbRmzd3XFc\"]},\"hardhat-deploy/solc_0.8/openzeppelin/proxy/ERC1967/ERC1967Upgrade.sol\":{\"keccak256\":\"0x17668652127feebed0ce8d9431ef95ccc8c4292f03e3b8cf06c6ca16af396633\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9cbd3212cc9e1dbc383b66ef6b750d58c07c4d73d404c6ec55e4bfed25a8fb6f\",\"dweb:/ipfs/QmPN8XajdLkydiQv2146q1M7nGqYk67Z5SNSjbzFU9MiM5\"]},\"hardhat-deploy/solc_0.8/openzeppelin/proxy/Proxy.sol\":{\"keccak256\":\"0xd5d1fd16e9faff7fcb3a52e02a8d49156f42a38a03f07b5f1810c21c2149a8ab\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://60941294a981f6e3ee77c19e503b64c4114b4e7f3261cf489d6898fdd4916522\",\"dweb:/ipfs/QmQVmckpCRrtkCwyPG7ksVo59yjZdtpNerJDzw3hQVB62A\"]},\"hardhat-deploy/solc_0.8/openzeppelin/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xd50a3421ac379ccb1be435fa646d66a65c986b4924f0849839f08692f39dde61\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ada1e030c0231db8d143b44ce92b4d1158eedb087880cad6d8cc7bd7ebe7b354\",\"dweb:/ipfs/QmWZ2NHZweRpz1U9GF6R1h65ri76dnX7fNxLBeM2t5N5Ce\"]},\"hardhat-deploy/solc_0.8/openzeppelin/utils/Address.sol\":{\"keccak256\":\"0x3777e696b62134e6177440dbe6e6601c0c156a443f57167194b67e75527439de\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0bc227c71372eb216b7965a91a09c843e9e9670369af0410d924cf4208a8dabe\",\"dweb:/ipfs/QmTR55ug3diUCsVedV8C6ShstCcbqSNPVEvmCpqc91pEDf\"]},\"hardhat-deploy/solc_0.8/openzeppelin/utils/StorageSlot.sol\":{\"keccak256\":\"0xfe1b7a9aa2a530a9e705b220e26cd584e2fbdc9602a3a1066032b12816b46aca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dbaba7fe0fe556cc5ed291e03d271fd27d395250141ecfb57a4b30d528958ff9\",\"dweb:/ipfs/QmWT653X2DyZo8nqEcmFe3yTkrCJv3ptbZLhbgLU3y6abe\"]},\"hardhat-deploy/solc_0.8/proxy/OptimizedTransparentUpgradeableProxy.sol\":{\"keccak256\":\"0xa30117644e27fa5b49e162aae2f62b36c1aca02f801b8c594d46e2024963a534\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c270574add213952363bf451bd512acab5fc48c5a06fc05ad75e99eb4b044b99\",\"dweb:/ipfs/QmNQyg2ZvM59Q6FFg1ukJah2xpg8kvDZnTLRVLtMGKuHL1\"]}},\"version\":1}", "zk_version": "1.5.3" }, "bytecode": "0x0004000000000002000600000000000200000000030100190000006004300270000001720340019700030000003103550002000000010355000001720040019d0000000100200190000000ba0000c13d0000008005000039000000400050043f000000040030008c000000f60000413d000000000201043b000000e002200270000001880020009c000001350000213d0000018b0020009c000001800000613d0000018c0020009c000001560000c13d000000440030008c0000024d0000413d0000000402100370000000000602043b000001750060009c0000024d0000213d0000002402100370000000000202043b000001760020009c0000024d0000213d0000002304200039000000000034004b0000024d0000813d0000000407200039000000000171034f000000000401043b000001760040009c0000024d0000213d00000000014200190000002401100039000000000031004b0000024