ETH Price: $3,185.43 (+3.21%)

Contract

0x3BC3A58b4FC1CbE7e98bB4aB7c99535e8bA9b8F1
 
Transaction Hash
Method
Block
From
To
Exit140521532022-01-22 0:41:101031 days ago1642812070IN
Sky: MCD Join UNI A
0 ETH0.02599524374
Exit124912262021-05-23 14:57:531275 days ago1621781873IN
Sky: MCD Join UNI A
0 ETH0.02607563301
Exit124652672021-05-19 14:06:351279 days ago1621433195IN
Sky: MCD Join UNI A
0 ETH0.072883521,017.5
Exit124652512021-05-19 14:02:211279 days ago1621432941IN
Sky: MCD Join UNI A
0 ETH0.081418131,136.839
Exit124652512021-05-19 14:02:211279 days ago1621432941IN
Sky: MCD Join UNI A
0 ETH0.081550491,138.30566666
Exit124633002021-05-19 6:47:571279 days ago1621406877IN
Sky: MCD Join UNI A
0 ETH0.01049903151
Exit124526232021-05-17 15:07:151281 days ago1621264035IN
Sky: MCD Join UNI A
0 ETH0.0051994672.6
Exit119152172021-02-23 19:16:451363 days ago1614107805IN
Sky: MCD Join UNI A
0 ETH0.01792114230
Exit119152072021-02-23 19:15:081363 days ago1614107708IN
Sky: MCD Join UNI A
0 ETH0.00607662220
Exit119151792021-02-23 19:09:371363 days ago1614107377IN
Sky: MCD Join UNI A
0 ETH0.01532016243.49416666
Exit119151712021-02-23 19:07:261363 days ago1614107246IN
Sky: MCD Join UNI A
0 ETH0.01811923288.03666666
Exit119151502021-02-23 19:04:171363 days ago1614107057IN
Sky: MCD Join UNI A
0 ETH0.01474235234.31063333
Exit119151502021-02-23 19:04:171363 days ago1614107057IN
Sky: MCD Join UNI A
0 ETH0.01526895242.63396666
Exit119143392021-02-23 16:14:461364 days ago1614096886IN
Sky: MCD Join UNI A
0 ETH0.0421077669.24733333
Exit117775372021-02-02 15:08:461385 days ago1612278526IN
Sky: MCD Join UNI A
0 ETH0.01349045214.41333333
Exit117775152021-02-02 15:03:491385 days ago1612278229IN
Sky: MCD Join UNI A
0 ETH0.01396213221.91
Exit116367722021-01-12 0:04:091406 days ago1610409849IN
Sky: MCD Join UNI A
0 ETH0.0072338114.95
Exit115034292020-12-22 13:02:161427 days ago1608642136IN
Sky: MCD Join UNI A
0 ETH0.0035435256.30900055
Deny114209552020-12-09 20:49:031439 days ago1607546943IN
Sky: MCD Join UNI A
0 ETH0.0009707157
Rely114209212020-12-09 20:43:531439 days ago1607546633IN
Sky: MCD Join UNI A
0 ETH0.0026813357
0x60806040114207072020-12-09 20:00:531439 days ago1607544053IN
 Create: GemJoin
0 ETH0.05299557

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
192341152024-02-15 15:06:35277 days ago1708009595
0x3BC3A58b...e8bA9b8F1
0 ETH
192341152024-02-15 15:06:35277 days ago1708009595
0x3BC3A58b...e8bA9b8F1
0 ETH
192341152024-02-15 15:06:35277 days ago1708009595
0x3BC3A58b...e8bA9b8F1
0 ETH
192341152024-02-15 15:06:35277 days ago1708009595
0x3BC3A58b...e8bA9b8F1
0 ETH
188841982023-12-28 12:47:11326 days ago1703767631
0x3BC3A58b...e8bA9b8F1
0 ETH
188841982023-12-28 12:47:11326 days ago1703767631
0x3BC3A58b...e8bA9b8F1
0 ETH
188841982023-12-28 12:47:11326 days ago1703767631
0x3BC3A58b...e8bA9b8F1
0 ETH
188841982023-12-28 12:47:11326 days ago1703767631
0x3BC3A58b...e8bA9b8F1
0 ETH
188841982023-12-28 12:47:11326 days ago1703767631
0x3BC3A58b...e8bA9b8F1
0 ETH
160088102022-11-20 4:21:59729 days ago1668918119
0x3BC3A58b...e8bA9b8F1
0 ETH
160088102022-11-20 4:21:59729 days ago1668918119
0x3BC3A58b...e8bA9b8F1
0 ETH
160088102022-11-20 4:21:59729 days ago1668918119
0x3BC3A58b...e8bA9b8F1
0 ETH
160088102022-11-20 4:21:59729 days ago1668918119
0x3BC3A58b...e8bA9b8F1
0 ETH
160088102022-11-20 4:21:59729 days ago1668918119
0x3BC3A58b...e8bA9b8F1
0 ETH
159816652022-11-16 9:22:59733 days ago1668590579
0x3BC3A58b...e8bA9b8F1
0 ETH
159816652022-11-16 9:22:59733 days ago1668590579
0x3BC3A58b...e8bA9b8F1
0 ETH
159816652022-11-16 9:22:59733 days ago1668590579
0x3BC3A58b...e8bA9b8F1
0 ETH
159816652022-11-16 9:22:59733 days ago1668590579
0x3BC3A58b...e8bA9b8F1
0 ETH
159816652022-11-16 9:22:59733 days ago1668590579
0x3BC3A58b...e8bA9b8F1
0 ETH
154128272022-08-26 2:50:24815 days ago1661482224
0x3BC3A58b...e8bA9b8F1
0 ETH
154128272022-08-26 2:50:24815 days ago1661482224
0x3BC3A58b...e8bA9b8F1
0 ETH
154128272022-08-26 2:50:24815 days ago1661482224
0x3BC3A58b...e8bA9b8F1
0 ETH
154128272022-08-26 2:50:24815 days ago1661482224
0x3BC3A58b...e8bA9b8F1
0 ETH
154128272022-08-26 2:50:24815 days ago1661482224
0x3BC3A58b...e8bA9b8F1
0 ETH
152593482022-08-01 22:30:30839 days ago1659393030
0x3BC3A58b...e8bA9b8F1
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GemJoin

Compiler Version
v0.5.12+commit.7709ece9

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2020-12-09
*/

// hevm: flattened sources of src/join.sol
pragma solidity >=0.5.12;

////// src/lib.sol
// SPDX-License-Identifier: AGPL-3.0-or-later

// 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.5.12; */

contract LibNote {
    event LogNote(
        bytes4   indexed  sig,
        address  indexed  usr,
        bytes32  indexed  arg1,
        bytes32  indexed  arg2,
        bytes             data
    ) anonymous;

    modifier note {
        _;
        assembly {
            // log an 'anonymous' event with a constant 6 words of calldata
            // and four indexed topics: selector, caller, arg1 and arg2
            let mark := msize()                       // end of memory ensures zero
            mstore(0x40, add(mark, 288))              // update free memory pointer
            mstore(mark, 0x20)                        // bytes type data offset
            mstore(add(mark, 0x20), 224)              // bytes size (padded)
            calldatacopy(add(mark, 0x40), 0, 224)     // bytes payload
            log4(mark, 288,                           // calldata
                 shl(224, shr(224, calldataload(0))), // msg.sig
                 caller(),                            // msg.sender
                 calldataload(4),                     // arg1
                 calldataload(36)                     // arg2
                )
        }
    }
}

////// src/join.sol
// SPDX-License-Identifier: AGPL-3.0-or-later

/// join.sol -- Basic token adapters

// Copyright (C) 2018 Rain <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero 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 Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.

/* pragma solidity >=0.5.12; */

/* import "./lib.sol"; */

interface GemLike {
    function decimals() external view returns (uint);
    function transfer(address,uint) external returns (bool);
    function transferFrom(address,address,uint) external returns (bool);
}

interface DSTokenLike {
    function mint(address,uint) external;
    function burn(address,uint) external;
}

interface VatLike {
    function slip(bytes32,address,int) external;
    function move(address,address,uint) external;
}

/*
    Here we provide *adapters* to connect the Vat to arbitrary external
    token implementations, creating a bounded context for the Vat. The
    adapters here are provided as working examples:

      - `GemJoin`: For well behaved ERC20 tokens, with simple transfer
                   semantics.

      - `ETHJoin`: For native Ether.

      - `DaiJoin`: For connecting internal Dai balances to an external
                   `DSToken` implementation.

    In practice, adapter implementations will be varied and specific to
    individual collateral types, accounting for different transfer
    semantics and token standards.

    Adapters need to implement two basic methods:

      - `join`: enter collateral into the system
      - `exit`: remove collateral from the system

*/

contract GemJoin is LibNote {
    // --- Auth ---
    mapping (address => uint) public wards;
    function rely(address usr) external note auth { wards[usr] = 1; }
    function deny(address usr) external note auth { wards[usr] = 0; }
    modifier auth {
        require(wards[msg.sender] == 1, "GemJoin/not-authorized");
        _;
    }

    VatLike public vat;   // CDP Engine
    bytes32 public ilk;   // Collateral Type
    GemLike public gem;
    uint    public dec;
    uint    public live;  // Active Flag

    constructor(address vat_, bytes32 ilk_, address gem_) public {
        wards[msg.sender] = 1;
        live = 1;
        vat = VatLike(vat_);
        ilk = ilk_;
        gem = GemLike(gem_);
        dec = gem.decimals();
    }
    function cage() external note auth {
        live = 0;
    }
    function join(address usr, uint wad) external note {
        require(live == 1, "GemJoin/not-live");
        require(int(wad) >= 0, "GemJoin/overflow");
        vat.slip(ilk, usr, int(wad));
        require(gem.transferFrom(msg.sender, address(this), wad), "GemJoin/failed-transfer");
    }
    function exit(address usr, uint wad) external note {
        require(wad <= 2 ** 255, "GemJoin/overflow");
        vat.slip(ilk, msg.sender, -int(wad));
        require(gem.transfer(usr, wad), "GemJoin/failed-transfer");
    }
}

contract DaiJoin is LibNote {
    // --- Auth ---
    mapping (address => uint) public wards;
    function rely(address usr) external note auth { wards[usr] = 1; }
    function deny(address usr) external note auth { wards[usr] = 0; }
    modifier auth {
        require(wards[msg.sender] == 1, "DaiJoin/not-authorized");
        _;
    }

    VatLike public vat;      // CDP Engine
    DSTokenLike public dai;  // Stablecoin Token
    uint    public live;     // Active Flag

    constructor(address vat_, address dai_) public {
        wards[msg.sender] = 1;
        live = 1;
        vat = VatLike(vat_);
        dai = DSTokenLike(dai_);
    }
    function cage() external note auth {
        live = 0;
    }
    uint constant ONE = 10 ** 27;
    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x);
    }
    function join(address usr, uint wad) external note {
        vat.move(address(this), usr, mul(ONE, wad));
        dai.burn(msg.sender, wad);
    }
    function exit(address usr, uint wad) external note {
        require(live == 1, "DaiJoin/not-live");
        vat.move(msg.sender, address(this), mul(ONE, wad));
        dai.mint(usr, wad);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"vat_","type":"address"},{"internalType":"bytes32","name":"ilk_","type":"bytes32"},{"internalType":"address","name":"gem_","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":true,"inputs":[{"indexed":true,"internalType":"bytes4","name":"sig","type":"bytes4"},{"indexed":true,"internalType":"address","name":"usr","type":"address"},{"indexed":true,"internalType":"bytes32","name":"arg1","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"arg2","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"LogNote","type":"event"},{"constant":false,"inputs":[],"name":"cage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"dec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"deny","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"gem","outputs":[{"internalType":"contract GemLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ilk","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"usr","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"join","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"live","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"rely","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"vat","outputs":[{"internalType":"contract VatLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50604051610f6e380380610f6e8339818101604052606081101561003357600080fd5b8101908080519060200190929190805190602001909291908051906020019092919050505060016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160058190555082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160028190555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561019557600080fd5b505afa1580156101a9573d6000803e3d6000fd5b505050506040513d60208110156101bf57600080fd5b8101908080519060200190929190505050600481905550505050610d86806101e86000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063957aa58c11610071578063957aa58c146101de5780639c52a7f1146101fc578063b3bcfa8214610240578063bf353dbb1461025e578063c5ce281e146102b6578063ef693bed146102d4576100a9565b806336569e77146100ae5780633b4da69f146100f857806365fae35e14610146578063692450091461018a5780637bd2bea714610194575b600080fd5b6100b6610322565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101446004803603604081101561010e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610348565b005b6101886004803603602081101561015c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106c3565b005b6101926107f1565b005b61019c6108e2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e6610908565b6040518082815260200191505060405180910390f35b61023e6004803603602081101561021257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061090e565b005b610248610a3c565b6040518082815260200191505060405180910390f35b6102a06004803603602081101561027457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a42565b6040518082815260200191505060405180910390f35b6102be610a5a565b6040518082815260200191505060405180910390f35b610320600480360360408110156102ea57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a60565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6001600554146103c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f47656d4a6f696e2f6e6f742d6c6976650000000000000000000000000000000081525060200191505060405180910390fd5b6000811215610437576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f47656d4a6f696e2f6f766572666c6f770000000000000000000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637cdd3fde60025484846040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156104ea57600080fd5b505af11580156104fe573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156105df57600080fd5b505af11580156105f3573d6000803e3d6000fd5b505050506040513d602081101561060957600080fd5b810190808051906020019092919050505061068c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f47656d4a6f696e2f6661696c65642d7472616e7366657200000000000000000081525060200191505060405180910390fd5b5961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a4505050565b60016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610777576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f47656d4a6f696e2f6e6f742d617574686f72697a65640000000000000000000081525060200191505060405180910390fd5b60016000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a45050565b60016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146108a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f47656d4a6f696e2f6e6f742d617574686f72697a65640000000000000000000081525060200191505060405180910390fd5b60006005819055505961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a450565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b60016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146109c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f47656d4a6f696e2f6e6f742d617574686f72697a65640000000000000000000081525060200191505060405180910390fd5b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a45050565b60045481565b60006020528060005260406000206000915090505481565b60025481565b7f8000000000000000000000000000000000000000000000000000000000000000811115610af6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f47656d4a6f696e2f6f766572666c6f770000000000000000000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637cdd3fde60025433846000036040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015610bac57600080fd5b505af1158015610bc0573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610c6d57600080fd5b505af1158015610c81573d6000803e3d6000fd5b505050506040513d6020811015610c9757600080fd5b8101908080519060200190929190505050610d1a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f47656d4a6f696e2f6661696c65642d7472616e7366657200000000000000000081525060200191505060405180910390fd5b5961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a450505056fea265627a7a72315820c1ba3a777b89bdeb0ce43c775fd627ecb58755b04139a0620fc45c6a7288b29d64736f6c634300050c003200000000000000000000000035d1b3f3d7966a1dfe207aa4514c12a259a0492b554e492d410000000000000000000000000000000000000000000000000000000000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c8063957aa58c11610071578063957aa58c146101de5780639c52a7f1146101fc578063b3bcfa8214610240578063bf353dbb1461025e578063c5ce281e146102b6578063ef693bed146102d4576100a9565b806336569e77146100ae5780633b4da69f146100f857806365fae35e14610146578063692450091461018a5780637bd2bea714610194575b600080fd5b6100b6610322565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101446004803603604081101561010e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610348565b005b6101886004803603602081101561015c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106c3565b005b6101926107f1565b005b61019c6108e2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e6610908565b6040518082815260200191505060405180910390f35b61023e6004803603602081101561021257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061090e565b005b610248610a3c565b6040518082815260200191505060405180910390f35b6102a06004803603602081101561027457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a42565b6040518082815260200191505060405180910390f35b6102be610a5a565b6040518082815260200191505060405180910390f35b610320600480360360408110156102ea57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a60565b005b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6001600554146103c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f47656d4a6f696e2f6e6f742d6c6976650000000000000000000000000000000081525060200191505060405180910390fd5b6000811215610437576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f47656d4a6f696e2f6f766572666c6f770000000000000000000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637cdd3fde60025484846040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156104ea57600080fd5b505af11580156104fe573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156105df57600080fd5b505af11580156105f3573d6000803e3d6000fd5b505050506040513d602081101561060957600080fd5b810190808051906020019092919050505061068c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f47656d4a6f696e2f6661696c65642d7472616e7366657200000000000000000081525060200191505060405180910390fd5b5961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a4505050565b60016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610777576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f47656d4a6f696e2f6e6f742d617574686f72697a65640000000000000000000081525060200191505060405180910390fd5b60016000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a45050565b60016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146108a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f47656d4a6f696e2f6e6f742d617574686f72697a65640000000000000000000081525060200191505060405180910390fd5b60006005819055505961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a450565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b60016000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146109c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f47656d4a6f696e2f6e6f742d617574686f72697a65640000000000000000000081525060200191505060405180910390fd5b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a45050565b60045481565b60006020528060005260406000206000915090505481565b60025481565b7f8000000000000000000000000000000000000000000000000000000000000000811115610af6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f47656d4a6f696e2f6f766572666c6f770000000000000000000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637cdd3fde60025433846000036040518463ffffffff1660e01b8152600401808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b158015610bac57600080fd5b505af1158015610bc0573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610c6d57600080fd5b505af1158015610c81573d6000803e3d6000fd5b505050506040513d6020811015610c9757600080fd5b8101908080519060200190929190505050610d1a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f47656d4a6f696e2f6661696c65642d7472616e7366657200000000000000000081525060200191505060405180910390fd5b5961012081016040526020815260e0602082015260e0600060408301376024356004353360003560e01c60e01b61012085a450505056fea265627a7a72315820c1ba3a777b89bdeb0ce43c775fd627ecb58755b04139a0620fc45c6a7288b29d64736f6c634300050c0032

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000035d1b3f3d7966a1dfe207aa4514c12a259a0492b554e492d410000000000000000000000000000000000000000000000000000000000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984

-----Decoded View---------------
Arg [0] : vat_ (address): 0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B
Arg [1] : ilk_ (bytes32): 0x554e492d41000000000000000000000000000000000000000000000000000000
Arg [2] : gem_ (address): 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000035d1b3f3d7966a1dfe207aa4514c12a259a0492b
Arg [1] : 554e492d41000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000001f9840a85d5af5bf1d1762f925bdaddc4201f984


Deployed Bytecode Sourcemap

4210:1374:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4210:1374:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4563:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;5050:295;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5050:295:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4311:65;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4311:65:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;4982:62;;;:::i;:::-;;4650:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;4700:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4382:65;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4382:65:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;4675:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4266:38;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4266:38:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4604:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5351:230;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5351:230:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4563:18;;;;;;;;;;;;;:::o;5050:295::-;5128:1;5120:4;;:9;5112:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5181:1;5173:3;5169:13;;5161:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5214:3;;;;;;;;;;;:8;;;5223:3;;5228;5237;5214:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5214:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5214:28:0;;;;5261:3;;;;;;;;;;;:16;;;5278:10;5298:4;5305:3;5261:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5261:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5261:48:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5261:48:0;;;;;;;;;;;;;;;;5253:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1282:7;1378:3;1372:4;1368:14;1362:4;1355:28;1453:4;1447;1440:18;1545:3;1538:4;1532;1528:15;1521:28;1632:3;1629:1;1622:4;1616;1612:15;1599:37;1954:2;1941:16;1891:1;1878:15;1809:8;1774:1;1761:15;1756:3;1752:25;1747:3;1743:35;1682:3;1676:4;1671:333;1105:910;;;:::o;4311:65::-;4507:1;4486:5;:17;4492:10;4486:17;;;;;;;;;;;;;;;;:22;4478:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4372:1;4359:5;:10;4365:3;4359:10;;;;;;;;;;;;;;;:14;;;;1282:7;1378:3;1372:4;1368:14;1362:4;1355:28;1453:4;1447;1440:18;1545:3;1538:4;1532;1528:15;1521:28;1632:3;1629:1;1622:4;1616;1612:15;1599:37;1954:2;1941:16;1891:1;1878:15;1809:8;1774:1;1761:15;1756:3;1752:25;1747:3;1743:35;1682:3;1676:4;1671:333;1105:910;;:::o;4982:62::-;4507:1;4486:5;:17;4492:10;4486:17;;;;;;;;;;;;;;;;:22;4478:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5035:1;5028:4;:8;;;;1282:7;1378:3;1372:4;1368:14;1362:4;1355:28;1453:4;1447;1440:18;1545:3;1538:4;1532;1528:15;1521:28;1632:3;1629:1;1622:4;1616;1612:15;1599:37;1954:2;1941:16;1891:1;1878:15;1809:8;1774:1;1761:15;1756:3;1752:25;1747:3;1743:35;1682:3;1676:4;1671:333;1105:910;:::o;4650:18::-;;;;;;;;;;;;;:::o;4700:19::-;;;;:::o;4382:65::-;4507:1;4486:5;:17;4492:10;4486:17;;;;;;;;;;;;;;;;:22;4478:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4443:1;4430:5;:10;4436:3;4430:10;;;;;;;;;;;;;;;:14;;;;1282:7;1378:3;1372:4;1368:14;1362:4;1355:28;1453:4;1447;1440:18;1545:3;1538:4;1532;1528:15;1521:28;1632:3;1629:1;1622:4;1616;1612:15;1599:37;1954:2;1941:16;1891:1;1878:15;1809:8;1774:1;1761:15;1756:3;1752:25;1747:3;1743:35;1682:3;1676:4;1671:333;1105:910;;:::o;4675:18::-;;;;:::o;4266:38::-;;;;;;;;;;;;;;;;;:::o;4604:18::-;;;;:::o;5351:230::-;5428:8;5421:3;:15;;5413:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5468:3;;;;;;;;;;;:8;;;5477:3;;5482:10;5499:3;5494:9;;5468:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5468:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5468:36:0;;;;5523:3;;;;;;;;;;;:12;;;5536:3;5541;5523:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5523:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5523:22:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5523:22:0;;;;;;;;;;;;;;;;5515:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1282:7;1378:3;1372:4;1368:14;1362:4;1355:28;1453:4;1447;1440:18;1545:3;1538:4;1532;1528:15;1521:28;1632:3;1629:1;1622:4;1616;1612:15;1599:37;1954:2;1941:16;1891:1;1878:15;1809:8;1774:1;1761:15;1756:3;1752:25;1747:3;1743:35;1682:3;1676:4;1671:333;1105:910;;;:::o

Swarm Source

bzzr://c1ba3a777b89bdeb0ce43c775fd627ecb58755b04139a0620fc45c6a7288b29d

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

Sky (formerly Maker) enables users to get rewarded for non-custodial savings.

Validator Index Block Amount
View All Withdrawals

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