ETH Price: $3,126.96 (-2.18%)
 

Overview

Max Total Supply

1,362,046.195848370067775679 SGA

Holders

118 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Celsius Network: Wallet
Balance
0.000000000000400573 SGA

Value
$0.00
0x7de3e919d1d7e5f1b1b27bdb3575b65c5874a5f6
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Saga token contract has migrated to 0xaea8e1b6cb5c05d1dac618551c76bcd578ea3524.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SGAToken

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 6000 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-11-27
*/

pragma solidity 0.4.25;

// File: contracts/saga/interfaces/IPaymentHandler.sol

/**
 * @title Payment Handler Interface.
 */
interface IPaymentHandler {
    /**
     * @dev Get the amount of available ETH.
     * @return The amount of available ETH.
     */
    function getEthBalance() external view returns (uint256);

    /**
     * @dev Transfer ETH to an SGA holder.
     * @param _to The address of the SGA holder.
     * @param _value The amount of ETH to transfer.
     */
    function transferEthToSgaHolder(address _to, uint256 _value) external;
}

// File: contracts/saga/interfaces/IMintListener.sol

/**
 * @title Mint Listener Interface.
 */
interface IMintListener {
    /**
     * @dev Mint SGA for SGN holders.
     * @param _value The amount of SGA to mint.
     */
    function mintSgaForSgnHolders(uint256 _value) external;
}

// File: contracts/saga/interfaces/ISGATokenManager.sol

/**
 * @title SGA Token Manager Interface.
 */
interface ISGATokenManager {
    /**
     * @dev Exchange ETH for SGA.
     * @param _sender The address of the sender.
     * @param _ethAmount The amount of ETH received.
     * @return The amount of SGA that the sender is entitled to.
     */
    function exchangeEthForSga(address _sender, uint256 _ethAmount) external returns (uint256);

    /**
     * @dev Exchange SGA for ETH.
     * @param _sender The address of the sender.
     * @param _sgaAmount The amount of SGA received.
     * @return The amount of ETH that the sender is entitled to.
     */
    function exchangeSgaForEth(address _sender, uint256 _sgaAmount) external returns (uint256);

    /**
     * @dev Handle direct SGA transfer.
     * @param _sender The address of the sender.
     * @param _to The address of the destination account.
     * @param _value The amount of SGA to be transferred.
     */
    function uponTransfer(address _sender, address _to, uint256 _value) external;

    /**
     * @dev Handle custodian SGA transfer.
     * @param _sender The address of the sender.
     * @param _from The address of the source account.
     * @param _to The address of the destination account.
     * @param _value The amount of SGA to be transferred.
     */
    function uponTransferFrom(address _sender, address _from, address _to, uint256 _value) external;

    /**
     * @dev Handle the operation of ETH deposit into the SGAToken contract.
     * @param _sender The address of the account which has issued the operation.
     * @param _balance The amount of ETH in the SGAToken contract.
     * @param _amount The deposited ETH amount.
     * @return The address of the reserve-wallet and the deficient amount of ETH in the SGAToken contract.
     */
    function uponDeposit(address _sender, uint256 _balance, uint256 _amount) external returns (address, uint256);

    /**
     * @dev Handle the operation of ETH withdrawal from the SGAToken contract.
     * @param _sender The address of the account which has issued the operation.
     * @param _balance The amount of ETH in the SGAToken contract prior the withdrawal.
     * @return The address of the reserve-wallet and the excessive amount of ETH in the SGAToken contract.
     */
    function uponWithdraw(address _sender, uint256 _balance) external returns (address, uint256);

    /** 
     * @dev Upon SGA mint for SGN holders.
     * @param _value The amount of SGA to mint.
     */
    function uponMintSgaForSgnHolders(uint256 _value) external;

    /**
     * @dev Upon SGA transfer to an SGN holder.
     * @param _to The address of the SGN holder.
     * @param _value The amount of SGA to transfer.
     */
    function uponTransferSgaToSgnHolder(address _to, uint256 _value) external;

    /**
     * @dev Upon ETH transfer to an SGA holder.
     * @param _to The address of the SGA holder.
     * @param _value The amount of ETH to transfer.
     * @param _status The operation's completion-status.
     */
    function postTransferEthToSgaHolder(address _to, uint256 _value, bool _status) external;

    /**
     * @dev Get the address of the reserve-wallet and the deficient amount of ETH in the SGAToken contract.
     * @return The address of the reserve-wallet and the deficient amount of ETH in the SGAToken contract.
     */
    function getDepositParams() external view returns (address, uint256);

    /**
     * @dev Get the address of the reserve-wallet and the excessive amount of ETH in the SGAToken contract.
     * @return The address of the reserve-wallet and the excessive amount of ETH in the SGAToken contract.
     */
    function getWithdrawParams() external view returns (address, uint256);
}

// File: contracts/contract_address_locator/interfaces/IContractAddressLocator.sol

/**
 * @title Contract Address Locator Interface.
 */
interface IContractAddressLocator {
    /**
     * @dev Get the contract address mapped to a given identifier.
     * @param _identifier The identifier.
     * @return The contract address.
     */
    function getContractAddress(bytes32 _identifier) external view returns (address);

    /**
     * @dev Determine whether or not a contract address relates to one of the identifiers.
     * @param _contractAddress The contract address to look for.
     * @param _identifiers The identifiers.
     * @return A boolean indicating if the contract address relates to one of the identifiers.
     */
    function isContractAddressRelates(address _contractAddress, bytes32[] _identifiers) external view returns (bool);
}

// File: contracts/contract_address_locator/ContractAddressLocatorHolder.sol

/**
 * @title Contract Address Locator Holder.
 * @dev Hold a contract address locator, which maps a unique identifier to every contract address in the system.
 * @dev Any contract which inherits from this contract can retrieve the address of any contract in the system.
 * @dev Thus, any contract can remain "oblivious" to the replacement of any other contract in the system.
 * @dev In addition to that, any function in any contract can be restricted to a specific caller.
 */
contract ContractAddressLocatorHolder {
    bytes32 internal constant _IAuthorizationDataSource_ = "IAuthorizationDataSource";
    bytes32 internal constant _ISGNConversionManager_    = "ISGNConversionManager"      ;
    bytes32 internal constant _IModelDataSource_         = "IModelDataSource"        ;
    bytes32 internal constant _IPaymentHandler_          = "IPaymentHandler"            ;
    bytes32 internal constant _IPaymentManager_          = "IPaymentManager"            ;
    bytes32 internal constant _IPaymentQueue_            = "IPaymentQueue"              ;
    bytes32 internal constant _IReconciliationAdjuster_  = "IReconciliationAdjuster"      ;
    bytes32 internal constant _IIntervalIterator_        = "IIntervalIterator"       ;
    bytes32 internal constant _IMintHandler_             = "IMintHandler"            ;
    bytes32 internal constant _IMintListener_            = "IMintListener"           ;
    bytes32 internal constant _IMintManager_             = "IMintManager"            ;
    bytes32 internal constant _IPriceBandCalculator_     = "IPriceBandCalculator"       ;
    bytes32 internal constant _IModelCalculator_         = "IModelCalculator"        ;
    bytes32 internal constant _IRedButton_               = "IRedButton"              ;
    bytes32 internal constant _IReserveManager_          = "IReserveManager"         ;
    bytes32 internal constant _ISagaExchanger_           = "ISagaExchanger"          ;
    bytes32 internal constant _IMonetaryModel_               = "IMonetaryModel"              ;
    bytes32 internal constant _IMonetaryModelState_          = "IMonetaryModelState"         ;
    bytes32 internal constant _ISGAAuthorizationManager_ = "ISGAAuthorizationManager";
    bytes32 internal constant _ISGAToken_                = "ISGAToken"               ;
    bytes32 internal constant _ISGATokenManager_         = "ISGATokenManager"        ;
    bytes32 internal constant _ISGNAuthorizationManager_ = "ISGNAuthorizationManager";
    bytes32 internal constant _ISGNToken_                = "ISGNToken"               ;
    bytes32 internal constant _ISGNTokenManager_         = "ISGNTokenManager"        ;
    bytes32 internal constant _IMintingPointTimersManager_             = "IMintingPointTimersManager"            ;
    bytes32 internal constant _ITradingClasses_          = "ITradingClasses"         ;
    bytes32 internal constant _IWalletsTradingLimiterValueConverter_        = "IWalletsTLValueConverter"       ;
    bytes32 internal constant _IWalletsTradingDataSource_       = "IWalletsTradingDataSource"      ;
    bytes32 internal constant _WalletsTradingLimiter_SGNTokenManager_          = "WalletsTLSGNTokenManager"         ;
    bytes32 internal constant _WalletsTradingLimiter_SGATokenManager_          = "WalletsTLSGATokenManager"         ;
    bytes32 internal constant _IETHConverter_             = "IETHConverter"   ;
    bytes32 internal constant _ITransactionLimiter_      = "ITransactionLimiter"     ;
    bytes32 internal constant _ITransactionManager_      = "ITransactionManager"     ;
    bytes32 internal constant _IRateApprover_      = "IRateApprover"     ;

    IContractAddressLocator private contractAddressLocator;

    /**
     * @dev Create the contract.
     * @param _contractAddressLocator The contract address locator.
     */
    constructor(IContractAddressLocator _contractAddressLocator) internal {
        require(_contractAddressLocator != address(0), "locator is illegal");
        contractAddressLocator = _contractAddressLocator;
    }

    /**
     * @dev Get the contract address locator.
     * @return The contract address locator.
     */
    function getContractAddressLocator() external view returns (IContractAddressLocator) {
        return contractAddressLocator;
    }

    /**
     * @dev Get the contract address mapped to a given identifier.
     * @param _identifier The identifier.
     * @return The contract address.
     */
    function getContractAddress(bytes32 _identifier) internal view returns (address) {
        return contractAddressLocator.getContractAddress(_identifier);
    }



    /**
     * @dev Determine whether or not the sender relates to one of the identifiers.
     * @param _identifiers The identifiers.
     * @return A boolean indicating if the sender relates to one of the identifiers.
     */
    function isSenderAddressRelates(bytes32[] _identifiers) internal view returns (bool) {
        return contractAddressLocator.isContractAddressRelates(msg.sender, _identifiers);
    }

    /**
     * @dev Verify that the caller is mapped to a given identifier.
     * @param _identifier The identifier.
     */
    modifier only(bytes32 _identifier) {
        require(msg.sender == getContractAddress(_identifier), "caller is illegal");
        _;
    }

}

// File: contracts/saga-genesis/interfaces/ISagaExchanger.sol

/**
 * @title Saga Exchanger Interface.
 */
interface ISagaExchanger {
    /**
     * @dev Transfer SGA to an SGN holder.
     * @param _to The address of the SGN holder.
     * @param _value The amount of SGA to transfer.
     */
    function transferSgaToSgnHolder(address _to, uint256 _value) external;
}

// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
  function totalSupply() external view returns (uint256);

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

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

  function transfer(address to, uint256 value) external returns (bool);

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

  function transferFrom(address from, address to, uint256 value)
    external returns (bool);

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

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

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, reverts on 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-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
  * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0); // Solidity only automatically asserts when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
  * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

  /**
  * @dev Adds two numbers, reverts on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);

    return c;
  }

  /**
  * @dev Divides two numbers and returns the remainder (unsigned integer modulo),
  * reverts when dividing by zero.
  */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
 * Originally based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract ERC20 is IERC20 {
  using SafeMath for uint256;

  mapping (address => uint256) private _balances;

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

  uint256 private _totalSupply;

  /**
  * @dev Total number of tokens in existence
  */
  function totalSupply() public view returns (uint256) {
    return _totalSupply;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param owner The address to query the balance of.
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address owner) public view returns (uint256) {
    return _balances[owner];
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param owner address The address which owns the funds.
   * @param spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(
    address owner,
    address spender
   )
    public
    view
    returns (uint256)
  {
    return _allowed[owner][spender];
  }

  /**
  * @dev Transfer token for a specified address
  * @param to The address to transfer to.
  * @param value The amount to be transferred.
  */
  function transfer(address to, uint256 value) public returns (bool) {
    _transfer(msg.sender, to, value);
    return true;
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * 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
   * @param spender The address which will spend the funds.
   * @param value The amount of tokens to be spent.
   */
  function approve(address spender, uint256 value) public returns (bool) {
    require(spender != address(0));

    _allowed[msg.sender][spender] = value;
    emit Approval(msg.sender, spender, value);
    return true;
  }

  /**
   * @dev Transfer tokens from one address to another
   * @param from address The address which you want to send tokens from
   * @param to address The address which you want to transfer to
   * @param value uint256 the amount of tokens to be transferred
   */
  function transferFrom(
    address from,
    address to,
    uint256 value
  )
    public
    returns (bool)
  {
    require(value <= _allowed[from][msg.sender]);

    _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value);
    _transfer(from, to, value);
    return true;
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   * approve should be called when allowed_[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param spender The address which will spend the funds.
   * @param addedValue The amount of tokens to increase the allowance by.
   */
  function increaseAllowance(
    address spender,
    uint256 addedValue
  )
    public
    returns (bool)
  {
    require(spender != address(0));

    _allowed[msg.sender][spender] = (
      _allowed[msg.sender][spender].add(addedValue));
    emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   * approve should be called when allowed_[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param spender The address which will spend the funds.
   * @param subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseAllowance(
    address spender,
    uint256 subtractedValue
  )
    public
    returns (bool)
  {
    require(spender != address(0));

    _allowed[msg.sender][spender] = (
      _allowed[msg.sender][spender].sub(subtractedValue));
    emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
    return true;
  }

  /**
  * @dev Transfer token for a specified addresses
  * @param from The address to transfer from.
  * @param to The address to transfer to.
  * @param value The amount to be transferred.
  */
  function _transfer(address from, address to, uint256 value) internal {
    require(value <= _balances[from]);
    require(to != address(0));

    _balances[from] = _balances[from].sub(value);
    _balances[to] = _balances[to].add(value);
    emit Transfer(from, to, value);
  }

  /**
   * @dev Internal function that mints an amount of the token and assigns it to
   * an account. This encapsulates the modification of balances such that the
   * proper events are emitted.
   * @param account The account that will receive the created tokens.
   * @param value The amount that will be created.
   */
  function _mint(address account, uint256 value) internal {
    require(account != 0);
    _totalSupply = _totalSupply.add(value);
    _balances[account] = _balances[account].add(value);
    emit Transfer(address(0), account, value);
  }

  /**
   * @dev Internal function that burns an amount of the token of a given
   * account.
   * @param account The account whose tokens will be burnt.
   * @param value The amount that will be burnt.
   */
  function _burn(address account, uint256 value) internal {
    require(account != 0);
    require(value <= _balances[account]);

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

  /**
   * @dev Internal function that burns an amount of the token of a given
   * account, deducting from the sender's allowance for said account. Uses the
   * internal burn function.
   * @param account The account whose tokens will be burnt.
   * @param value The amount that will be burnt.
   */
  function _burnFrom(address account, uint256 value) internal {
    require(value <= _allowed[account][msg.sender]);

    // Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted,
    // this function needs to emit an event with the updated approval.
    _allowed[account][msg.sender] = _allowed[account][msg.sender].sub(
      value);
    _burn(account, value);
  }
}

// File: contracts/saga/SGAToken.sol

/**
 * Details of usage of licenced software see here: https://www.saga.org/software/readme_v1
 */

/**
 * @title Saga Token.
 * @dev ERC20 compatible.
 * @dev Exchange ETH for SGA.
 * @dev Exchange SGA for ETH.
 */
contract SGAToken is ERC20, ContractAddressLocatorHolder, IMintListener, ISagaExchanger, IPaymentHandler {
    string public constant VERSION = "1.0.0";

    string public constant name = "Saga";
    string public constant symbol = "SGA";
    uint8  public constant decimals = 18;

    /**
     * @dev Public Address 0x10063FCCf5eEE46fC65D399a7F5dd88730906CF9.
     * @notice SGA will be minted at this public address for SGN holders.
     * @notice SGA will be transferred from this public address upon conversion by an SGN holder.
     * @notice It is generated in a manner which ensures that the corresponding private key is unknown.
     */
    address public constant SGA_MINTED_FOR_SGN_HOLDERS = address(keccak256("SGA_MINTED_FOR_SGN_HOLDERS"));

    /**
     * @dev Create the contract.
     * @param _contractAddressLocator The contract address locator.
     */
    constructor(IContractAddressLocator _contractAddressLocator) ContractAddressLocatorHolder(_contractAddressLocator) public {}

    /**
     * @dev Return the contract which implements the ISGATokenManager interface.
     */
    function getSGATokenManager() public view returns (ISGATokenManager) {
        return ISGATokenManager(getContractAddress(_ISGATokenManager_));
    }

    /**
     * @dev Exchange ETH for SGA.
     * @notice Can be executed from externally-owned accounts but not from other contracts.
     * @notice This is due to the insufficient gas-stipend provided to the fallback function.
     */
    function() external payable {
        uint256 amount = getSGATokenManager().exchangeEthForSga(msg.sender, msg.value);
        _mint(msg.sender, amount);
    }

    /**
     * @dev Exchange ETH for SGA.
     * @notice Can be executed from externally-owned accounts as well as from other contracts.
     */
    function exchange() external payable {
        uint256 amount = getSGATokenManager().exchangeEthForSga(msg.sender, msg.value);
        _mint(msg.sender, amount);
    }

    /**
     * @dev Transfer SGA to another account.
     * @param _to The address of the destination account.
     * @param _value The amount of SGA to be transferred.
     * @return Status (true if completed successfully, false otherwise).
     * @notice If the destination account is this contract, then exchange SGA for ETH.
     */
    function transfer(address _to, uint256 _value) public returns (bool) {
        if (_to == address(this)) {
            uint256 amount = getSGATokenManager().exchangeSgaForEth(msg.sender, _value);
            _burn(msg.sender, _value);
            msg.sender.transfer(amount);
            return true;
        }
        getSGATokenManager().uponTransfer(msg.sender, _to, _value);
        return super.transfer(_to, _value);
    }

    /**
     * @dev Transfer SGA from one account to another.
     * @param _from The address of the source account.
     * @param _to The address of the destination account.
     * @param _value The amount of SGA to be transferred.
     * @return Status (true if completed successfully, false otherwise).
     * @notice If the destination account is this contract, then the operation is illegal.
     */
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
        require(_to != address(this), "custodian-transfer of SGA into this contract is illegal");
        getSGATokenManager().uponTransferFrom(msg.sender, _from, _to, _value);
        return super.transferFrom(_from, _to, _value);
    }

    /**
     * @dev Deposit ETH into this contract.
     */
    function deposit() external payable {
        getSGATokenManager().uponDeposit(msg.sender, address(this).balance, msg.value);
    }

    /**
     * @dev Withdraw ETH from this contract.
     */
    function withdraw() external {
        (address wallet, uint256 amount) = getSGATokenManager().uponWithdraw(msg.sender, address(this).balance);
        wallet.transfer(amount);
    }

    /**
     * @dev Mint SGA for SGN holders.
     * @param _value The amount of SGA to mint.
     */
    function mintSgaForSgnHolders(uint256 _value) external only(_IMintManager_) {
        getSGATokenManager().uponMintSgaForSgnHolders(_value);
        _mint(SGA_MINTED_FOR_SGN_HOLDERS, _value);
    }

    /**
     * @dev Transfer SGA to an SGN holder.
     * @param _to The address of the SGN holder.
     * @param _value The amount of SGA to transfer.
     */
    function transferSgaToSgnHolder(address _to, uint256 _value) external only(_ISGNToken_) {
        getSGATokenManager().uponTransferSgaToSgnHolder(_to, _value);
        _transfer(SGA_MINTED_FOR_SGN_HOLDERS, _to, _value);
    }

    /**
     * @dev Transfer ETH to an SGA holder.
     * @param _to The address of the SGA holder.
     * @param _value The amount of ETH to transfer.
     */
    function transferEthToSgaHolder(address _to, uint256 _value) external only(_IPaymentManager_) {
        bool status = _to.send(_value);
        getSGATokenManager().postTransferEthToSgaHolder(_to, _value, status);
    }

    /**
     * @dev Get the amount of available ETH.
     * @return The amount of available ETH.
     */
    function getEthBalance() external view returns (uint256) {
        return address(this).balance;
    }

    /**
     * @dev Get the address of the reserve-wallet and the deficient amount of ETH in this contract.
     * @return The address of the reserve-wallet and the deficient amount of ETH in this contract.
     */
    function getDepositParams() external view returns (address, uint256) {
        return getSGATokenManager().getDepositParams();
    }

    /**
     * @dev Get the address of the reserve-wallet and the excessive amount of ETH in this contract.
     * @return The address of the reserve-wallet and the excessive amount of ETH in this contract.
     */
    function getWithdrawParams() external view returns (address, uint256) {
        return getSGATokenManager().getWithdrawParams();
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getSGATokenManager","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferSgaToSgnHolder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"SGA_MINTED_FOR_SGN_HOLDERS","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getEthBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getContractAddressLocator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"mintSgaForSgnHolders","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferEthToSgaHolder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getDepositParams","outputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getWithdrawParams","outputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exchange","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"VERSION","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_contractAddressLocator","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]

608060405234801561001057600080fd5b50604051602080611a83833981016040525180600160a060020a038116151561009a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6c6f6361746f7220697320696c6c6567616c0000000000000000000000000000604482015290519081900360640190fd5b60038054600160a060020a031916600160a060020a0392909216919091179055506119b9806100ca6000396000f30060806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101f9578063095ea7b31461028357806318160ddd146102c857806323b872dd146102ef578063313ce5671461032657806335c7e1a714610351578063395093511461038f5780633ccfd60b146103c057806366ab5290146103d75780636f060b2c1461040857806370a082311461041d57806370ed0ada1461044b57806374f1649a146104605780637ac38c0b146104755780638d929a131461048d5780638e1e4829146104be57806395d89b4114610503578063a457c2d714610518578063a9059cbb14610549578063d0e30db01461057a578063d16fe23114610582578063d2f7265a14610597578063dd62ed3e1461059f578063ffa1ad74146105d3575b60006101476105e8565b604080517f1bfe1e1d000000000000000000000000000000000000000000000000000000008152336004820152346024820152905173ffffffffffffffffffffffffffffffffffffffff9290921691631bfe1e1d916044808201926020929091908290030181600087803b1580156101be57600080fd5b505af11580156101d2573d6000803e3d6000fd5b505050506040513d60208110156101e857600080fd5b505190506101f63382610618565b50005b34801561020557600080fd5b5061020e6106e9565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610248578181015183820152602001610230565b50505050905090810190601f1680156102755780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028f57600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff60043516602435610720565b604080519115158252519081900360200190f35b3480156102d457600080fd5b506102dd6107b8565b60408051918252519081900360200190f35b3480156102fb57600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff600435811690602435166044356107be565b34801561033257600080fd5b5061033b610925565b6040805160ff9092168252519081900360200190f35b34801561035d57600080fd5b506103666105e8565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561039b57600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff6004351660243561092a565b3480156103cc57600080fd5b506103d5610a01565b005b3480156103e357600080fd5b506103d573ffffffffffffffffffffffffffffffffffffffff60043516602435610b01565b34801561041457600080fd5b50610366610cae565b34801561042957600080fd5b506102dd73ffffffffffffffffffffffffffffffffffffffff60043516610ce3565b34801561045757600080fd5b506102dd610d0b565b34801561046c57600080fd5b50610366610d10565b34801561048157600080fd5b506103d5600435610d2c565b34801561049957600080fd5b506103d573ffffffffffffffffffffffffffffffffffffffff60043516602435610ea8565b3480156104ca57600080fd5b506104d3611032565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091528051918290030190f35b34801561050f57600080fd5b5061020e6110db565b34801561052457600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff60043516602435611112565b34801561055557600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff60043516602435611177565b6103d5611364565b34801561058e57600080fd5b506104d3611411565b6103d561147e565b3480156105ab57600080fd5b506102dd73ffffffffffffffffffffffffffffffffffffffff6004358116906024351661153a565b3480156105df57600080fd5b5061020e611572565b60006106137f49534741546f6b656e4d616e61676572000000000000000000000000000000006115a9565b905090565b73ffffffffffffffffffffffffffffffffffffffff8216151561063a57600080fd5b60025461064d908263ffffffff61164e16565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054610686908263ffffffff61164e16565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60408051808201909152600481527f5361676100000000000000000000000000000000000000000000000000000000602082015281565b600073ffffffffffffffffffffffffffffffffffffffff8316151561074457600080fd5b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60025490565b600073ffffffffffffffffffffffffffffffffffffffff831630141561086b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f637573746f6469616e2d7472616e73666572206f662053474120696e746f207460448201527f68697320636f6e747261637420697320696c6c6567616c000000000000000000606482015290519081900360840190fd5b6108736105e8565b604080517f656f416d00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff87811660248301528681166044830152606482018690529151929091169163656f416d9160848082019260009290919082900301818387803b1580156108fa57600080fd5b505af115801561090e573d6000803e3d6000fd5b5050505061091d848484611667565b949350505050565b601281565b600073ffffffffffffffffffffffffffffffffffffffff8316151561094e57600080fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915290205461098f908363ffffffff61164e16565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600080610a0c6105e8565b604080517fad46b5f700000000000000000000000000000000000000000000000000000000815233600482015230316024820152815173ffffffffffffffffffffffffffffffffffffffff939093169263ad46b5f7926044808401939192918290030181600087803b158015610a8157600080fd5b505af1158015610a95573d6000803e3d6000fd5b505050506040513d6040811015610aab57600080fd5b508051602090910151604051919350915073ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015610afc573d6000803e3d6000fd5b505050565b7f4953474e546f6b656e0000000000000000000000000000000000000000000000610b2b816115a9565b73ffffffffffffffffffffffffffffffffffffffff163314610bae57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b610bb66105e8565b73ffffffffffffffffffffffffffffffffffffffff1663d999d53d84846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610c5857600080fd5b505af1158015610c6c573d6000803e3d6000fd5b5050604080517f5347415f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a019020610afc92509050848461172b565b604080517f5347415f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a01902081565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b303190565b60035473ffffffffffffffffffffffffffffffffffffffff1690565b7f494d696e744d616e616765720000000000000000000000000000000000000000610d56816115a9565b73ffffffffffffffffffffffffffffffffffffffff163314610dd957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b610de16105e8565b73ffffffffffffffffffffffffffffffffffffffff166337f48f5a836040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b158015610e4f57600080fd5b505af1158015610e63573d6000803e3d6000fd5b5050604080517f5347415f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a019020610ea49250905083610618565b5050565b60007f495061796d656e744d616e616765720000000000000000000000000000000000610ed4816115a9565b73ffffffffffffffffffffffffffffffffffffffff163314610f5757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff85169084156108fc029085906000818181858888f193505050509150610f936105e8565b604080517f2df4e8b700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015260248201879052851515604483015291519290911691632df4e8b79160648082019260009290919082900301818387803b15801561101457600080fd5b505af1158015611028573d6000803e3d6000fd5b5050505050505050565b60008061103d6105e8565b73ffffffffffffffffffffffffffffffffffffffff16638e1e48296040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016040805180830381600087803b15801561109f57600080fd5b505af11580156110b3573d6000803e3d6000fd5b505050506040513d60408110156110c957600080fd5b50805160209091015190925090509091565b60408051808201909152600381527f5347410000000000000000000000000000000000000000000000000000000000602082015281565b600073ffffffffffffffffffffffffffffffffffffffff8316151561113657600080fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915290205461098f908363ffffffff61185e16565b60008073ffffffffffffffffffffffffffffffffffffffff84163014156112b1576111a06105e8565b73ffffffffffffffffffffffffffffffffffffffff1663af84efcb33856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561124257600080fd5b505af1158015611256573d6000803e3d6000fd5b505050506040513d602081101561126c57600080fd5b5051905061127a3384611875565b604051339082156108fc029083906000818181858888f193505050501580156112a7573d6000803e3d6000fd5b506001915061135d565b6112b96105e8565b604080517fb976b35b00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff8781166024830152604482018790529151929091169163b976b35b9160648082019260009290919082900301818387803b15801561133857600080fd5b505af115801561134c573d6000803e3d6000fd5b5050505061135a8484611977565b91505b5092915050565b61136c6105e8565b604080517ff37f4d3200000000000000000000000000000000000000000000000000000000815233600482015230316024820152346044820152815173ffffffffffffffffffffffffffffffffffffffff939093169263f37f4d32926064808401939192918290030181600087803b1580156113e757600080fd5b505af11580156113fb573d6000803e3d6000fd5b505050506040513d6040811015610ea457600080fd5b60008061141c6105e8565b73ffffffffffffffffffffffffffffffffffffffff1663d16fe2316040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016040805180830381600087803b15801561109f57600080fd5b60006114886105e8565b604080517f1bfe1e1d000000000000000000000000000000000000000000000000000000008152336004820152346024820152905173ffffffffffffffffffffffffffffffffffffffff9290921691631bfe1e1d916044808201926020929091908290030181600087803b1580156114ff57600080fd5b505af1158015611513573d6000803e3d6000fd5b505050506040513d602081101561152957600080fd5b505190506115373382610618565b50565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60408051808201909152600581527f312e302e30000000000000000000000000000000000000000000000000000000602082015281565b600354604080517f0d2020dd00000000000000000000000000000000000000000000000000000000815260048101849052905160009273ffffffffffffffffffffffffffffffffffffffff1691630d2020dd91602480830192602092919082900301818787803b15801561161c57600080fd5b505af1158015611630573d6000803e3d6000fd5b505050506040513d602081101561164657600080fd5b505192915050565b60008282018381101561166057600080fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602090815260408083203384529091528120548211156116a457600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526001602090815260408083203384529091529020546116e5908363ffffffff61185e16565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260016020908152604080832033845290915290205561172184848461172b565b5060019392505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481111561175d57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8216151561177f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020546117b5908263ffffffff61185e16565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526020819052604080822093909355908416815220546117f7908263ffffffff61164e16565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000808383111561186e57600080fd5b5050900390565b73ffffffffffffffffffffffffffffffffffffffff8216151561189757600080fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020548111156118c957600080fd5b6002546118dc908263ffffffff61185e16565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054611915908263ffffffff61185e16565b73ffffffffffffffffffffffffffffffffffffffff8316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600061198433848461172b565b506001929150505600a165627a7a72305820cce51a801a9711b3368f01322bda5566f7110b3a843141414dc75766f448238a0029000000000000000000000000aabcd54faf94925adbe0df117c62961acecbacdb

Deployed Bytecode

0x60806040526004361061013d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101f9578063095ea7b31461028357806318160ddd146102c857806323b872dd146102ef578063313ce5671461032657806335c7e1a714610351578063395093511461038f5780633ccfd60b146103c057806366ab5290146103d75780636f060b2c1461040857806370a082311461041d57806370ed0ada1461044b57806374f1649a146104605780637ac38c0b146104755780638d929a131461048d5780638e1e4829146104be57806395d89b4114610503578063a457c2d714610518578063a9059cbb14610549578063d0e30db01461057a578063d16fe23114610582578063d2f7265a14610597578063dd62ed3e1461059f578063ffa1ad74146105d3575b60006101476105e8565b604080517f1bfe1e1d000000000000000000000000000000000000000000000000000000008152336004820152346024820152905173ffffffffffffffffffffffffffffffffffffffff9290921691631bfe1e1d916044808201926020929091908290030181600087803b1580156101be57600080fd5b505af11580156101d2573d6000803e3d6000fd5b505050506040513d60208110156101e857600080fd5b505190506101f63382610618565b50005b34801561020557600080fd5b5061020e6106e9565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610248578181015183820152602001610230565b50505050905090810190601f1680156102755780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028f57600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff60043516602435610720565b604080519115158252519081900360200190f35b3480156102d457600080fd5b506102dd6107b8565b60408051918252519081900360200190f35b3480156102fb57600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff600435811690602435166044356107be565b34801561033257600080fd5b5061033b610925565b6040805160ff9092168252519081900360200190f35b34801561035d57600080fd5b506103666105e8565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561039b57600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff6004351660243561092a565b3480156103cc57600080fd5b506103d5610a01565b005b3480156103e357600080fd5b506103d573ffffffffffffffffffffffffffffffffffffffff60043516602435610b01565b34801561041457600080fd5b50610366610cae565b34801561042957600080fd5b506102dd73ffffffffffffffffffffffffffffffffffffffff60043516610ce3565b34801561045757600080fd5b506102dd610d0b565b34801561046c57600080fd5b50610366610d10565b34801561048157600080fd5b506103d5600435610d2c565b34801561049957600080fd5b506103d573ffffffffffffffffffffffffffffffffffffffff60043516602435610ea8565b3480156104ca57600080fd5b506104d3611032565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091528051918290030190f35b34801561050f57600080fd5b5061020e6110db565b34801561052457600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff60043516602435611112565b34801561055557600080fd5b506102b473ffffffffffffffffffffffffffffffffffffffff60043516602435611177565b6103d5611364565b34801561058e57600080fd5b506104d3611411565b6103d561147e565b3480156105ab57600080fd5b506102dd73ffffffffffffffffffffffffffffffffffffffff6004358116906024351661153a565b3480156105df57600080fd5b5061020e611572565b60006106137f49534741546f6b656e4d616e61676572000000000000000000000000000000006115a9565b905090565b73ffffffffffffffffffffffffffffffffffffffff8216151561063a57600080fd5b60025461064d908263ffffffff61164e16565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054610686908263ffffffff61164e16565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60408051808201909152600481527f5361676100000000000000000000000000000000000000000000000000000000602082015281565b600073ffffffffffffffffffffffffffffffffffffffff8316151561074457600080fd5b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60025490565b600073ffffffffffffffffffffffffffffffffffffffff831630141561086b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f637573746f6469616e2d7472616e73666572206f662053474120696e746f207460448201527f68697320636f6e747261637420697320696c6c6567616c000000000000000000606482015290519081900360840190fd5b6108736105e8565b604080517f656f416d00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff87811660248301528681166044830152606482018690529151929091169163656f416d9160848082019260009290919082900301818387803b1580156108fa57600080fd5b505af115801561090e573d6000803e3d6000fd5b5050505061091d848484611667565b949350505050565b601281565b600073ffffffffffffffffffffffffffffffffffffffff8316151561094e57600080fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915290205461098f908363ffffffff61164e16565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600080610a0c6105e8565b604080517fad46b5f700000000000000000000000000000000000000000000000000000000815233600482015230316024820152815173ffffffffffffffffffffffffffffffffffffffff939093169263ad46b5f7926044808401939192918290030181600087803b158015610a8157600080fd5b505af1158015610a95573d6000803e3d6000fd5b505050506040513d6040811015610aab57600080fd5b508051602090910151604051919350915073ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f19350505050158015610afc573d6000803e3d6000fd5b505050565b7f4953474e546f6b656e0000000000000000000000000000000000000000000000610b2b816115a9565b73ffffffffffffffffffffffffffffffffffffffff163314610bae57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b610bb66105e8565b73ffffffffffffffffffffffffffffffffffffffff1663d999d53d84846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610c5857600080fd5b505af1158015610c6c573d6000803e3d6000fd5b5050604080517f5347415f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a019020610afc92509050848461172b565b604080517f5347415f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a01902081565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b303190565b60035473ffffffffffffffffffffffffffffffffffffffff1690565b7f494d696e744d616e616765720000000000000000000000000000000000000000610d56816115a9565b73ffffffffffffffffffffffffffffffffffffffff163314610dd957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b610de16105e8565b73ffffffffffffffffffffffffffffffffffffffff166337f48f5a836040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b158015610e4f57600080fd5b505af1158015610e63573d6000803e3d6000fd5b5050604080517f5347415f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a019020610ea49250905083610618565b5050565b60007f495061796d656e744d616e616765720000000000000000000000000000000000610ed4816115a9565b73ffffffffffffffffffffffffffffffffffffffff163314610f5757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff85169084156108fc029085906000818181858888f193505050509150610f936105e8565b604080517f2df4e8b700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015260248201879052851515604483015291519290911691632df4e8b79160648082019260009290919082900301818387803b15801561101457600080fd5b505af1158015611028573d6000803e3d6000fd5b5050505050505050565b60008061103d6105e8565b73ffffffffffffffffffffffffffffffffffffffff16638e1e48296040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016040805180830381600087803b15801561109f57600080fd5b505af11580156110b3573d6000803e3d6000fd5b505050506040513d60408110156110c957600080fd5b50805160209091015190925090509091565b60408051808201909152600381527f5347410000000000000000000000000000000000000000000000000000000000602082015281565b600073ffffffffffffffffffffffffffffffffffffffff8316151561113657600080fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915290205461098f908363ffffffff61185e16565b60008073ffffffffffffffffffffffffffffffffffffffff84163014156112b1576111a06105e8565b73ffffffffffffffffffffffffffffffffffffffff1663af84efcb33856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561124257600080fd5b505af1158015611256573d6000803e3d6000fd5b505050506040513d602081101561126c57600080fd5b5051905061127a3384611875565b604051339082156108fc029083906000818181858888f193505050501580156112a7573d6000803e3d6000fd5b506001915061135d565b6112b96105e8565b604080517fb976b35b00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff8781166024830152604482018790529151929091169163b976b35b9160648082019260009290919082900301818387803b15801561133857600080fd5b505af115801561134c573d6000803e3d6000fd5b5050505061135a8484611977565b91505b5092915050565b61136c6105e8565b604080517ff37f4d3200000000000000000000000000000000000000000000000000000000815233600482015230316024820152346044820152815173ffffffffffffffffffffffffffffffffffffffff939093169263f37f4d32926064808401939192918290030181600087803b1580156113e757600080fd5b505af11580156113fb573d6000803e3d6000fd5b505050506040513d6040811015610ea457600080fd5b60008061141c6105e8565b73ffffffffffffffffffffffffffffffffffffffff1663d16fe2316040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016040805180830381600087803b15801561109f57600080fd5b60006114886105e8565b604080517f1bfe1e1d000000000000000000000000000000000000000000000000000000008152336004820152346024820152905173ffffffffffffffffffffffffffffffffffffffff9290921691631bfe1e1d916044808201926020929091908290030181600087803b1580156114ff57600080fd5b505af1158015611513573d6000803e3d6000fd5b505050506040513d602081101561152957600080fd5b505190506115373382610618565b50565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60408051808201909152600581527f312e302e30000000000000000000000000000000000000000000000000000000602082015281565b600354604080517f0d2020dd00000000000000000000000000000000000000000000000000000000815260048101849052905160009273ffffffffffffffffffffffffffffffffffffffff1691630d2020dd91602480830192602092919082900301818787803b15801561161c57600080fd5b505af1158015611630573d6000803e3d6000fd5b505050506040513d602081101561164657600080fd5b505192915050565b60008282018381101561166057600080fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526001602090815260408083203384529091528120548211156116a457600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526001602090815260408083203384529091529020546116e5908363ffffffff61185e16565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260016020908152604080832033845290915290205561172184848461172b565b5060019392505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481111561175d57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8216151561177f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020546117b5908263ffffffff61185e16565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526020819052604080822093909355908416815220546117f7908263ffffffff61164e16565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000808383111561186e57600080fd5b5050900390565b73ffffffffffffffffffffffffffffffffffffffff8216151561189757600080fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020548111156118c957600080fd5b6002546118dc908263ffffffff61185e16565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054611915908263ffffffff61185e16565b73ffffffffffffffffffffffffffffffffffffffff8316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600061198433848461172b565b506001929150505600a165627a7a72305820cce51a801a9711b3368f01322bda5566f7110b3a843141414dc75766f448238a0029

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

000000000000000000000000aabcd54faf94925adbe0df117c62961acecbacdb

-----Decoded View---------------
Arg [0] : _contractAddressLocator (address): 0xaAbcd54Faf94925ADBE0df117C62961AcEcBACDb

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


Swarm Source

bzzr://cce51a801a9711b3368f01322bda5566f7110b3a843141414dc75766f448238a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.