Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 7 from a total of 7 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Poke | 8298663 | 1749 days ago | IN | 0 ETH | 0.00006383 | ||||
Set Owner | 4755939 | 2345 days ago | IN | 0 ETH | 0.00060597 | ||||
Set Authority | 4755934 | 2345 days ago | IN | 0 ETH | 0.0009534 | ||||
Set | 4755686 | 2345 days ago | IN | 0 ETH | 0.00083448 | ||||
Set | 4743252 | 2347 days ago | IN | 0 ETH | 0.00050068 | ||||
Set | 4742925 | 2347 days ago | IN | 0 ETH | 0.00050068 | ||||
0x60606040 | 4742900 | 2347 days ago | IN | Create: Medianizer | 0 ETH | 0.00502093 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Medianizer
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-12-16 */ // Medianizer // Copyright (C) 2017 Dapphub // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. // hevm: flattened sources of src/medianizer.sol pragma solidity ^0.4.18; ////// lib/ds-value/lib/ds-thing/lib/ds-auth/src/auth.sol // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. /* pragma solidity ^0.4.13; */ contract DSAuthority { function canCall( address src, address dst, bytes4 sig ) public view returns (bool); } contract DSAuthEvents { event LogSetAuthority (address indexed authority); event LogSetOwner (address indexed owner); } contract DSAuth is DSAuthEvents { DSAuthority public authority; address public owner; function DSAuth() public { owner = msg.sender; LogSetOwner(msg.sender); } function setOwner(address owner_) public auth { owner = owner_; LogSetOwner(owner); } function setAuthority(DSAuthority authority_) public auth { authority = authority_; LogSetAuthority(authority); } modifier auth { require(isAuthorized(msg.sender, msg.sig)); _; } function isAuthorized(address src, bytes4 sig) internal view returns (bool) { if (src == address(this)) { return true; } else if (src == owner) { return true; } else if (authority == DSAuthority(0)) { return false; } else { return authority.canCall(src, this, sig); } } } ////// lib/ds-value/lib/ds-thing/lib/ds-math/src/math.sol /// math.sol -- mixin for inline numerical wizardry // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. /* pragma solidity ^0.4.13; */ contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x); } function mul(uint x, uint y) internal pure returns (uint z) { require(y == 0 || (z = x * y) / y == x); } function min(uint x, uint y) internal pure returns (uint z) { return x <= y ? x : y; } function max(uint x, uint y) internal pure returns (uint z) { return x >= y ? x : y; } function imin(int x, int y) internal pure returns (int z) { return x <= y ? x : y; } function imax(int x, int y) internal pure returns (int z) { return x >= y ? x : y; } uint constant WAD = 10 ** 18; uint constant RAY = 10 ** 27; function wmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), WAD / 2) / WAD; } function rmul(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, y), RAY / 2) / RAY; } function wdiv(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, WAD), y / 2) / y; } function rdiv(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, RAY), y / 2) / y; } // This famous algorithm is called "exponentiation by squaring" // and calculates x^n with x as fixed-point and n as regular unsigned. // // It's O(log n), instead of O(n) for naive repeated multiplication. // // These facts are why it works: // // If n is even, then x^n = (x^2)^(n/2). // If n is odd, then x^n = x * x^(n-1), // and applying the equation for even x gives // x^n = x * (x^2)^((n-1) / 2). // // Also, EVM division is flooring and // floor[(n-1) / 2] = floor[n / 2]. // function rpow(uint x, uint n) internal pure returns (uint z) { z = n % 2 != 0 ? x : RAY; for (n /= 2; n != 0; n /= 2) { x = rmul(x, x); if (n % 2 != 0) { z = rmul(z, x); } } } } ////// lib/ds-value/lib/ds-thing/lib/ds-note/src/note.sol /// note.sol -- the `note' modifier, for logging calls as events // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. /* pragma solidity ^0.4.13; */ contract DSNote { event LogNote( bytes4 indexed sig, address indexed guy, bytes32 indexed foo, bytes32 indexed bar, uint wad, bytes fax ) anonymous; modifier note { bytes32 foo; bytes32 bar; assembly { foo := calldataload(4) bar := calldataload(36) } LogNote(msg.sig, msg.sender, foo, bar, msg.value, msg.data); _; } } ////// lib/ds-value/lib/ds-thing/src/thing.sol // thing.sol - `auth` with handy mixins. your things should be DSThings // Copyright (C) 2017 DappHub, LLC // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. /* pragma solidity ^0.4.13; */ /* import 'ds-auth/auth.sol'; */ /* import 'ds-note/note.sol'; */ /* import 'ds-math/math.sol'; */ contract DSThing is DSAuth, DSNote, DSMath { } ////// lib/ds-value/src/value.sol /// value.sol - a value is a simple thing, it can be get and set // Copyright (C) 2017 DappHub, LLC // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. /* pragma solidity ^0.4.13; */ /* import 'ds-thing/thing.sol'; */ contract DSValue is DSThing { bool has; bytes32 val; function peek() public view returns (bytes32, bool) { return (val,has); } function read() public view returns (bytes32) { var (wut, haz) = peek(); assert(haz); return wut; } function poke(bytes32 wut) public note auth { val = wut; has = true; } function void() public note auth { // unset the value has = false; } } ////// src/medianizer.sol /* pragma solidity ^0.4.18; */ /* import 'ds-value/value.sol'; */ contract MedianizerEvents { event LogValue(bytes32 val); } contract Medianizer is DSValue, MedianizerEvents { mapping (bytes12 => address) public values; mapping (address => bytes12) public indexes; bytes12 public next = 0x1; uint96 public min = 0x1; function set(address wat) public auth { bytes12 nextId = bytes12(uint96(next) + 1); assert(nextId != 0x0); this.set(next, wat); next = nextId; } function set(bytes12 pos, address wat) public note auth { require(pos != 0x0); require(wat == 0 || indexes[wat] == 0); indexes[values[pos]] = 0x0; // Making sure to remove a possible existing address in that position if (wat != 0) { indexes[wat] = pos; } values[pos] = wat; } function setMin(uint96 min_) public note auth { require(min_ != 0x0); min = min_; } function setNext(bytes12 next_) public note auth { require(next_ != 0x0); next = next_; } function unset(bytes12 pos) public auth { this.set(pos, 0); } function unset(address wat) public auth { this.set(indexes[wat], 0); } function poke() public { poke(0); } function poke(bytes32) public note { (val, has) = compute(); LogValue(val); } function compute() public constant returns (bytes32, bool) { bytes32[] memory wuts = new bytes32[](uint96(next) - 1); uint96 ctr = 0; for (uint96 i = 1; i < uint96(next); i++) { if (values[bytes12(i)] != 0) { var (wut, wuz) = DSValue(values[bytes12(i)]).peek(); if (wuz) { if (ctr == 0 || wut >= wuts[ctr - 1]) { wuts[ctr] = wut; } else { uint96 j = 0; while (wut >= wuts[j]) { j++; } for (uint96 k = ctr; k > j; k--) { wuts[k] = wuts[k - 1]; } wuts[j] = wut; } ctr++; } } } if (ctr < min) { return (val, false); } bytes32 value; if (ctr % 2 == 0) { uint128 val1 = uint128(wuts[(ctr / 2) - 1]); uint128 val2 = uint128(wuts[ctr / 2]); value = bytes32(wdiv(add(val1, val2), 2 ether)); } else { value = wuts[(ctr - 1) / 2]; } return (value, true); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"","type":"bytes32"}],"name":"poke","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"poke","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"compute","outputs":[{"name":"","type":"bytes32"},{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"wat","type":"address"}],"name":"set","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"wat","type":"address"}],"name":"unset","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"indexes","outputs":[{"name":"","type":"bytes12"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"next","outputs":[{"name":"","type":"bytes12"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"read","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"peek","outputs":[{"name":"","type":"bytes32"},{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes12"}],"name":"values","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"min_","type":"uint96"}],"name":"setMin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"authority_","type":"address"}],"name":"setAuthority","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"void","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"pos","type":"bytes12"},{"name":"wat","type":"address"}],"name":"set","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"authority","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"pos","type":"bytes12"}],"name":"unset","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"next_","type":"bytes12"}],"name":"setNext","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"min","outputs":[{"name":"","type":"uint96"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"val","type":"bytes32"}],"name":"LogValue","type":"event"},{"anonymous":true,"inputs":[{"indexed":true,"name":"sig","type":"bytes4"},{"indexed":true,"name":"guy","type":"address"},{"indexed":true,"name":"foo","type":"bytes32"},{"indexed":true,"name":"bar","type":"bytes32"},{"indexed":false,"name":"wad","type":"uint256"},{"indexed":false,"name":"fax","type":"bytes"}],"name":"LogNote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"authority","type":"address"}],"name":"LogSetAuthority","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"}],"name":"LogSetOwner","type":"event"}]
Contract Creation Code
60606040908152600580546c0100000000000000000000000060016001606060020a03199092168217606060020a60c060020a031916179091558054600160a060020a03191633600160a060020a0316908117909155907fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed94905160405180910390a26110f6806100906000396000f3006060604052600436106100f85763ffffffff60e060020a60003504166313af403581146100fd5780631504460f1461011e57806318178358146101345780631a43c338146101475780632801617e146101745780632966d1b9146101935780632db78d93146101b25780634c8fe526146101ee57806357de26a41461020157806359e02dd714610226578063651dd0de146102395780636ba5ef0d146102755780637a9e5e4b146102945780638da5cb5b146102b3578063ac4c25b2146102c6578063beb38b43146102d9578063bf7e214f14610305578063e0a1fdad14610318578063f2c5925d14610338578063f889794514610358575b600080fd5b341561010857600080fd5b61011c600160a060020a0360043516610387565b005b341561012957600080fd5b61011c6004356103f9565b341561013f57600080fd5b61011c6104c1565b341561015257600080fd5b61015a6104cd565b604051918252151560208201526040908101905180910390f35b341561017f57600080fd5b61011c600160a060020a0360043516610875565b341561019e57600080fd5b61011c600160a060020a036004351661095f565b34156101bd57600080fd5b6101d1600160a060020a0360043516610a11565b604051600160a060020a0319909116815260200160405180910390f35b34156101f957600080fd5b6101d1610a29565b341561020c57600080fd5b610214610a35565b60405190815260200160405180910390f35b341561023157600080fd5b61015a610a55565b341561024457600080fd5b610259600160a060020a031960043516610a6a565b604051600160a060020a03909116815260200160405180910390f35b341561028057600080fd5b61011c6001606060020a0360043516610a85565b341561029f57600080fd5b61011c600160a060020a0360043516610b56565b34156102be57600080fd5b610259610bc8565b34156102d157600080fd5b61011c610bd7565b34156102e457600080fd5b61011c600160a060020a031960043516602435600160a060020a0316610c70565b341561031057600080fd5b610259610df6565b341561032357600080fd5b61011c600160a060020a031960043516610e05565b341561034357600080fd5b61011c600160a060020a031960043516610e85565b341561036357600080fd5b61036b610f37565b6040516001606060020a03909116815260200160405180910390f35b61039d33600035600160e060020a031916610f56565b15156103a857600080fd5b60018054600160a060020a031916600160a060020a038381169190911791829055167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a250565b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a46104576104cd565b6001805491151560a060020a0274ff00000000000000000000000000000000000000001990921691909117905560028190557f296ba4ca62c6c21c95e828080cb8aec7481b71390585605300a8a76f9e95b5279060405190815260200160405180910390a1505050565b6104cb60006103f9565b565b6000806104d86110b8565b60008060008060008060008060006001600560009054906101000a900460a060020a0260a060020a9004036001606060020a03166040518059106105195750595b9080825280602002602001820160405250995060009850600197505b60055460a060020a908102046001606060020a03908116908916101561074657600160a060020a031960a060020a890216600090815260036020526040902054600160a060020a03161561073b57600160a060020a031960a060020a89021660009081526003602052604080822054600160a060020a0316916359e02dd79151604001526040518163ffffffff1660e060020a0281526004016040805180830381600087803b15156105e657600080fd5b6102c65a03f115156105f757600080fd5b5050506040518051906020018051905096509650851561073b576001606060020a038916158061064857508960018a036001606060020a03168151811061063a57fe5b906020019060200201518710155b1561067257868a8a6001606060020a03168151811061066357fe5b60209081029091010152610734565b600094505b89856001606060020a03168151811061068c57fe5b9060200190602002015187106106a757600190940193610677565b8893505b846001606060020a0316846001606060020a031611156107135789600185036001606060020a0316815181106106dd57fe5b906020019060200201518a856001606060020a0316815181106106fc57fe5b6020908102909101015260001993909301926106ab565b868a866001606060020a03168151811061072957fe5b602090810290910101525b6001909801975b600190970196610535565b6005546001606060020a036c010000000000000000000000009091048116908a16101561077b5760025460009b509b50610867565b60026001606060020a038a16066001606060020a03166000141561082d5789600160026001606060020a038c1604036001606060020a0316815181106107bd57fe5b9060200190602002015191508960026001606060020a038b16046001606060020a0316815181106107ea57fe5b9060200190602002015190506108266108186fffffffffffffffffffffffffffffffff80851690841661104e565b671bc16d674ec8000061105e565b925061085f565b8960026001606060020a036000198c0116046001606060020a03168151811061085257fe5b9060200190602002015192505b8260019b509b505b505050505050505050509091565b600061088d33600035600160e060020a031916610f56565b151561089857600080fd5b5060055460a060020a90810281900460010102600160a060020a0319811615156108be57fe5b600554600160a060020a0330169063beb38b439060a060020a028460405160e060020a63ffffffff8516028152600160a060020a03199092166004830152600160a060020a03166024820152604401600060405180830381600087803b151561092657600080fd5b6102c65a03f1151561093757600080fd5b5050600580546bffffffffffffffffffffffff191660a060020a909304929092179091555050565b61097533600035600160e060020a031916610f56565b151561098057600080fd5b600160a060020a0381811660009081526004602052604080822054309093169263beb38b439260a060020a909102915160e060020a63ffffffff8516028152600160a060020a03199092166004830152600160a060020a03166024820152604401600060405180830381600087803b15156109fa57600080fd5b6102c65a03f11515610a0b57600080fd5b50505050565b60046020526000908152604090205460a060020a0281565b60055460a060020a0281565b6000806000610a42610a55565b91509150801515610a4f57fe5b50919050565b60025460015460ff60a060020a909104169091565b600360205260009081526040902054600160a060020a031681565b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4610af133600035600160e060020a031916610f56565b1515610afc57600080fd5b6001606060020a0383161515610b1157600080fd5b5050600580546001606060020a039092166c010000000000000000000000000277ffffffffffffffffffffffff00000000000000000000000019909216919091179055565b610b6c33600035600160e060020a031916610f56565b1515610b7757600080fd5b60008054600160a060020a031916600160a060020a038381169190911791829055167f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada460405160405180910390a250565b600154600160a060020a031681565b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4610c4333600035600160e060020a031916610f56565b1515610c4e57600080fd5b50506001805474ff000000000000000000000000000000000000000019169055565b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4610cdc33600035600160e060020a031916610f56565b1515610ce757600080fd5b600160a060020a031984161515610cfd57600080fd5b600160a060020a0383161580610d395750600160a060020a03831660009081526004602052604090205460a060020a02600160a060020a031916155b1515610d4457600080fd5b600160a060020a03198416600090815260036020908152604080832054600160a060020a039081168452600490925290912080546bffffffffffffffffffffffff19169055831615610dc457600160a060020a038316600090815260046020526040902080546bffffffffffffffffffffffff191660a060020a86041790555b5050600160a060020a031991821660009081526003602052604090208054600160a060020a0390921691909216179055565b600054600160a060020a031681565b610e1b33600035600160e060020a031916610f56565b1515610e2657600080fd5b30600160a060020a031663beb38b4382600060405160e060020a63ffffffff8516028152600160a060020a03199092166004830152600160a060020a03166024820152604401600060405180830381600087803b15156109fa57600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4610ef133600035600160e060020a031916610f56565b1515610efc57600080fd5b600160a060020a031983161515610f1257600080fd5b5050600580546bffffffffffffffffffffffff191660a060020a909204919091179055565b6005546c0100000000000000000000000090046001606060020a031681565b600030600160a060020a031683600160a060020a03161415610f7a57506001611048565b600154600160a060020a0384811691161415610f9857506001611048565b600054600160a060020a03161515610fb257506000611048565b60008054600160a060020a03169063b7009613908590309086906040516020015260405160e060020a63ffffffff8616028152600160a060020a039384166004820152919092166024820152600160e060020a03199091166044820152606401602060405180830381600087803b151561102b57600080fd5b6102c65a03f1151561103c57600080fd5b50505060405180519150505b92915050565b8082018281101561104857600080fd5b60008161107f61107685670de0b6b3a7640000611090565b6002850461104e565b81151561108857fe5b049392505050565b60008115806110ad5750508082028282828115156110aa57fe5b04145b151561104857600080fd5b602060405190810160405260008152905600a165627a7a7230582010c62cef3298c2c1026b6994790faac993525c7e1f4a9b2cc64009e24a3b91390029
Deployed Bytecode
0x6060604052600436106100f85763ffffffff60e060020a60003504166313af403581146100fd5780631504460f1461011e57806318178358146101345780631a43c338146101475780632801617e146101745780632966d1b9146101935780632db78d93146101b25780634c8fe526146101ee57806357de26a41461020157806359e02dd714610226578063651dd0de146102395780636ba5ef0d146102755780637a9e5e4b146102945780638da5cb5b146102b3578063ac4c25b2146102c6578063beb38b43146102d9578063bf7e214f14610305578063e0a1fdad14610318578063f2c5925d14610338578063f889794514610358575b600080fd5b341561010857600080fd5b61011c600160a060020a0360043516610387565b005b341561012957600080fd5b61011c6004356103f9565b341561013f57600080fd5b61011c6104c1565b341561015257600080fd5b61015a6104cd565b604051918252151560208201526040908101905180910390f35b341561017f57600080fd5b61011c600160a060020a0360043516610875565b341561019e57600080fd5b61011c600160a060020a036004351661095f565b34156101bd57600080fd5b6101d1600160a060020a0360043516610a11565b604051600160a060020a0319909116815260200160405180910390f35b34156101f957600080fd5b6101d1610a29565b341561020c57600080fd5b610214610a35565b60405190815260200160405180910390f35b341561023157600080fd5b61015a610a55565b341561024457600080fd5b610259600160a060020a031960043516610a6a565b604051600160a060020a03909116815260200160405180910390f35b341561028057600080fd5b61011c6001606060020a0360043516610a85565b341561029f57600080fd5b61011c600160a060020a0360043516610b56565b34156102be57600080fd5b610259610bc8565b34156102d157600080fd5b61011c610bd7565b34156102e457600080fd5b61011c600160a060020a031960043516602435600160a060020a0316610c70565b341561031057600080fd5b610259610df6565b341561032357600080fd5b61011c600160a060020a031960043516610e05565b341561034357600080fd5b61011c600160a060020a031960043516610e85565b341561036357600080fd5b61036b610f37565b6040516001606060020a03909116815260200160405180910390f35b61039d33600035600160e060020a031916610f56565b15156103a857600080fd5b60018054600160a060020a031916600160a060020a038381169190911791829055167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a250565b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a46104576104cd565b6001805491151560a060020a0274ff00000000000000000000000000000000000000001990921691909117905560028190557f296ba4ca62c6c21c95e828080cb8aec7481b71390585605300a8a76f9e95b5279060405190815260200160405180910390a1505050565b6104cb60006103f9565b565b6000806104d86110b8565b60008060008060008060008060006001600560009054906101000a900460a060020a0260a060020a9004036001606060020a03166040518059106105195750595b9080825280602002602001820160405250995060009850600197505b60055460a060020a908102046001606060020a03908116908916101561074657600160a060020a031960a060020a890216600090815260036020526040902054600160a060020a03161561073b57600160a060020a031960a060020a89021660009081526003602052604080822054600160a060020a0316916359e02dd79151604001526040518163ffffffff1660e060020a0281526004016040805180830381600087803b15156105e657600080fd5b6102c65a03f115156105f757600080fd5b5050506040518051906020018051905096509650851561073b576001606060020a038916158061064857508960018a036001606060020a03168151811061063a57fe5b906020019060200201518710155b1561067257868a8a6001606060020a03168151811061066357fe5b60209081029091010152610734565b600094505b89856001606060020a03168151811061068c57fe5b9060200190602002015187106106a757600190940193610677565b8893505b846001606060020a0316846001606060020a031611156107135789600185036001606060020a0316815181106106dd57fe5b906020019060200201518a856001606060020a0316815181106106fc57fe5b6020908102909101015260001993909301926106ab565b868a866001606060020a03168151811061072957fe5b602090810290910101525b6001909801975b600190970196610535565b6005546001606060020a036c010000000000000000000000009091048116908a16101561077b5760025460009b509b50610867565b60026001606060020a038a16066001606060020a03166000141561082d5789600160026001606060020a038c1604036001606060020a0316815181106107bd57fe5b9060200190602002015191508960026001606060020a038b16046001606060020a0316815181106107ea57fe5b9060200190602002015190506108266108186fffffffffffffffffffffffffffffffff80851690841661104e565b671bc16d674ec8000061105e565b925061085f565b8960026001606060020a036000198c0116046001606060020a03168151811061085257fe5b9060200190602002015192505b8260019b509b505b505050505050505050509091565b600061088d33600035600160e060020a031916610f56565b151561089857600080fd5b5060055460a060020a90810281900460010102600160a060020a0319811615156108be57fe5b600554600160a060020a0330169063beb38b439060a060020a028460405160e060020a63ffffffff8516028152600160a060020a03199092166004830152600160a060020a03166024820152604401600060405180830381600087803b151561092657600080fd5b6102c65a03f1151561093757600080fd5b5050600580546bffffffffffffffffffffffff191660a060020a909304929092179091555050565b61097533600035600160e060020a031916610f56565b151561098057600080fd5b600160a060020a0381811660009081526004602052604080822054309093169263beb38b439260a060020a909102915160e060020a63ffffffff8516028152600160a060020a03199092166004830152600160a060020a03166024820152604401600060405180830381600087803b15156109fa57600080fd5b6102c65a03f11515610a0b57600080fd5b50505050565b60046020526000908152604090205460a060020a0281565b60055460a060020a0281565b6000806000610a42610a55565b91509150801515610a4f57fe5b50919050565b60025460015460ff60a060020a909104169091565b600360205260009081526040902054600160a060020a031681565b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4610af133600035600160e060020a031916610f56565b1515610afc57600080fd5b6001606060020a0383161515610b1157600080fd5b5050600580546001606060020a039092166c010000000000000000000000000277ffffffffffffffffffffffff00000000000000000000000019909216919091179055565b610b6c33600035600160e060020a031916610f56565b1515610b7757600080fd5b60008054600160a060020a031916600160a060020a038381169190911791829055167f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada460405160405180910390a250565b600154600160a060020a031681565b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4610c4333600035600160e060020a031916610f56565b1515610c4e57600080fd5b50506001805474ff000000000000000000000000000000000000000019169055565b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4610cdc33600035600160e060020a031916610f56565b1515610ce757600080fd5b600160a060020a031984161515610cfd57600080fd5b600160a060020a0383161580610d395750600160a060020a03831660009081526004602052604090205460a060020a02600160a060020a031916155b1515610d4457600080fd5b600160a060020a03198416600090815260036020908152604080832054600160a060020a039081168452600490925290912080546bffffffffffffffffffffffff19169055831615610dc457600160a060020a038316600090815260046020526040902080546bffffffffffffffffffffffff191660a060020a86041790555b5050600160a060020a031991821660009081526003602052604090208054600160a060020a0390921691909216179055565b600054600160a060020a031681565b610e1b33600035600160e060020a031916610f56565b1515610e2657600080fd5b30600160a060020a031663beb38b4382600060405160e060020a63ffffffff8516028152600160a060020a03199092166004830152600160a060020a03166024820152604401600060405180830381600087803b15156109fa57600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a4610ef133600035600160e060020a031916610f56565b1515610efc57600080fd5b600160a060020a031983161515610f1257600080fd5b5050600580546bffffffffffffffffffffffff191660a060020a909204919091179055565b6005546c0100000000000000000000000090046001606060020a031681565b600030600160a060020a031683600160a060020a03161415610f7a57506001611048565b600154600160a060020a0384811691161415610f9857506001611048565b600054600160a060020a03161515610fb257506000611048565b60008054600160a060020a03169063b7009613908590309086906040516020015260405160e060020a63ffffffff8616028152600160a060020a039384166004820152919092166024820152600160e060020a03199091166044820152606401602060405180830381600087803b151561102b57600080fd5b6102c65a03f1151561103c57600080fd5b50505060405180519150505b92915050565b8082018281101561104857600080fd5b60008161107f61107685670de0b6b3a7640000611090565b6002850461104e565b81151561108857fe5b049392505050565b60008115806110ad5750508082028282828115156110aa57fe5b04145b151561104857600080fd5b602060405190810160405260008152905600a165627a7a7230582010c62cef3298c2c1026b6994790faac993525c7e1f4a9b2cc64009e24a3b91390029
Swarm Source
bzzr://10c62cef3298c2c1026b6994790faac993525c7e1f4a9b2cc64009e24a3b9139
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 25 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.