Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,742 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Redeem | 21297309 | 35 days ago | IN | 0 ETH | 0.00103967 | ||||
Redeem | 21297010 | 35 days ago | IN | 0 ETH | 0.00114245 | ||||
Redeem | 21224269 | 46 days ago | IN | 0 ETH | 0.00233657 | ||||
Redeem | 20392868 | 162 days ago | IN | 0 ETH | 0.00023669 | ||||
Redeem | 20078765 | 206 days ago | IN | 0 ETH | 0.00115272 | ||||
Redeem | 19690960 | 260 days ago | IN | 0 ETH | 0.00140717 | ||||
Redeem | 19545392 | 280 days ago | IN | 0 ETH | 0.0028689 | ||||
Redeem | 19514508 | 285 days ago | IN | 0 ETH | 0.00357136 | ||||
Redeem | 19500154 | 287 days ago | IN | 0 ETH | 0.00207416 | ||||
Redeem | 19123823 | 339 days ago | IN | 0 ETH | 0.00259381 | ||||
Redeem | 19105917 | 342 days ago | IN | 0 ETH | 0.00174763 | ||||
Redeem | 18728085 | 395 days ago | IN | 0 ETH | 0.00865689 | ||||
Redeem | 18722721 | 396 days ago | IN | 0 ETH | 0.0072233 | ||||
Redeem | 18340094 | 449 days ago | IN | 0 ETH | 0.00059699 | ||||
Redeem | 18068648 | 487 days ago | IN | 0 ETH | 0.00128912 | ||||
Redeem | 18054910 | 489 days ago | IN | 0 ETH | 0.0014685 | ||||
Redeem | 17418371 | 578 days ago | IN | 0 ETH | 0.00284477 | ||||
Redeem | 17326501 | 591 days ago | IN | 0 ETH | 0.00477184 | ||||
Redeem | 17246935 | 603 days ago | IN | 0 ETH | 0.00642923 | ||||
Redeem | 17092529 | 624 days ago | IN | 0 ETH | 0.00477001 | ||||
Redeem | 17032239 | 633 days ago | IN | 0 ETH | 0.00324568 | ||||
Redeem | 15963476 | 783 days ago | IN | 0 ETH | 0.00266637 | ||||
Redeem | 15949689 | 785 days ago | IN | 0 ETH | 0.00260702 | ||||
Redeem | 15949667 | 785 days ago | IN | 0 ETH | 0.00042544 | ||||
Redeem | 15521870 | 845 days ago | IN | 0 ETH | 0.00336756 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
4620855 | 2597 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
Redeemer
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-11-25 */ // Redeemer // Copyright 2017 - DappHub // hevm: flattened sources of src/mkr-499.sol pragma solidity ^0.4.15; ////// lib/ds-roles/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-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-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-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-token/lib/ds-stop/src/stop.sol /// stop.sol -- mixin for enable/disable functionality // 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"; */ contract DSStop is DSNote, DSAuth { bool public stopped; modifier stoppable { require(!stopped); _; } function stop() public auth note { stopped = true; } function start() public auth note { stopped = false; } } ////// lib/ds-token/lib/erc20/src/erc20.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.8; */ // Token standard API // https://github.com/ethereum/EIPs/issues/20 contract ERC20 { function totalSupply() public view returns (uint supply); function balanceOf( address who ) public view returns (uint value); function allowance( address owner, address spender ) public view returns (uint _allowance); function transfer( address to, uint value) public returns (bool ok); function transferFrom( address from, address to, uint value) public returns (bool ok); function approve( address spender, uint value ) public returns (bool ok); event Transfer( address indexed from, address indexed to, uint value); event Approval( address indexed owner, address indexed spender, uint value); } ////// lib/ds-token/src/base.sol /// base.sol -- basic ERC20 implementation // Copyright (C) 2015, 2016, 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 "erc20/erc20.sol"; */ /* import "ds-math/math.sol"; */ contract DSTokenBase is ERC20, DSMath { uint256 _supply; mapping (address => uint256) _balances; mapping (address => mapping (address => uint256)) _approvals; function DSTokenBase(uint supply) public { _balances[msg.sender] = supply; _supply = supply; } function totalSupply() public view returns (uint) { return _supply; } function balanceOf(address src) public view returns (uint) { return _balances[src]; } function allowance(address src, address guy) public view returns (uint) { return _approvals[src][guy]; } function transfer(address dst, uint wad) public returns (bool) { return transferFrom(msg.sender, dst, wad); } function transferFrom(address src, address dst, uint wad) public returns (bool) { if (src != msg.sender) { _approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad); } _balances[src] = sub(_balances[src], wad); _balances[dst] = add(_balances[dst], wad); Transfer(src, dst, wad); return true; } function approve(address guy, uint wad) public returns (bool) { _approvals[msg.sender][guy] = wad; Approval(msg.sender, guy, wad); return true; } } ////// lib/ds-token/src/token.sol /// token.sol -- ERC20 implementation with minting and burning // Copyright (C) 2015, 2016, 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-stop/stop.sol"; */ /* import "./base.sol"; */ contract DSToken is DSTokenBase(0), DSStop { bytes32 public symbol; uint256 public decimals = 18; // standard token precision. override to customize function DSToken(bytes32 symbol_) public { symbol = symbol_; } event Mint(address indexed guy, uint wad); event Burn(address indexed guy, uint wad); function approve(address guy) public stoppable returns (bool) { return super.approve(guy, uint(-1)); } function approve(address guy, uint wad) public stoppable returns (bool) { return super.approve(guy, wad); } function transferFrom(address src, address dst, uint wad) public stoppable returns (bool) { if (src != msg.sender && _approvals[src][msg.sender] != uint(-1)) { _approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad); } _balances[src] = sub(_balances[src], wad); _balances[dst] = add(_balances[dst], wad); Transfer(src, dst, wad); return true; } function push(address dst, uint wad) public { transferFrom(msg.sender, dst, wad); } function pull(address src, uint wad) public { transferFrom(src, msg.sender, wad); } function move(address src, address dst, uint wad) public { transferFrom(src, dst, wad); } function mint(uint wad) public { mint(msg.sender, wad); } function burn(uint wad) public { burn(msg.sender, wad); } function mint(address guy, uint wad) public auth stoppable { _balances[guy] = add(_balances[guy], wad); _supply = add(_supply, wad); Mint(guy, wad); } function burn(address guy, uint wad) public auth stoppable { if (guy != msg.sender && _approvals[guy][msg.sender] != uint(-1)) { _approvals[guy][msg.sender] = sub(_approvals[guy][msg.sender], wad); } _balances[guy] = sub(_balances[guy], wad); _supply = sub(_supply, wad); Burn(guy, wad); } // Optional token name bytes32 public name = ""; function setName(bytes32 name_) public auth { name = name_; } } ////// src/mkr-499.sol // (c) Dai Foundation, 2017 /* pragma solidity ^0.4.15; */ /* import 'ds-token/token.sol'; */ //import 'ds-vault/vault.sol'; /* import 'ds-thing/thing.sol'; */ contract Redeemer is DSStop { ERC20 public from; DSToken public to; uint public undo_deadline; function Redeemer(ERC20 from_, DSToken to_, uint undo_deadline_) public { from = from_; to = to_; undo_deadline = undo_deadline_; } function redeem() public stoppable { var wad = from.balanceOf(msg.sender); require(from.transferFrom(msg.sender, this, wad)); to.push(msg.sender, wad); } function undo() public stoppable { var wad = to.balanceOf(msg.sender); require(now < undo_deadline); require(from.transfer(msg.sender, wad)); to.pull(msg.sender, wad); } function reclaim() public auth { require(stopped); var wad = from.balanceOf(this); require(from.transfer(msg.sender, wad)); wad = to.balanceOf(this); to.push(msg.sender, wad); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[],"name":"stop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"to","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stopped","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"authority_","type":"address"}],"name":"setAuthority","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"reclaim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"undo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"undo_deadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"redeem","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"start","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"authority","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"from","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"from_","type":"address"},{"name":"to_","type":"address"},{"name":"undo_deadline_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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"},{"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"}]
Contract Creation Code
6060604052341561000f57600080fd5b604051606080610b7e83398101604052808051919060200180519190602001805160018054600160a060020a03191633600160a060020a031690811790915590925090507fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a260028054600160a060020a03948516600160a060020a0319918216179091556003805493909416921691909117909155600455610abd806100c16000396000f3006060604052600436106100ab5763ffffffff60e060020a60003504166307da68f581146100b057806313151981146100c557806313af4035146100f457806375f12b21146101135780637a9e5e4b1461013a57806380e9071b14610159578063881be8f71461016c5780638da5cb5b1461017f5780639592581414610192578063be040fb0146101b7578063be9a6555146101ca578063bf7e214f146101dd578063d5ce3389146101f0575b600080fd5b34156100bb57600080fd5b6100c3610203565b005b34156100d057600080fd5b6100d86102a2565b604051600160a060020a03909116815260200160405180910390f35b34156100ff57600080fd5b6100c3600160a060020a03600435166102b1565b341561011e57600080fd5b610126610330565b604051901515815260200160405180910390f35b341561014557600080fd5b6100c3600160a060020a0360043516610340565b341561016457600080fd5b6100c36103bf565b341561017757600080fd5b6100c36105da565b341561018a57600080fd5b6100d8610754565b341561019d57600080fd5b6101a5610763565b60405190815260200160405180910390f35b34156101c257600080fd5b6100c3610769565b34156101d557600080fd5b6100c36108e2565b34156101e857600080fd5b6100d861097b565b34156101fb57600080fd5b6100d861098a565b61021933600035600160e060020a031916610999565b151561022457600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506001805474ff0000000000000000000000000000000000000000191660a060020a179055565b600354600160a060020a031681565b6102c733600035600160e060020a031916610999565b15156102d257600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a250565b60015460a060020a900460ff1681565b61035633600035600160e060020a031916610999565b151561036157600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada460405160405180910390a250565b60006103d733600035600160e060020a031916610999565b15156103e257600080fd5b60015460a060020a900460ff1615156103fa57600080fd5b600254600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561045357600080fd5b6102c65a03f1151561046457600080fd5b5050506040518051600254909250600160a060020a0316905063a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156104d057600080fd5b6102c65a03f115156104e157600080fd5b5050506040518051905015156104f657600080fd5b600354600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561054f57600080fd5b6102c65a03f1151561056057600080fd5b5050506040518051600354909250600160a060020a0316905063b753a98c338360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156105c357600080fd5b6102c65a03f115156105d457600080fd5b50505050565b60015460009060a060020a900460ff16156105f457600080fd5b600354600160a060020a03166370a082313360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561064d57600080fd5b6102c65a03f1151561065e57600080fd5b50505060405180516004549092504210905061067957600080fd5b600254600160a060020a031663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156106d857600080fd5b6102c65a03f115156106e957600080fd5b5050506040518051905015156106fe57600080fd5b600354600160a060020a031663f2d5d56b338360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156105c357600080fd5b600154600160a060020a031681565b60045481565b60015460009060a060020a900460ff161561078357600080fd5b600254600160a060020a03166370a082313360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156107dc57600080fd5b6102c65a03f115156107ed57600080fd5b5050506040518051600254909250600160a060020a031690506323b872dd33308460006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561086657600080fd5b6102c65a03f1151561087757600080fd5b50505060405180519050151561088c57600080fd5b600354600160a060020a031663b753a98c338360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156105c357600080fd5b6108f833600035600160e060020a031916610999565b151561090357600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506001805474ff000000000000000000000000000000000000000019169055565b600054600160a060020a031681565b600254600160a060020a031681565b600030600160a060020a031683600160a060020a031614156109bd57506001610a8b565b600154600160a060020a03848116911614156109db57506001610a8b565b600054600160a060020a031615156109f557506000610a8b565b60008054600160a060020a03169063b7009613908590309086906040516020015260405160e060020a63ffffffff8616028152600160a060020a039384166004820152919092166024820152600160e060020a03199091166044820152606401602060405180830381600087803b1515610a6e57600080fd5b6102c65a03f11515610a7f57600080fd5b50505060405180519150505b929150505600a165627a7a723058206214750eab68167a97f6b9292e4eac9574a686de37167d2d2ddf143f2ef6bfda0029000000000000000000000000c66ea802717bfb9833400264dd12c2bceaa34a6d0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2000000000000000000000000000000000000000000000000000000005a97427f
Deployed Bytecode
0x6060604052600436106100ab5763ffffffff60e060020a60003504166307da68f581146100b057806313151981146100c557806313af4035146100f457806375f12b21146101135780637a9e5e4b1461013a57806380e9071b14610159578063881be8f71461016c5780638da5cb5b1461017f5780639592581414610192578063be040fb0146101b7578063be9a6555146101ca578063bf7e214f146101dd578063d5ce3389146101f0575b600080fd5b34156100bb57600080fd5b6100c3610203565b005b34156100d057600080fd5b6100d86102a2565b604051600160a060020a03909116815260200160405180910390f35b34156100ff57600080fd5b6100c3600160a060020a03600435166102b1565b341561011e57600080fd5b610126610330565b604051901515815260200160405180910390f35b341561014557600080fd5b6100c3600160a060020a0360043516610340565b341561016457600080fd5b6100c36103bf565b341561017757600080fd5b6100c36105da565b341561018a57600080fd5b6100d8610754565b341561019d57600080fd5b6101a5610763565b60405190815260200160405180910390f35b34156101c257600080fd5b6100c3610769565b34156101d557600080fd5b6100c36108e2565b34156101e857600080fd5b6100d861097b565b34156101fb57600080fd5b6100d861098a565b61021933600035600160e060020a031916610999565b151561022457600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506001805474ff0000000000000000000000000000000000000000191660a060020a179055565b600354600160a060020a031681565b6102c733600035600160e060020a031916610999565b15156102d257600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9460405160405180910390a250565b60015460a060020a900460ff1681565b61035633600035600160e060020a031916610999565b151561036157600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055167f1abebea81bfa2637f28358c371278fb15ede7ea8dd28d2e03b112ff6d936ada460405160405180910390a250565b60006103d733600035600160e060020a031916610999565b15156103e257600080fd5b60015460a060020a900460ff1615156103fa57600080fd5b600254600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561045357600080fd5b6102c65a03f1151561046457600080fd5b5050506040518051600254909250600160a060020a0316905063a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156104d057600080fd5b6102c65a03f115156104e157600080fd5b5050506040518051905015156104f657600080fd5b600354600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561054f57600080fd5b6102c65a03f1151561056057600080fd5b5050506040518051600354909250600160a060020a0316905063b753a98c338360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156105c357600080fd5b6102c65a03f115156105d457600080fd5b50505050565b60015460009060a060020a900460ff16156105f457600080fd5b600354600160a060020a03166370a082313360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561064d57600080fd5b6102c65a03f1151561065e57600080fd5b50505060405180516004549092504210905061067957600080fd5b600254600160a060020a031663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156106d857600080fd5b6102c65a03f115156106e957600080fd5b5050506040518051905015156106fe57600080fd5b600354600160a060020a031663f2d5d56b338360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156105c357600080fd5b600154600160a060020a031681565b60045481565b60015460009060a060020a900460ff161561078357600080fd5b600254600160a060020a03166370a082313360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156107dc57600080fd5b6102c65a03f115156107ed57600080fd5b5050506040518051600254909250600160a060020a031690506323b872dd33308460006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561086657600080fd5b6102c65a03f1151561087757600080fd5b50505060405180519050151561088c57600080fd5b600354600160a060020a031663b753a98c338360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156105c357600080fd5b6108f833600035600160e060020a031916610999565b151561090357600080fd5b600435602435808233600160a060020a031660008035600160e060020a0319169034903660405183815260406020820181815290820183905260608201848480828437820191505094505050505060405180910390a450506001805474ff000000000000000000000000000000000000000019169055565b600054600160a060020a031681565b600254600160a060020a031681565b600030600160a060020a031683600160a060020a031614156109bd57506001610a8b565b600154600160a060020a03848116911614156109db57506001610a8b565b600054600160a060020a031615156109f557506000610a8b565b60008054600160a060020a03169063b7009613908590309086906040516020015260405160e060020a63ffffffff8616028152600160a060020a039384166004820152919092166024820152600160e060020a03199091166044820152606401602060405180830381600087803b1515610a6e57600080fd5b6102c65a03f11515610a7f57600080fd5b50505060405180519150505b929150505600a165627a7a723058206214750eab68167a97f6b9292e4eac9574a686de37167d2d2ddf143f2ef6bfda0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c66ea802717bfb9833400264dd12c2bceaa34a6d0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2000000000000000000000000000000000000000000000000000000005a97427f
-----Decoded View---------------
Arg [0] : from_ (address): 0xC66eA802717bFb9833400264Dd12c2bCeAa34a6d
Arg [1] : to_ (address): 0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
Arg [2] : undo_deadline_ (uint256): 1519862399
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000c66ea802717bfb9833400264dd12c2bceaa34a6d
Arg [1] : 0000000000000000000000009f8f72aa9304c8b593d555f12ef6589cc3a579a2
Arg [2] : 000000000000000000000000000000000000000000000000000000005a97427f
Swarm Source
bzzr://6214750eab68167a97f6b9292e4eac9574a686de37167d2d2ddf143f2ef6bfda
Loading...
Loading
Loading...
Loading
OVERVIEW
This contract redeems original MKR tokens for the current MKR token.Loading...
Loading
[ Download: CSV Export ]
[ 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.