Contract 0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c0

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x8b99aeaa8d6915ae8379fcc9b73a6c85abae8845d290f278e330547ad22364e2Set Member83457332021-09-18 2:10:2381 days 22 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000099609752.25
0xb3b96877a9f35f6376e3b95b40cb53d0787690f3981263a84cafa4dad4d5436fSet Value83310942021-09-17 13:58:2682 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000097652.25
0x962424ec6d0e367ee9ff3548e9696381df042fe39f2243e03658dc0a75b76f69Set Value83310912021-09-17 13:58:1782 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.0000975422.25
0xd3a846c90ae65198c6c2f48b20845fce97930ca7f02aa3674ad9fe3b5ac633e9Set Value83310882021-09-17 13:58:0882 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000097382.25
0x6f88eb849c068ef16ae867e7509916d3be430a232640d19f55788580776c5b6cSet Value83310832021-09-17 13:57:5382 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.0000976772.25
0x140f6b935c15c98848052a88d4c90c2daeec25feddef8eab80db18aa369a2dbcSet Value83310802021-09-17 13:57:4482 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.0000975422.25
0x62d23aa43eb19107a96f027795024f0ecda28d76152fe167b78f2c9932b83a61Set Member83310772021-09-17 13:57:3582 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000099528752.25
0x177ec5bf55c3354431157c122dc7c50f8e373eb493702e0ae8376af59211f706Set Member83310742021-09-17 13:57:2682 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000099501752.25
0x4d2fb8cd0cbc0f5b38528fc207da741c933679452a0bc8531c1621a2ebcd084cSet Member83310722021-09-17 13:57:2082 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000099690752.25
0xb5e0740a33c2966d983e2e8938eb9ff991eaba09eeaffe7fd43886b4438829daSet Member83310692021-09-17 13:57:1182 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000099582752.25
0x687f259768fe7f8a0000e2d12972ad79de78b3aad84d7403d09fc409a31b5fb4Set Member83310672021-09-17 13:57:0582 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000099744752.25
0xddb1bd209645b96c1bef438f0177a6e0d49b657627c6dde813edfc391f1ef594Set Member83310642021-09-17 13:56:5682 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000099771752.25
0x012ce1586d4f88faec741228882242d9625c0a6f26a662a3b83d1360892cf9a1Set Value83310622021-09-17 13:56:5082 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.0000542612.25
0x1f4269924c4daa395946063a2bee71c1c172ca26b824b0aea47e0b23c50d1fb9Set Member83310602021-09-17 13:56:4482 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000099636752.25
0x01a380551c79b716230f17781083358f3bf3849ec9901cd35fda36145fb1a03fSet User Permit83310582021-09-17 13:56:3882 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000100338752.25
0xcfcf0f1763980503eee29ec9b8a0f3bf97968d2bd2722e09d3dc68d752f5e42fSet User Permit83310542021-09-17 13:56:2682 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000100311752.25
0x00159307549e36b61549b620993cff7eb682b35a33adaaf6ad1cbcb8962949dfSet User Permit83310512021-09-17 13:56:1782 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000100419752.25
0x35cfb49eaac1ec117a4b5e110314e08c2dda56c1a40e8e60cb00a0202901b7abSet User Permit83310482021-09-17 13:56:0882 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000100230752.25
0xafa4a2dc28d5c2afa86a314bb33804ad2fce3cc2c9b4b566bcd7ab25f96a34e6Set User Permit83310452021-09-17 13:55:5982 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000100257752.25
0xc7e6d61ac3d0c2e5046de7fa9db6d39e735cb2e4f34244c6300eed8f334e772eSet User Permit83310422021-09-17 13:55:5082 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000100257752.25
0x1ff78ae273b63d7e70c5dc6798747dde30181cd2998b834c8c0236b2c9326095Set User Permit83310392021-09-17 13:55:4182 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  0xec94b3805ec75cd9ac9d2fbebb134f4cfde3a9c00 HT0.000100392752.25
0xd00af57d33924bdfb8bfcc21224647d5ccb6c51e431f9a308a62172a56466dd10x6080604083309972021-09-17 13:53:3582 days 10 hrs ago0xbed2a95406d319eb6f3cbfb1c012934ce15fc603 IN  Contract Creation0 HT0.003145025252.25
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x75432893DFba7103A9F68CFE8fE3EAC4764eE60C

Contract Name:
Manager

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 4 : Manager.sol
pragma solidity ^0.5.16;

import "./Blacklist.sol";
import "../Utils/Ownable.sol";

contract Manager is Ownable, Blacklist {
    address public guardian;

    mapping(string => address) public members;
    mapping(string => uint) public values;
    mapping(address => mapping(string => bool)) public userPermits;

    bool public protocolPaused;
    bool public redeemPaused;
    bool public repayPaused;
    bool public liquidatePaused;
    bool public transferDmTokenPaused;
    mapping(address => bool) public marketMintPaused;
    mapping(address => bool) public marketBorrowPaused;

    bool public mintVAIPaused;
    bool public repayVAIPaused;

    bool public dusdPaused;
    bool public dmtPaused;

    event NewGuardian(address indexed oldGuardian, address indexed newGuardian);
    event NewProtocolState(bool indexed oldState, bool indexed newState);
    event NewRedeemState(bool indexed oldState, bool indexed newState);
    event NewRepayState(bool indexed oldState, bool indexed newState);
    event NewLiquidateState(bool indexed oldState, bool indexed newState);
    event NewTransferDmTokenState(bool indexed oldState, bool indexed newState);
    event NewMintVAIState(bool indexed oldState, bool indexed newState);
    event NewRepayVAIState(bool indexed oldState, bool indexed newState);
    event NewMarketMintState(address indexed market, bool indexed newState);
    event NewMarketBorrowState(address indexed market, bool indexed newState);

    event NewDUSDState(bool indexed oldState, bool indexed newState);
    event NewDMTState(bool indexed oldState, bool indexed newState);

    modifier onlyOwnerOrGuardian() {
        require(msg.sender == owner || msg.sender == guardian, "Manager: only owner or guardian");
        _;
    }

    function setGuardian(address newGuardian) external onlyOwner {
        address oldGuardian = guardian;
        guardian = newGuardian;
        emit NewGuardian(oldGuardian, newGuardian);
    }

    function setMember(string calldata name, address member) external onlyOwner {
        members[name] = member;
    }

    function setValue(string calldata name, uint value) external onlyOwner {
        values[name] = value;
    }

    function setUserPermit(address user, string calldata permit, bool enable) external onlyOwner {
        userPermits[user][permit] = enable;
    }

    function setProtocolPaused(bool state) external onlyOwnerOrGuardian {
        bool oldState = protocolPaused;
        protocolPaused = state;
        emit NewProtocolState(oldState, state);
    }

    function setRedeemPaused(bool state) external onlyOwnerOrGuardian {
        bool oldState = redeemPaused;
        redeemPaused = state;
        emit NewRedeemState(oldState, state);
    }

    function setRepayPaused(bool state) external onlyOwnerOrGuardian {
        bool oldState = repayPaused;
        repayPaused = state;
        emit NewRepayState(oldState, state);
    }

    function setLiquidatePaused(bool state) external onlyOwnerOrGuardian {
        bool oldState = liquidatePaused;
        liquidatePaused = state;
        emit NewLiquidateState(oldState, state);
    }

    function setTransferDmTokenPaused(bool state) external onlyOwnerOrGuardian {
        bool oldState = transferDmTokenPaused;
        transferDmTokenPaused = state;
        emit NewTransferDmTokenState(oldState, state);
    }

    function setMintVAIPaused(bool state) external onlyOwnerOrGuardian {
        bool oldState = mintVAIPaused;
        mintVAIPaused = state;
        emit NewMintVAIState(oldState, state);
    }

    function setRepayVAIPaused(bool state) external onlyOwnerOrGuardian {
        bool oldState = repayVAIPaused;
        repayVAIPaused = state;
        emit NewRepayVAIState(oldState, state);
    }

    function setMarketMintPaused(address market, bool state) external onlyOwnerOrGuardian {
        marketMintPaused[market] = state;
        emit NewMarketMintState(market, state);
    }

    function setMarketBorrowPaused(address market, bool state) external onlyOwnerOrGuardian {
        marketBorrowPaused[market] = state;
        emit NewMarketBorrowState(market, state);
    }

    function setDUSDPaused(bool state) external onlyOwnerOrGuardian {
        bool oldState = dusdPaused;
        dusdPaused = state;
        emit NewDUSDState(oldState, state);
    }

    function setDMTPaused(bool state) external onlyOwnerOrGuardian {
        bool oldState = dmtPaused;
        dmtPaused = state;
        emit NewDMTState(oldState, state);
    }

    /// IBlacklist
    function setBlacklist(address _account, bool _open) external onlyOwnerOrGuardian {
        _setBlacklist(_account, _open);
    }


    /// view function
    function inBlacklist(address[] calldata accounts) external view returns(bool) {
        for (uint i = 0; i < accounts.length; i++) {
            if (blacklist[accounts[i]]) {
                return true;
            }
        }

        return false;
    }
}

File 2 of 4 : Blacklist.sol
pragma solidity ^0.5.16;

interface IBlacklist {
    function setBlacklist(address _account, bool _open) external;
}

contract Blacklist is IBlacklist {
    mapping(address => bool) public blacklist;

    event BlacklistChanged(address indexed account, bool indexed open);

//    function setBlacklist(address _account, bool _open) external;

    function _setBlacklist(address _account, bool _open) internal {
        blacklist[_account] = _open;
        emit BlacklistChanged(_account, _open);
    }
}

File 3 of 4 : 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 4 : 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

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"open","type":"bool"}],"name":"BlacklistChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"oldState","type":"bool"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewDMTState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"oldState","type":"bool"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewDUSDState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldGuardian","type":"address"},{"indexed":true,"internalType":"address","name":"newGuardian","type":"address"}],"name":"NewGuardian","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"oldState","type":"bool"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewLiquidateState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"market","type":"address"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewMarketBorrowState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"market","type":"address"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewMarketMintState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"oldState","type":"bool"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewMintVAIState","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":"bool","name":"oldState","type":"bool"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewProtocolState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"oldState","type":"bool"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewRedeemState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"oldState","type":"bool"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewRepayState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"oldState","type":"bool"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewRepayVAIState","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"oldState","type":"bool"},{"indexed":true,"internalType":"bool","name":"newState","type":"bool"}],"name":"NewTransferDmTokenState","type":"event"},{"constant":false,"inputs":[],"name":"acceptOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dmtPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dusdPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"inBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"liquidatePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketBorrowPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketMintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"members","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintVAIPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":true,"inputs":[],"name":"protocolPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"redeemPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"repayPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"repayVAIPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_open","type":"bool"}],"name":"setBlacklist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setDMTPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setDUSDPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newGuardian","type":"address"}],"name":"setGuardian","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setLiquidatePaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"market","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setMarketBorrowPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"market","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setMarketMintPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"address","name":"member","type":"address"}],"name":"setMember","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setMintVAIPaused","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":false,"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setProtocolPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setRedeemPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setRepayPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setRepayVAIPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setTransferDmTokenPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"string","name":"permit","type":"string"},{"internalType":"bool","name":"enable","type":"bool"}],"name":"setUserPermit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"transferDmTokenPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"string","name":"","type":"string"}],"name":"userPermits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"values","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040526100156001600160e01b0361006216565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b2364908290a3610066565b3390565b6117e5806100756000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80636957a0b21161013057806395fe4e6c116100b8578063cb29302a1161007c578063cb29302a14610892578063ccb99c26146108b1578063e30c3978146108d0578063ebbc4965146108d8578063f9f92be4146108e057610227565b806395fe4e6c1461081e578063a7b143971461083d578063b235d46814610845578063bfa2bbd61461084d578063c42069ec1461086c57610227565b80638275d471116100ff5780638275d471146107a3578063828df316146107c25780638a0dac4a146107ca5780638da5cb5b146107f057806391c484a7146107f857610227565b80636957a0b2146105af5780637aab4f11146106535780637c2da7aa146106815780637dd13a95146106ef57610227565b8063425fad58116101b357806347642d351161018257806347642d351461043c57806352050eef14610444578063540e2617146104635780635a9ade8b146104da578063654d551b1461059057610227565b8063425fad5814610383578063452a93201461038b57806345784512146103af578063459564d9146103ce57610227565b80632b0a538e116101fa5780632b0a538e146103175780632d24280e1461031f5780632f13c40c1461032757806336699dc5146103555780633819d0021461035d57610227565b80630a518d661461022c578063153b0d1e1461024d57806319f225a51461027b5780631e9dbce6146102fb575b600080fd5b61024b6004803603602081101561024257600080fd5b50351515610906565b005b61024b6004803603604081101561026357600080fd5b506001600160a01b03813516906020013515156109bd565b61024b6004803603606081101561029157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156102bb57600080fd5b8201836020820111156102cd57600080fd5b803590602001918460018302840111600160201b831117156102ee57600080fd5b9193509150351515610a2d565b610303610ae4565b604080519115158252519081900360200190f35b610303610af3565b610303610b03565b61024b6004803603604081101561033d57600080fd5b506001600160a01b0381351690602001351515610b13565b610303610bc9565b6103036004803603602081101561037357600080fd5b50356001600160a01b0316610bd2565b610303610be7565b610393610bf0565b604080516001600160a01b039092168252519081900360200190f35b61024b600480360360208110156103c557600080fd5b50351515610bff565b610303600480360360208110156103e457600080fd5b810190602081018135600160201b8111156103fe57600080fd5b82018360208201111561041057600080fd5b803590602001918460208302840111600160201b8311171561043157600080fd5b509092509050610cb9565b610303610d1e565b61024b6004803603602081101561045a57600080fd5b50351515610d2c565b61024b6004803603604081101561047957600080fd5b810190602081018135600160201b81111561049357600080fd5b8201836020820111156104a557600080fd5b803590602001918460018302840111600160201b831117156104c657600080fd5b9193509150356001600160a01b0316610de1565b61057e600480360360208110156104f057600080fd5b810190602081018135600160201b81111561050a57600080fd5b82018360208201111561051c57600080fd5b803590602001918460018302840111600160201b8311171561053d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e83945050505050565b60408051918252519081900360200190f35b61024b600480360360208110156105a657600080fd5b50351515610ea0565b610393600480360360208110156105c557600080fd5b810190602081018135600160201b8111156105df57600080fd5b8201836020820111156105f157600080fd5b803590602001918460018302840111600160201b8311171561061257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f59945050505050565b61024b6004803603604081101561066957600080fd5b506001600160a01b0381351690602001351515610f7f565b61024b6004803603604081101561069757600080fd5b810190602081018135600160201b8111156106b157600080fd5b8201836020820111156106c357600080fd5b803590602001918460018302840111600160201b831117156106e457600080fd5b919350915035611035565b6103036004803603604081101561070557600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561072f57600080fd5b82018360208201111561074157600080fd5b803590602001918460018302840111600160201b8311171561076257600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506110ba945050505050565b61024b600480360360208110156107b957600080fd5b503515156110eb565b610303611196565b61024b600480360360208110156107e057600080fd5b50356001600160a01b03166111a6565b61039361124d565b6103036004803603602081101561080e57600080fd5b50356001600160a01b031661125c565b61024b6004803603602081101561083457600080fd5b50351515611271565b61030361131c565b61030361132b565b61024b6004803603602081101561086357600080fd5b50351515611339565b61024b6004803603602081101561088257600080fd5b50356001600160a01b03166113f0565b61024b600480360360208110156108a857600080fd5b503515156114f0565b61024b600480360360208110156108c757600080fd5b503515156115a9565b61039361165e565b61024b61166d565b610303600480360360208110156108f657600080fd5b50356001600160a01b0316611727565b6000546001600160a01b031633148061092957506003546001600160a01b031633145b610968576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b600a805462ff000019811662010000841515818102929092179093556040519290910460ff1691821515907f9ff366d10144aa12407f73391d85bac5e68102995115a5a61643c86a3ccccefa90600090a35050565b6000546001600160a01b03163314806109e057506003546001600160a01b031633145b610a1f576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b610a29828261173c565b5050565b6000546001600160a01b03163314610a82576040805162461bcd60e51b815260206004820152601360248201527227bbb730b136329d1037b7363c9037bbb732b960691b604482015290519081900360640190fd5b8060066000866001600160a01b03166001600160a01b0316815260200190815260200160002084846040518083838082843791909101948552505060405192839003602001909220805493151560ff1990941693909317909255505050505050565b60075462010000900460ff1681565b600754600160201b900460ff1681565b6007546301000000900460ff1681565b6000546001600160a01b0316331480610b3657506003546001600160a01b031633145b610b75576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b6001600160a01b038216600081815260086020526040808220805460ff191685151590811790915590519092917fe457da7eee52fb7c6065a0a560e835cfa0b2cba282bbd0a13dd3fc25450998a091a35050565b600a5460ff1681565b60096020526000908152604090205460ff1681565b60075460ff1681565b6003546001600160a01b031681565b6000546001600160a01b0316331480610c2257506003546001600160a01b031633145b610c61576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b6007805464ff00000000198116600160201b841515818102929092179093556040519290910460ff1691821515907f85df7123a1b7ab4a1da72816f7e6da99fcc7180c5fbf8220a0640624251d21fa90600090a35050565b6000805b82811015610d125760026000858584818110610cd557fe5b602090810292909201356001600160a01b03168352508101919091526040016000205460ff1615610d0a576001915050610d18565b600101610cbd565b50600090505b92915050565b600a54610100900460ff1681565b6000546001600160a01b0316331480610d4f57506003546001600160a01b031633145b610d8e576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b600a805461ff00198116610100841515818102929092179093556040519290910460ff1691821515907f1e975b297e84ec04fe225ff0574a6edebf086b2e8a7ba34e6dfb5272b974a31e90600090a35050565b6000546001600160a01b03163314610e36576040805162461bcd60e51b815260206004820152601360248201527227bbb730b136329d1037b7363c9037bbb732b960691b604482015290519081900360640190fd5b8060048484604051808383808284379190910194855250506040519283900360200190922080546001600160a01b03949094166001600160a01b0319909416939093179092555050505050565b805160208183018101805160058252928201919093012091525481565b6000546001600160a01b0316331480610ec357506003546001600160a01b031633145b610f02576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b600a805463ff0000001981166301000000841515818102929092179093556040519290910460ff1691821515907f0241c34afe97d6e6357dcb5cc430b4d1fd5944b0c9653c1f4085837be20e629290600090a35050565b80516020818301810180516004825292820191909301209152546001600160a01b031681565b6000546001600160a01b0316331480610fa257506003546001600160a01b031633145b610fe1576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917f7eef3fd934fe73866cd30585c0ddd3aad72fdbc3c8f4f7588da64f927f59a95291a35050565b6000546001600160a01b0316331461108a576040805162461bcd60e51b815260206004820152601360248201527227bbb730b136329d1037b7363c9037bbb732b960691b604482015290519081900360640190fd5b80600584846040518083838082843791909101948552505060405192839003602001909220929092555050505050565b6006602090815260009283526040909220815180830184018051928152908401929093019190912091525460ff1681565b6000546001600160a01b031633148061110e57506003546001600160a01b031633145b61114d576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b6007805482151560ff198216811790925560405160ff9091169190821515907f35a32b11ce3c94c374dfe4125d3a3d2fb29dbf135116e0514a6023b2730da0fe90600090a35050565b600a546301000000900460ff1681565b6000546001600160a01b031633146111fb576040805162461bcd60e51b815260206004820152601360248201527227bbb730b136329d1037b7363c9037bbb732b960691b604482015290519081900360640190fd5b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f08fdaf06427a2010e5958f4329b566993472d14ce81d3f16ce7f2a2660da98e390600090a35050565b6000546001600160a01b031681565b60086020526000908152604090205460ff1681565b6000546001600160a01b031633148061129457506003546001600160a01b031633145b6112d3576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b600a805482151560ff198216811790925560405160ff9091169190821515907fff5d116427b6d346d2921fa6b68493fc75d5283c5feb0139ed92cab0e5d57b1a90600090a35050565b600a5462010000900460ff1681565b600754610100900460ff1681565b6000546001600160a01b031633148061135c57506003546001600160a01b031633145b61139b576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b6007805462ff000019811662010000841515818102929092179093556040519290910460ff1691821515907fe74ed82cf00fdc29f82ff9b2b4d14a347e840730a765debc3c2f4f0320a2217e90600090a35050565b6000546001600160a01b03163314611445576040805162461bcd60e51b815260206004820152601360248201527227bbb730b136329d1037b7363c9037bbb732b960691b604482015290519081900360640190fd5b6001600160a01b0381166114a0576040805162461bcd60e51b815260206004820152601b60248201527f4f776e61626c653a2070656e64696e67206f776e657220697320300000000000604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f69737d41162474a7ca514809b07d7becaecf72eae8c23bceb071f0e09af93ffc90600090a250565b6000546001600160a01b031633148061151357506003546001600160a01b031633145b611552576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b6007805463ff0000001981166301000000841515818102929092179093556040519290910460ff1691821515907fe8882c8b8461b6d9723f6a5bd66e3d5f5312865a5a91a6df0bef170ef20e899f90600090a35050565b6000546001600160a01b03163314806115cc57506003546001600160a01b031633145b61160b576040805162461bcd60e51b815260206004820152601f6024820152600080516020611791833981519152604482015290519081900360640190fd5b6007805461ff00198116610100841515818102929092179093556040519290910460ff1691821515907f4886f2288c29852312301e89a31963c46fd205ec91904710c7a925680eae763f90600090a35050565b6001546001600160a01b031681565b6001546001600160a01b031633146116cc576040805162461bcd60e51b815260206004820152601b60248201527f4f776e61626c653a206f6e6c792070656e64696e67206f776e65720000000000604482015290519081900360640190fd5b600080546001600160a01b03198082163317808455600180549092169091556040516001600160a01b0392831693919092169183917f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b236491a350565b60026020526000908152604090205460ff1681565b6001600160a01b038216600081815260026020526040808220805460ff191685151590811790915590519092917f4e2837d4cea358eb5b2222f9a430cc0411445782d01b0dbb84f8c729304d103791a3505056fe4d616e616765723a206f6e6c79206f776e6572206f7220677561726469616e00a265627a7a72315820e83cd893899e4962217ac2fe4254575b80bebb4cec49c0b11b9bbe75262d601364736f6c63430005100032

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