Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 224 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Buy | 16245516 | 617 days ago | IN | 0 ETH | 0.00333234 | ||||
Buy | 16232906 | 619 days ago | IN | 0 ETH | 0.003309 | ||||
Buy | 16224952 | 620 days ago | IN | 0 ETH | 0.00315016 | ||||
Buy | 16211495 | 622 days ago | IN | 0 ETH | 0.0037175 | ||||
Buy | 16210984 | 622 days ago | IN | 0 ETH | 0.00377242 | ||||
Buy | 16186285 | 625 days ago | IN | 0 ETH | 0.00360788 | ||||
Buy | 16185958 | 625 days ago | IN | 0 ETH | 0.00345334 | ||||
Buy | 16168984 | 628 days ago | IN | 0 ETH | 0.00443623 | ||||
Buy | 16168959 | 628 days ago | IN | 0 ETH | 0.00437231 | ||||
Buy | 16168908 | 628 days ago | IN | 0 ETH | 0.00488388 | ||||
Buy | 16146531 | 631 days ago | IN | 0 ETH | 0.0049566 | ||||
Buy | 16074942 | 641 days ago | IN | 0 ETH | 0.00269512 | ||||
Buy | 16074884 | 641 days ago | IN | 0 ETH | 0.00283149 | ||||
Buy | 16074815 | 641 days ago | IN | 0 ETH | 0.00306135 | ||||
Buy | 16074560 | 641 days ago | IN | 0 ETH | 0.00304423 | ||||
Sell | 15774987 | 683 days ago | IN | 0 ETH | 0.00188087 | ||||
Buy | 15749889 | 686 days ago | IN | 0 ETH | 0.00414182 | ||||
Sell | 15745321 | 687 days ago | IN | 0 ETH | 0.00387354 | ||||
Buy | 15745242 | 687 days ago | IN | 0 ETH | 0.00369691 | ||||
Buy | 15732710 | 688 days ago | IN | 0 ETH | 0.00577796 | ||||
Buy | 15719031 | 690 days ago | IN | 0 ETH | 0.01086779 | ||||
Buy | 15711186 | 691 days ago | IN | 0 ETH | 0.00637447 | ||||
Buy | 15554729 | 713 days ago | IN | 0 ETH | 0.00183304 | ||||
Buy | 15546246 | 715 days ago | IN | 0 ETH | 0.00209204 | ||||
Buy | 15444305 | 731 days ago | IN | 0 ETH | 0.00470102 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
20628380 | 2 days ago | 0 ETH | |||||
19827833 | 114 days ago | 0 ETH | |||||
19827833 | 114 days ago | 0 ETH | |||||
19827833 | 114 days ago | 0 ETH | |||||
19827833 | 114 days ago | 0 ETH | |||||
19725468 | 129 days ago | 0 ETH | |||||
19725468 | 129 days ago | 0 ETH | |||||
19725468 | 129 days ago | 0 ETH | |||||
19725468 | 129 days ago | 0 ETH | |||||
19641310 | 140 days ago | 0 ETH |
Loading...
Loading
Contract Name:
ib_amm
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-03-16 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.12; interface erc20 { function approve(address, uint) external returns (bool); function transfer(address, uint) external returns (bool); function transferFrom(address, address, uint) external returns (bool); function balanceOf(address) external view returns (uint); } interface cy20 { function redeemUnderlying(uint) external returns (uint); function mint(uint) external returns (uint); function borrow(uint) external returns (uint); function repayBorrow(uint) external returns (uint); } interface registry { function cy(address) external view returns (address); function price(address) external view returns (uint); } interface cl { function latestAnswer() external view returns (int); } contract ib_amm { address constant mim = address(0x99D8a9C45b2ecA8864373A26D1459e3Dff1e17F3); address constant dai = address(0x6B175474E89094C44Da98b954EedeAC495271d0F); registry constant ff = registry(0x5C08bC10F45468F18CbDC65454Cbd1dd2cB1Ac65); cl constant dai_feed = cl(0xAed0c38402a5d19df6E4c03F4E2DceD6e29c1ee9); cl constant mim_feed = cl(0x7A364e8770418566e3eb2001A96116E6138Eb32F); address public governance; address public pending_governance; bool public breaker = false; int public threshold = 99000000; uint constant public fee = 3; uint constant public base = 1000; constructor(address _governance) { governance = _governance; } modifier only_governance() { require(msg.sender == governance); _; } function set_governance(address _governance) external only_governance { pending_governance = _governance; } function accept_governance() external { require(msg.sender == pending_governance); governance = pending_governance; } function set_breaker(bool _breaker) external only_governance { breaker = _breaker; } function set_threshold(int _threshold) external only_governance { threshold = _threshold; } function repay(cy20 cy, address token, uint amount) external returns (bool) { _safeTransferFrom(token, msg.sender, address(this), amount); erc20(token).approve(address(cy), amount); require(cy.repayBorrow(amount) == 0, "ib: !repay"); return true; } function dai_quote() external view returns (int) { return dai_feed.latestAnswer(); } function mim_quote() external view returns (int) { return mim_feed.latestAnswer(); } function buy_quote(address to, uint amount) public view returns (uint) { uint _fee = amount * fee / base; return (amount - _fee) * 1e18 / ff.price(to); } function sell_quote(address from, uint amount) public view returns (uint) { uint _fee = amount * fee / base; return (amount - _fee) * ff.price(from) / 1e18; } function buy(address to, uint amount, uint minOut) external returns (bool) { require(!breaker, "breaker"); require(dai_feed.latestAnswer() > threshold, "peg"); _safeTransferFrom(dai, msg.sender, governance, amount); uint _quote = buy_quote(to, amount); require(_quote > 0 && _quote >= minOut, "< minOut"); require(cy20(ff.cy(to)).borrow(_quote) == 0, "ib: borrow failed"); _safeTransfer(to, msg.sender, _quote); return true; } function sell(address from, uint amount, uint minOut) external returns (bool) { require(!breaker, "breaker"); require(mim_feed.latestAnswer() > threshold, "peg"); _safeTransferFrom(from, msg.sender, governance, amount); uint _quote = sell_quote(from, amount); require(_quote > 0 && _quote >= minOut, "< minOut"); _safeTransfer(mim, msg.sender, _quote); return true; } function _safeTransfer(address token, address to, uint256 value) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(erc20.transfer.selector, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool)))); } function _safeTransferFrom(address token, address from, address to, uint256 value) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(erc20.transferFrom.selector, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool)))); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"accept_governance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"base","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"breaker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minOut","type":"uint256"}],"name":"buy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buy_quote","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dai_quote","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mim_quote","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pending_governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract cy20","name":"cy","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"repay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minOut","type":"uint256"}],"name":"sell","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sell_quote","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_breaker","type":"bool"}],"name":"set_breaker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"set_governance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"_threshold","type":"int256"}],"name":"set_threshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"threshold","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526001805460ff60a01b191690556305e69ec060025534801561002557600080fd5b50604051610f8c380380610f8c83398101604081905261004491610069565b600080546001600160a01b0319166001600160a01b0392909216919091179055610099565b60006020828403121561007b57600080fd5b81516001600160a01b038116811461009257600080fd5b9392505050565b610ee4806100a86000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80636a272462116100a2578063c66eb0a211610071578063c66eb0a2146101fd578063ddca3f4314610210578063e329c0a814610218578063e6bfc3091461022b578063fb1818761461023e57600080fd5b80636a272462146101c7578063a59ac6dd146101da578063a7dbff3e146101ed578063ac902a00146101f557600080fd5b80631da649cf116100de5780631da649cf1461017757806342cde4e81461018a5780635001f3b5146101935780635aa6e6751461019c57600080fd5b8063070313fa146101105780630da76cdb146101255780630f41e0d21461013857806319107af714610161575b600080fd5b61012361011e366004610ca8565b610251565b005b610123610133366004610ccc565b61028a565b60015461014c90600160a01b900460ff1681565b60405190151581526020015b60405180910390f35b6101696102a6565b604051908152602001610158565b61014c610185366004610ce5565b610323565b61016960025481565b6101696103e881565b6000546101af906001600160a01b031681565b6040516001600160a01b039091168152602001610158565b61014c6101d5366004610d26565b610459565b61014c6101e8366004610d26565b6105e5565b610123610893565b6101696108ce565b6001546101af906001600160a01b031681565b610169600381565b610123610226366004610d69565b610922565b610169610239366004610d86565b610957565b61016961024c366004610d86565b610a1f565b6000546001600160a01b0316331461026857600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146102a157600080fd5b600255565b6000737a364e8770418566e3eb2001a96116e6138eb32f6001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031e9190610db2565b905090565b600061033183333085610ad7565b60405163095ea7b360e01b81526001600160a01b0385811660048301526024820184905284169063095ea7b3906044016020604051808303816000875af1158015610380573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a49190610dcb565b5060405163073a938160e11b8152600481018390526001600160a01b03851690630e752702906024016020604051808303816000875af11580156103ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104109190610db2565b1561044f5760405162461bcd60e51b815260206004820152600a60248201526969623a2021726570617960b01b60448201526064015b60405180910390fd5b5060019392505050565b600154600090600160a01b900460ff16156104a05760405162461bcd60e51b8152602060048201526007602482015266313932b0b5b2b960c91b6044820152606401610446565b600254737a364e8770418566e3eb2001a96116e6138eb32f6001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105199190610db2565b1361054c5760405162461bcd60e51b815260206004820152600360248201526270656760e81b6044820152606401610446565b60005461056690859033906001600160a01b031686610ad7565b60006105728585610a1f565b90506000811180156105845750828110155b6105bb5760405162461bcd60e51b81526020600482015260086024820152670f081b5a5b93dd5d60c21b6044820152606401610446565b6105da7399d8a9c45b2eca8864373a26d1459e3dff1e17f33383610bb8565b506001949350505050565b600154600090600160a01b900460ff161561062c5760405162461bcd60e51b8152602060048201526007602482015266313932b0b5b2b960c91b6044820152606401610446565b60025473aed0c38402a5d19df6e4c03f4e2dced6e29c1ee96001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a59190610db2565b136106d85760405162461bcd60e51b815260206004820152600360248201526270656760e81b6044820152606401610446565b60005461070690736b175474e89094c44da98b954eedeac495271d0f9033906001600160a01b031686610ad7565b60006107128585610957565b90506000811180156107245750828110155b61075b5760405162461bcd60e51b81526020600482015260086024820152670f081b5a5b93dd5d60c21b6044820152606401610446565b6040516325fc353960e11b81526001600160a01b0386166004820152735c08bc10f45468f18cbdc65454cbd1dd2cb1ac6590634bf86a7290602401602060405180830381865afa1580156107b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d79190610de8565b6001600160a01b031663c5ebeaec826040518263ffffffff1660e01b815260040161080491815260200190565b6020604051808303816000875af1158015610823573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108479190610db2565b156108885760405162461bcd60e51b81526020600482015260116024820152701a588e88189bdc9c9bddc819985a5b1959607a1b6044820152606401610446565b6105da853383610bb8565b6001546001600160a01b031633146108aa57600080fd5b600154600080546001600160a01b0319166001600160a01b03909216919091179055565b600073aed0c38402a5d19df6e4c03f4e2dced6e29c1ee96001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102fa573d6000803e3d6000fd5b6000546001600160a01b0316331461093957600080fd5b60018054911515600160a01b0260ff60a01b19909216919091179055565b6000806103e8610968600385610e1b565b6109729190610e3a565b6040516315d5220f60e31b81526001600160a01b0386166004820152909150735c08bc10f45468f18cbdc65454cbd1dd2cb1ac659063aea9107890602401602060405180830381865afa1580156109cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f19190610db2565b6109fb8285610e5c565b610a0d90670de0b6b3a7640000610e1b565b610a179190610e3a565b949350505050565b6000806103e8610a30600385610e1b565b610a3a9190610e3a565b6040516315d5220f60e31b81526001600160a01b0386166004820152909150670de0b6b3a764000090735c08bc10f45468f18cbdc65454cbd1dd2cb1ac659063aea9107890602401602060405180830381865afa158015610a9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac39190610db2565b610acd8386610e5c565b610a0d9190610e1b565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b1790529151600092839290881691610b3b9190610e73565b6000604051808303816000865af19150503d8060008114610b78576040519150601f19603f3d011682016040523d82523d6000602084013e610b7d565b606091505b5091509150818015610ba7575080511580610ba7575080806020019051810190610ba79190610dcb565b610bb057600080fd5b505050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092839290871691610c149190610e73565b6000604051808303816000865af19150503d8060008114610c51576040519150601f19603f3d011682016040523d82523d6000602084013e610c56565b606091505b5091509150818015610c80575080511580610c80575080806020019051810190610c809190610dcb565b610c8957600080fd5b5050505050565b6001600160a01b0381168114610ca557600080fd5b50565b600060208284031215610cba57600080fd5b8135610cc581610c90565b9392505050565b600060208284031215610cde57600080fd5b5035919050565b600080600060608486031215610cfa57600080fd5b8335610d0581610c90565b92506020840135610d1581610c90565b929592945050506040919091013590565b600080600060608486031215610d3b57600080fd5b8335610d4681610c90565b95602085013595506040909401359392505050565b8015158114610ca557600080fd5b600060208284031215610d7b57600080fd5b8135610cc581610d5b565b60008060408385031215610d9957600080fd5b8235610da481610c90565b946020939093013593505050565b600060208284031215610dc457600080fd5b5051919050565b600060208284031215610ddd57600080fd5b8151610cc581610d5b565b600060208284031215610dfa57600080fd5b8151610cc581610c90565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610e3557610e35610e05565b500290565b600082610e5757634e487b7160e01b600052601260045260246000fd5b500490565b600082821015610e6e57610e6e610e05565b500390565b6000825160005b81811015610e945760208186018101518583015201610e7a565b81811115610ea3576000828501525b50919091019291505056fea26469706673582212208291e8950e790f7781827c56732e35b6baee30634d6bc6c971d50a6cf90f445064736f6c634300080c00330000000000000000000000000d5dc686d0a2abbfdafdfb4d0533e886517d4e83
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80636a272462116100a2578063c66eb0a211610071578063c66eb0a2146101fd578063ddca3f4314610210578063e329c0a814610218578063e6bfc3091461022b578063fb1818761461023e57600080fd5b80636a272462146101c7578063a59ac6dd146101da578063a7dbff3e146101ed578063ac902a00146101f557600080fd5b80631da649cf116100de5780631da649cf1461017757806342cde4e81461018a5780635001f3b5146101935780635aa6e6751461019c57600080fd5b8063070313fa146101105780630da76cdb146101255780630f41e0d21461013857806319107af714610161575b600080fd5b61012361011e366004610ca8565b610251565b005b610123610133366004610ccc565b61028a565b60015461014c90600160a01b900460ff1681565b60405190151581526020015b60405180910390f35b6101696102a6565b604051908152602001610158565b61014c610185366004610ce5565b610323565b61016960025481565b6101696103e881565b6000546101af906001600160a01b031681565b6040516001600160a01b039091168152602001610158565b61014c6101d5366004610d26565b610459565b61014c6101e8366004610d26565b6105e5565b610123610893565b6101696108ce565b6001546101af906001600160a01b031681565b610169600381565b610123610226366004610d69565b610922565b610169610239366004610d86565b610957565b61016961024c366004610d86565b610a1f565b6000546001600160a01b0316331461026857600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146102a157600080fd5b600255565b6000737a364e8770418566e3eb2001a96116e6138eb32f6001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031e9190610db2565b905090565b600061033183333085610ad7565b60405163095ea7b360e01b81526001600160a01b0385811660048301526024820184905284169063095ea7b3906044016020604051808303816000875af1158015610380573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103a49190610dcb565b5060405163073a938160e11b8152600481018390526001600160a01b03851690630e752702906024016020604051808303816000875af11580156103ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104109190610db2565b1561044f5760405162461bcd60e51b815260206004820152600a60248201526969623a2021726570617960b01b60448201526064015b60405180910390fd5b5060019392505050565b600154600090600160a01b900460ff16156104a05760405162461bcd60e51b8152602060048201526007602482015266313932b0b5b2b960c91b6044820152606401610446565b600254737a364e8770418566e3eb2001a96116e6138eb32f6001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105199190610db2565b1361054c5760405162461bcd60e51b815260206004820152600360248201526270656760e81b6044820152606401610446565b60005461056690859033906001600160a01b031686610ad7565b60006105728585610a1f565b90506000811180156105845750828110155b6105bb5760405162461bcd60e51b81526020600482015260086024820152670f081b5a5b93dd5d60c21b6044820152606401610446565b6105da7399d8a9c45b2eca8864373a26d1459e3dff1e17f33383610bb8565b506001949350505050565b600154600090600160a01b900460ff161561062c5760405162461bcd60e51b8152602060048201526007602482015266313932b0b5b2b960c91b6044820152606401610446565b60025473aed0c38402a5d19df6e4c03f4e2dced6e29c1ee96001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a59190610db2565b136106d85760405162461bcd60e51b815260206004820152600360248201526270656760e81b6044820152606401610446565b60005461070690736b175474e89094c44da98b954eedeac495271d0f9033906001600160a01b031686610ad7565b60006107128585610957565b90506000811180156107245750828110155b61075b5760405162461bcd60e51b81526020600482015260086024820152670f081b5a5b93dd5d60c21b6044820152606401610446565b6040516325fc353960e11b81526001600160a01b0386166004820152735c08bc10f45468f18cbdc65454cbd1dd2cb1ac6590634bf86a7290602401602060405180830381865afa1580156107b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d79190610de8565b6001600160a01b031663c5ebeaec826040518263ffffffff1660e01b815260040161080491815260200190565b6020604051808303816000875af1158015610823573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108479190610db2565b156108885760405162461bcd60e51b81526020600482015260116024820152701a588e88189bdc9c9bddc819985a5b1959607a1b6044820152606401610446565b6105da853383610bb8565b6001546001600160a01b031633146108aa57600080fd5b600154600080546001600160a01b0319166001600160a01b03909216919091179055565b600073aed0c38402a5d19df6e4c03f4e2dced6e29c1ee96001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102fa573d6000803e3d6000fd5b6000546001600160a01b0316331461093957600080fd5b60018054911515600160a01b0260ff60a01b19909216919091179055565b6000806103e8610968600385610e1b565b6109729190610e3a565b6040516315d5220f60e31b81526001600160a01b0386166004820152909150735c08bc10f45468f18cbdc65454cbd1dd2cb1ac659063aea9107890602401602060405180830381865afa1580156109cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f19190610db2565b6109fb8285610e5c565b610a0d90670de0b6b3a7640000610e1b565b610a179190610e3a565b949350505050565b6000806103e8610a30600385610e1b565b610a3a9190610e3a565b6040516315d5220f60e31b81526001600160a01b0386166004820152909150670de0b6b3a764000090735c08bc10f45468f18cbdc65454cbd1dd2cb1ac659063aea9107890602401602060405180830381865afa158015610a9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac39190610db2565b610acd8386610e5c565b610a0d9190610e1b565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b1790529151600092839290881691610b3b9190610e73565b6000604051808303816000865af19150503d8060008114610b78576040519150601f19603f3d011682016040523d82523d6000602084013e610b7d565b606091505b5091509150818015610ba7575080511580610ba7575080806020019051810190610ba79190610dcb565b610bb057600080fd5b505050505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092839290871691610c149190610e73565b6000604051808303816000865af19150503d8060008114610c51576040519150601f19603f3d011682016040523d82523d6000602084013e610c56565b606091505b5091509150818015610c80575080511580610c80575080806020019051810190610c809190610dcb565b610c8957600080fd5b5050505050565b6001600160a01b0381168114610ca557600080fd5b50565b600060208284031215610cba57600080fd5b8135610cc581610c90565b9392505050565b600060208284031215610cde57600080fd5b5035919050565b600080600060608486031215610cfa57600080fd5b8335610d0581610c90565b92506020840135610d1581610c90565b929592945050506040919091013590565b600080600060608486031215610d3b57600080fd5b8335610d4681610c90565b95602085013595506040909401359392505050565b8015158114610ca557600080fd5b600060208284031215610d7b57600080fd5b8135610cc581610d5b565b60008060408385031215610d9957600080fd5b8235610da481610c90565b946020939093013593505050565b600060208284031215610dc457600080fd5b5051919050565b600060208284031215610ddd57600080fd5b8151610cc581610d5b565b600060208284031215610dfa57600080fd5b8151610cc581610c90565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610e3557610e35610e05565b500290565b600082610e5757634e487b7160e01b600052601260045260246000fd5b500490565b600082821015610e6e57610e6e610e05565b500390565b6000825160005b81811015610e945760208186018101518583015201610e7a565b81811115610ea3576000828501525b50919091019291505056fea26469706673582212208291e8950e790f7781827c56732e35b6baee30634d6bc6c971d50a6cf90f445064736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000d5dc686d0a2abbfdafdfb4d0533e886517d4e83
-----Decoded View---------------
Arg [0] : _governance (address): 0x0D5Dc686d0a2ABBfDaFDFb4D0533E886517d4E83
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000d5dc686d0a2abbfdafdfb4d0533e886517d4e83
Deployed Bytecode Sourcemap
816:3791:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1648:121;;;;;;:::i;:::-;;:::i;:::-;;2031:105;;;;;;:::i;:::-;;:::i;1313:27::-;;;;;-1:-1:-1;;;1313:27:0;;;;;;;;;751:14:1;;744:22;726:41;;714:2;699:18;1313:27:0;;;;;;;;2548:98;;;:::i;:::-;;;922:25:1;;;910:2;895:18;2548:98:0;778:175:1;2144:290:0;;;;;;:::i;:::-;;:::i;1347:31::-;;;;;;1420:32;;1448:4;1420:32;;1241:25;;;;;-1:-1:-1;;;;;1241:25:0;;;;;;-1:-1:-1;;;;;1776:32:1;;;1758:51;;1746:2;1731:18;1241:25:0;1612:203:1;3547:435:0;;;;;;:::i;:::-;;:::i;3032:503::-;;;;;;:::i;:::-;;:::i;1777:140::-;;;:::i;2442:98::-;;;:::i;1273:33::-;;;;;-1:-1:-1;;;;;1273:33:0;;;1385:28;;1412:1;1385:28;;1925:98;;;;;;:::i;:::-;;:::i;2654:177::-;;;;;;:::i;:::-;;:::i;2839:181::-;;;;;;:::i;:::-;;:::i;1648:121::-;1609:10;;-1:-1:-1;;;;;1609:10:0;1595;:24;1587:33;;;;;;1729:18:::1;:32:::0;;-1:-1:-1;;;;;;1729:32:0::1;-1:-1:-1::0;;;;;1729:32:0;;;::::1;::::0;;;::::1;::::0;;1648:121::o;2031:105::-;1609:10;;-1:-1:-1;;;;;1609:10:0;1595;:24;1587:33;;;;;;2106:9:::1;:22:::0;2031:105::o;2548:98::-;2592:3;1185:42;-1:-1:-1;;;;;2615:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2608:30;;2548:98;:::o;2144:290::-;2214:4;2232:59;2250:5;2257:10;2277:4;2284:6;2232:17;:59::i;:::-;2302:41;;-1:-1:-1;;;2302:41:0;;-1:-1:-1;;;;;3277:32:1;;;2302:41:0;;;3259:51:1;3326:18;;;3319:34;;;2302:20:0;;;;;3232:18:1;;2302:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;2362:22:0;;-1:-1:-1;;;2362:22:0;;;;;922:25:1;;;-1:-1:-1;;;;;2362:14:0;;;;;895:18:1;;2362:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:27;2354:50;;;;-1:-1:-1;;;2354:50:0;;4005:2:1;2354:50:0;;;3987:21:1;4044:2;4024:18;;;4017:30;-1:-1:-1;;;4063:18:1;;;4056:40;4113:18;;2354:50:0;;;;;;;;;-1:-1:-1;2422:4:0;2144:290;;;;;:::o;3547:435::-;3645:7;;3619:4;;-1:-1:-1;;;3645:7:0;;;;3644:8;3636:28;;;;-1:-1:-1;;;3636:28:0;;4344:2:1;3636:28:0;;;4326:21:1;4383:1;4363:18;;;4356:29;-1:-1:-1;;;4401:18:1;;;4394:37;4448:18;;3636:28:0;4142:330:1;3636:28:0;3709:9;;1185:42;-1:-1:-1;;;;;3683:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;3675:51;;;;-1:-1:-1;;;3675:51:0;;4679:2:1;3675:51:0;;;4661:21:1;4718:1;4698:18;;;4691:29;-1:-1:-1;;;4736:18:1;;;4729:33;4779:18;;3675:51:0;4477:326:1;3675:51:0;3773:10;;3737:55;;3755:4;;3761:10;;-1:-1:-1;;;;;3773:10:0;3785:6;3737:17;:55::i;:::-;3803:11;3817:24;3828:4;3834:6;3817:10;:24::i;:::-;3803:38;;3869:1;3860:6;:10;:30;;;;;3884:6;3874;:16;;3860:30;3852:51;;;;-1:-1:-1;;;3852:51:0;;5010:2:1;3852:51:0;;;4992:21:1;5049:1;5029:18;;;5022:29;-1:-1:-1;;;5067:18:1;;;5060:38;5115:18;;3852:51:0;4808:331:1;3852:51:0;3914:38;870:42;3933:10;3945:6;3914:13;:38::i;:::-;-1:-1:-1;3970:4:0;;3547:435;-1:-1:-1;;;;3547:435:0:o;3032:503::-;3127:7;;3101:4;;-1:-1:-1;;;3127:7:0;;;;3126:8;3118:28;;;;-1:-1:-1;;;3118:28:0;;4344:2:1;3118:28:0;;;4326:21:1;4383:1;4363:18;;;4356:29;-1:-1:-1;;;4401:18:1;;;4394:37;4448:18;;3118:28:0;4142:330:1;3118:28:0;3191:9;;1109:42;-1:-1:-1;;;;;3165:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;3157:51;;;;-1:-1:-1;;;3157:51:0;;4679:2:1;3157:51:0;;;4661:21:1;4718:1;4698:18;;;4691:29;-1:-1:-1;;;4736:18:1;;;4729:33;4779:18;;3157:51:0;4477:326:1;3157:51:0;3254:10;;3219:54;;951:42;;3242:10;;-1:-1:-1;;;;;3254:10:0;3266:6;3219:17;:54::i;:::-;3284:11;3298:21;3308:2;3312:6;3298:9;:21::i;:::-;3284:35;;3347:1;3338:6;:10;:30;;;;;3362:6;3352;:16;;3338:30;3330:51;;;;-1:-1:-1;;;3330:51:0;;5010:2:1;3330:51:0;;;4992:21:1;5049:1;5029:18;;;5022:29;-1:-1:-1;;;5067:18:1;;;5060:38;5115:18;;3330:51:0;4808:331:1;3330:51:0;3405:9;;-1:-1:-1;;;3405:9:0;;-1:-1:-1;;;;;1776:32:1;;3405:9:0;;;1758:51:1;1033:42:0;;3405:5;;1731:18:1;;3405:9:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3400:22:0;;3423:6;3400:30;;;;;;;;;;;;;922:25:1;;910:2;895:18;;778:175;3400:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:35;3392:65;;;;-1:-1:-1;;;3392:65:0;;5602:2:1;3392:65:0;;;5584:21:1;5641:2;5621:18;;;5614:30;-1:-1:-1;;;5660:18:1;;;5653:47;5717:18;;3392:65:0;5400:341:1;3392:65:0;3468:37;3482:2;3486:10;3498:6;3468:13;:37::i;1777:140::-;1848:18;;-1:-1:-1;;;;;1848:18:0;1834:10;:32;1826:41;;;;;;1891:18;;;1878:31;;-1:-1:-1;;;;;;1878:31:0;-1:-1:-1;;;;;1891:18:0;;;1878:31;;;;;;1777:140::o;2442:98::-;2486:3;1109:42;-1:-1:-1;;;;;2509:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1925:98;1609:10;;-1:-1:-1;;;;;1609:10:0;1595;:24;1587:33;;;;;;1997:7:::1;:18:::0;;;::::1;;-1:-1:-1::0;;;1997:18:0::1;-1:-1:-1::0;;;;1997:18:0;;::::1;::::0;;;::::1;::::0;;1925:98::o;2654:177::-;2719:4;;1448;2748:12;1412:1;2748:6;:12;:::i;:::-;:19;;;;:::i;:::-;2811:12;;-1:-1:-1;;;2811:12:0;;-1:-1:-1;;;;;1776:32:1;;2811:12:0;;;1758:51:1;2736:31:0;;-1:-1:-1;1033:42:0;;2811:8;;1731:18:1;;2811:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2786:13;2795:4;2786:6;:13;:::i;:::-;2785:23;;2804:4;2785:23;:::i;:::-;:38;;;;:::i;:::-;2778:45;2654:177;-1:-1:-1;;;;2654:177:0:o;2839:181::-;2907:4;;1448;2936:12;1412:1;2936:6;:12;:::i;:::-;:19;;;;:::i;:::-;2991:14;;-1:-1:-1;;;2991:14:0;;-1:-1:-1;;;;;1776:32:1;;2991:14:0;;;1758:51:1;2924:31:0;;-1:-1:-1;3008:4:0;;1033:42;;2991:8;;1731:18:1;;2991:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2974:13;2983:4;2974:6;:13;:::i;:::-;2973:32;;;;:::i;4287:317::-;4450:68;;;-1:-1:-1;;;;;6661:15:1;;;4450:68:0;;;6643:34:1;6713:15;;;6693:18;;;6686:43;6745:18;;;;6738:34;;;4450:68:0;;;;;;;;;;6578:18:1;;;;4450:68:0;;;;;;;-1:-1:-1;;;;;4450:68:0;-1:-1:-1;;;4450:68:0;;;4439:80;;-1:-1:-1;;;;4439:10:0;;;;:80;;4450:68;4439:80;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4390:129;;;;4538:7;:57;;;;-1:-1:-1;4550:11:0;;:16;;:44;;;4581:4;4570:24;;;;;;;;;;;;:::i;:::-;4530:66;;;;;;4379:225;;4287:317;;;;:::o;3990:289::-;4135:58;;;-1:-1:-1;;;;;3277:32:1;;;4135:58:0;;;3259:51:1;3326:18;;;;3319:34;;;4135:58:0;;;;;;;;;;3232:18:1;;;;4135:58:0;;;;;;;-1:-1:-1;;;;;4135:58:0;-1:-1:-1;;;4135:58:0;;;4124:70;;-1:-1:-1;;;;4124:10:0;;;;:70;;4135:58;4124:70;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4075:119;;;;4213:7;:57;;;;-1:-1:-1;4225:11:0;;:16;;:44;;;4256:4;4245:24;;;;;;;;;;;;:::i;:::-;4205:66;;;;;;4064:215;;3990:289;;;:::o;14:131:1:-;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;69:70;14:131;:::o;150:247::-;209:6;262:2;250:9;241:7;237:23;233:32;230:52;;;278:1;275;268:12;230:52;317:9;304:23;336:31;361:5;336:31;:::i;:::-;386:5;150:247;-1:-1:-1;;;150:247:1:o;402:179::-;460:6;513:2;501:9;492:7;488:23;484:32;481:52;;;529:1;526;519:12;481:52;-1:-1:-1;552:23:1;;402:179;-1:-1:-1;402:179:1:o;958:467::-;1046:6;1054;1062;1115:2;1103:9;1094:7;1090:23;1086:32;1083:52;;;1131:1;1128;1121:12;1083:52;1170:9;1157:23;1189:31;1214:5;1189:31;:::i;:::-;1239:5;-1:-1:-1;1296:2:1;1281:18;;1268:32;1309:33;1268:32;1309:33;:::i;:::-;958:467;;1361:7;;-1:-1:-1;;;1415:2:1;1400:18;;;;1387:32;;958:467::o;1820:383::-;1897:6;1905;1913;1966:2;1954:9;1945:7;1941:23;1937:32;1934:52;;;1982:1;1979;1972:12;1934:52;2021:9;2008:23;2040:31;2065:5;2040:31;:::i;:::-;2090:5;2142:2;2127:18;;2114:32;;-1:-1:-1;2193:2:1;2178:18;;;2165:32;;1820:383;-1:-1:-1;;;1820:383:1:o;2208:118::-;2294:5;2287:13;2280:21;2273:5;2270:32;2260:60;;2316:1;2313;2306:12;2331:241;2387:6;2440:2;2428:9;2419:7;2415:23;2411:32;2408:52;;;2456:1;2453;2446:12;2408:52;2495:9;2482:23;2514:28;2536:5;2514:28;:::i;2577:315::-;2645:6;2653;2706:2;2694:9;2685:7;2681:23;2677:32;2674:52;;;2722:1;2719;2712:12;2674:52;2761:9;2748:23;2780:31;2805:5;2780:31;:::i;:::-;2830:5;2882:2;2867:18;;;;2854:32;;-1:-1:-1;;;2577:315:1:o;2897:183::-;2966:6;3019:2;3007:9;2998:7;2994:23;2990:32;2987:52;;;3035:1;3032;3025:12;2987:52;-1:-1:-1;3058:16:1;;2897:183;-1:-1:-1;2897:183:1:o;3364:245::-;3431:6;3484:2;3472:9;3463:7;3459:23;3455:32;3452:52;;;3500:1;3497;3490:12;3452:52;3532:9;3526:16;3551:28;3573:5;3551:28;:::i;5144:251::-;5214:6;5267:2;5255:9;5246:7;5242:23;5238:32;5235:52;;;5283:1;5280;5273:12;5235:52;5315:9;5309:16;5334:31;5359:5;5334:31;:::i;5746:127::-;5807:10;5802:3;5798:20;5795:1;5788:31;5838:4;5835:1;5828:15;5862:4;5859:1;5852:15;5878:168;5918:7;5984:1;5980;5976:6;5972:14;5969:1;5966:21;5961:1;5954:9;5947:17;5943:45;5940:71;;;5991:18;;:::i;:::-;-1:-1:-1;6031:9:1;;5878:168::o;6051:217::-;6091:1;6117;6107:132;;6161:10;6156:3;6152:20;6149:1;6142:31;6196:4;6193:1;6186:15;6224:4;6221:1;6214:15;6107:132;-1:-1:-1;6253:9:1;;6051:217::o;6273:125::-;6313:4;6341:1;6338;6335:8;6332:34;;;6346:18;;:::i;:::-;-1:-1:-1;6383:9:1;;6273:125::o;6783:426::-;6912:3;6950:6;6944:13;6975:1;6985:129;6999:6;6996:1;6993:13;6985:129;;;7097:4;7081:14;;;7077:25;;7071:32;7058:11;;;7051:53;7014:12;6985:129;;;7132:6;7129:1;7126:13;7123:48;;;7167:1;7158:6;7153:3;7149:16;7142:27;7123:48;-1:-1:-1;7187:16:1;;;;;6783:426;-1:-1:-1;;6783:426:1:o
Swarm Source
ipfs://8291e8950e790f7781827c56732e35b6baee30634d6bc6c971d50a6cf90f4450
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.998803 | 0.1251 | $0.1249 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.