ETH Price: $2,768.28 (+4.89%)

Contract

0xB849Daff8045fc295aF2f6b4E27874914b5911C6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer187463982023-12-09 4:49:47258 days ago1702097387IN
0xB849Daff...14b5911C6
0 ETH0.001425326.47450031
Initialize187322342023-12-07 5:08:11260 days ago1701925691IN
0xB849Daff...14b5911C6
0 ETH0.0008920437.44928256
Mint187320342023-12-07 4:28:11260 days ago1701923291IN
0xB849Daff...14b5911C6
0 ETH0.0024774833.944658
Initialize187320252023-12-07 4:26:23260 days ago1701923183IN
0xB849Daff...14b5911C6
0 ETH0.0052844132.24900509
0x60806040110934442020-10-20 14:05:101403 days ago1603202710IN
 Create: RariFundToken
0 ETH0.1850298873

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RariFundToken

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : RariFundToken.sol
/**
 * COPYRIGHT © 2020 RARI CAPITAL, INC. ALL RIGHTS RESERVED.
 * Anyone is free to integrate the public (i.e., non-administrative) application programming interfaces (APIs) of the official Ethereum smart contract instances deployed by Rari Capital, Inc. in any application (commercial or noncommercial and under any license), provided that the application does not abuse the APIs or act against the interests of Rari Capital, Inc.
 * Anyone is free to study, review, and analyze the source code contained in this package.
 * Reuse (including deployment of smart contracts other than private testing on a private network), modification, redistribution, or sublicensing of any source code contained in this package is not permitted without the explicit permission of David Lucid of Rari Capital, Inc.
 * No one is permitted to use the software for any purpose other than those allowed by this license.
 * This license is liable to change at any time at the sole discretion of David Lucid of Rari Capital, Inc.
 */

pragma solidity 0.5.17;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "@openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Detailed.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Mintable.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Burnable.sol";
import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Pausable.sol";

import "./interfaces/IRariGovernanceTokenDistributor.sol";

/**
 * @title RariFundToken
 * @author David Lucid <[email protected]> (https://github.com/davidlucid)
 * @author Richter Brzeski <[email protected]> (https://github.com/richtermb)
 * @dev RariFundToken is the ERC20 token contract accounting for the ownership of RariFundController's funds.
 */
contract RariFundToken is Initializable, ERC20, ERC20Detailed, ERC20Mintable, ERC20Burnable, ERC20Pausable {
    using SafeMath for uint256;

    /**
     * @dev Initializer for REPT.
     */
    function initialize() public initializer {
        ERC20Detailed.initialize("Rari Ethereum Pool Token", "REPT", 18);
        ERC20Mintable.initialize(msg.sender);
        ERC20Pausable.initialize(msg.sender);
    }

    /**
     * @dev Contract of the RariGovernanceTokenDistributor.
     */
    IRariGovernanceTokenDistributor public rariGovernanceTokenDistributor;

    /**
     * @dev Emitted when the GovernanceTokenDistributorSet of the RariFundManager is set or upgraded.
     */
    event GovernanceTokenDistributorSet(address newContract);

    /**
     * @dev Sets or upgrades the RariGovernanceTokenDistributor of the RariFundToken. Caller must have the {MinterRole}.
     * @param newContract The address of the new RariGovernanceTokenDistributor contract.
     * @param force Boolean indicating if we should not revert on validation error.
     */
    function setGovernanceTokenDistributor(address payable newContract, bool force) external onlyMinter {
        if (!force && address(rariGovernanceTokenDistributor) != address(0)) {
            require(rariGovernanceTokenDistributor.disabled(), "The old governance token distributor contract has not been disabled. (Set `force` to true to avoid this error.)");
            require(newContract != address(0), "By default, the governance token distributor cannot be set to the zero address. (Set `force` to true to avoid this error.)");
        }

        rariGovernanceTokenDistributor = IRariGovernanceTokenDistributor(newContract);

        if (newContract != address(0)) {
            if (!force) require(block.number <= rariGovernanceTokenDistributor.distributionStartBlock(), "The distribution period has already started. (Set `force` to true to avoid this error.)");
            if (block.number < rariGovernanceTokenDistributor.distributionEndBlock()) rariGovernanceTokenDistributor.refreshDistributionSpeeds(IRariGovernanceTokenDistributor.RariPool.Ethereum);
        }

        emit GovernanceTokenDistributorSet(newContract);
    }

    /*
     * @notice Moves `amount` tokens from the caller's account to `recipient`.
     * @dev Claims RGT earned by the sender and `recipient` beforehand (so RariGovernanceTokenDistributor can continue distributing RGT considering the new REPT balances).
     * @return A boolean value indicating whether the operation succeeded.
     */
    function transfer(address recipient, uint256 amount) public returns (bool) {
        // Claim RGT/set timestamp for initial transfer of REPT to `recipient`
        if (address(rariGovernanceTokenDistributor) != address(0) && block.number > rariGovernanceTokenDistributor.distributionStartBlock()) {
            rariGovernanceTokenDistributor.distributeRgt(_msgSender(), IRariGovernanceTokenDistributor.RariPool.Ethereum);
            if (balanceOf(recipient) > 0) rariGovernanceTokenDistributor.distributeRgt(recipient, IRariGovernanceTokenDistributor.RariPool.Ethereum);
            else rariGovernanceTokenDistributor.beforeFirstPoolTokenTransferIn(recipient, IRariGovernanceTokenDistributor.RariPool.Ethereum);
        }

        // Transfer REPT and returns true
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /*
     * @notice Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance.
     * @dev Claims RGT earned by `sender` and `recipient` beforehand (so RariGovernanceTokenDistributor can continue distributing RGT considering the new REPT balances).
     * @return A boolean value indicating whether the operation succeeded.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
        if (address(rariGovernanceTokenDistributor) != address(0) && block.number > rariGovernanceTokenDistributor.distributionStartBlock()) {
            // Claim RGT/set timestamp for initial transfer of REPT to `recipient`
            rariGovernanceTokenDistributor.distributeRgt(sender, IRariGovernanceTokenDistributor.RariPool.Ethereum);
            if (balanceOf(recipient) > 0) rariGovernanceTokenDistributor.distributeRgt(recipient, IRariGovernanceTokenDistributor.RariPool.Ethereum);
            else rariGovernanceTokenDistributor.beforeFirstPoolTokenTransferIn(recipient, IRariGovernanceTokenDistributor.RariPool.Ethereum);
        }
    
        // Transfer REPT, deduct from allowance, and return true
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), allowance(sender, _msgSender()).sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }
    
    /**
     * @dev Creates `amount` tokens and assigns them to `account`, increasing the total supply. Caller must have the {MinterRole}.
     * @dev Claims RGT earned by `account` beforehand (so RariGovernanceTokenDistributor can continue distributing RGT considering the new REPT balance of the caller).
     */
    function mint(address account, uint256 amount) public onlyMinter returns (bool) {
        if (address(rariGovernanceTokenDistributor) != address(0) && block.number > rariGovernanceTokenDistributor.distributionStartBlock()) {
            // Claim RGT/set timestamp for initial transfer of REPT to `account`
            if (balanceOf(account) > 0) rariGovernanceTokenDistributor.distributeRgt(account, IRariGovernanceTokenDistributor.RariPool.Ethereum);
            else rariGovernanceTokenDistributor.beforeFirstPoolTokenTransferIn(account, IRariGovernanceTokenDistributor.RariPool.Ethereum);
        }

        // Mint REPT and return true
        _mint(account, amount);
        return true;
    }

    /*
     * @notice Destroys `amount` tokens from the caller, reducing the total supply.
     * @dev Claims RGT earned by `account` beforehand (so RariGovernanceTokenDistributor can continue distributing RGT considering the new REPT balance of the caller).
     */
    function burn(uint256 amount) public {
        // Claim RGT, then burn REPT
        if (address(rariGovernanceTokenDistributor) != address(0) && block.number > rariGovernanceTokenDistributor.distributionStartBlock()) rariGovernanceTokenDistributor.distributeRgt(_msgSender(), IRariGovernanceTokenDistributor.RariPool.Ethereum);
        _burn(_msgSender(), amount);
    }

    /*
     * @notice Destroys `amount` tokens from `account`. `amount` is then deducted from the caller's allowance.
     * @dev Claims RGT earned by `account` beforehand (so RariGovernanceTokenDistributor can continue distributing RGT considering the new REPT balance of `account`).
     */
    function burnFrom(address account, uint256 amount) public {
        // Claim RGT, then burn REPT
        if (address(rariGovernanceTokenDistributor) != address(0) && block.number > rariGovernanceTokenDistributor.distributionStartBlock()) rariGovernanceTokenDistributor.distributeRgt(account, IRariGovernanceTokenDistributor.RariPool.Ethereum);
        _burnFrom(account, amount);
    }

    /*
     * @dev Destroys `amount` tokens from `account`. Caller must have the {MinterRole}.
     */
    function fundManagerBurnFrom(address account, uint256 amount) public onlyMinter {
        // Claim RGT, then burn REPT
        if (address(rariGovernanceTokenDistributor) != address(0) && block.number > rariGovernanceTokenDistributor.distributionStartBlock()) rariGovernanceTokenDistributor.distributeRgt(account, IRariGovernanceTokenDistributor.RariPool.Ethereum);
        _burn(account, amount);
    }
}

File 2 of 15 : IRariGovernanceTokenDistributor.sol
pragma solidity 0.5.17;

/**
 * COPYRIGHT © 2020 RARI CAPITAL, INC. ALL RIGHTS RESERVED.
 * Anyone is free to integrate the public (i.e., non-administrative) application programming interfaces (APIs) of the official Ethereum smart contract instances deployed by Rari Capital, Inc. in any application (commercial or noncommercial and under any license), provided that the application does not abuse the APIs or act against the interests of Rari Capital, Inc.
 * Anyone is free to study, review, and analyze the source code contained in this package.
 * Reuse (including deployment of smart contracts other than private testing on a private network), modification, redistribution, or sublicensing of any source code contained in this package is not permitted without the explicit permission of David Lucid of Rari Capital, Inc.
 * No one is permitted to use the software for any purpose other than those allowed by this license.
 * This license is liable to change at any time at the sole discretion of David Lucid of Rari Capital, Inc.
 */

/**
 * @title IRariGovernanceTokenDistributor
 * @author David Lucid <[email protected]> (https://github.com/davidlucid)
 * @notice IRariGovernanceTokenDistributor is a simple interface for RariGovernanceTokenDistributor used by RariFundManager and RariFundToken.
 */
interface IRariGovernanceTokenDistributor {
    /**
     * @notice Enum for the Rari pools to which distributions are rewarded.
     */
    enum RariPool {
        Stable,
        Yield,
        Ethereum
    }

    /**
     * @notice Boolean indicating if this contract is disabled.
     */
    function disabled() external returns (bool);

    /**
     * @notice Starting block number of the distribution.
     */
    function distributionStartBlock() external returns (uint256);

    /**
     * @notice Ending block number of the distribution.
     */
    function distributionEndBlock() external returns (uint256);

    /**
     * @dev Updates RGT distribution speeds for each pool given one `pool` and its `newBalance` (only accessible by the RariFundManager corresponding to `pool`).
     * @param pool The pool whose balance should be refreshed.
     * @param newBalance The new balance of the pool to be refreshed.
     */
    function refreshDistributionSpeeds(RariPool pool, uint256 newBalance) external;

    /**
     * @notice Updates RGT distribution speeds for each pool given one `pool` whose balance should be refreshed.
     * @param pool The pool whose balance should be refreshed.
     */
    function refreshDistributionSpeeds(RariPool pool) external;

    /**
     * @dev Distributes all undistributed RGT earned by `holder` in `pool` (without reverting if no RGT is available to distribute).
     * @param holder The holder of RSPT, RYPT, or REPT whose RGT is to be distributed.
     * @param pool The Rari pool for which to distribute RGT.
     * @return The quantity of RGT distributed.
     */
    function distributeRgt(address holder, RariPool pool) external returns (uint256);

    /**
     * @dev Stores the RGT distributed per RSPT/RYPT/REPT right before `holder`'s first incoming RSPT/RYPT/REPT transfer since having a zero balance.
     * @param holder The holder of RSPT, RYPT, and/or REPT.
     * @param pool The Rari pool of the pool token.
     */
    function beforeFirstPoolTokenTransferIn(address holder, RariPool pool) external;
}

File 3 of 15 : Context.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

/*
 * @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 is Initializable {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

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

File 4 of 15 : Roles.sol
pragma solidity ^0.5.0;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }
}

File 5 of 15 : MinterRole.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "../../GSN/Context.sol";
import "../Roles.sol";

contract MinterRole is Initializable, Context {
    using Roles for Roles.Role;

    event MinterAdded(address indexed account);
    event MinterRemoved(address indexed account);

    Roles.Role private _minters;

    function initialize(address sender) public initializer {
        if (!isMinter(sender)) {
            _addMinter(sender);
        }
    }

    modifier onlyMinter() {
        require(isMinter(_msgSender()), "MinterRole: caller does not have the Minter role");
        _;
    }

    function isMinter(address account) public view returns (bool) {
        return _minters.has(account);
    }

    function addMinter(address account) public onlyMinter {
        _addMinter(account);
    }

    function renounceMinter() public {
        _removeMinter(_msgSender());
    }

    function _addMinter(address account) internal {
        _minters.add(account);
        emit MinterAdded(account);
    }

    function _removeMinter(address account) internal {
        _minters.remove(account);
        emit MinterRemoved(account);
    }

    uint256[50] private ______gap;
}

File 6 of 15 : PauserRole.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "../../GSN/Context.sol";
import "../Roles.sol";

contract PauserRole is Initializable, Context {
    using Roles for Roles.Role;

    event PauserAdded(address indexed account);
    event PauserRemoved(address indexed account);

    Roles.Role private _pausers;

    function initialize(address sender) public initializer {
        if (!isPauser(sender)) {
            _addPauser(sender);
        }
    }

    modifier onlyPauser() {
        require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role");
        _;
    }

    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

    function renouncePauser() public {
        _removePauser(_msgSender());
    }

    function _addPauser(address account) internal {
        _pausers.add(account);
        emit PauserAdded(account);
    }

    function _removePauser(address account) internal {
        _pausers.remove(account);
        emit PauserRemoved(account);
    }

    uint256[50] private ______gap;
}

File 7 of 15 : Pausable.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "../GSN/Context.sol";
import "../access/roles/PauserRole.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
contract Pausable is Initializable, Context, PauserRole {
    /**
     * @dev Emitted when the pause is triggered by a pauser (`account`).
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by a pauser (`account`).
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state. Assigns the Pauser role
     * to the deployer.
     */
    function initialize(address sender) public initializer {
        PauserRole.initialize(sender);

        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable: not paused");
        _;
    }

    /**
     * @dev Called by a pauser to pause, triggers stopped state.
     */
    function pause() public onlyPauser whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Called by a pauser to unpause, returns to normal state.
     */
    function unpause() public onlyPauser whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }

    uint256[50] private ______gap;
}

File 8 of 15 : SafeMath.sol
pragma solidity ^0.5.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * _Available since v2.4.0._
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 9 of 15 : ERC20.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "../../GSN/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20Mintable}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Initializable, Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: burn from the zero address");

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }

    uint256[50] private ______gap;
}

File 10 of 15 : ERC20Burnable.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";

import "../../GSN/Context.sol";
import "./ERC20.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
contract ERC20Burnable is Initializable, Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev See {ERC20-_burnFrom}.
     */
    function burnFrom(address account, uint256 amount) public {
        _burnFrom(account, amount);
    }

    uint256[50] private ______gap;
}

File 11 of 15 : ERC20Detailed.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";
import "./IERC20.sol";

/**
 * @dev Optional functions from the ERC20 standard.
 */
contract ERC20Detailed is Initializable, IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    function initialize(string memory name, string memory symbol, uint8 decimals) public initializer {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    uint256[50] private ______gap;
}

File 12 of 15 : ERC20Mintable.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";
import "./ERC20.sol";
import "../../access/roles/MinterRole.sol";

/**
 * @dev Extension of {ERC20} that adds a set of accounts with the {MinterRole},
 * which have permission to mint (create) new tokens as they see fit.
 *
 * At construction, the deployer of the contract is the only minter.
 */
contract ERC20Mintable is Initializable, ERC20, MinterRole {
    function initialize(address sender) public initializer {
        MinterRole.initialize(sender);
    }

    /**
     * @dev See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the {MinterRole}.
     */
    function mint(address account, uint256 amount) public onlyMinter returns (bool) {
        _mint(account, amount);
        return true;
    }

    uint256[50] private ______gap;
}

File 13 of 15 : ERC20Pausable.sol
pragma solidity ^0.5.0;

import "@openzeppelin/upgrades/contracts/Initializable.sol";
import "./ERC20.sol";
import "../../lifecycle/Pausable.sol";

/**
 * @title Pausable token
 * @dev ERC20 with pausable transfers and allowances.
 *
 * Useful if you want to stop trades until the end of a crowdsale, or have
 * an emergency switch for freezing all token transfers in the event of a large
 * bug.
 */
contract ERC20Pausable is Initializable, ERC20, Pausable {
    function initialize(address sender) public initializer {
        Pausable.initialize(sender);
    }

    function transfer(address to, uint256 value) public whenNotPaused returns (bool) {
        return super.transfer(to, value);
    }

    function transferFrom(address from, address to, uint256 value) public whenNotPaused returns (bool) {
        return super.transferFrom(from, to, value);
    }

    function approve(address spender, uint256 value) public whenNotPaused returns (bool) {
        return super.approve(spender, value);
    }

    function increaseAllowance(address spender, uint256 addedValue) public whenNotPaused returns (bool) {
        return super.increaseAllowance(spender, addedValue);
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public whenNotPaused returns (bool) {
        return super.decreaseAllowance(spender, subtractedValue);
    }

    uint256[50] private ______gap;
}

File 14 of 15 : IERC20.sol
pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 15 of 15 : Initializable.sol
pragma solidity >=0.4.24 <0.7.0;


/**
 * @title Initializable
 *
 * @dev Helper contract to support initializer functions. To use it, replace
 * the constructor with a function that has the `initializer` modifier.
 * WARNING: Unlike constructors, initializer functions must be manually
 * invoked. This applies both to deploying an Initializable contract, as well
 * as extending an Initializable contract via inheritance.
 * WARNING: When used with inheritance, manual care must be taken to not invoke
 * a parent initializer twice, or ensure that all initializers are idempotent,
 * because this is not dealt with automatically as with constructors.
 */
contract Initializable {

  /**
   * @dev Indicates that the contract has been initialized.
   */
  bool private initialized;

  /**
   * @dev Indicates that the contract is in the process of being initialized.
   */
  bool private initializing;

  /**
   * @dev Modifier to use in the initializer function of a contract.
   */
  modifier initializer() {
    require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");

    bool isTopLevelCall = !initializing;
    if (isTopLevelCall) {
      initializing = true;
      initialized = true;
    }

    _;

    if (isTopLevelCall) {
      initializing = false;
    }
  }

  /// @dev Returns true if and only if the function is running in the constructor
  function isConstructor() private view returns (bool) {
    // extcodesize checks the size of the code stored in an address, and
    // address returns the current address. Since the code is still not
    // deployed when running a constructor, any checks on its code size will
    // yield zero, making it an effective way to detect if a contract is
    // under construction or not.
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

  // Reserved storage space to allow for layout changes in the future.
  uint256[50] private ______gap;
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newContract","type":"address"}],"name":"GovernanceTokenDistributorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","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":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","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":"value","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":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"fundManagerBurnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rariGovernanceTokenDistributor","outputs":[{"internalType":"contract IRariGovernanceTokenDistributor","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newContract","type":"address"},{"internalType":"bool","name":"force","type":"bool"}],"name":"setGovernanceTokenDistributor","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

6080604052612ce6806100136000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806379cc67901161010457806398650275116100a2578063b6830ff111610071578063b6830ff114610650578063bc9ce68e1461067c578063c4d66de8146106a0578063dd62ed3e146106c6576101cf565b806398650275146105ca578063a457c2d7146105d2578063a9059cbb146105fe578063aa271e1a1461062a576101cf565b80638456cb59116100de5780638456cb59146105665780638fd7c85c1461056e57806395d89b411461059c578063983b2d56146105a4576101cf565b806379cc67901461050c5780638129fc1c1461053857806382dc1ec414610540576101cf565b80633f4ba83a1161017157806346fbf68e1161014b57806346fbf68e146104b05780635c975abb146104d65780636ef8d66d146104de57806370a08231146104e6576101cf565b80633f4ba83a1461045f57806340c10f191461046757806342966c6814610493576101cf565b806318160ddd116101ad57806318160ddd146103c557806323b872dd146103df578063313ce567146104155780633950935114610433576101cf565b806306fdde03146101d4578063095ea7b3146102515780631624f6c614610291575b600080fd5b6101dc6106f4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102165781810151838201526020016101fe565b50505050905090810190601f1680156102435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027d6004803603604081101561026757600080fd5b506001600160a01b03813516906020013561078b565b604080519115158252519081900360200190f35b6103c3600480360360608110156102a757600080fd5b8101906020810181356401000000008111156102c257600080fd5b8201836020820111156102d457600080fd5b803590602001918460018302840111640100000000831117156102f657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561034957600080fd5b82018360208201111561035b57600080fd5b8035906020019184600183028401116401000000008311171561037d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506107eb9050565b005b6103cd6108c7565b60408051918252519081900360200190f35b61027d600480360360608110156103f557600080fd5b506001600160a01b038135811691602081013590911690604001356108cd565b61041d610b59565b6040805160ff9092168252519081900360200190f35b61027d6004803603604081101561044957600080fd5b506001600160a01b038135169060200135610b62565b6103c3610bbb565b61027d6004803603604081101561047d57600080fd5b506001600160a01b038135169060200135610ca6565b6103c3600480360360208110156104a957600080fd5b5035610eaa565b61027d600480360360208110156104c657600080fd5b50356001600160a01b0316610fef565b61027d611009565b6103c3611013565b6103cd600480360360208110156104fc57600080fd5b50356001600160a01b0316611025565b6103c36004803603604081101561052257600080fd5b506001600160a01b038135169060200135611040565b6103c361116d565b6103c36004803603602081101561055657600080fd5b50356001600160a01b031661127d565b6103c36112cc565b6103c36004803603604081101561058457600080fd5b506001600160a01b0381351690602001351515611395565b6101dc611707565b6103c3600480360360208110156105ba57600080fd5b50356001600160a01b0316611768565b6103c36117b7565b61027d600480360360408110156105e857600080fd5b506001600160a01b0381351690602001356117c7565b61027d6004803603604081101561061457600080fd5b506001600160a01b038135169060200135611820565b61027d6004803603602081101561064057600080fd5b50356001600160a01b0316611a6f565b6103c36004803603604081101561066657600080fd5b506001600160a01b038135169060200135611a82565b610684611bf1565b604080516001600160a01b039092168252519081900360200190f35b6103c3600480360360208110156106b657600080fd5b50356001600160a01b0316611c01565b6103cd600480360360408110156106dc57600080fd5b506001600160a01b0381358116916020013516611cac565b60688054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b820191906000526020600020905b81548152906001019060200180831161076357829003601f168201915b505050505090505b90565b6101675460009060ff16156107da576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107e48383611cd7565b9392505050565b600054610100900460ff16806108045750610804611ceb565b80610812575060005460ff16155b61084d5760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff16158015610878576000805460ff1961ff0019909116610100171660011790555b835161088b9060689060208701906128a0565b50825161089f9060699060208601906128a0565b50606a805460ff191660ff841617905580156108c1576000805461ff00191690555b50505050565b60355490565b6101cc546000906001600160a01b03161580159061096657506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561093757600080fd5b505af115801561094b573d6000803e3d6000fd5b505050506040513d602081101561096157600080fd5b505143115b15610af8576101cc546040805163bdfb130360e01b81526001600160a01b038781166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b1580156109c257600080fd5b505af11580156109d6573d6000803e3d6000fd5b505050506040513d60208110156109ec57600080fd5b50600090506109fa84611025565b1115610a89576101cc546040805163bdfb130360e01b81526001600160a01b038681166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b158015610a5757600080fd5b505af1158015610a6b573d6000803e3d6000fd5b505050506040513d6020811015610a8157600080fd5b50610af89050565b6101cc5460408051630674c8db60e51b81526001600160a01b038681166004830152600260248301529151919092169163ce991b6091604480830192600092919082900301818387803b158015610adf57600080fd5b505af1158015610af3573d6000803e3d6000fd5b505050505b610b03848484611cf1565b610b4f84610b0f611e4f565b610b4a85604051806060016040528060288152602001612b0d60289139610b3d8a610b38611e4f565b611cac565b919063ffffffff611e5316565b611eea565b5060019392505050565b606a5460ff1690565b6101675460009060ff1615610bb1576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107e48383611fd6565b610bcb610bc6611e4f565b610fef565b610c065760405162461bcd60e51b815260040180806020018281038252603081526020018061297e6030913960400191505060405180910390fd5b6101675460ff16610c55576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610167805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610c89611e4f565b604080516001600160a01b039092168252519081900360200190a1565b6000610cb8610cb3611e4f565b611a6f565b610cf35760405162461bcd60e51b8152600401808060200182810382526030815260200180612a4d6030913960400191505060405180910390fd5b6101cc546001600160a01b031615801590610d8957506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610d5a57600080fd5b505af1158015610d6e573d6000803e3d6000fd5b505050506040513d6020811015610d8457600080fd5b505143115b15610e97576000610d9984611025565b1115610e28576101cc546040805163bdfb130360e01b81526001600160a01b038681166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b158015610df657600080fd5b505af1158015610e0a573d6000803e3d6000fd5b505050506040513d6020811015610e2057600080fd5b50610e979050565b6101cc5460408051630674c8db60e51b81526001600160a01b038681166004830152600260248301529151919092169163ce991b6091604480830192600092919082900301818387803b158015610e7e57600080fd5b505af1158015610e92573d6000803e3d6000fd5b505050505b610ea1838361202a565b50600192915050565b6101cc546001600160a01b031615801590610f4057506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610f1157600080fd5b505af1158015610f25573d6000803e3d6000fd5b505050506040513d6020811015610f3b57600080fd5b505143115b15610fdb576101cc546001600160a01b031663bdfb1303610f5f611e4f565b6040805160e084901b6001600160e01b03191681526001600160a01b03929092166004830152600260248301525160448083019260209291908290030181600087803b158015610fae57600080fd5b505af1158015610fc2573d6000803e3d6000fd5b505050506040513d6020811015610fd857600080fd5b50505b610fec610fe6611e4f565b8261211c565b50565b60006110036101348363ffffffff61221816565b92915050565b6101675460ff1690565b61102361101e611e4f565b61227f565b565b6001600160a01b031660009081526033602052604090205490565b6101cc546001600160a01b0316158015906110d657506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156110a757600080fd5b505af11580156110bb573d6000803e3d6000fd5b505050506040513d60208110156110d157600080fd5b505143115b1561115f576101cc546040805163bdfb130360e01b81526001600160a01b038581166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b15801561113257600080fd5b505af1158015611146573d6000803e3d6000fd5b505050506040513d602081101561115c57600080fd5b50505b61116982826122c8565b5050565b600054610100900460ff16806111865750611186611ceb565b80611194575060005460ff16155b6111cf5760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff161580156111fa576000805460ff1961ff0019909116610100171660011790555b6112576040518060400160405280601881526020017f5261726920457468657265756d20506f6f6c20546f6b656e0000000000000000815250604051806040016040528060048152602001631491541560e21b81525060126107eb565b61126033612343565b61126933611c01565b8015610fec576000805461ff001916905550565b611288610bc6611e4f565b6112c35760405162461bcd60e51b815260040180806020018281038252603081526020018061297e6030913960400191505060405180910390fd5b610fec816123d9565b6112d7610bc6611e4f565b6113125760405162461bcd60e51b815260040180806020018281038252603081526020018061297e6030913960400191505060405180910390fd5b6101675460ff161561135e576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610167805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c89611e4f565b6113a0610cb3611e4f565b6113db5760405162461bcd60e51b8152600401808060200182810382526030815260200180612a4d6030913960400191505060405180910390fd5b801580156113f457506101cc546001600160a01b031615155b156114f6576101cc60009054906101000a90046001600160a01b03166001600160a01b031663ee0708056040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561144a57600080fd5b505af115801561145e573d6000803e3d6000fd5b505050506040513d602081101561147457600080fd5b50516114b15760405162461bcd60e51b815260040180806020018281038252606f815260200180612a9e606f913960800191505060405180910390fd5b6001600160a01b0382166114f65760405162461bcd60e51b815260040180806020018281038252607a815260200180612c13607a913960800191505060405180910390fd5b6101cc80546001600160a01b0319166001600160a01b038416908117909155156116c757806115da576101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561157057600080fd5b505af1158015611584573d6000803e3d6000fd5b505050506040513d602081101561159a57600080fd5b50514311156115da5760405162461bcd60e51b81526004018080602001828103825260578152602001806129d06057913960600191505060405180910390fd5b6101cc60009054906101000a90046001600160a01b03166001600160a01b031663735c6f596040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561162b57600080fd5b505af115801561163f573d6000803e3d6000fd5b505050506040513d602081101561165557600080fd5b50514310156116c7576101cc546040516379636c5760e01b81526001600160a01b03909116906379636c5790600290600401808260ff168152602001915050600060405180830381600087803b1580156116ae57600080fd5b505af11580156116c2573d6000803e3d6000fd5b505050505b604080516001600160a01b038416815290517f2d9bf4c5423d6aa7fc38a3bed46108e05ebf18c2dff7a82c05d4625f220390149181900360200190a15050565b60698054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b611773610cb3611e4f565b6117ae5760405162461bcd60e51b8152600401808060200182810382526030815260200180612a4d6030913960400191505060405180910390fd5b610fec81612422565b6110236117c2611e4f565b61246a565b6101675460009060ff1615611816576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107e483836124b2565b6101cc546000906001600160a01b0316158015906118b957506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561188a57600080fd5b505af115801561189e573d6000803e3d6000fd5b505050506040513d60208110156118b457600080fd5b505143115b15611a5d576101cc546001600160a01b031663bdfb13036118d8611e4f565b6040805160e084901b6001600160e01b03191681526001600160a01b03929092166004830152600260248301525160448083019260209291908290030181600087803b15801561192757600080fd5b505af115801561193b573d6000803e3d6000fd5b505050506040513d602081101561195157600080fd5b506000905061195f84611025565b11156119ee576101cc546040805163bdfb130360e01b81526001600160a01b038681166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b1580156119bc57600080fd5b505af11580156119d0573d6000803e3d6000fd5b505050506040513d60208110156119e657600080fd5b50611a5d9050565b6101cc5460408051630674c8db60e51b81526001600160a01b038681166004830152600260248301529151919092169163ce991b6091604480830192600092919082900301818387803b158015611a4457600080fd5b505af1158015611a58573d6000803e3d6000fd5b505050505b610ea1611a68611e4f565b8484611cf1565b6000611003609d8363ffffffff61221816565b611a8d610cb3611e4f565b611ac85760405162461bcd60e51b8152600401808060200182810382526030815260200180612a4d6030913960400191505060405180910390fd5b6101cc546001600160a01b031615801590611b5e57506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611b2f57600080fd5b505af1158015611b43573d6000803e3d6000fd5b505050506040513d6020811015611b5957600080fd5b505143115b15611be7576101cc546040805163bdfb130360e01b81526001600160a01b038581166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b158015611bba57600080fd5b505af1158015611bce573d6000803e3d6000fd5b505050506040513d6020811015611be457600080fd5b50505b611169828261211c565b6101cc546001600160a01b031681565b600054610100900460ff1680611c1a5750611c1a611ceb565b80611c28575060005460ff16155b611c635760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff16158015611c8e576000805460ff1961ff0019909116610100171660011790555b611c9782612520565b8015611169576000805461ff00191690555050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6000610ea1611ce4611e4f565b8484611eea565b303b1590565b6001600160a01b038316611d365760405162461bcd60e51b8152600401808060200182810382526025815260200180612bca6025913960400191505060405180910390fd5b6001600160a01b038216611d7b5760405162461bcd60e51b81526004018080602001828103825260238152602001806129396023913960400191505060405180910390fd5b611dbe81604051806060016040528060268152602001612a27602691396001600160a01b038616600090815260336020526040902054919063ffffffff611e5316565b6001600160a01b038085166000908152603360205260408082209390935590841681522054611df3908263ffffffff6125d616565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b3390565b60008184841115611ee25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ea7578181015183820152602001611e8f565b50505050905090810190601f168015611ed45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038316611f2f5760405162461bcd60e51b8152600401808060200182810382526024815260200180612bef6024913960400191505060405180910390fd5b6001600160a01b038216611f745760405162461bcd60e51b81526004018080602001828103825260228152602001806129ae6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000610ea1611fe3611e4f565b84610b4a8560346000611ff4611e4f565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6125d616565b6001600160a01b038216612085576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b603554612098908263ffffffff6125d616565b6035556001600160a01b0382166000908152603360205260409020546120c4908263ffffffff6125d616565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166121615760405162461bcd60e51b8152600401808060200182810382526021815260200180612ba96021913960400191505060405180910390fd5b6121a48160405180606001604052806022815260200161295c602291396001600160a01b038516600090815260336020526040902054919063ffffffff611e5316565b6001600160a01b0383166000908152603360205260409020556035546121d0908263ffffffff61263016565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006001600160a01b03821661225f5760405162461bcd60e51b8152600401808060200182810382526022815260200180612b356022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6122916101348263ffffffff61267216565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6122d2828261211c565b611169826122de611e4f565b610b4a84604051806060016040528060248152602001612b85602491396001600160a01b03881660009081526034602052604081209061231c611e4f565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611e5316565b600054610100900460ff168061235c575061235c611ceb565b8061236a575060005460ff16155b6123a55760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff161580156123d0576000805460ff1961ff0019909116610100171660011790555b611c97826126d9565b6123eb6101348263ffffffff61277c16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b612433609d8263ffffffff61277c16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61247b609d8263ffffffff61267216565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000610ea16124bf611e4f565b84610b4a85604051806060016040528060258152602001612c8d60259139603460006124e9611e4f565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611e5316565b600054610100900460ff16806125395750612539611ceb565b80612547575060005460ff16155b6125825760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff161580156125ad576000805460ff1961ff0019909116610100171660011790555b6125b6826127fd565b610167805460ff191690558015611169576000805461ff00191690555050565b6000828201838110156107e4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006107e483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e53565b61267c8282612218565b6126b75760405162461bcd60e51b8152600401808060200182810382526021815260200180612a7d6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600054610100900460ff16806126f257506126f2611ceb565b80612700575060005460ff16155b61273b5760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff16158015612766576000805460ff1961ff0019909116610100171660011790555b61276f82611a6f565b611c9757611c9782612422565b6127868282612218565b156127d8576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b600054610100900460ff16806128165750612816611ceb565b80612824575060005460ff16155b61285f5760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff1615801561288a576000805460ff1961ff0019909116610100171660011790555b61289382610fef565b611c9757611c97826123d9565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106128e157805160ff191683800117855561290e565b8280016001018555821561290e579182015b8281111561290e5782518255916020019190600101906128f3565b5061291a92915061291e565b5090565b61078891905b8082111561291a576000815560010161292456fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f206164647265737354686520646973747269627574696f6e20706572696f642068617320616c726561647920737461727465642e20285365742060666f7263656020746f207472756520746f2061766f69642074686973206572726f722e2945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65546865206f6c6420676f7665726e616e636520746f6b656e206469737472696275746f7220636f6e747261637420686173206e6f74206265656e2064697361626c65642e20285365742060666f7263656020746f207472756520746f2061766f69642074686973206572726f722e2945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737342792064656661756c742c2074686520676f7665726e616e636520746f6b656e206469737472696275746f722063616e6e6f742062652073657420746f20746865207a65726f20616464726573732e20285365742060666f7263656020746f207472756520746f2061766f69642074686973206572726f722e2945524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820b5ab4f6efb12b5463926f88fcc82729ac84e59f2ba531aeea29edcb289e01f5064736f6c63430005110032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806379cc67901161010457806398650275116100a2578063b6830ff111610071578063b6830ff114610650578063bc9ce68e1461067c578063c4d66de8146106a0578063dd62ed3e146106c6576101cf565b806398650275146105ca578063a457c2d7146105d2578063a9059cbb146105fe578063aa271e1a1461062a576101cf565b80638456cb59116100de5780638456cb59146105665780638fd7c85c1461056e57806395d89b411461059c578063983b2d56146105a4576101cf565b806379cc67901461050c5780638129fc1c1461053857806382dc1ec414610540576101cf565b80633f4ba83a1161017157806346fbf68e1161014b57806346fbf68e146104b05780635c975abb146104d65780636ef8d66d146104de57806370a08231146104e6576101cf565b80633f4ba83a1461045f57806340c10f191461046757806342966c6814610493576101cf565b806318160ddd116101ad57806318160ddd146103c557806323b872dd146103df578063313ce567146104155780633950935114610433576101cf565b806306fdde03146101d4578063095ea7b3146102515780631624f6c614610291575b600080fd5b6101dc6106f4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102165781810151838201526020016101fe565b50505050905090810190601f1680156102435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027d6004803603604081101561026757600080fd5b506001600160a01b03813516906020013561078b565b604080519115158252519081900360200190f35b6103c3600480360360608110156102a757600080fd5b8101906020810181356401000000008111156102c257600080fd5b8201836020820111156102d457600080fd5b803590602001918460018302840111640100000000831117156102f657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561034957600080fd5b82018360208201111561035b57600080fd5b8035906020019184600183028401116401000000008311171561037d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff1691506107eb9050565b005b6103cd6108c7565b60408051918252519081900360200190f35b61027d600480360360608110156103f557600080fd5b506001600160a01b038135811691602081013590911690604001356108cd565b61041d610b59565b6040805160ff9092168252519081900360200190f35b61027d6004803603604081101561044957600080fd5b506001600160a01b038135169060200135610b62565b6103c3610bbb565b61027d6004803603604081101561047d57600080fd5b506001600160a01b038135169060200135610ca6565b6103c3600480360360208110156104a957600080fd5b5035610eaa565b61027d600480360360208110156104c657600080fd5b50356001600160a01b0316610fef565b61027d611009565b6103c3611013565b6103cd600480360360208110156104fc57600080fd5b50356001600160a01b0316611025565b6103c36004803603604081101561052257600080fd5b506001600160a01b038135169060200135611040565b6103c361116d565b6103c36004803603602081101561055657600080fd5b50356001600160a01b031661127d565b6103c36112cc565b6103c36004803603604081101561058457600080fd5b506001600160a01b0381351690602001351515611395565b6101dc611707565b6103c3600480360360208110156105ba57600080fd5b50356001600160a01b0316611768565b6103c36117b7565b61027d600480360360408110156105e857600080fd5b506001600160a01b0381351690602001356117c7565b61027d6004803603604081101561061457600080fd5b506001600160a01b038135169060200135611820565b61027d6004803603602081101561064057600080fd5b50356001600160a01b0316611a6f565b6103c36004803603604081101561066657600080fd5b506001600160a01b038135169060200135611a82565b610684611bf1565b604080516001600160a01b039092168252519081900360200190f35b6103c3600480360360208110156106b657600080fd5b50356001600160a01b0316611c01565b6103cd600480360360408110156106dc57600080fd5b506001600160a01b0381358116916020013516611cac565b60688054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b820191906000526020600020905b81548152906001019060200180831161076357829003601f168201915b505050505090505b90565b6101675460009060ff16156107da576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107e48383611cd7565b9392505050565b600054610100900460ff16806108045750610804611ceb565b80610812575060005460ff16155b61084d5760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff16158015610878576000805460ff1961ff0019909116610100171660011790555b835161088b9060689060208701906128a0565b50825161089f9060699060208601906128a0565b50606a805460ff191660ff841617905580156108c1576000805461ff00191690555b50505050565b60355490565b6101cc546000906001600160a01b03161580159061096657506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561093757600080fd5b505af115801561094b573d6000803e3d6000fd5b505050506040513d602081101561096157600080fd5b505143115b15610af8576101cc546040805163bdfb130360e01b81526001600160a01b038781166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b1580156109c257600080fd5b505af11580156109d6573d6000803e3d6000fd5b505050506040513d60208110156109ec57600080fd5b50600090506109fa84611025565b1115610a89576101cc546040805163bdfb130360e01b81526001600160a01b038681166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b158015610a5757600080fd5b505af1158015610a6b573d6000803e3d6000fd5b505050506040513d6020811015610a8157600080fd5b50610af89050565b6101cc5460408051630674c8db60e51b81526001600160a01b038681166004830152600260248301529151919092169163ce991b6091604480830192600092919082900301818387803b158015610adf57600080fd5b505af1158015610af3573d6000803e3d6000fd5b505050505b610b03848484611cf1565b610b4f84610b0f611e4f565b610b4a85604051806060016040528060288152602001612b0d60289139610b3d8a610b38611e4f565b611cac565b919063ffffffff611e5316565b611eea565b5060019392505050565b606a5460ff1690565b6101675460009060ff1615610bb1576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107e48383611fd6565b610bcb610bc6611e4f565b610fef565b610c065760405162461bcd60e51b815260040180806020018281038252603081526020018061297e6030913960400191505060405180910390fd5b6101675460ff16610c55576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610167805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610c89611e4f565b604080516001600160a01b039092168252519081900360200190a1565b6000610cb8610cb3611e4f565b611a6f565b610cf35760405162461bcd60e51b8152600401808060200182810382526030815260200180612a4d6030913960400191505060405180910390fd5b6101cc546001600160a01b031615801590610d8957506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610d5a57600080fd5b505af1158015610d6e573d6000803e3d6000fd5b505050506040513d6020811015610d8457600080fd5b505143115b15610e97576000610d9984611025565b1115610e28576101cc546040805163bdfb130360e01b81526001600160a01b038681166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b158015610df657600080fd5b505af1158015610e0a573d6000803e3d6000fd5b505050506040513d6020811015610e2057600080fd5b50610e979050565b6101cc5460408051630674c8db60e51b81526001600160a01b038681166004830152600260248301529151919092169163ce991b6091604480830192600092919082900301818387803b158015610e7e57600080fd5b505af1158015610e92573d6000803e3d6000fd5b505050505b610ea1838361202a565b50600192915050565b6101cc546001600160a01b031615801590610f4057506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610f1157600080fd5b505af1158015610f25573d6000803e3d6000fd5b505050506040513d6020811015610f3b57600080fd5b505143115b15610fdb576101cc546001600160a01b031663bdfb1303610f5f611e4f565b6040805160e084901b6001600160e01b03191681526001600160a01b03929092166004830152600260248301525160448083019260209291908290030181600087803b158015610fae57600080fd5b505af1158015610fc2573d6000803e3d6000fd5b505050506040513d6020811015610fd857600080fd5b50505b610fec610fe6611e4f565b8261211c565b50565b60006110036101348363ffffffff61221816565b92915050565b6101675460ff1690565b61102361101e611e4f565b61227f565b565b6001600160a01b031660009081526033602052604090205490565b6101cc546001600160a01b0316158015906110d657506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156110a757600080fd5b505af11580156110bb573d6000803e3d6000fd5b505050506040513d60208110156110d157600080fd5b505143115b1561115f576101cc546040805163bdfb130360e01b81526001600160a01b038581166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b15801561113257600080fd5b505af1158015611146573d6000803e3d6000fd5b505050506040513d602081101561115c57600080fd5b50505b61116982826122c8565b5050565b600054610100900460ff16806111865750611186611ceb565b80611194575060005460ff16155b6111cf5760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff161580156111fa576000805460ff1961ff0019909116610100171660011790555b6112576040518060400160405280601881526020017f5261726920457468657265756d20506f6f6c20546f6b656e0000000000000000815250604051806040016040528060048152602001631491541560e21b81525060126107eb565b61126033612343565b61126933611c01565b8015610fec576000805461ff001916905550565b611288610bc6611e4f565b6112c35760405162461bcd60e51b815260040180806020018281038252603081526020018061297e6030913960400191505060405180910390fd5b610fec816123d9565b6112d7610bc6611e4f565b6113125760405162461bcd60e51b815260040180806020018281038252603081526020018061297e6030913960400191505060405180910390fd5b6101675460ff161561135e576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610167805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c89611e4f565b6113a0610cb3611e4f565b6113db5760405162461bcd60e51b8152600401808060200182810382526030815260200180612a4d6030913960400191505060405180910390fd5b801580156113f457506101cc546001600160a01b031615155b156114f6576101cc60009054906101000a90046001600160a01b03166001600160a01b031663ee0708056040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561144a57600080fd5b505af115801561145e573d6000803e3d6000fd5b505050506040513d602081101561147457600080fd5b50516114b15760405162461bcd60e51b815260040180806020018281038252606f815260200180612a9e606f913960800191505060405180910390fd5b6001600160a01b0382166114f65760405162461bcd60e51b815260040180806020018281038252607a815260200180612c13607a913960800191505060405180910390fd5b6101cc80546001600160a01b0319166001600160a01b038416908117909155156116c757806115da576101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561157057600080fd5b505af1158015611584573d6000803e3d6000fd5b505050506040513d602081101561159a57600080fd5b50514311156115da5760405162461bcd60e51b81526004018080602001828103825260578152602001806129d06057913960600191505060405180910390fd5b6101cc60009054906101000a90046001600160a01b03166001600160a01b031663735c6f596040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561162b57600080fd5b505af115801561163f573d6000803e3d6000fd5b505050506040513d602081101561165557600080fd5b50514310156116c7576101cc546040516379636c5760e01b81526001600160a01b03909116906379636c5790600290600401808260ff168152602001915050600060405180830381600087803b1580156116ae57600080fd5b505af11580156116c2573d6000803e3d6000fd5b505050505b604080516001600160a01b038416815290517f2d9bf4c5423d6aa7fc38a3bed46108e05ebf18c2dff7a82c05d4625f220390149181900360200190a15050565b60698054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156107805780601f1061075557610100808354040283529160200191610780565b611773610cb3611e4f565b6117ae5760405162461bcd60e51b8152600401808060200182810382526030815260200180612a4d6030913960400191505060405180910390fd5b610fec81612422565b6110236117c2611e4f565b61246a565b6101675460009060ff1615611816576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107e483836124b2565b6101cc546000906001600160a01b0316158015906118b957506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561188a57600080fd5b505af115801561189e573d6000803e3d6000fd5b505050506040513d60208110156118b457600080fd5b505143115b15611a5d576101cc546001600160a01b031663bdfb13036118d8611e4f565b6040805160e084901b6001600160e01b03191681526001600160a01b03929092166004830152600260248301525160448083019260209291908290030181600087803b15801561192757600080fd5b505af115801561193b573d6000803e3d6000fd5b505050506040513d602081101561195157600080fd5b506000905061195f84611025565b11156119ee576101cc546040805163bdfb130360e01b81526001600160a01b038681166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b1580156119bc57600080fd5b505af11580156119d0573d6000803e3d6000fd5b505050506040513d60208110156119e657600080fd5b50611a5d9050565b6101cc5460408051630674c8db60e51b81526001600160a01b038681166004830152600260248301529151919092169163ce991b6091604480830192600092919082900301818387803b158015611a4457600080fd5b505af1158015611a58573d6000803e3d6000fd5b505050505b610ea1611a68611e4f565b8484611cf1565b6000611003609d8363ffffffff61221816565b611a8d610cb3611e4f565b611ac85760405162461bcd60e51b8152600401808060200182810382526030815260200180612a4d6030913960400191505060405180910390fd5b6101cc546001600160a01b031615801590611b5e57506101cc60009054906101000a90046001600160a01b03166001600160a01b031663411c9e116040518163ffffffff1660e01b8152600401602060405180830381600087803b158015611b2f57600080fd5b505af1158015611b43573d6000803e3d6000fd5b505050506040513d6020811015611b5957600080fd5b505143115b15611be7576101cc546040805163bdfb130360e01b81526001600160a01b038581166004830152600260248301529151919092169163bdfb13039160448083019260209291908290030181600087803b158015611bba57600080fd5b505af1158015611bce573d6000803e3d6000fd5b505050506040513d6020811015611be457600080fd5b50505b611169828261211c565b6101cc546001600160a01b031681565b600054610100900460ff1680611c1a5750611c1a611ceb565b80611c28575060005460ff16155b611c635760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff16158015611c8e576000805460ff1961ff0019909116610100171660011790555b611c9782612520565b8015611169576000805461ff00191690555050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6000610ea1611ce4611e4f565b8484611eea565b303b1590565b6001600160a01b038316611d365760405162461bcd60e51b8152600401808060200182810382526025815260200180612bca6025913960400191505060405180910390fd5b6001600160a01b038216611d7b5760405162461bcd60e51b81526004018080602001828103825260238152602001806129396023913960400191505060405180910390fd5b611dbe81604051806060016040528060268152602001612a27602691396001600160a01b038616600090815260336020526040902054919063ffffffff611e5316565b6001600160a01b038085166000908152603360205260408082209390935590841681522054611df3908263ffffffff6125d616565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b3390565b60008184841115611ee25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ea7578181015183820152602001611e8f565b50505050905090810190601f168015611ed45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b038316611f2f5760405162461bcd60e51b8152600401808060200182810382526024815260200180612bef6024913960400191505060405180910390fd5b6001600160a01b038216611f745760405162461bcd60e51b81526004018080602001828103825260228152602001806129ae6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000610ea1611fe3611e4f565b84610b4a8560346000611ff4611e4f565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6125d616565b6001600160a01b038216612085576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b603554612098908263ffffffff6125d616565b6035556001600160a01b0382166000908152603360205260409020546120c4908263ffffffff6125d616565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0382166121615760405162461bcd60e51b8152600401808060200182810382526021815260200180612ba96021913960400191505060405180910390fd5b6121a48160405180606001604052806022815260200161295c602291396001600160a01b038516600090815260336020526040902054919063ffffffff611e5316565b6001600160a01b0383166000908152603360205260409020556035546121d0908263ffffffff61263016565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006001600160a01b03821661225f5760405162461bcd60e51b8152600401808060200182810382526022815260200180612b356022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6122916101348263ffffffff61267216565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6122d2828261211c565b611169826122de611e4f565b610b4a84604051806060016040528060248152602001612b85602491396001600160a01b03881660009081526034602052604081209061231c611e4f565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611e5316565b600054610100900460ff168061235c575061235c611ceb565b8061236a575060005460ff16155b6123a55760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff161580156123d0576000805460ff1961ff0019909116610100171660011790555b611c97826126d9565b6123eb6101348263ffffffff61277c16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b612433609d8263ffffffff61277c16565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61247b609d8263ffffffff61267216565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000610ea16124bf611e4f565b84610b4a85604051806060016040528060258152602001612c8d60259139603460006124e9611e4f565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611e5316565b600054610100900460ff16806125395750612539611ceb565b80612547575060005460ff16155b6125825760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff161580156125ad576000805460ff1961ff0019909116610100171660011790555b6125b6826127fd565b610167805460ff191690558015611169576000805461ff00191690555050565b6000828201838110156107e4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006107e483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e53565b61267c8282612218565b6126b75760405162461bcd60e51b8152600401808060200182810382526021815260200180612a7d6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b600054610100900460ff16806126f257506126f2611ceb565b80612700575060005460ff16155b61273b5760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff16158015612766576000805460ff1961ff0019909116610100171660011790555b61276f82611a6f565b611c9757611c9782612422565b6127868282612218565b156127d8576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b600054610100900460ff16806128165750612816611ceb565b80612824575060005460ff16155b61285f5760405162461bcd60e51b815260040180806020018281038252602e815260200180612b57602e913960400191505060405180910390fd5b600054610100900460ff1615801561288a576000805460ff1961ff0019909116610100171660011790555b61289382610fef565b611c9757611c97826123d9565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106128e157805160ff191683800117855561290e565b8280016001018555821561290e579182015b8281111561290e5782518255916020019190600101906128f3565b5061291a92915061291e565b5090565b61078891905b8082111561291a576000815560010161292456fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f206164647265737354686520646973747269627574696f6e20706572696f642068617320616c726561647920737461727465642e20285365742060666f7263656020746f207472756520746f2061766f69642074686973206572726f722e2945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654d696e746572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865204d696e74657220726f6c65526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65546865206f6c6420676f7665726e616e636520746f6b656e206469737472696275746f7220636f6e747261637420686173206e6f74206265656e2064697361626c65642e20285365742060666f7263656020746f207472756520746f2061766f69642074686973206572726f722e2945524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737342792064656661756c742c2074686520676f7665726e616e636520746f6b656e206469737472696275746f722063616e6e6f742062652073657420746f20746865207a65726f20616464726573732e20285365742060666f7263656020746f207472756520746f2061766f69642074686973206572726f722e2945524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a72315820b5ab4f6efb12b5463926f88fcc82729ac84e59f2ba531aeea29edcb289e01f5064736f6c63430005110032

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.