0 txs
1 call
constructor
constructor(address _stakingToken, address _treasuryMarket, address _recipient)
functions
balanceOf
viewfunction balanceOf(uint128) view returns (uint256)
getImplementation
viewfunction getImplementation() view returns (address)
nominatedOwner
viewfunction nominatedOwner() view returns (address)
owner
viewfunction owner() view returns (address)
recipient
viewfunction recipient() view returns (address)
stakingToken
viewfunction stakingToken() view returns (address)
totalDeposited
viewfunction totalDeposited() view returns (uint256)
treasuryMarket
viewfunction treasuryMarket() view returns (address)
acceptOwnership
nonpayablefunction acceptOwnership()
deposit
nonpayablefunction deposit(uint128 accountId, uint256 amount)
nominateNewOwner
nonpayablefunction nominateNewOwner(address newNominatedOwner)
renounceNomination
nonpayablefunction renounceNomination()
simulateUpgradeTo
nonpayablefunction simulateUpgradeTo(address newImplementation)
upgradeTo
nonpayablefunction upgradeTo(address to)
events
Deposited
event Deposited(address indexed sender, uint128 indexed accountId, uint256 amount)
OwnerChanged
event OwnerChanged(address oldOwner, address newOwner)
OwnerNominated
event OwnerNominated(address newOwner)
Upgraded
event Upgraded(address indexed self, address implementation)
errors
ImplementationIsSterile
error ImplementationIsSterile(address implementation)
NoChange
error NoChange()
NotAContract
error NotAContract(address contr)
NotNominated
error NotNominated(address addr)
Unauthorized
error Unauthorized(address addr)
UpgradeSimulationFailed
error UpgradeSimulationFailed()
ZeroAddress
error ZeroAddress()
creation bytecode
0x60e060405234801561000f575f5ffd5b50604051610d4b380380610d4b83398101604081905261002e91610133565b61003661006f565b8061003f6100ab565b80546001600160a01b0319166001600160a01b039283161790559384166080525090821660c0521660a052610173565b5f73e2c5658cc5c448b48141168f3e475df8f65a1e3e33148015610094575060143610155b156100a6575060131936013560601c90565b503390565b5f5f6040516020016100fa9060208082526023908201527f696f2e73796e7468657469782e636f72652d636f6e7472616374732e4f776e61604082015262626c6560e81b606082015260800190565b60408051601f19818403018152919052805160209091012092915050565b80516001600160a01b038116811461012e575f5ffd5b919050565b5f5f5f60608486031215610145575f5ffd5b61014e84610118565b925061015c60208501610118565b915061016a60408501610118565b90509250925092565b60805160a05160c051610b996101b25f395f81816101a9015261067601525f818161013b01526105a401525f818161016a01526105490152610b995ff3fe608060405234801561000f575f5ffd5b50600436106100e5575f3560e01c80638da5cb5b11610088578063b672cf5011610063578063b672cf50146101cb578063c7f62cda146101f8578063cc8cd1bf1461020b578063ff50abdc1461021e575f5ffd5b80638da5cb5b14610194578063aaf10f421461019c578063b5db8170146101a4575f5ffd5b806366d003ac116100c357806366d003ac14610136578063718fe9281461015d57806372f702f31461016557806379ba50971461018c575f5ffd5b80631627540c146100e95780633659cfe6146100fe57806353a47bb714610111575b5f5ffd5b6100fc6100f7366004610a80565b610227565b005b6100fc61010c366004610a80565b6102e9565b6101196102fd565b6040516001600160a01b0390911681526020015b60405180910390f35b6101197f000000000000000000000000000000000000000000000000000000000000000081565b6100fc610318565b6101197f000000000000000000000000000000000000000000000000000000000000000081565b6100fc61036b565b610119610417565b61011961042f565b6101197f000000000000000000000000000000000000000000000000000000000000000081565b6101ea6101d9366004610ac8565b5f6020819052908152604090205481565b60405190815260200161012d565b6100fc610206366004610a80565b610438565b6100fc610219366004610ae1565b610547565b6101ea60015481565b61022f61072d565b5f61023861076a565b90506001600160a01b0382166102615760405163d92e233d60e01b815260040160405180910390fd5b60018101546001600160a01b03908116908316036102925760405163a88ee57760e01b815260040160405180910390fd5b6001810180546001600160a01b0319166001600160a01b0384169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229060200160405180910390a15050565b6102f161072d565b6102fa816107d7565b50565b5f61030661076a565b600101546001600160a01b0316919050565b5f61032161076a565b60018101549091506001600160a01b031633146103585760405163a0e5a0d760e01b81523360048201526024015b60405180910390fd5b60010180546001600160a01b0319169055565b5f61037461076a565b60018101549091506001600160a01b03163381146103a75760405163a0e5a0d760e01b815233600482015260240161034f565b8154604080516001600160a01b03928316815291831660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a181546001600160a01b039091166001600160a01b0319918216178255600190910180549091169055565b5f61042061076a565b546001600160a01b0316919050565b5f6104206108fc565b5f6104416108fc565b80546001600160a01b038481166001600160a81b031983168117600160a01b1784556040805192909316602480840182905284518085039091018152604490930184526020830180516001600160e01b0316631b2ce7f360e11b179052925193945091925f92916104b191610b09565b5f60405180830381855af49150503d805f81146104e9576040519150601f19603f3d011682016040523d82523d5f602084013e6104ee565b606091505b505090508015806105195750816001600160a01b031661050c6108fc565b546001600160a01b031614155b1561053757604051631439f4b560e31b815260040160405180910390fd5b825460ff60a01b191683555f8080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd61057e610949565b60405160e083901b6001600160e01b03191681526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091166024820152604481018490526064016020604051808303815f875af11580156105f1573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106159190610b1f565b508060015f8282546106279190610b3e565b90915550506001600160801b0382165f9081526020819052604081208054839290610653908490610b3e565b909155505060405163c0a6ec8160e01b81526001600160801b03831660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c0a6ec81906024015f604051808303815f87803b1580156106bf575f5ffd5b505af11580156106d1573d5f5f3e3d5ffd5b50505050816001600160801b03166106e7610949565b6001600160a01b03167f7c72c72087330c0773ca9ff5842ca2c6e06e4b279b80e826c0402a7b8c68de398360405161072191815260200190565b60405180910390a35050565b610735610417565b6001600160a01b0316336001600160a01b0316146107685760405163472511eb60e11b815233600482015260240161034f565b565b5f5f6040516020016107b99060208082526023908201527f696f2e73796e7468657469782e636f72652d636f6e7472616374732e4f776e61604082015262626c6560e81b606082015260800190565b60408051601f19818403018152919052805160209091012092915050565b6001600160a01b0381166107fe5760405163d92e233d60e01b815260040160405180910390fd5b803b610828576040516322a2d07b60e21b81526001600160a01b038216600482015260240161034f565b5f6108316108fc565b80549091506001600160a01b03908116908316036108625760405163a88ee57760e01b815260040160405180910390fd5b8054600160a01b900460ff1615801561087f575061087f82610985565b156108a857604051631550430160e01b81526001600160a01b038316600482015260240161034f565b80546001600160a01b0319166001600160a01b038316908117825560405190815230907f5d611f318680d00598bb735d61bacf0c514c6b50e1e5ad30040a4df2b12791c79060200160405180910390a25050565b5f5f6040516020016107b99060208082526021908201527f696f2e73796e7468657469782e636f72652d636f6e7472616374732e50726f786040820152607960f81b606082015260800190565b5f73e2c5658cc5c448b48141168f3e475df8f65a1e3e3314801561096e575060143610155b15610980575060131936013560601c90565b503390565b604080516001600160a01b03831660248083019190915282518083039091018152604490910182526020810180516001600160e01b03166363fb166d60e11b17905290515f918291829130916109db9190610b09565b5f60405180830381855af49150503d805f8114610a13576040519150601f19603f3d011682016040523d82523d5f602084013e610a18565b606091505b509150915081158015610a785750604051631439f4b560e31b60208201526024016040516020818303038152906040528051906020012081604051602001610a609190610b09565b60405160208183030381529060405280519060200120145b949350505050565b5f60208284031215610a90575f5ffd5b81356001600160a01b0381168114610aa6575f5ffd5b9392505050565b80356001600160801b0381168114610ac3575f5ffd5b919050565b5f60208284031215610ad8575f5ffd5b610aa682610aad565b5f5f60408385031215610af2575f5ffd5b610afb83610aad565b946020939093013593505050565b5f82518060208501845e5f920191825250919050565b5f60208284031215610b2f575f5ffd5b81518015158114610aa6575f5ffd5b80820180821115610b5d57634e487b7160e01b5f52601160045260245ffd5b9291505056fea26469706673582212209c6b1b75e6bbf30c2fd6e2288d855d0c850f10c4cd4220386fe2687a709f65fc64736f6c634300081b003300000000000000000000000057ab1ec28d129707052df4df418d58a2d46d5f510000000000000000000000005a0b482922f25fd44959b30175f998b8bda629d4000000000000000000000000fa1df09d8d09d6e8fab2a6c4712fea02ce203e99