ETH Price: $2,465.58 (-5.90%)

Contract

0x642AE78FAfBB8032Da552D619aD43F1D81E4DD7C
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Redeem203928682024-07-26 19:39:4767 days ago1722022787IN
Maker DAO: Redeemer
0 ETH0.000236691.81582778
Redeem200787652024-06-12 22:34:59111 days ago1718231699IN
Maker DAO: Redeemer
0 ETH0.0011527210.17849734
Redeem196909602024-04-19 17:26:23165 days ago1713547583IN
Maker DAO: Redeemer
0 ETH0.0014071710.79524899
Redeem195453922024-03-30 7:48:35185 days ago1711784915IN
Maker DAO: Redeemer
0 ETH0.002868922.00904116
Redeem195145082024-03-25 22:40:23190 days ago1711406423IN
Maker DAO: Redeemer
0 ETH0.0035713627.39804798
Redeem195001542024-03-23 22:06:23192 days ago1711231583IN
Maker DAO: Redeemer
0 ETH0.0020741615.91216834
Redeem191238232024-01-31 3:34:23244 days ago1706672063IN
Maker DAO: Redeemer
0 ETH0.0025938119.89870847
Redeem191059172024-01-28 15:27:11247 days ago1706455631IN
Maker DAO: Redeemer
0 ETH0.0017476313.40718156
Redeem187280852023-12-06 15:10:11300 days ago1701875411IN
Maker DAO: Redeemer
0 ETH0.0086568966.41222173
Redeem187227212023-12-05 21:07:47301 days ago1701810467IN
Maker DAO: Redeemer
0 ETH0.007223355.41423652
Redeem183400942023-10-13 7:50:59354 days ago1697183459IN
Maker DAO: Redeemer
0 ETH0.000596995.48448026
Redeem180686482023-09-05 6:59:47392 days ago1693897187IN
Maker DAO: Redeemer
0 ETH0.001289129.88962544
Redeem180549102023-09-03 8:54:35394 days ago1693731275IN
Maker DAO: Redeemer
0 ETH0.001468511.26580797
Redeem174183712023-06-06 2:12:35483 days ago1686017555IN
Maker DAO: Redeemer
0 ETH0.0028447721.82392849
Redeem173265012023-05-24 3:52:35496 days ago1684900355IN
Maker DAO: Redeemer
0 ETH0.0047718442.13513496
Redeem172469352023-05-12 22:31:23508 days ago1683930683IN
Maker DAO: Redeemer
0 ETH0.0064292349.32245815
Redeem170925292023-04-21 4:54:59529 days ago1682052899IN
Maker DAO: Redeemer
0 ETH0.0047700136.59364379
Redeem170322392023-04-12 13:31:47538 days ago1681306307IN
Maker DAO: Redeemer
0 ETH0.0032456824.89959953
Redeem159634762022-11-13 20:24:35688 days ago1668371075IN
Maker DAO: Redeemer
0 ETH0.0026663720.4553427
Redeem159496892022-11-11 22:15:11690 days ago1668204911IN
Maker DAO: Redeemer
0 ETH0.0026070220
Redeem159496672022-11-11 22:10:47690 days ago1668204647IN
Maker DAO: Redeemer
0 ETH0.0004254420
Redeem155218702022-09-12 16:30:47750 days ago1663000247IN
Maker DAO: Redeemer
0 ETH0.0033675630.93738026
Redeem154304762022-08-28 22:36:51765 days ago1661726211IN
Maker DAO: Redeemer
0 ETH0.0029897822.93643119
Redeem153366652022-08-14 0:46:17780 days ago1660437977IN
Maker DAO: Redeemer
0 ETH0.000869676.67179953
Redeem152935092022-08-07 6:23:19786 days ago1659853399IN
Maker DAO: Redeemer
0 ETH0.001058388.11952721
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
46208552017-11-25 18:24:172502 days ago1511634257  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

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

Contract ABI

[{"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"}]

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

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

This contract redeems original MKR tokens for the current MKR token.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.