Contract 0x21C482f153D0317fe85C60bE1F7fa079019fcEbD 5

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xdb6256110d7ec65f16952ec9d7d167c807a108bd6acfead556f5c8d9780e9478Transfer Ownersh...118685902021-07-12 4:04:44360 days 11 hrs agoRen: Deployer IN  0x21c482f153d0317fe85c60be1f7fa079019fcebd0 FTM0.0045262
0xf08dc4e6dba317124cb9c1f0a601a508a825adea0540b6b09f9a68cbe41f11aaSet Gateway75036682021-05-24 13:58:55409 days 2 hrs agoRen: Deployer IN  0x21c482f153d0317fe85c60be1f7fa079019fcebd0 FTM0.12618585
0x9faeae485be617485381d947394f9bf728907e5f680a3dc9daa4f15540e2c76cSet Gateway75033472021-05-24 13:55:14409 days 2 hrs agoRen: Deployer IN  0x21c482f153d0317fe85c60be1f7fa079019fcebd0 FTM0.126189
0x3ed83664ecec08510ecf0c9eed31e089ffb5592572ee8021e0a595802305e5dcSet Gateway75030712021-05-24 13:52:10409 days 2 hrs agoRen: Deployer IN  0x21c482f153d0317fe85c60be1f7fa079019fcebd0 FTM0.1261596
0x547700b5b19ba8214dcd3f749d3af2fd8caf3b07ff5223e07ddac13925157992Set Gateway75028082021-05-24 13:49:17409 days 2 hrs agoRen: Deployer IN  0x21c482f153d0317fe85c60be1f7fa079019fcebd0 FTM0.1261596
0x1167ad15101ca47ecc119c9d17b038fb5a787d3cc5a6be7d017206fe8ea84b59Set Gateway75025302021-05-24 13:46:07409 days 2 hrs agoRen: Deployer IN  0x21c482f153d0317fe85c60be1f7fa079019fcebd0 FTM0.1261596
0x15999969ed65bea9e82d3c6a42ad32cb157d36a27e3e0483a6094373b6e0da2aSet Gateway75022262021-05-24 13:42:53409 days 2 hrs agoRen: Deployer IN  0x21c482f153d0317fe85c60be1f7fa079019fcebd0 FTM0.1261596
0x3aac577ad64a560a1507330b608dfce089ecd29fe445b9414a0d338a6ba08527Set Gateway75019562021-05-24 13:39:34409 days 2 hrs agoRen: Deployer IN  0x21c482f153d0317fe85c60be1f7fa079019fcebd0 FTM0.13224165
0xab396014f6601298dea46d483a96236a5f8c20da2c3f3d648061655f070c7a720x6080604074963062021-05-24 12:32:33409 days 3 hrs agoRen: Deployer IN  Create: GatewayRegistry0 FTM0.3380685
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xab396014f6601298dea46d483a96236a5f8c20da2c3f3d648061655f070c7a7274963062021-05-24 12:32:33409 days 3 hrs ago Ren: Deployer  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GatewayRegistry

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2021-08-28
*/

/**

Deployed by Ren Project, https://renproject.io

Commit hash: 05c0aaf
Repository: https://github.com/renproject/gateway-sol
Issues: https://github.com/renproject/gateway-sol/issues

Licenses
@openzeppelin/contracts: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/LICENSE
gateway-sol: https://github.com/renproject/gateway-sol/blob/master/LICENSE

*/

pragma solidity ^0.5.17;


contract Initializable {

  
  bool private initialized;

  
  bool private initializing;

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

  
  function isConstructor() private view returns (bool) {
    
    
    
    
    
    address self = address(this);
    uint256 cs;
    assembly { cs := extcodesize(self) }
    return cs == 0;
  }

  
  uint256[50] private ______gap;
}

contract Context is Initializable {
    
    
    constructor () internal { }
    

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

    function _msgData() internal view returns (bytes memory) {
        this; 
        return msg.data;
    }
}

contract Ownable is Initializable, Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    
    function initialize(address sender) public initializer {
        _owner = sender;
        emit OwnershipTransferred(address(0), _owner);
    }

    
    function owner() public view returns (address) {
        return _owner;
    }

    
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    
    function isOwner() public view returns (bool) {
        return _msgSender() == _owner;
    }

    
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }

    uint256[50] private ______gap;
}

contract Claimable is Initializable, Ownable {
    address public pendingOwner;

    function initialize(address _nextOwner) public initializer {
        Ownable.initialize(_nextOwner);
    }

    modifier onlyPendingOwner() {
        require(
            _msgSender() == pendingOwner,
            "Claimable: caller is not the pending owner"
        );
        _;
    }

    function transferOwnership(address newOwner) public onlyOwner {
        require(
            newOwner != owner() && newOwner != pendingOwner,
            "Claimable: invalid new owner"
        );
        pendingOwner = newOwner;
    }

    
    
    function _directTransferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    function claimOwnership() public onlyPendingOwner {
        _transferOwnership(pendingOwner);
        delete pendingOwner;
    }
}

contract Proxy {
  
  function () payable external {
    _fallback();
  }

  
  function _implementation() internal view returns (address);

  
  function _delegate(address implementation) internal {
    assembly {
      
      
      
      calldatacopy(0, 0, calldatasize)

      
      
      let result := delegatecall(gas, implementation, 0, calldatasize, 0, 0)

      
      returndatacopy(0, 0, returndatasize)

      switch result
      
      case 0 { revert(0, returndatasize) }
      default { return(0, returndatasize) }
    }
  }

  
  function _willFallback() internal {
  }

  
  function _fallback() internal {
    _willFallback();
    _delegate(_implementation());
  }
}

library OpenZeppelinUpgradesAddress {
    
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        
        
        
        
        
        
        
        assembly { size := extcodesize(account) }
        return size > 0;
    }
}

contract BaseUpgradeabilityProxy is Proxy {
  
  event Upgraded(address indexed implementation);

  
  bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

  
  function _implementation() internal view returns (address impl) {
    bytes32 slot = IMPLEMENTATION_SLOT;
    assembly {
      impl := sload(slot)
    }
  }

  
  function _upgradeTo(address newImplementation) internal {
    _setImplementation(newImplementation);
    emit Upgraded(newImplementation);
  }

  
  function _setImplementation(address newImplementation) internal {
    require(OpenZeppelinUpgradesAddress.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address");

    bytes32 slot = IMPLEMENTATION_SLOT;

    assembly {
      sstore(slot, newImplementation)
    }
  }
}

contract UpgradeabilityProxy is BaseUpgradeabilityProxy {
  
  constructor(address _logic, bytes memory _data) public payable {
    assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1));
    _setImplementation(_logic);
    if(_data.length > 0) {
      (bool success,) = _logic.delegatecall(_data);
      require(success);
    }
  }  
}

contract BaseAdminUpgradeabilityProxy is BaseUpgradeabilityProxy {
  
  event AdminChanged(address previousAdmin, address newAdmin);

  

  bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

  
  modifier ifAdmin() {
    if (msg.sender == _admin()) {
      _;
    } else {
      _fallback();
    }
  }

  
  function admin() external ifAdmin returns (address) {
    return _admin();
  }

  
  function implementation() external ifAdmin returns (address) {
    return _implementation();
  }

  
  function changeAdmin(address newAdmin) external ifAdmin {
    require(newAdmin != address(0), "Cannot change the admin of a proxy to the zero address");
    emit AdminChanged(_admin(), newAdmin);
    _setAdmin(newAdmin);
  }

  
  function upgradeTo(address newImplementation) external ifAdmin {
    _upgradeTo(newImplementation);
  }

  
  function upgradeToAndCall(address newImplementation, bytes calldata data) payable external ifAdmin {
    _upgradeTo(newImplementation);
    (bool success,) = newImplementation.delegatecall(data);
    require(success);
  }

  
  function _admin() internal view returns (address adm) {
    bytes32 slot = ADMIN_SLOT;
    assembly {
      adm := sload(slot)
    }
  }

  
  function _setAdmin(address newAdmin) internal {
    bytes32 slot = ADMIN_SLOT;

    assembly {
      sstore(slot, newAdmin)
    }
  }

  
  function _willFallback() internal {
    require(msg.sender != _admin(), "Cannot call fallback function from the proxy admin");
    super._willFallback();
  }
}

contract InitializableUpgradeabilityProxy is BaseUpgradeabilityProxy {
  
  function initialize(address _logic, bytes memory _data) public payable {
    require(_implementation() == address(0));
    assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1));
    _setImplementation(_logic);
    if(_data.length > 0) {
      (bool success,) = _logic.delegatecall(_data);
      require(success);
    }
  }  
}

contract InitializableAdminUpgradeabilityProxy is BaseAdminUpgradeabilityProxy, InitializableUpgradeabilityProxy {
  
  function initialize(address _logic, address _admin, bytes memory _data) public payable {
    require(_implementation() == address(0));
    InitializableUpgradeabilityProxy.initialize(_logic, _data);
    assert(ADMIN_SLOT == bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1));
    _setAdmin(_admin);
  }
}

interface IERC20 {
    
    function totalSupply() external view returns (uint256);

    
    function balanceOf(address account) external view returns (uint256);

    
    function transfer(address recipient, uint256 amount) external returns (bool);

    
    function allowance(address owner, address spender) external view returns (uint256);

    
    function approve(address spender, uint256 amount) external returns (bool);

    
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    
    event Transfer(address indexed from, address indexed to, uint256 value);

    
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

library SafeMath {
    
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        
        
        
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

    
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        
        require(b > 0, errorMessage);
        uint256 c = a / b;
        

        return c;
    }

    
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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;

    
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    
    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    
    function transfer(address recipient, uint256 amount) public returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    
    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

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

    
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

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

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

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

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

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

contract ERC20Detailed is Initializable, IERC20 {
    string private _name;
    string internal _symbol;
    uint8 private _decimals;

    
    function initialize(string memory name, string memory symbol, uint8 decimals) public initializer {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

    
    function name() public view returns (string memory) {
        return _name;
    }

    
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    uint256[50] private ______gap;
}

library Address {
    
    function isContract(address account) internal view returns (bool) {
        
        
        
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        
        (bool success, ) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        
        
        
        
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        
        

        
        
        
        
        
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { 
            
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

contract CanReclaimTokens is Claimable {
    using SafeERC20 for ERC20;

    mapping(address => bool) private recoverableTokensBlacklist;

    function initialize(address _nextOwner) public initializer {
        Claimable.initialize(_nextOwner);
    }

    function blacklistRecoverableToken(address _token) public onlyOwner {
        recoverableTokensBlacklist[_token] = true;
    }

    
    
    function recoverTokens(address _token) external onlyOwner {
        require(
            !recoverableTokensBlacklist[_token],
            "CanReclaimTokens: token is not recoverable"
        );

        if (_token == address(0x0)) {
            msg.sender.transfer(address(this).balance);
        } else {
            ERC20(_token).safeTransfer(
                msg.sender,
                ERC20(_token).balanceOf(address(this))
            );
        }
    }
}

contract ERC20WithRate is Initializable, Ownable, ERC20 {
    using SafeMath for uint256;

    uint256 public constant _rateScale = 1e18;
    uint256 internal _rate;

    event LogRateChanged(uint256 indexed _rate);

    
    function initialize(address _nextOwner, uint256 _initialRate)
        public
        initializer
    {
        Ownable.initialize(_nextOwner);
        _setRate(_initialRate);
    }

    function setExchangeRate(uint256 _nextRate) public onlyOwner {
        _setRate(_nextRate);
    }

    function exchangeRateCurrent() public view returns (uint256) {
        require(_rate != 0, "ERC20WithRate: rate has not been initialized");
        return _rate;
    }

    function _setRate(uint256 _nextRate) internal {
        require(_nextRate > 0, "ERC20WithRate: rate must be greater than zero");
        _rate = _nextRate;
    }

    function balanceOfUnderlying(address _account)
        public
        view
        returns (uint256)
    {
        return toUnderlying(balanceOf(_account));
    }

    function toUnderlying(uint256 _amount) public view returns (uint256) {
        return _amount.mul(_rate).div(_rateScale);
    }

    function fromUnderlying(uint256 _amountUnderlying)
        public
        view
        returns (uint256)
    {
        return _amountUnderlying.mul(_rateScale).div(_rate);
    }
}

contract ERC20WithPermit is Initializable, ERC20, ERC20Detailed {
    using SafeMath for uint256;

    mapping(address => uint256) public nonces;

    
    
    string public version;

    
    bytes32 public DOMAIN_SEPARATOR;
    
    
    bytes32 public constant PERMIT_TYPEHASH =
        0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;

    function initialize(
        uint256 _chainId,
        string memory _version,
        string memory _name,
        string memory _symbol,
        uint8 _decimals
    ) public initializer {
        ERC20Detailed.initialize(_name, _symbol, _decimals);
        version = _version;
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256(
                    "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
                ),
                keccak256(bytes(name())),
                keccak256(bytes(version)),
                _chainId,
                address(this)
            )
        );
    }

    
    function permit(
        address holder,
        address spender,
        uint256 nonce,
        uint256 expiry,
        bool allowed,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        bytes32 digest =
            keccak256(
                abi.encodePacked(
                    "\x19\x01",
                    DOMAIN_SEPARATOR,
                    keccak256(
                        abi.encode(
                            PERMIT_TYPEHASH,
                            holder,
                            spender,
                            nonce,
                            expiry,
                            allowed
                        )
                    )
                )
            );

        require(holder != address(0), "ERC20WithRate: address must not be 0x0");
        require(
            holder == ecrecover(digest, v, r, s),
            "ERC20WithRate: invalid signature"
        );
        require(
            expiry == 0 || now <= expiry,
            "ERC20WithRate: permit has expired"
        );
        require(nonce == nonces[holder]++, "ERC20WithRate: invalid nonce");
        uint256 amount = allowed ? uint256(-1) : 0;
        _approve(holder, spender, amount);
    }
}

contract RenERC20LogicV1 is
    Initializable,
    ERC20,
    ERC20Detailed,
    ERC20WithRate,
    ERC20WithPermit,
    Claimable,
    CanReclaimTokens
{
    
    function initialize(
        uint256 _chainId,
        address _nextOwner,
        uint256 _initialRate,
        string memory _version,
        string memory _name,
        string memory _symbol,
        uint8 _decimals
    ) public initializer {
        ERC20Detailed.initialize(_name, _symbol, _decimals);
        ERC20WithRate.initialize(_nextOwner, _initialRate);
        ERC20WithPermit.initialize(
            _chainId,
            _version,
            _name,
            _symbol,
            _decimals
        );
        Claimable.initialize(_nextOwner);
        CanReclaimTokens.initialize(_nextOwner);
    }

    function updateSymbol(string memory symbol) public onlyOwner {
        ERC20Detailed._symbol = symbol;
    }

    
    
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    
    
    function burn(address _from, uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
    }

    function transfer(address recipient, uint256 amount) public returns (bool) {
        
        
        
        require(
            recipient != address(this),
            "RenERC20: can't transfer to token address"
        );
        return super.transfer(recipient, amount);
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public returns (bool) {
        
        
        require(
            recipient != address(this),
            "RenERC20: can't transfer to token address"
        );
        return super.transferFrom(sender, recipient, amount);
    }
}

contract RenERC20Proxy is InitializableAdminUpgradeabilityProxy {

}

library LinkedList {
    
    address public constant NULL = address(0);

    
    struct Node {
        bool inList;
        address previous;
        address next;
    }

    
    struct List {
        mapping(address => Node) list;
    }

    
    function insertBefore(
        List storage self,
        address target,
        address newNode
    ) internal {
        require(newNode != address(0), "LinkedList: invalid address");
        require(!isInList(self, newNode), "LinkedList: already in list");
        require(
            isInList(self, target) || target == NULL,
            "LinkedList: not in list"
        );

        
        address prev = self.list[target].previous;

        self.list[newNode].next = target;
        self.list[newNode].previous = prev;
        self.list[target].previous = newNode;
        self.list[prev].next = newNode;

        self.list[newNode].inList = true;
    }

    
    function insertAfter(
        List storage self,
        address target,
        address newNode
    ) internal {
        require(newNode != address(0), "LinkedList: invalid address");
        require(!isInList(self, newNode), "LinkedList: already in list");
        require(
            isInList(self, target) || target == NULL,
            "LinkedList: not in list"
        );

        
        address n = self.list[target].next;

        self.list[newNode].previous = target;
        self.list[newNode].next = n;
        self.list[target].next = newNode;
        self.list[n].previous = newNode;

        self.list[newNode].inList = true;
    }

    
    function remove(List storage self, address node) internal {
        require(isInList(self, node), "LinkedList: not in list");

        address p = self.list[node].previous;
        address n = self.list[node].next;

        self.list[p].next = n;
        self.list[n].previous = p;

        
        
        self.list[node].inList = false;
        delete self.list[node];
    }

    
    function prepend(List storage self, address node) internal {
        

        insertBefore(self, begin(self), node);
    }

    
    function append(List storage self, address node) internal {
        

        insertAfter(self, end(self), node);
    }

    function swap(
        List storage self,
        address left,
        address right
    ) internal {
        

        address previousRight = self.list[right].previous;
        remove(self, right);
        insertAfter(self, left, right);
        remove(self, left);
        insertAfter(self, previousRight, left);
    }

    function isInList(List storage self, address node)
        internal
        view
        returns (bool)
    {
        return self.list[node].inList;
    }

    
    function begin(List storage self) internal view returns (address) {
        return self.list[NULL].next;
    }

    
    function end(List storage self) internal view returns (address) {
        return self.list[NULL].previous;
    }

    function next(List storage self, address node)
        internal
        view
        returns (address)
    {
        require(isInList(self, node), "LinkedList: not in list");
        return self.list[node].next;
    }

    function previous(List storage self, address node)
        internal
        view
        returns (address)
    {
        require(isInList(self, node), "LinkedList: not in list");
        return self.list[node].previous;
    }

    function elements(
        List storage self,
        address _start,
        uint256 _count
    ) internal view returns (address[] memory) {
        require(_count > 0, "LinkedList: invalid count");
        require(
            isInList(self, _start) || _start == address(0),
            "LinkedList: not in list"
        );
        address[] memory elems = new address[](_count);

        
        uint256 n = 0;
        address nextItem = _start;
        if (nextItem == address(0)) {
            nextItem = begin(self);
        }

        while (n < _count) {
            if (nextItem == address(0)) {
                break;
            }
            elems[n] = nextItem;
            nextItem = next(self, nextItem);
            n += 1;
        }
        return elems;
    }
}

interface IMintGateway {
    function mint(
        bytes32 _pHash,
        uint256 _amount,
        bytes32 _nHash,
        bytes calldata _sig
    ) external returns (uint256);

    function mintFee() external view returns (uint256);
}

interface IBurnGateway {
    function burn(bytes calldata _to, uint256 _amountScaled)
        external
        returns (uint256);

    function burnFee() external view returns (uint256);
}

interface IGateway {
    
    function mint(
        bytes32 _pHash,
        uint256 _amount,
        bytes32 _nHash,
        bytes calldata _sig
    ) external returns (uint256);

    function mintFee() external view returns (uint256);

    
    function burn(bytes calldata _to, uint256 _amountScaled)
        external
        returns (uint256);

    function burnFee() external view returns (uint256);
}

contract GatewayRegistry is Claimable, CanReclaimTokens {
    constructor() public {
        Claimable.initialize(msg.sender);
        CanReclaimTokens.initialize(msg.sender);
    }

    
    
    event LogGatewayRegistered(
        string _symbol,
        string indexed _indexedSymbol,
        address indexed _token,
        address indexed _gatewayContract
    );
    event LogGatewayDeregistered(
        string _symbol,
        string indexed _indexedSymbol,
        address indexed _token,
        address indexed _gatewayContract
    );
    event LogGatewayUpdated(
        address indexed _token,
        address indexed _currentGatewayContract,
        address indexed _newGatewayContract
    );

    
    uint256 numGatewayContracts = 0;

    
    LinkedList.List private gatewayContractList;

    
    LinkedList.List private renTokenList;

    
    mapping(address => address) private gatewayByToken;

    
    mapping(string => address) private tokenBySymbol;

    
    
    
    
    
    function setGateway(
        string calldata _symbol,
        address _token,
        address _gatewayContract
    ) external onlyOwner {
        require(
            symbolIsValid(_symbol),
            "GatewayRegistry: symbol must be alphanumeric"
        );

        
        require(
            !LinkedList.isInList(gatewayContractList, _gatewayContract),
            "GatewayRegistry: gateway already registered"
        );
        require(
            gatewayByToken[_token] == address(0x0),
            "GatewayRegistry: token already registered"
        );
        require(
            tokenBySymbol[_symbol] == address(0x0),
            "GatewayRegistry: symbol already registered"
        );

        
        LinkedList.append(gatewayContractList, _gatewayContract);

        
        LinkedList.append(renTokenList, _token);

        tokenBySymbol[_symbol] = _token;
        gatewayByToken[_token] = _gatewayContract;
        numGatewayContracts += 1;

        emit LogGatewayRegistered(_symbol, _symbol, _token, _gatewayContract);
    }

    
    
    
    
    
    function updateGateway(address _token, address _newGatewayContract)
        external
        onlyOwner
    {
        
        address currentGateway = gatewayByToken[_token];
        require(
            currentGateway != address(0x0),
            "GatewayRegistry: token not registered"
        );

        
        LinkedList.remove(gatewayContractList, currentGateway);

        
        LinkedList.append(gatewayContractList, _newGatewayContract);

        gatewayByToken[_token] = _newGatewayContract;

        emit LogGatewayUpdated(_token, currentGateway, _newGatewayContract);
    }

    
    
    
    
    function removeGateway(string calldata _symbol) external onlyOwner {
        
        address tokenAddress = tokenBySymbol[_symbol];
        require(
            tokenAddress != address(0x0),
            "GatewayRegistry: symbol not registered"
        );

        
        address gatewayAddress = gatewayByToken[tokenAddress];

        
        delete gatewayByToken[tokenAddress];
        delete tokenBySymbol[_symbol];
        LinkedList.remove(gatewayContractList, gatewayAddress);
        LinkedList.remove(renTokenList, tokenAddress);
        numGatewayContracts -= 1;

        emit LogGatewayDeregistered(
            _symbol,
            _symbol,
            tokenAddress,
            gatewayAddress
        );
    }

    
    function getGateways(address _start, uint256 _count)
        external
        view
        returns (address[] memory)
    {
        return
            LinkedList.elements(
                gatewayContractList,
                _start,
                _count == 0 ? numGatewayContracts : _count
            );
    }

    
    function getRenTokens(address _start, uint256 _count)
        external
        view
        returns (address[] memory)
    {
        return
            LinkedList.elements(
                renTokenList,
                _start,
                _count == 0 ? numGatewayContracts : _count
            );
    }

    
    
    
    
    function getGatewayByToken(address _token)
        external
        view
        returns (IGateway)
    {
        return IGateway(gatewayByToken[_token]);
    }

    
    
    
    
    function getGatewayBySymbol(string calldata _tokenSymbol)
        external
        view
        returns (IGateway)
    {
        return IGateway(gatewayByToken[tokenBySymbol[_tokenSymbol]]);
    }

    
    
    
    
    function getTokenBySymbol(string calldata _tokenSymbol)
        external
        view
        returns (IERC20)
    {
        return IERC20(tokenBySymbol[_tokenSymbol]);
    }

    function symbolIsValid(string memory _tokenSymbol)
        public
        pure
        returns (bool)
    {
        for (uint256 i = 0; i < bytes(_tokenSymbol).length; i++) {
            uint8 char = uint8(bytes(_tokenSymbol)[i]);
            if (
                !((char >= 65 && char <= 90) ||
                    (char >= 97 && char <= 122) ||
                    (char >= 48 && char <= 57))
            ) {
                return false;
            }
        }
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_symbol","type":"string"},{"indexed":true,"internalType":"string","name":"_indexedSymbol","type":"string"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_gatewayContract","type":"address"}],"name":"LogGatewayDeregistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_symbol","type":"string"},{"indexed":true,"internalType":"string","name":"_indexedSymbol","type":"string"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_gatewayContract","type":"address"}],"name":"LogGatewayRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_currentGatewayContract","type":"address"},{"indexed":true,"internalType":"address","name":"_newGatewayContract","type":"address"}],"name":"LogGatewayUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"_directTransferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"blacklistRecoverableToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"string","name":"_tokenSymbol","type":"string"}],"name":"getGatewayBySymbol","outputs":[{"internalType":"contract IGateway","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"getGatewayByToken","outputs":[{"internalType":"contract IGateway","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_start","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"getGateways","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_start","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"getRenTokens","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"string","name":"_tokenSymbol","type":"string"}],"name":"getTokenBySymbol","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_nextOwner","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"_symbol","type":"string"}],"name":"removeGateway","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_gatewayContract","type":"address"}],"name":"setGateway","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"string","name":"_tokenSymbol","type":"string"}],"name":"symbolIsValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_newGatewayContract","type":"address"}],"name":"updateGateway","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405260006068553480156200001657600080fd5b506200002d336200004960201b620014071760201c565b62000043336200011360201b62000e621760201c565b620002ce565b600054610100900460ff16806200006e57506200006e6001600160e01b03620001c616565b806200007d575060005460ff16155b620000ba5760405162461bcd60e51b815260040180806020018281038252602e8152602001806200205b602e913960400191505060405180910390fd5b600054610100900460ff16158015620000e6576000805460ff1961ff0019909116610100171660011790555b620000fc82620001cc60201b6200199a1760201c565b80156200010f576000805461ff00191690555b5050565b600054610100900460ff1680620001385750620001386001600160e01b03620001c616565b8062000147575060005460ff16155b620001845760405162461bcd60e51b815260040180806020018281038252602e8152602001806200205b602e913960400191505060405180910390fd5b600054610100900460ff16158015620001b0576000805460ff1961ff0019909116610100171660011790555b620000fc826200004960201b620014071760201c565b303b1590565b600054610100900460ff1680620001f15750620001f16001600160e01b03620001c616565b8062000200575060005460ff16155b6200023d5760405162461bcd60e51b815260040180806020018281038252602e8152602001806200205b602e913960400191505060405180910390fd5b600054610100900460ff1615801562000269576000805460ff1961ff0019909116610100171660011790555b603380546001600160a01b0319166001600160a01b0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a380156200010f576000805461ff00191690555050565b611d7d80620002de6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063920966a8116100ad578063e30c397811610071578063e30c3978146104b9578063efa74f1f146104c1578063f2fde38b1461052f578063f4146ba214610555578063f65d901c1461058157610121565b8063920966a8146102c6578063b3d0403e1461036a578063c4d66de8146103e9578063cf4f775c1461040f578063d14230d61461048b57610121565b806364936b1e116100f457806364936b1e146101be578063715018a61461022c5780638028c92e146102345780638da5cb5b146102a25780638f32d59b146102aa57610121565b806316114acd146101265780631b95e3051461014e578063238e5bc8146101905780634e71e0c8146101b6575b600080fd5b61014c6004803603602081101561013c57600080fd5b50356001600160a01b03166105a7565b005b6101746004803603602081101561016457600080fd5b50356001600160a01b0316610718565b604080516001600160a01b039092168252519081900360200190f35b61014c600480360360208110156101a657600080fd5b50356001600160a01b0316610739565b61014c610789565b610174600480360360208110156101d457600080fd5b810190602081018135600160201b8111156101ee57600080fd5b82018360208201111561020057600080fd5b803590602001918460018302840111600160201b8311171561022157600080fd5b509092509050610809565b61014c610859565b61014c6004803603602081101561024a57600080fd5b810190602081018135600160201b81111561026457600080fd5b82018360208201111561027657600080fd5b803590602001918460018302840111600160201b8311171561029757600080fd5b5090925090506108ea565b610174610ab8565b6102b2610ac7565b604080519115158252519081900360200190f35b6102b2600480360360208110156102dc57600080fd5b810190602081018135600160201b8111156102f657600080fd5b82018360208201111561030857600080fd5b803590602001918460018302840111600160201b8311171561032957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610aed945050505050565b61014c6004803603606081101561038057600080fd5b810190602081018135600160201b81111561039a57600080fd5b8201836020820111156103ac57600080fd5b803590602001918460018302840111600160201b831117156103cd57600080fd5b91935091506001600160a01b0381358116916020013516610b84565b61014c600480360360208110156103ff57600080fd5b50356001600160a01b0316610e62565b61043b6004803603604081101561042557600080fd5b506001600160a01b038135169060200135610f0e565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561047757818101518382015260200161045f565b505050509050019250505060405180910390f35b61014c600480360360408110156104a157600080fd5b506001600160a01b0381358116916020013516610f32565b610174611045565b610174600480360360208110156104d757600080fd5b810190602081018135600160201b8111156104f157600080fd5b82018360208201111561050357600080fd5b803590602001918460018302840111600160201b8311171561052457600080fd5b509092509050611054565b61014c6004803603602081101561054557600080fd5b50356001600160a01b031661108e565b61043b6004803603604081101561056b57600080fd5b506001600160a01b03813516906020013561117f565b61014c6004803603602081101561059757600080fd5b50356001600160a01b0316611193565b6105af610ac7565b6105ee576040805162461bcd60e51b81526020600482018190526024820152600080516020611c2c833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526067602052604090205460ff16156106465760405162461bcd60e51b815260040180806020018281038252602a815260200180611b88602a913960400191505060405180910390fd5b6001600160a01b0381166106865760405133904780156108fc02916000818181858888f19350505050158015610680573d6000803e3d6000fd5b50610715565b604080516370a0823160e01b815230600482015290516107159133916001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156106d257600080fd5b505afa1580156106e6573d6000803e3d6000fd5b505050506040513d60208110156106fc57600080fd5b50516001600160a01b038416919063ffffffff6111fe16565b50565b6001600160a01b038082166000908152606b6020526040902054165b919050565b610741610ac7565b610780576040805162461bcd60e51b81526020600482018190526024820152600080516020611c2c833981519152604482015290519081900360640190fd5b61071581611255565b6066546001600160a01b031661079d6112f6565b6001600160a01b0316146107e25760405162461bcd60e51b815260040180806020018281038252602a815260200180611ca5602a913960400191505060405180910390fd5b6066546107f7906001600160a01b0316611255565b606680546001600160a01b0319169055565b6000606b6000606c8585604051808383808284379190910194855250506040805160209481900385019020546001600160a01b039081168652938501959095525050910160002054169392505050565b610861610ac7565b6108a0576040805162461bcd60e51b81526020600482018190526024820152600080516020611c2c833981519152604482015290519081900360640190fd5b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b6108f2610ac7565b610931576040805162461bcd60e51b81526020600482018190526024820152600080516020611c2c833981519152604482015290519081900360640190fd5b6000606c83836040518083838082843791909101948552505060405192839003602001909220546001600160a01b031692505050806109a15760405162461bcd60e51b8152600401808060200182810382526026815260200180611ccf6026913960400191505060405180910390fd5b6001600160a01b038082166000908152606b60205260409081902080546001600160a01b031981169091559051911690606c9085908590808383808284379190910194855250506040519283900360200190922080546001600160a01b031916905550610a1190506069826112fa565b610a1c606a836112fa565b606880546000190190556040516001600160a01b038083169190841690869086908083838082843760408051939091018390038320602080855284018c905295507fea98e49727cf7c3a8c3926a036a6d41047c9b766d9109f22962950f37a2094aa94508b93508a92915081908101848480828437600083820152604051601f909101601f19169092018290039550909350505050a450505050565b6033546001600160a01b031690565b6033546000906001600160a01b0316610ade6112f6565b6001600160a01b031614905090565b6000805b8251811015610b7b576000838281518110610b0857fe5b016020015160f81c905060418110801590610b275750605a8160ff1611155b80610b45575060618160ff1610158015610b455750607a8160ff1611155b80610b63575060308160ff1610158015610b63575060398160ff1611155b610b7257600092505050610734565b50600101610af1565b50600192915050565b610b8c610ac7565b610bcb576040805162461bcd60e51b81526020600482018190526024820152600080516020611c2c833981519152604482015290519081900360640190fd5b610c0a84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610aed92505050565b610c455760405162461bcd60e51b815260040180806020018281038252602c815260200180611bd7602c913960400191505060405180910390fd5b610c506069826113cf565b15610c8c5760405162461bcd60e51b815260040180806020018281038252602b815260200180611c4c602b913960400191505060405180910390fd5b6001600160a01b038281166000908152606b60205260409020541615610ce35760405162461bcd60e51b8152600401808060200182810382526029815260200180611c036029913960400191505060405180910390fd5b60006001600160a01b0316606c85856040518083838082843791909101948552505060405192839003602001909220546001600160a01b0316929092149150610d5f90505760405162461bcd60e51b815260040180806020018281038252602a815260200180611d1f602a913960400191505060405180910390fd5b610d6a6069826113ee565b610d75606a836113ee565b81606c85856040518083838082843791909101948552505060408051938490036020908101852080546001600160a01b039788166001600160a01b0319918216179091558887166000818152606b9093529290912080549688169690911686179055606880546001019055928892508791508083838082843760408051939091018390038320602080855284018c905295507fd433aae9ea620c1976ff88f75c629f477dbffe6bf277edad8a31c983117ab32a94508b93508a92915081908101848480828437600083820152604051601f909101601f19169092018290039550909350505050a450505050565b600054610100900460ff1680610e7b5750610e7b611401565b80610e89575060005460ff16155b610ec45760405162461bcd60e51b815260040180806020018281038252602e815260200180611c77602e913960400191505060405180910390fd5b600054610100900460ff16158015610eef576000805460ff1961ff0019909116610100171660011790555b610ef882611407565b8015610f0a576000805461ff00191690555b5050565b6060610f2b606a848415610f225784610f26565b6068545b61149d565b9392505050565b610f3a610ac7565b610f79576040805162461bcd60e51b81526020600482018190526024820152600080516020611c2c833981519152604482015290519081900360640190fd5b6001600160a01b038083166000908152606b60205260409020541680610fd05760405162461bcd60e51b8152600401808060200182810382526025815260200180611bb26025913960400191505060405180910390fd5b610fdb6069826112fa565b610fe66069836113ee565b6001600160a01b038381166000818152606b602052604080822080546001600160a01b03191687861690811790915590519093851692917f2dc9e208c924a5b14066ecb7121b371da427e696ad69456ed07a52cd2a710d9991a4505050565b6066546001600160a01b031681565b6000606c83836040518083838082843791909101948552505060405192839003602001909220546001600160a01b03169250505092915050565b611096610ac7565b6110d5576040805162461bcd60e51b81526020600482018190526024820152600080516020611c2c833981519152604482015290519081900360640190fd5b6110dd610ab8565b6001600160a01b0316816001600160a01b03161415801561110c57506066546001600160a01b03828116911614155b61115d576040805162461bcd60e51b815260206004820152601c60248201527f436c61696d61626c653a20696e76616c6964206e6577206f776e657200000000604482015290519081900360640190fd5b606680546001600160a01b0319166001600160a01b0392909216919091179055565b6060610f2b6069848415610f225784610f26565b61119b610ac7565b6111da576040805162461bcd60e51b81526020600482018190526024820152600080516020611c2c833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152606760205260409020805460ff19166001179055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611250908490611611565b505050565b6001600160a01b03811661129a5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b626026913960400191505060405180910390fd5b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b61130482826113cf565b61134f576040805162461bcd60e51b8152602060048201526017602482015276131a5b9ad959131a5cdd0e881b9bdd081a5b881b1a5cdd604a1b604482015290519081900360640190fd5b6001600160a01b0390811660008181526020939093526040808420805460018083018054610100938490048816808a52868a209093018054919098166001600160a01b031991821681179098559688529387208054610100600160a81b031916919092021790559190935280546001600160a81b03191690558154169055565b6001600160a01b03166000908152602091909152604090205460ff1690565b610f0a826113fb846117cf565b836117f1565b303b1590565b600054610100900460ff16806114205750611420611401565b8061142e575060005460ff16155b6114695760405162461bcd60e51b815260040180806020018281038252602e815260200180611c77602e913960400191505060405180910390fd5b600054610100900460ff16158015611494576000805460ff1961ff0019909116610100171660011790555b610ef88261199a565b6060600082116114f4576040805162461bcd60e51b815260206004820152601960248201527f4c696e6b65644c6973743a20696e76616c696420636f756e7400000000000000604482015290519081900360640190fd5b6114fe84846113cf565b8061151057506001600160a01b038316155b61155b576040805162461bcd60e51b8152602060048201526017602482015276131a5b9ad959131a5cdd0e881b9bdd081a5b881b1a5cdd604a1b604482015290519081900360640190fd5b606082604051908082528060200260200182016040528015611587578160200160208202803883390190505b5090506000846001600160a01b0381166115a7576115a487611a8b565b90505b84821015611606576001600160a01b0381166115c257611606565b808383815181106115cf57fe5b60200260200101906001600160a01b031690816001600160a01b0316815250506115f98782611aaa565b90506001820191506115a7565b509095945050505050565b611623826001600160a01b0316611b25565b611674576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106116b25780518252601f199092019160209182019101611693565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611714576040519150601f19603f3d011682016040523d82523d6000602084013e611719565b606091505b509150915081611770576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156117c95780806020019051602081101561178c57600080fd5b50516117c95760405162461bcd60e51b815260040180806020018281038252602a815260200180611cf5602a913960400191505060405180910390fd5b50505050565b60008080526020829052604090205461010090046001600160a01b0316919050565b6001600160a01b03811661184c576040805162461bcd60e51b815260206004820152601b60248201527f4c696e6b65644c6973743a20696e76616c696420616464726573730000000000604482015290519081900360640190fd5b61185683826113cf565b156118a8576040805162461bcd60e51b815260206004820152601b60248201527f4c696e6b65644c6973743a20616c726561647920696e206c6973740000000000604482015290519081900360640190fd5b6118b283836113cf565b806118c457506001600160a01b038216155b61190f576040805162461bcd60e51b8152602060048201526017602482015276131a5b9ad959131a5cdd0e881b9bdd081a5b881b1a5cdd604a1b604482015290519081900360640190fd5b6001600160a01b0391821660008181526020949094526040808520600190810180549486168088528388208054610100600160a81b03199081166101009788021782558185018054989099166001600160a01b031998891681179099558354909716821790925595875291862080549094169285029290921790925591909252815460ff1916179055565b600054610100900460ff16806119b357506119b3611401565b806119c1575060005460ff16155b6119fc5760405162461bcd60e51b815260040180806020018281038252602e815260200180611c77602e913960400191505060405180910390fd5b600054610100900460ff16158015611a27576000805460ff1961ff0019909116610100171660011790555b603380546001600160a01b0319166001600160a01b0384811691909117918290556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015610f0a576000805461ff00191690555050565b600080805260209190915260409020600101546001600160a01b031690565b6000611ab683836113cf565b611b01576040805162461bcd60e51b8152602060048201526017602482015276131a5b9ad959131a5cdd0e881b9bdd081a5b881b1a5cdd604a1b604482015290519081900360640190fd5b506001600160a01b0390811660009081526020929092526040909120600101541690565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611b5957508115155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737343616e5265636c61696d546f6b656e733a20746f6b656e206973206e6f74207265636f76657261626c654761746577617952656769737472793a20746f6b656e206e6f7420726567697374657265644761746577617952656769737472793a2073796d626f6c206d75737420626520616c7068616e756d657269634761746577617952656769737472793a20746f6b656e20616c726561647920726567697374657265644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724761746577617952656769737472793a206761746577617920616c72656164792072656769737465726564436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564436c61696d61626c653a2063616c6c6572206973206e6f74207468652070656e64696e67206f776e65724761746577617952656769737472793a2073796d626f6c206e6f7420726567697374657265645361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644761746577617952656769737472793a2073796d626f6c20616c72656164792072656769737465726564a265627a7a7231582087c96cadaf4dbc518250afbf7083541c97a720bed66b19af056d648ec0cb78ac64736f6c63430005110032436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.