Contract 0x57a7bcdfab1631aca9d6e0f39959477182cfae12 1

Contract Overview

Demeter: DMT Token
Balance:
0 HT

HT Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xe39318db5ba141882a26cffff0a8b6d881a2f1907588be41c599919eae61f605Approve105021782021-12-01 23:16:062 hrs 4 mins ago0xd49963a190caab3bbbafa26136dcc1023ff007af IN  Demeter: DMT Token0 HT0.00013551075 2.25
0xc5d7e79268307100ebfdba2053a8f4f95bc89ae1b67ec89d8062b2ee5d1e5eb8Approve104982072021-12-01 19:57:335 hrs 22 mins ago0xe8c079ef126e13bdc8ed5c66af904406ebba8184 IN  Demeter: DMT Token0 HT0.0000856442.25
0x7700e4e90698c10f9e810745213d83efffdcca7896d18def4d07abca6c831cd4Approve104954442021-12-01 17:39:247 hrs 40 mins ago0xc5ad4e19baacf16769096eece95bebe24e8b98d3 IN  Demeter: DMT Token0 HT0.000150242.5
0x554abf6817077054e7471e87ba309dcd38a522645d3703528eb07d72ec76f5f8Transfer104920172021-12-01 14:48:0310 hrs 32 mins ago0x681f1e0bd0cf51e100c4e509a919d94d35e3b87d IN  Demeter: DMT Token0 HT0.00016449752.5
0x89e955860d56bf591c4b67a9ffe77b6841c1c9db27e16b07b552261d02648c07Transfer104895342021-12-01 12:43:5412 hrs 36 mins ago0x6ab3e6e459c24ace66af8ad986c9868b9b1cbeba IN  Demeter: DMT Token0 HT0.00014804775 2.25
0x4227959a10bbad08ef811653c11b85f20534c0cb32aac48740f1784799525d15Approve104886642021-12-01 12:00:2413 hrs 19 mins ago0xbae1f42c24c1c8d578bdd305be71b5d51eb02166 IN  Demeter: DMT Token0 HT0.00027102154.5
0x873421f2f5be347ef9cfb64d573d24a3e6d22292c84c18fc3fbcdddc36a2044aApprove104880412021-12-01 11:29:1513 hrs 50 mins ago0xc1e096180fd78d40c41ac9a8394cb140650f9786 IN  Demeter: DMT Token0 HT0.00015056752.5
0x9d164ac36ac6c616886c787cbbe28fff4e90796555bf65701a1bca08642e9923Approve104875422021-12-01 11:04:1814 hrs 15 mins ago0xd54c97c29868aff9d258aec0e90d37a3d2b3661e IN  Demeter: DMT Token0 HT0.00015056752.5
0xa31594e48fc12f082fdcbd4f01a75ba90157cd734c100626a3942357bb64d183Approve104874002021-12-01 10:57:1214 hrs 23 mins ago0x3217e6392bbce9ad5ece199bbb4bfd680ea83706 IN  Demeter: DMT Token0 HT0.00015056752.5
0x196054ff60209588c5ebc1fc499987073b5fb145c6096e4797a7ad702e57d186Approve104872952021-12-01 10:51:5714 hrs 28 mins ago0xe5f4c6fe7d55dcee50b68dfe71029ec0d79818a3 IN  Demeter: DMT Token0 HT0.00015056752.5
0x40cf635052d99066587b6b60b15350317cd502fe51c5809fa35cfb1b88645034Approve104872562021-12-01 10:50:0014 hrs 30 mins ago0x558f304dde4d77092f5c840a99d0f704f1252abc IN  Demeter: DMT Token0 HT0.00015056752.5
0x5d8471fb25346c17b5b025d96afc4c4798be008e8f9223626b3a10fc1cb7faafApprove104871892021-12-01 10:46:3914 hrs 33 mins ago0xdc536ea32eec7c2f757420c05a39af67db0e114f IN  Demeter: DMT Token0 HT0.00015056752.5
0xf525ed059ec0360734b7c1b19d47c4e49b549b043f4d04f1078d390c116d30ebApprove104860422021-12-01 9:49:1815 hrs 30 mins ago0x23fcb0e1ddbc821bd26d5429ba13b7d5c96c0de0 IN  Demeter: DMT Token0 HT0.00013551075 2.25
0x570b28254679451645817aad5572bc904b0eefa3d14533f278cfd21e7f9ed92fApprove104852192021-12-01 9:08:0916 hrs 12 mins ago0x33a75ad9308ddee33b551aefe1b8b953b749490e IN  Demeter: DMT Token0 HT0.000107432.5
0x1749b5592186740c377c7c637e59db6a847f0ca62d3389a63c24380682217bc5Approve104849952021-12-01 8:56:5716 hrs 23 mins ago0x0f2e09f8ee2fb8ec5612eb11329bd21d37edc10d IN  Demeter: DMT Token0 HT0.00015056752.5
0x472129a77409209ac11cb3f6f7908e852a1bdbbb2588502c0605126979949fe6Approve104848862021-12-01 8:51:3016 hrs 28 mins ago0x66ade065edef70d7ea8a47340393146b6a19cc99 IN  Demeter: DMT Token0 HT0.00015056752.5
0xe8e5e2bf80b28bdc01aa29f9fe24d2d89f0817d20a704cad545e4113f8037907Approve104844892021-12-01 8:31:3916 hrs 48 mins ago0x7942298823c168420a7261fa13d0302f8e983244 IN  Demeter: DMT Token0 HT0.000135216 2.25
0xff754953cf009c393347a3816936d02af738bcacf4f7ecffe94801c20f0cc519Approve104788842021-12-01 3:51:2421 hrs 28 mins ago0xe4182a08cf1b2c31428055f987fd2e800fc6dbf0 IN  Demeter: DMT Token0 HT0.0000856982.25
0x4ea44a2eeb8daf13ff3f3da2e640be4bf52dc868ec57fc98776ab318ce1d1afdApprove104762672021-12-01 1:40:3323 hrs 39 mins ago0x1e2dd5875d77abd39b628870490d00edecc390d5 IN  Demeter: DMT Token0 HT0.00015056752.5
0xe3acf7a70be0e1fdef223311be632a72017653f2d812b0345df9f259a9e703a5Approve104758842021-12-01 1:21:2423 hrs 58 mins ago0x7e736cb5582d4372657be44ffcf8f74f3af5c0d2 IN  Demeter: DMT Token0 HT0.00015056752.5
0x720820d64b6559f1e696798e92afe323794590edc407cb90b15327250b76deadApprove104756882021-12-01 1:11:361 day 8 mins ago0x30ecb1a2b3b52af1b46d4bb8dfef6496aa3aabbe IN  Demeter: DMT Token0 HT0.00015056752.5
0x570452d613edfc290163ad16921a7aae9b7ac0952d25ddfdf210e98300e0cce1Approve104755162021-12-01 1:03:001 day 17 mins ago0x883988021794fabb5f142cdfde1eac0cb2a96070 IN  Demeter: DMT Token0 HT0.00015056752.5
0x2e2529eba2c335ad5fde16b64594e4e73bb5328e52299ed208286b8eb7c7f928Approve104750502021-12-01 0:39:421 day 40 mins ago0xa495b086ba3365854836fc1d2e31131e8910f83f IN  Demeter: DMT Token0 HT0.000150242.5
0x65e492983bf8644386f73cbf84b624bffa748c90e806b8d7b1c40d5623f13d73Approve104720342021-11-30 22:08:541 day 3 hrs ago0x5505b3b6cf7c9b5d6938569cdd9ecd28583ab7c2 IN  Demeter: DMT Token0 HT0.00014873762.475
0xfa929adc70c46ea608e84d35c5cdb260371526321d26680ba400bedc1fec24c8Approve104714062021-11-30 21:37:301 day 3 hrs ago0x694b95f6d2bb631c3b48bddaf5c954ebc1c1d784 IN  Demeter: DMT Token0 HT0.00013551075 2.25
[ Download CSV Export 

OVERVIEW

Demeter is a Heco-based decentralized currency market protocol. It provides users with a robust stablecoin DUSD and secure lending service at a lower cost.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DMT

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 5 : DMT.sol
/**
 *Submitted for verification at BscScan.com on 2020-09-27
*/

pragma solidity ^0.5.16;

import "../Manager/ManagerProxy.sol";

contract DMT is ManagerProxy {
    /// @notice BEP-20 token name for this token
    string public constant name = "DMT token";

    /// @notice BEP-20 token symbol for this token
    string public constant symbol = "DMT";

    /// @notice BEP-20 token decimals for this token
    uint8 public constant decimals = 18;

    /// @notice Total number of tokens in circulation
    uint public constant totalSupply = 1000000000e18;

    /// @notice Allowance amounts on behalf of others
    mapping (address => mapping (address => uint96)) internal allowances;

    /// @notice Official record of token balances for each account
    mapping (address => uint96) internal balances;

    /// @notice A record of each accounts delegate
    mapping (address => address) public delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint96 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /// @notice The standard BEP-20 transfer event
    event Transfer(address indexed from, address indexed to, uint256 amount);

    /// @notice The standard BEP-20 approval event
    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /**
     * @notice Construct a new DMT token
     * @param account The initial account to grant all the tokens
     */
    constructor(address account) public {
        balances[account] = uint96(totalSupply);
        emit Transfer(address(0), account, totalSupply);
    }


    /// IERC20

    /**
     * @notice Get the number of tokens `spender` is approved to spend on behalf of `account`
     * @param account The address of the account holding the funds
     * @param spender The address of the account spending the funds
     * @return The number of tokens approved
     */
    function allowance(address account, address spender) external view returns (uint) {
        return allowances[account][spender];
    }

    /**
     * @notice Approve `spender` to transfer up to `amount` from `src`
     * @dev This will overwrite the approval amount for `spender`
     * @param spender The address of the account which may transfer tokens
     * @param rawAmount The number of tokens that are approved (2^256-1 means infinite)
     * @return Whether or not the approval succeeded
     */
    function approve(address spender, uint rawAmount) external ValidDMTState OutBlacklist2(msg.sender, spender) returns (bool) {
        uint96 amount;
        if (rawAmount == uint(-1)) {
            amount = uint96(-1);
        } else {
            amount = safe96(rawAmount, "DMT::approve: amount exceeds 96 bits");
        }

        allowances[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);
        return true;
    }

    /**
     * @notice Get the number of tokens held by the `account`
     * @param account The address of the account to get the balance of
     * @return The number of tokens held
     */
    function balanceOf(address account) external view returns (uint) {
        return balances[account];
    }

    /**
     * @notice Transfer `amount` tokens from `msg.sender` to `dst`
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address dst, uint rawAmount) external ValidDMTState OutBlacklist2(msg.sender, dst) returns (bool) {
        uint96 amount = safe96(rawAmount, "DMT::transfer: amount exceeds 96 bits");
        _transferTokens(msg.sender, dst, amount);
        return true;
    }

    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param src The address of the source account
     * @param dst The address of the destination account
     * @param rawAmount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address src, address dst, uint rawAmount) external ValidDMTState OutBlacklist3(msg.sender, src, dst) returns (bool) {
        address spender = msg.sender;
        uint96 spenderAllowance = allowances[src][spender];
        uint96 amount = safe96(rawAmount, "DMT::approve: amount exceeds 96 bits");

        if (spender != src && spenderAllowance != uint96(-1)) {
            uint96 newAllowance = sub96(spenderAllowance, amount, "DMT::transferFrom: transfer amount exceeds spender allowance");
            allowances[src][spender] = newAllowance;

            emit Approval(src, spender, newAllowance);
        }

        _transferTokens(src, dst, amount);
        return true;
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public ValidDMTState OutBlacklist2(msg.sender, delegatee) {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public ValidDMTState OutBlacklist2(msg.sender, delegatee) {
        bytes32 domainSeparator = keccak256(abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this)));
        bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "DMT::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "DMT::delegateBySig: invalid nonce");
        require(now <= expiry, "DMT::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint96) {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber) public view returns (uint96) {
        require(blockNumber < block.number, "DMT::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = delegates[delegator];
        uint96 delegatorBalance = balances[delegator];
        delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _transferTokens(address src, address dst, uint96 amount) internal {
        require(src != address(0), "DMT::_transferTokens: cannot transfer from the zero address");
        require(dst != address(0), "DMT::_transferTokens: cannot transfer to the zero address");

        balances[src] = sub96(balances[src], amount, "DMT::_transferTokens: transfer amount exceeds balance");
        balances[dst] = add96(balances[dst], amount, "DMT::_transferTokens: transfer amount overflows");
        emit Transfer(src, dst, amount);

        _moveDelegates(delegates[src], delegates[dst], amount);
    }

    function _moveDelegates(address srcRep, address dstRep, uint96 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint96 srcRepNew = sub96(srcRepOld, amount, "DMT::_moveVotes: vote amount underflows");
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint96 dstRepNew = add96(dstRepOld, amount, "DMT::_moveVotes: vote amount overflows");
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint96 oldVotes, uint96 newVotes) internal {
        uint32 blockNumber = safe32(block.number, "DMT::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function safe96(uint n, string memory errorMessage) internal pure returns (uint96) {
        require(n < 2**96, errorMessage);
        return uint96(n);
    }

    function add96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        uint96 c = a + b;
        require(c >= a, errorMessage);
        return c;
    }

    function sub96(uint96 a, uint96 b, string memory errorMessage) internal pure returns (uint96) {
        require(b <= a, errorMessage);
        return a - b;
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

File 2 of 5 : ManagerProxy.sol
pragma solidity ^0.5.16;

//import "./Manager.sol";
import "../Utils/Ownable.sol";
import "../interfaces/IManager.sol";

contract ManagerProxy is Ownable {
    IManager public manager;

    event NewManager(address indexed oldManager, address indexed newManager);

    modifier CheckPermit(string memory permit) {
        require(manager.userPermits(msg.sender, permit), "no permit");
        _;
    }

    modifier CheckPermitsOr(string[] memory permits) {
        bool granted = false;
        for (uint i = 0; i < permits.length; i++) {
            if (manager.userPermits(msg.sender, permits[i])) {
                granted = true;
                break;
            }
        }

        require(granted, "no permit");
        _;
    }

    modifier CheckUserPermit(address user, string memory permit) {
        require(manager.userPermits(user, permit), "no permit");
        _;
    }

    modifier CheckPermitOrGuardian(string memory permit) {
        require(manager.guardian() == msg.sender || manager.userPermits(msg.sender, permit), "no permit");
        _;
    }

    modifier OutBlacklist(address account) {
        address[] memory addArr = new address[](1);
        addArr[0] = account;
        require(!manager.inBlacklist(addArr), "account is in blacklist");
        _;
    }

    modifier OutBlacklist2(address account0, address account1) {
        address[] memory addArr = new address[](2);
        addArr[0] = account0;
        addArr[1] = account1;
        require(!manager.inBlacklist(addArr), "account is in blacklist");
        _;
    }

    modifier OutBlacklist3(address account0, address account1, address account2) {
        address[] memory addArr = new address[](3);
        addArr[0] = account0;
        addArr[1] = account1;
        addArr[2] = account2;
        require(!manager.inBlacklist(addArr), "account is in blacklist");
        _;
    }

    modifier ValidUDSDState() {
        require(!manager.dusdPaused(), "DUSD is paused");
        _;
    }

    modifier ValidDMTState() {
        require(!manager.dmtPaused(), "DMT is paused");
        _;
    }

    function setManager(address _manager) external onlyOwner {
        return _setManagerInternal(_manager);
    }

    function _getComptroller() internal view returns(address) {
        return manager.members("comptroller");
    }

    function _getIncome() internal view returns(address) {
        return manager.members("income");
    }

    function _getLiquidateFeeSwap() internal view returns(address) {
        return manager.members("liquidateSwap");
    }

    function _getReservedAssetSwap() internal view returns(address) {
        return manager.members("reservedSwap");
    }

    function _getDMT() internal view returns(address) {
        return manager.members("DMT");
    }

    function _getDUSD() internal view returns(address) {
        return manager.members("DUSD");
    }

    function _getDAOPool() internal view returns(address) {
        return manager.members("DAOPool");
    }

    function _getTreasury() internal view returns(address) {
        return manager.members("treasury");
    }

    // with decimal 18
    function _getRedeemTreasuryPercent() internal view returns(uint) {
        return manager.values("redeemTreasuryPercent");
    }

    // with decimal 18
    function _getReserveDAOPercent() internal view returns(uint) {
        return manager.values("reserveDAOPercent");
    }

    // with decimal 18
    function _getDUSDInterestDAOPercent() internal view returns(uint) {
        return manager.values("dusdInterestDAOPercent");
    }

    // with decimal 18
    function _getDUSDMintRate() internal view returns(uint) {
        return manager.values("dusdMintRate");
    }

    // with decimal 18
    function _getLiquidateFeePercent() internal view returns(uint) {
        return manager.values("liquidateFeePercent");
    }

    // with decimal 18
    function _getLiquidateFeeDAOPercent() internal view returns(uint) {
        return manager.values("liquidateFeeDAOPercent");
    }

    function _setManagerInternal(address _manager) internal {
        address oldManager = address(manager);
        manager = IManager(_manager);
        emit NewManager(oldManager, _manager);
    }

}

File 3 of 5 : Ownable.sol
pragma solidity ^0.5.16;

import "./Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
  address public owner;
  address public pendingOwner;

  event NewOwner(address indexed oldOwner, address indexed owner);
  event NewPendingOwner(address indexed pendingOwner);

  modifier onlyOwner() {
    require(msg.sender == owner, "Ownable: only owner");
    _;
  }

  modifier onlyPendingOwner() {
    require(msg.sender == pendingOwner, "Ownable: only pending owner");
    _;
  }

  /**
   * @dev Initializes the contract setting the deployer as the initial owner.
   */
  constructor () internal {
    owner = _msgSender();
    emit NewOwner(address(0), owner);
  }

  function setPendingOwner(address _pendingOwner) external onlyOwner {
    require(_pendingOwner != address(0), "Ownable: pending owner is 0");
    pendingOwner = _pendingOwner;

    emit NewPendingOwner(pendingOwner);
  }

  function acceptOwner() external onlyPendingOwner {
    address old = owner;
    owner = msg.sender;
    pendingOwner = address(0);

    emit NewOwner(old, owner);
  }
}

File 4 of 5 : IManager.sol
pragma solidity ^0.5.16;

interface IManager {
    function userPermits(address user, string calldata permit) external view returns(bool);
    function guardian() external view returns(address);
    function inBlacklist(address[] calldata accounts) external view returns(bool);
    function protocolPaused() external view returns(bool);
    function redeemPaused() external view returns(bool);
    function repayPaused() external view returns(bool);
    function liquidatePaused() external view returns(bool);
    function transferDmTokenPaused() external view returns(bool);

    function marketMintPaused(address market) external view returns(bool);
    function marketBorrowPaused(address market) external view returns(bool);

    function mintVAIPaused() external view returns(bool);
    function repayVAIPaused() external view returns(bool);

    function dusdPaused() external view returns(bool);
    function dmtPaused() external view returns(bool);

    function members(string calldata mem) external view returns(address);
    function values(string calldata key) external view returns(uint256);
}

File 5 of 5 : Context.sol
pragma solidity 0.5.16;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
  // Empty internal constructor, to prevent people from mistakenly deploying
  // an instance of this contract, which should be used via inheritance.
  constructor () internal { }

  function _msgSender() internal view returns (address payable) {
    return msg.sender;
  }

  function _msgData() internal view returns (bytes memory) {
    this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
    return msg.data;
  }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"account","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldManager","type":"address"},{"indexed":true,"internalType":"address","name":"newManager","type":"address"}],"name":"NewManager","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"NewPendingOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"manager","outputs":[{"internalType":"contract IManager","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setManager","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_pendingOwner","type":"address"}],"name":"setPendingOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"rawAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516127eb3803806127eb8339818101604052602081101561003357600080fd5b50516100466001600160e01b0361010016565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b2364908290a36001600160a01b038116600081815260046020908152604080832080546001600160601b0319166b033b2e3c9fd0803ce8000000908117909155815190815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350610104565b3390565b6126d8806101136000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80637ecebe00116100de578063c42069ec11610097578063e30c397811610071578063e30c397814610513578063e7a324dc1461051b578063ebbc496514610523578063f1127ed81461052b57610173565b8063c42069ec14610499578063d0ebdbe7146104bf578063dd62ed3e146104e557610173565b80637ecebe00146103ca5780638da5cb5b146103f057806395d89b41146103f8578063a9059cbb14610400578063b4b5ea571461042c578063c3cda5201461045257610173565b8063481c6a7511610130578063481c6a75146102ab578063587cde1e146102cf5780635c19a95c146102f55780636fcfff451461031d57806370a082311461035c578063782d6fe11461038257610173565b806306fdde0314610178578063095ea7b3146101f557806318160ddd1461023557806320606b701461024f57806323b872dd14610257578063313ce5671461028d575b600080fd5b610180610585565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b0381351690602001356105aa565b604080519115158252519081900360200190f35b61023d61088c565b60408051918252519081900360200190f35b61023d61089c565b6102216004803603606081101561026d57600080fd5b506001600160a01b038135811691602081013590911690604001356108b7565b610295610c53565b6040805160ff9092168252519081900360200190f35b6102b3610c58565b604080516001600160a01b039092168252519081900360200190f35b6102b3600480360360208110156102e557600080fd5b50356001600160a01b0316610c67565b61031b6004803603602081101561030b57600080fd5b50356001600160a01b0316610c82565b005b6103436004803603602081101561033357600080fd5b50356001600160a01b0316610ebf565b6040805163ffffffff9092168252519081900360200190f35b61023d6004803603602081101561037257600080fd5b50356001600160a01b0316610ed7565b6103ae6004803603604081101561039857600080fd5b506001600160a01b038135169060200135610efb565b604080516001600160601b039092168252519081900360200190f35b61023d600480360360208110156103e057600080fd5b50356001600160a01b0316611129565b6102b361113b565b61018061114a565b6102216004803603604081101561041657600080fd5b506001600160a01b038135169060200135611169565b6103ae6004803603602081101561044257600080fd5b50356001600160a01b03166113cb565b61031b600480360360c081101561046857600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a0013561143c565b61031b600480360360208110156104af57600080fd5b50356001600160a01b0316611915565b61031b600480360360208110156104d557600080fd5b50356001600160a01b0316611a15565b61023d600480360360408110156104fb57600080fd5b506001600160a01b0381358116916020013516611a76565b6102b3611aaa565b61023d611ab9565b61031b611ad4565b61055d6004803603604081101561054157600080fd5b5080356001600160a01b0316906020013563ffffffff16611b8e565b6040805163ffffffff90931683526001600160601b0390911660208301528051918290030190f35b604051806040016040528060098152602001682226aa103a37b5b2b760b91b81525081565b60025460408051634146f98b60e11b815290516000926001600160a01b03169163828df316916004808301926020929190829003018186803b1580156105ef57600080fd5b505afa158015610603573d6000803e3d6000fd5b505050506040513d602081101561061957600080fd5b50511561065d576040805162461bcd60e51b815260206004820152600d60248201526c111355081a5cc81c185d5cd959609a1b604482015290519081900360640190fd5b6040805160028082526060808301845233938793919290602083019080388339019050509050828160008151811061069157fe5b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106106bf57fe5b6001600160a01b0392831660209182029290920181019190915260025460405163459564d960e01b815260048101838152855160248301528551929094169363459564d993869391928392604490910191858101910280838360005b8381101561073357818101518382015260200161071b565b505050509050019250505060206040518083038186803b15801561075657600080fd5b505afa15801561076a573d6000803e3d6000fd5b505050506040513d602081101561078057600080fd5b5051156107ce576040805162461bcd60e51b81526020600482015260176024820152761858d8dbdd5b9d081a5cc81a5b88189b1858dadb1a5cdd604a1b604482015290519081900360640190fd5b60006000198614156107e35750600019610808565b6108058660405180606001604052806024815260200161256460249139611bc3565b90505b3360008181526003602090815260408083206001600160a01b038c168085529083529281902080546001600160601b0319166001600160601b038716908117909155815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019695505050505050565b6b033b2e3c9fd0803ce800000081565b6040518060436125ad82396043019050604051809103902081565b60025460408051634146f98b60e11b815290516000926001600160a01b03169163828df316916004808301926020929190829003018186803b1580156108fc57600080fd5b505afa158015610910573d6000803e3d6000fd5b505050506040513d602081101561092657600080fd5b50511561096a576040805162461bcd60e51b815260206004820152600d60248201526c111355081a5cc81c185d5cd959609a1b604482015290519081900360640190fd5b604080516003808252608082019092523391869186916060919060208201838038833901905050905083816000815181106109a157fe5b60200260200101906001600160a01b031690816001600160a01b03168152505082816001815181106109cf57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505081816002815181106109fd57fe5b6001600160a01b0392831660209182029290920181019190915260025460405163459564d960e01b815260048101838152855160248301528551929094169363459564d993869391928392604490910191858101910280838360005b83811015610a71578181015183820152602001610a59565b505050509050019250505060206040518083038186803b158015610a9457600080fd5b505afa158015610aa8573d6000803e3d6000fd5b505050506040513d6020811015610abe57600080fd5b505115610b0c576040805162461bcd60e51b81526020600482015260176024820152761858d8dbdd5b9d081a5cc81a5b88189b1858dadb1a5cdd604a1b604482015290519081900360640190fd5b6001600160a01b03881660009081526003602090815260408083203380855290835281842054825160608101909352602480845291946001600160601b03909116939092610b62928c9261256490830139611bc3565b90508a6001600160a01b0316836001600160a01b031614158015610b8f57506001600160601b0382811614155b15610c37576000610bb983836040518060600160405280603c81526020016124dd603c9139611c5d565b6001600160a01b038d81166000818152600360209081526040808320948a168084529482529182902080546001600160601b0319166001600160601b03871690811790915582519081529151949550929391927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92592918290030190a3505b610c428b8b83611cca565b5060019a9950505050505050505050565b601281565b6002546001600160a01b031681565b6005602052600090815260409020546001600160a01b031681565b600260009054906101000a90046001600160a01b03166001600160a01b031663828df3166040518163ffffffff1660e01b815260040160206040518083038186803b158015610cd057600080fd5b505afa158015610ce4573d6000803e3d6000fd5b505050506040513d6020811015610cfa57600080fd5b505115610d3e576040805162461bcd60e51b815260206004820152600d60248201526c111355081a5cc81c185d5cd959609a1b604482015290519081900360640190fd5b60408051600280825260608083018452339385939192906020830190803883390190505090508281600081518110610d7257fe5b60200260200101906001600160a01b031690816001600160a01b0316815250508181600181518110610da057fe5b6001600160a01b0392831660209182029290920181019190915260025460405163459564d960e01b815260048101838152855160248301528551929094169363459564d993869391928392604490910191858101910280838360005b83811015610e14578181015183820152602001610dfc565b505050509050019250505060206040518083038186803b158015610e3757600080fd5b505afa158015610e4b573d6000803e3d6000fd5b505050506040513d6020811015610e6157600080fd5b505115610eaf576040805162461bcd60e51b81526020600482015260176024820152761858d8dbdd5b9d081a5cc81a5b88189b1858dadb1a5cdd604a1b604482015290519081900360640190fd5b610eb93385611eaf565b50505050565b60076020526000908152604090205463ffffffff1681565b6001600160a01b03166000908152600460205260409020546001600160601b031690565b6000438210610f3b5760405162461bcd60e51b81526004018080602001828103825260268152602001806125196026913960400191505060405180910390fd5b6001600160a01b03831660009081526007602052604090205463ffffffff1680610f69576000915050611123565b6001600160a01b038416600090815260066020908152604080832063ffffffff600019860181168552925290912054168310610fe5576001600160a01b03841660009081526006602090815260408083206000199490940163ffffffff1683529290522054600160201b90046001600160601b03169050611123565b6001600160a01b038416600090815260066020908152604080832083805290915290205463ffffffff16831015611020576000915050611123565b600060001982015b8163ffffffff168163ffffffff1611156110e357600282820363ffffffff160481036110526123a1565b506001600160a01b038716600090815260066020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152908714156110be576020015194506111239350505050565b805163ffffffff168711156110d5578193506110dc565b6001820392505b5050611028565b506001600160a01b038516600090815260066020908152604080832063ffffffff909416835292905220546001600160601b03600160201b909104169150505b92915050565b60086020526000908152604090205481565b6000546001600160a01b031681565b6040518060400160405280600381526020016211135560ea1b81525081565b60025460408051634146f98b60e11b815290516000926001600160a01b03169163828df316916004808301926020929190829003018186803b1580156111ae57600080fd5b505afa1580156111c2573d6000803e3d6000fd5b505050506040513d60208110156111d857600080fd5b50511561121c576040805162461bcd60e51b815260206004820152600d60248201526c111355081a5cc81c185d5cd959609a1b604482015290519081900360640190fd5b6040805160028082526060808301845233938793919290602083019080388339019050509050828160008151811061125057fe5b60200260200101906001600160a01b031690816001600160a01b031681525050818160018151811061127e57fe5b6001600160a01b0392831660209182029290920181019190915260025460405163459564d960e01b815260048101838152855160248301528551929094169363459564d993869391928392604490910191858101910280838360005b838110156112f25781810151838201526020016112da565b505050509050019250505060206040518083038186803b15801561131557600080fd5b505afa158015611329573d6000803e3d6000fd5b505050506040513d602081101561133f57600080fd5b50511561138d576040805162461bcd60e51b81526020600482015260176024820152761858d8dbdd5b9d081a5cc81a5b88189b1858dadb1a5cdd604a1b604482015290519081900360640190fd5b60006113b18660405180606001604052806025815260200161253f60259139611bc3565b90506113be338883611cca565b5060019695505050505050565b6001600160a01b03811660009081526007602052604081205463ffffffff16806113f6576000611435565b6001600160a01b0383166000908152600660209081526040808320600019850163ffffffff168452909152902054600160201b90046001600160601b03165b9392505050565b600260009054906101000a90046001600160a01b03166001600160a01b031663828df3166040518163ffffffff1660e01b815260040160206040518083038186803b15801561148a57600080fd5b505afa15801561149e573d6000803e3d6000fd5b505050506040513d60208110156114b457600080fd5b5051156114f8576040805162461bcd60e51b815260206004820152600d60248201526c111355081a5cc81c185d5cd959609a1b604482015290519081900360640190fd5b6040805160028082526060808301845233938a93919290602083019080388339019050509050828160008151811061152c57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050818160018151811061155a57fe5b6001600160a01b0392831660209182029290920181019190915260025460405163459564d960e01b815260048101838152855160248301528551929094169363459564d993869391928392604490910191858101910280838360005b838110156115ce5781810151838201526020016115b6565b505050509050019250505060206040518083038186803b1580156115f157600080fd5b505afa158015611605573d6000803e3d6000fd5b505050506040513d602081101561161b57600080fd5b505115611669576040805162461bcd60e51b81526020600482015260176024820152761858d8dbdd5b9d081a5cc81a5b88189b1858dadb1a5cdd604a1b604482015290519081900360640190fd5b600060405180806125ad604391396040805191829003604301822082820190915260098252682226aa103a37b5b2b760b91b60209092019190915290507f8d991945bd4eccb8ad2a676a9e3e08950fadb657f94938972467c90256dd22ad6116cf611f33565b3060405160200180858152602001848152602001838152602001826001600160a01b03166001600160a01b031681526020019450505050506040516020818303038152906040528051906020012090506000604051808061266a603a91396040805191829003603a0182206020808401919091526001600160a01b038f1683830152606083018e905260808084018e90528251808503909101815260a08401835280519082012061190160f01b60c085015260c2840187905260e2808501829052835180860390910181526101028501808552815191840191909120600091829052610122860180865281905260ff8f1661014287015261016286018e905261018286018d9052935191965092945091926001926101a28083019392601f198301929081900390910190855afa15801561180d573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661185f5760405162461bcd60e51b81526004018080602001828103825260258152602001806125886025913960400191505060405180910390fd5b6001600160a01b03811660009081526008602052604090208054600181019091558c146118bd5760405162461bcd60e51b81526004018080602001828103825260218152602001806123b96021913960400191505060405180910390fd5b8a4211156118fc5760405162461bcd60e51b815260040180806020018281038252602581526020018061261f6025913960400191505060405180910390fd5b611906818e611eaf565b50505050505050505050505050565b6000546001600160a01b0316331461196a576040805162461bcd60e51b815260206004820152601360248201527227bbb730b136329d1037b7363c9037bbb732b960691b604482015290519081900360640190fd5b6001600160a01b0381166119c5576040805162461bcd60e51b815260206004820152601b60248201527f4f776e61626c653a2070656e64696e67206f776e657220697320300000000000604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f69737d41162474a7ca514809b07d7becaecf72eae8c23bceb071f0e09af93ffc90600090a250565b6000546001600160a01b03163314611a6a576040805162461bcd60e51b815260206004820152601360248201527227bbb730b136329d1037b7363c9037bbb732b960691b604482015290519081900360640190fd5b611a7381611f37565b50565b6001600160a01b0391821660009081526003602090815260408083209390941682529190915220546001600160601b031690565b6001546001600160a01b031681565b60405180603a61266a8239603a019050604051809103902081565b6001546001600160a01b03163314611b33576040805162461bcd60e51b815260206004820152601b60248201527f4f776e61626c653a206f6e6c792070656e64696e67206f776e65720000000000604482015290519081900360640190fd5b600080546001600160a01b03198082163317808455600180549092169091556040516001600160a01b0392831693919092169183917f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b236491a350565b600660209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b600081600160601b8410611c555760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c1a578181015183820152602001611c02565b50505050905090810190601f168015611c475780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b509192915050565b6000836001600160601b0316836001600160601b031611158290611cc25760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611c1a578181015183820152602001611c02565b505050900390565b6001600160a01b038316611d0f5760405162461bcd60e51b815260040180806020018281038252603b81526020018061246d603b913960400191505060405180910390fd5b6001600160a01b038216611d545760405162461bcd60e51b81526004018080602001828103825260398152602001806124016039913960400191505060405180910390fd5b6001600160a01b038316600090815260046020908152604091829020548251606081019093526035808452611d9f936001600160601b0390921692859291906124a890830139611c5d565b6001600160a01b03848116600090815260046020908152604080832080546001600160601b0319166001600160601b0396871617905592861682529082902054825160608101909352602f808452611e0794919091169285929091906125f090830139611f89565b6001600160a01b0383811660008181526004602090815260409182902080546001600160601b0319166001600160601b039687161790558151948616855290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a36001600160a01b03808416600090815260056020526040808220548584168352912054611eaa92918216911683611ff3565b505050565b6001600160a01b03808316600081815260056020818152604080842080546004845282862054949093528787166001600160a01b031984168117909155905191909516946001600160601b039092169391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610eb9828483611ff3565b4690565b600280546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f770e6248a70b6ac757edf422766216da592c37e3112db900fe0da8984191831b90600090a35050565b6000838301826001600160601b038087169083161015611fea5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611c1a578181015183820152602001611c02565b50949350505050565b816001600160a01b0316836001600160a01b03161415801561201e57506000816001600160601b0316115b15611eaa576001600160a01b038316156120d6576001600160a01b03831660009081526007602052604081205463ffffffff16908161205e57600061209d565b6001600160a01b0385166000908152600660209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b905060006120c482856040518060600160405280602781526020016123da60279139611c5d565b90506120d28684848461218d565b5050505b6001600160a01b03821615611eaa576001600160a01b03821660009081526007602052604081205463ffffffff169081612111576000612150565b6001600160a01b0384166000908152600660209081526040808320600019860163ffffffff168452909152902054600160201b90046001600160601b03165b90506000612177828560405180606001604052806026815260200161264460269139611f89565b90506121858584848461218d565b505050505050565b60006121b14360405180606001604052806033815260200161243a6033913961234c565b905060008463ffffffff161180156121fa57506001600160a01b038516600090815260066020908152604080832063ffffffff6000198901811685529252909120548282169116145b15612259576001600160a01b0385166000908152600660209081526040808320600019880163ffffffff168452909152902080546fffffffffffffffffffffffff000000001916600160201b6001600160601b038516021790556122f8565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000818152600683528781208c871682528352878120965187549451909516600160201b026fffffffffffffffffffffffff000000001995871663ffffffff19958616179590951694909417909555938252600790935292909220805460018801909316929091169190911790555b604080516001600160601b0380861682528416602082015281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b600081600160201b8410611c555760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611c1a578181015183820152602001611c02565b60408051808201909152600080825260208201529056fe444d543a3a64656c656761746542795369673a20696e76616c6964206e6f6e6365444d543a3a5f6d6f7665566f7465733a20766f746520616d6f756e7420756e646572666c6f7773444d543a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e7366657220746f20746865207a65726f2061646472657373444d543a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473444d543a3a5f7472616e73666572546f6b656e733a2063616e6e6f74207472616e736665722066726f6d20746865207a65726f2061646472657373444d543a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e6365444d543a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e6365444d543a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e6564444d543a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473444d543a3a617070726f76653a20616d6f756e7420657863656564732039362062697473444d543a3a64656c656761746542795369673a20696e76616c6964207369676e6174757265454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429444d543a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f7773444d543a3a64656c656761746542795369673a207369676e61747572652065787069726564444d543a3a5f6d6f7665566f7465733a20766f746520616d6f756e74206f766572666c6f777344656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a723158202d26fda5f15518770470817cc17df9844f7b74007ddb38820c853031b792991364736f6c63430005100032000000000000000000000000d1f971928b53c2032328e9f28bb714da192eb324

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

000000000000000000000000d1f971928b53c2032328e9f28bb714da192eb324

-----Decoded View---------------
Arg [0] : account (address): 0xd1f971928b53c2032328e9f28bb714da192eb324

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000d1f971928b53c2032328e9f28bb714da192eb324


Block Transaction Gas Used Reward
Age Block Fee Address Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading