Contract 0x373238337Bfe1146fb49989fc222523f83081dDb

 
Txn Hash Method
Block
From
To
Value
0xb2957e8274f4425f2a60d89d437bfc66d066ca939acad7fbb8b773e43a5bd368Exit All102454972020-06-11 16:38:39368 days 12 hrs agoENS Name marktoda.eth IN  0x373238337bfe1146fb49989fc222523f83081ddb0 Ether0.00519289641
0xd9f69e9559551ad11c3737590fc7a1f433d3e66ce41cc8922cd266ea195fa573Join102454882020-06-11 16:36:26368 days 12 hrs agoENS Name marktoda.eth IN  0x373238337bfe1146fb49989fc222523f83081ddb0 Ether0.00782370241
0xca0af4b619c872fa927e555e081d45e66a33f4f5b99a8a5bb9c2b0ea4cf70297Exit All100962792020-05-19 12:05:40391 days 16 hrs ago0x14db9e882efc691ebe5dd28e53653dad71a71d61 IN  0x373238337bfe1146fb49989fc222523f83081ddb0 Ether0.00246149222
0x3fd859bc7fb0539648156f184a7b7a6792b9359946dd56295d5cbae71734cfe6Dai Balance100962652020-05-19 12:03:17391 days 16 hrs ago0x14db9e882efc691ebe5dd28e53653dad71a71d61 IN  0x373238337bfe1146fb49989fc222523f83081ddb0 Ether0.001480531824.2
0x6e0c3c909b29788d581c5879c5d62dadb8a59d75e86eddb0cd824e954012c2f8Join100962222020-05-19 11:54:02391 days 16 hrs ago0x14db9e882efc691ebe5dd28e53653dad71a71d61 IN  0x373238337bfe1146fb49989fc222523f83081ddb0 Ether0.0044070620
0xcf55b7bb7fe10cce65bf0942953a13fa710a0159bb08f8f49c18c5efc480203fJoin100961552020-05-19 11:40:14391 days 17 hrs ago0x14db9e882efc691ebe5dd28e53653dad71a71d61 IN  0x373238337bfe1146fb49989fc222523f83081ddb0 Ether0.00449353852126.459973394
0x9a584f40593d4f349c432fe8593e59ee188b26a540eaad9dcb6b46a60ee9b5770x60806040100910682020-05-18 16:29:53392 days 12 hrs agoMaker: Deployer 4 IN  Contract Creation0 Ether0.0285370267820.001
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DsrManager

Compiler Version
v0.5.12+commit.7709ece9

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2020-05-18
*/

// DsrManager.sol
// Copyright (C) 2020 Maker Ecosystem Growth Holdings, INC.

// 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;

contract VatLike {
    function hope(address) external;
}

contract PotLike {
    function vat() external view returns (address);
    function chi() external view returns (uint256);
    function rho() external view returns (uint256);
    function drip() external returns (uint256);
    function join(uint256) external;
    function exit(uint256) external;
}

contract JoinLike {
    function dai() external view returns (address);
    function join(address, uint256) external;
    function exit(address, uint256) external;
}

contract GemLike {
    function transferFrom(address,address,uint256) external returns (bool);
    function approve(address,uint256) external returns (bool);
}

contract DsrManager {
    PotLike  public pot;
    GemLike  public dai;
    JoinLike public daiJoin;

    uint256 public supply;

    mapping (address => uint256) public pieOf;

    event Join(address indexed dst, uint256 wad);
    event Exit(address indexed dst, uint256 wad);

    uint256 constant RAY = 10 ** 27;
    function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x + y) >= x);
    }
    function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require((z = x - y) <= x);
    }
    function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        require(y == 0 || (z = x * y) / y == x);
    }
    function rmul(uint256 x, uint256 y) internal pure returns (uint256 z) {
        // always rounds down
        z = mul(x, y) / RAY;
    }
    function rdiv(uint256 x, uint256 y) internal pure returns (uint256 z) {
        // always rounds down
        z = mul(x, RAY) / y;
    }
    function rdivup(uint256 x, uint256 y) internal pure returns (uint256 z) {
        // always rounds up
        z = add(mul(x, RAY), sub(y, 1)) / y;
    }

    constructor(address pot_, address daiJoin_) public {
        pot = PotLike(pot_);
        daiJoin = JoinLike(daiJoin_);
        dai = GemLike(daiJoin.dai());

        VatLike vat = VatLike(pot.vat());
        vat.hope(address(daiJoin));
        vat.hope(address(pot));
        dai.approve(address(daiJoin), uint256(-1));
    }

    function daiBalance(address usr) external returns (uint256 wad) {
        uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
        wad = rmul(chi, pieOf[usr]);
    }

    // wad is denominated in dai
    function join(address dst, uint256 wad) external {
        uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
        uint256 pie = rdiv(wad, chi);
        pieOf[dst] = add(pieOf[dst], pie);
        supply = add(supply, pie);

        dai.transferFrom(msg.sender, address(this), wad);
        daiJoin.join(address(this), wad);
        pot.join(pie);
        emit Join(dst, wad);
    }

    // wad is denominated in dai
    function exit(address dst, uint256 wad) external {
        uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
        uint256 pie = rdivup(wad, chi);

        require(pieOf[msg.sender] >= pie, "insufficient-balance");

        pieOf[msg.sender] = sub(pieOf[msg.sender], pie);
        supply = sub(supply, pie);

        pot.exit(pie);
        uint256 amt = rmul(chi, pie);
        daiJoin.exit(dst, amt);
        emit Exit(dst, amt);
    }

    function exitAll(address dst) external {
        uint256 chi = (now > pot.rho()) ? pot.drip() : pot.chi();
        uint256 pie = pieOf[msg.sender];

        pieOf[msg.sender] = 0;
        supply = sub(supply, pie);

        pot.exit(pie);
        uint256 amt = rmul(chi, pie);
        daiJoin.exit(dst, amt);
        emit Exit(dst, amt);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"pot_","type":"address"},{"internalType":"address","name":"daiJoin_","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Exit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"dst","type":"address"},{"indexed":false,"internalType":"uint256","name":"wad","type":"uint256"}],"name":"Join","type":"event"},{"constant":true,"inputs":[],"name":"dai","outputs":[{"internalType":"contract GemLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"usr","type":"address"}],"name":"daiBalance","outputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"daiJoin","outputs":[{"internalType":"contract JoinLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"}],"name":"exitAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"name":"join","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pieOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pot","outputs":[{"internalType":"contract PotLike","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060405162001add38038062001add833981810160405260408110156200003757600080fd5b810190808051906020019092919080519060200190929190505050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4b9fa756040518163ffffffff1660e01b815260040160206040518083038186803b1580156200013c57600080fd5b505afa15801562000151573d6000803e3d6000fd5b505050506040513d60208110156200016857600080fd5b8101908080519060200190929190505050600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166336569e776040518163ffffffff1660e01b815260040160206040518083038186803b1580156200022357600080fd5b505afa15801562000238573d6000803e3d6000fd5b505050506040513d60208110156200024f57600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff1663a3b22fc4600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1580156200030457600080fd5b505af115801562000319573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff1663a3b22fc46000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015620003be57600080fd5b505af1158015620003d3573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015620004c357600080fd5b505af1158015620004d8573d6000803e3d6000fd5b505050506040513d6020811015620004ef57600080fd5b8101908080519060200190929190505050505050506115c980620005146000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063c11645bc11610066578063c11645bc146101a6578063d7f7098f146101f0578063eb0dff6614610248578063ef693bed1461028c578063f4b9fa75146102da57610093565b8063047fc9aa146100985780633b4da69f146100b65780634ba2363a1461010457806388787f2b1461014e575b600080fd5b6100a0610324565b6040518082815260200191505060405180910390f35b610102600480360360408110156100cc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061032a565b005b61010c610888565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101906004803603602081101561016457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108ad565b6040518082815260200191505060405180910390f35b6101ae6108c5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102326004803603602081101561020657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108eb565b6040518082815260200191505060405180910390f35b61028a6004803603602081101561025e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b35565b005b6102d8600480360360408110156102a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610f77565b005b6102e2611480565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60035481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166320aba08b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561039357600080fd5b505afa1580156103a7573d6000803e3d6000fd5b505050506040513d60208110156103bd57600080fd5b8101908080519060200190929190505050421161047b576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c92aecc46040518163ffffffff1660e01b815260040160206040518083038186803b15801561043b57600080fd5b505afa15801561044f573d6000803e3d6000fd5b505050506040513d602081101561046557600080fd5b8101908080519060200190929190505050610520565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639f678cca6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156104e457600080fd5b505af11580156104f8573d6000803e3d6000fd5b505050506040513d602081101561050e57600080fd5b81019080805190602001909291905050505b9050600061052e83836114a6565b9050610579600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826114cf565b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506105c8600354826114cf565b600381905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156106ab57600080fd5b505af11580156106bf573d6000803e3d6000fd5b505050506040513d60208110156106d557600080fd5b810190808051906020019092919050505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633b4da69f30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561079057600080fd5b505af11580156107a4573d6000803e3d6000fd5b505050506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663049878f3826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561081c57600080fd5b505af1158015610830573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167fb4e09949657f21548b58afe74e7b86cd2295da5ff1598ae1e5faecb1cf19ca95846040518082815260200191505060405180910390a250505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60046020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166320aba08b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561095557600080fd5b505afa158015610969573d6000803e3d6000fd5b505050506040513d602081101561097f57600080fd5b81019080805190602001909291905050504211610a3d576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c92aecc46040518163ffffffff1660e01b815260040160206040518083038186803b1580156109fd57600080fd5b505afa158015610a11573d6000803e3d6000fd5b505050506040513d6020811015610a2757600080fd5b8101908080519060200190929190505050610ae2565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639f678cca6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610aa657600080fd5b505af1158015610aba573d6000803e3d6000fd5b505050506040513d6020811015610ad057600080fd5b81019080805190602001909291905050505b9050610b2d81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114e9565b915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166320aba08b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b9e57600080fd5b505afa158015610bb2573d6000803e3d6000fd5b505050506040513d6020811015610bc857600080fd5b81019080805190602001909291905050504211610c86576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c92aecc46040518163ffffffff1660e01b815260040160206040518083038186803b158015610c4657600080fd5b505afa158015610c5a573d6000803e3d6000fd5b505050506040513d6020811015610c7057600080fd5b8101908080519060200190929190505050610d2b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639f678cca6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610cef57600080fd5b505af1158015610d03573d6000803e3d6000fd5b505050506040513d6020811015610d1957600080fd5b81019080805190602001909291905050505b90506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610dc260035482611512565b6003819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637f8661a1826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610e3c57600080fd5b505af1158015610e50573d6000803e3d6000fd5b505050506000610e6083836114e9565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ef693bed85836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610f0b57600080fd5b505af1158015610f1f573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167f22d324652c93739755cf4581508b60875ebdd78c20c0cff5cf8e23452b299631826040518082815260200191505060405180910390a250505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166320aba08b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610fe057600080fd5b505afa158015610ff4573d6000803e3d6000fd5b505050506040513d602081101561100a57600080fd5b810190808051906020019092919050505042116110c8576000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c92aecc46040518163ffffffff1660e01b815260040160206040518083038186803b15801561108857600080fd5b505afa15801561109c573d6000803e3d6000fd5b505050506040513d60208110156110b257600080fd5b810190808051906020019092919050505061116d565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639f678cca6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561113157600080fd5b505af1158015611145573d6000803e3d6000fd5b505050506040513d602081101561115b57600080fd5b81019080805190602001909291905050505b9050600061117b838361152c565b905080600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611232576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f696e73756666696369656e742d62616c616e636500000000000000000000000081525060200191505060405180910390fd5b61127b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482611512565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112ca60035482611512565b6003819055506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637f8661a1826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561134457600080fd5b505af1158015611358573d6000803e3d6000fd5b50505050600061136883836114e9565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ef693bed86836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561141357600080fd5b505af1158015611427573d6000803e3d6000fd5b505050508473ffffffffffffffffffffffffffffffffffffffff167f22d324652c93739755cf4581508b60875ebdd78c20c0cff5cf8e23452b299631826040518082815260200191505060405180910390a25050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000816114bf846b033b2e3c9fd0803ce8000000611568565b816114c657fe5b04905092915050565b60008282840191508110156114e357600080fd5b92915050565b60006b033b2e3c9fd0803ce80000006115028484611568565b8161150957fe5b04905092915050565b600082828403915081111561152657600080fd5b92915050565b600081611558611548856b033b2e3c9fd0803ce8000000611568565b611553856001611512565b6114cf565b8161155f57fe5b04905092915050565b600080821480611585575082828385029250828161158257fe5b04145b61158e57600080fd5b9291505056fea265627a7a7231582013f365be0e6ec210fdf1e7f878cd6873c906ef88d752a7929ca5a3e1a74c0a9c64736f6c634300050c0032000000000000000000000000197e90f9fad81970ba7976f33cbd77088e5d7cf70000000000000000000000009759a6ac90977b93b58547b4a71c78317f391a28

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

000000000000000000000000197e90f9fad81970ba7976f33cbd77088e5d7cf70000000000000000000000009759a6ac90977b93b58547b4a71c78317f391a28

-----Decoded View---------------
Arg [0] : pot_ (address): 0x197e90f9fad81970ba7976f33cbd77088e5d7cf7
Arg [1] : daiJoin_ (address): 0x9759a6ac90977b93b58547b4a71c78317f391a28

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000197e90f9fad81970ba7976f33cbd77088e5d7cf7
Arg [1] : 0000000000000000000000009759a6ac90977b93b58547b4a71c78317f391a28


Deployed ByteCode Sourcemap

1503:2986:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1503:2986:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1614:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3222:401;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3222:401:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1530:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1644:41;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1644:41:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1582:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3003:177;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3003:177:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4132:354;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4132:354:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;3665:459;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3665:459:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1556:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1614:21;;;;:::o;3222:401::-;3282:11;3303:3;;;;;;;;;;;:7;;;:9;;;;;;;;;;;;;;;;;;;;;;8::-1;5:2;;;30:1;27;20:12;5:2;3303:9:0;;;;8::-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3303:9:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3303:9:0;;;;;;;;;;;;;;;;3297:3;:15;3296:42;;3329:3;;;;;;;;;;;:7;;;:9;;;;;;;;;;;;;;;;;;;;;;8::-1;5:2;;;30:1;27;20:12;5:2;3329:9:0;;;;8::-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3329:9:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3329:9:0;;;;;;;;;;;;;;;;3296:42;;;3316:3;;;;;;;;;;;:8;;;:10;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3316:10:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3316:10:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3316:10:0;;;;;;;;;;;;;;;;3296:42;3282:56;;3349:11;3363:14;3368:3;3373;3363:4;:14::i;:::-;3349:28;;3401:20;3405:5;:10;3411:3;3405:10;;;;;;;;;;;;;;;;3417:3;3401;:20::i;:::-;3388:5;:10;3394:3;3388:10;;;;;;;;;;;;;;;:33;;;;3441:16;3445:6;;3453:3;3441;:16::i;:::-;3432:6;:25;;;;3470:3;;;;;;;;;;;:16;;;3487:10;3507:4;3514:3;3470:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3470:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3470:48:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3470:48:0;;;;;;;;;;;;;;;;;3529:7;;;;;;;;;;;:12;;;3550:4;3557:3;3529:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3529:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3529:32:0;;;;3572:3;;;;;;;;;;;:8;;;3581:3;3572:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3572:13:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3572:13:0;;;;3606:3;3601:14;;;3611:3;3601:14;;;;;;;;;;;;;;;;;;3222:401;;;;:::o;1530:19::-;;;;;;;;;;;;;:::o;1644:41::-;;;;;;;;;;;;;;;;;:::o;1582:23::-;;;;;;;;;;;;;:::o;3003:177::-;3054:11;3078;3099:3;;;;;;;;;;;:7;;;:9;;;;;;;;;;;;;;;;;;;;;;8::-1;5:2;;;30:1;27;20:12;5:2;3099:9:0;;;;8::-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3099:9:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3099:9:0;;;;;;;;;;;;;;;;3093:3;:15;3092:42;;3125:3;;;;;;;;;;;:7;;;:9;;;;;;;;;;;;;;;;;;;;;;8::-1;5:2;;;30:1;27;20:12;5:2;3125:9:0;;;;8::-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3125:9:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3125:9:0;;;;;;;;;;;;;;;;3092:42;;;3112:3;;;;;;;;;;;:8;;;:10;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3112:10:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3112:10:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3112:10:0;;;;;;;;;;;;;;;;3092:42;3078:56;;3151:21;3156:3;3161:5;:10;3167:3;3161:10;;;;;;;;;;;;;;;;3151:4;:21::i;:::-;3145:27;;3003:177;;;;:::o;4132:354::-;4182:11;4203:3;;;;;;;;;;;:7;;;:9;;;;;;;;;;;;;;;;;;;;;;8::-1;5:2;;;30:1;27;20:12;5:2;4203:9:0;;;;8::-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4203:9:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4203:9:0;;;;;;;;;;;;;;;;4197:3;:15;4196:42;;4229:3;;;;;;;;;;;:7;;;:9;;;;;;;;;;;;;;;;;;;;;;8::-1;5:2;;;30:1;27;20:12;5:2;4229:9:0;;;;8::-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4229:9:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4229:9:0;;;;;;;;;;;;;;;;4196:42;;;4216:3;;;;;;;;;;;:8;;;:10;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4216:10:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4216:10:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4216:10:0;;;;;;;;;;;;;;;;4196:42;4182:56;;4249:11;4263:5;:17;4269:10;4263:17;;;;;;;;;;;;;;;;4249:31;;4313:1;4293:5;:17;4299:10;4293:17;;;;;;;;;;;;;;;:21;;;;4334:16;4338:6;;4346:3;4334;:16::i;:::-;4325:6;:25;;;;4363:3;;;;;;;;;;;:8;;;4372:3;4363:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4363:13:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4363:13:0;;;;4387:11;4401:14;4406:3;4411;4401:4;:14::i;:::-;4387:28;;4426:7;;;;;;;;;;;:12;;;4439:3;4444;4426:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4426:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4426:22:0;;;;4469:3;4464:14;;;4474:3;4464:14;;;;;;;;;;;;;;;;;;4132:354;;;;:::o;3665:459::-;3725:11;3746:3;;;;;;;;;;;:7;;;:9;;;;;;;;;;;;;;;;;;;;;;8::-1;5:2;;;30:1;27;20:12;5:2;3746:9:0;;;;8::-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3746:9:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3746:9:0;;;;;;;;;;;;;;;;3740:3;:15;3739:42;;3772:3;;;;;;;;;;;:7;;;:9;;;;;;;;;;;;;;;;;;;;;;8::-1;5:2;;;30:1;27;20:12;5:2;3772:9:0;;;;8::-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3772:9:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3772:9:0;;;;;;;;;;;;;;;;3739:42;;;3759:3;;;;;;;;;;;:8;;;:10;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3759:10:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3759:10:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3759:10:0;;;;;;;;;;;;;;;;3739:42;3725:56;;3792:11;3806:16;3813:3;3818;3806:6;:16::i;:::-;3792:30;;3864:3;3843:5;:17;3849:10;3843:17;;;;;;;;;;;;;;;;:24;;3835:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3925:27;3929:5;:17;3935:10;3929:17;;;;;;;;;;;;;;;;3948:3;3925;:27::i;:::-;3905:5;:17;3911:10;3905:17;;;;;;;;;;;;;;;:47;;;;3972:16;3976:6;;3984:3;3972;:16::i;:::-;3963:6;:25;;;;4001:3;;;;;;;;;;;:8;;;4010:3;4001:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4001:13:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4001:13:0;;;;4025:11;4039:14;4044:3;4049;4039:4;:14::i;:::-;4025:28;;4064:7;;;;;;;;;;;:12;;;4077:3;4082;4064:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4064:22:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4064:22:0;;;;4107:3;4102:14;;;4112:3;4102:14;;;;;;;;;;;;;;;;;;3665:459;;;;;:::o;1556:19::-;;;;;;;;;;;;;:::o;2352:139::-;2411:9;2482:1;2468:11;2472:1;1821:8;2468:3;:11::i;:::-;:15;;;;;;2464:19;;2352:139;;;;:::o;1836:113::-;1894:9;1939:1;1933;1929;:5;1925:9;;;1924:16;;1916:25;;;;;;1836:113;;;;:::o;2207:139::-;2266:9;1821:8;2323:9;2327:1;2330;2323:3;:9::i;:::-;:15;;;;;;2319:19;;2207:139;;;;:::o;1955:113::-;2013:9;2058:1;2052;2048;:5;2044:9;;;2043:16;;2035:25;;;;;;1955:113;;;;:::o;2497:155::-;2558:9;2643:1;2613:27;2617:11;2621:1;1821:8;2617:3;:11::i;:::-;2630:9;2634:1;2637;2630:3;:9::i;:::-;2613:3;:27::i;:::-;:31;;;;;;2609:35;;2497:155;;;;:::o;2074:127::-;2132:9;2167:1;2162;:6;:30;;;;2191:1;2186;2181;2177;:5;2173:9;;;2172:15;;;;;;:20;2162:30;2154:39;;;;;;2074:127;;;;:::o

Swarm Source

bzzr://13f365be0e6ec210fdf1e7f878cd6873c906ef88d752a7929ca5a3e1a74c0a9c
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.