Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Currency
Overview
Max Total Supply
11,139.304262551638646134 SGR
Holders
105 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
7.327858448458174623 SGRValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SGRToken
Compiler Version
v0.4.25+commit.59dbf8f1
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-25 */ pragma solidity 0.4.25; // File: contracts/sogur/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 SGR holder. * @param _to The address of the SGR holder. * @param _value The amount of ETH to transfer. */ function transferEthToSgrHolder(address _to, uint256 _value) external; } // File: contracts/sogur/interfaces/IMintListener.sol /** * @title Mint Listener Interface. */ interface IMintListener { /** * @dev Mint SGR for SGN holders. * @param _value The amount of SGR to mint. */ function mintSgrForSgnHolders(uint256 _value) external; } // File: contracts/sogur/interfaces/ISGRTokenManager.sol /** * @title SGR Token Manager Interface. */ interface ISGRTokenManager { /** * @dev Exchange ETH for SGR. * @param _sender The address of the sender. * @param _ethAmount The amount of ETH received. * @return The amount of SGR that the sender is entitled to. */ function exchangeEthForSgr(address _sender, uint256 _ethAmount) external returns (uint256); /** * @dev Handle after the ETH for SGR exchange operation. * @param _sender The address of the sender. * @param _ethAmount The amount of ETH received. * @param _sgrAmount The amount of SGR given. */ function afterExchangeEthForSgr(address _sender, uint256 _ethAmount, uint256 _sgrAmount) external; /** * @dev Exchange SGR for ETH. * @param _sender The address of the sender. * @param _sgrAmount The amount of SGR received. * @return The amount of ETH that the sender is entitled to. */ function exchangeSgrForEth(address _sender, uint256 _sgrAmount) external returns (uint256); /** * @dev Handle after the SGR for ETH exchange operation. * @param _sender The address of the sender. * @param _sgrAmount The amount of SGR received. * @param _ethAmount The amount of ETH given. * @return The is success result. */ function afterExchangeSgrForEth(address _sender, uint256 _sgrAmount, uint256 _ethAmount) external returns (bool); /** * @dev Handle direct SGR transfer. * @param _sender The address of the sender. * @param _to The address of the destination account. * @param _value The amount of SGR to be transferred. */ function uponTransfer(address _sender, address _to, uint256 _value) external; /** * @dev Handle after direct SGR transfer operation. * @param _sender The address of the sender. * @param _to The address of the destination account. * @param _value The SGR transferred amount. * @param _transferResult The transfer result. * @return is success result. */ function afterTransfer(address _sender, address _to, uint256 _value, bool _transferResult) external returns (bool); /** * @dev Handle custodian SGR 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 SGR to be transferred. */ function uponTransferFrom(address _sender, address _from, address _to, uint256 _value) external; /** * @dev Handle after custodian SGR transfer operation. * @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 SGR transferred amount. * @param _transferFromResult The transferFrom result. * @return is success result. */ function afterTransferFrom(address _sender, address _from, address _to, uint256 _value, bool _transferFromResult) external returns (bool); /** * @dev Handle the operation of ETH deposit into the SGRToken contract. * @param _sender The address of the account which has issued the operation. * @param _balance The amount of ETH in the SGRToken contract. * @param _amount The deposited ETH amount. * @return The address of the reserve-wallet and the deficient amount of ETH in the SGRToken contract. */ function uponDeposit(address _sender, uint256 _balance, uint256 _amount) external returns (address, uint256); /** * @dev Handle the operation of ETH withdrawal from the SGRToken contract. * @param _sender The address of the account which has issued the operation. * @param _balance The amount of ETH in the SGRToken contract prior the withdrawal. * @return The address of the reserve-wallet and the excessive amount of ETH in the SGRToken contract. */ function uponWithdraw(address _sender, uint256 _balance) external returns (address, uint256); /** * @dev Handle after ETH withdrawal from the SGRToken contract operation. * @param _sender The address of the account which has issued the operation. * @param _wallet The address of the withdrawal wallet. * @param _amount The ETH withdraw amount. * @param _priorWithdrawEthBalance The amount of ETH in the SGRToken contract prior the withdrawal. * @param _afterWithdrawEthBalance The amount of ETH in the SGRToken contract after the withdrawal. */ function afterWithdraw(address _sender, address _wallet, uint256 _amount, uint256 _priorWithdrawEthBalance, uint256 _afterWithdrawEthBalance) external; /** * @dev Upon SGR mint for SGN holders. * @param _value The amount of SGR to mint. */ function uponMintSgrForSgnHolders(uint256 _value) external; /** * @dev Handle after SGR mint for SGN holders. * @param _value The minted amount of SGR. */ function afterMintSgrForSgnHolders(uint256 _value) external; /** * @dev Upon SGR transfer to an SGN holder. * @param _to The address of the SGN holder. * @param _value The amount of SGR to transfer. */ function uponTransferSgrToSgnHolder(address _to, uint256 _value) external; /** * @dev Handle after SGR transfer to an SGN holder. * @param _to The address of the SGN holder. * @param _value The transferred amount of SGR. */ function afterTransferSgrToSgnHolder(address _to, uint256 _value) external; /** * @dev Upon ETH transfer to an SGR holder. * @param _to The address of the SGR holder. * @param _value The amount of ETH to transfer. * @param _status The operation's completion-status. */ function postTransferEthToSgrHolder(address _to, uint256 _value, bool _status) external; /** * @dev Get the address of the reserve-wallet and the deficient amount of ETH in the SGRToken contract. * @return The address of the reserve-wallet and the deficient amount of ETH in the SGRToken contract. */ function getDepositParams() external view returns (address, uint256); /** * @dev Get the address of the reserve-wallet and the excessive amount of ETH in the SGRToken contract. * @return The address of the reserve-wallet and the excessive amount of ETH in the SGRToken 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 _ISogurExchanger_ = "ISogurExchanger" ; bytes32 internal constant _SgnToSgrExchangeInitiator_ = "SgnToSgrExchangeInitiator" ; bytes32 internal constant _IMonetaryModel_ = "IMonetaryModel" ; bytes32 internal constant _IMonetaryModelState_ = "IMonetaryModelState" ; bytes32 internal constant _ISGRAuthorizationManager_ = "ISGRAuthorizationManager"; bytes32 internal constant _ISGRToken_ = "ISGRToken" ; bytes32 internal constant _ISGRTokenManager_ = "ISGRTokenManager" ; bytes32 internal constant _ISGRTokenInfo_ = "ISGRTokenInfo" ; 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 _BuyWalletsTradingDataSource_ = "BuyWalletsTradingDataSource" ; bytes32 internal constant _SellWalletsTradingDataSource_ = "SellWalletsTradingDataSource" ; bytes32 internal constant _WalletsTradingLimiter_SGNTokenManager_ = "WalletsTLSGNTokenManager" ; bytes32 internal constant _BuyWalletsTradingLimiter_SGRTokenManager_ = "BuyWalletsTLSGRTokenManager" ; bytes32 internal constant _SellWalletsTradingLimiter_SGRTokenManager_ = "SellWalletsTLSGRTokenManager" ; bytes32 internal constant _IETHConverter_ = "IETHConverter" ; bytes32 internal constant _ITransactionLimiter_ = "ITransactionLimiter" ; bytes32 internal constant _ITransactionManager_ = "ITransactionManager" ; bytes32 internal constant _IRateApprover_ = "IRateApprover" ; bytes32 internal constant _SGAToSGRInitializer_ = "SGAToSGRInitializer" ; 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/ISogurExchanger.sol /** * @title Sogur Exchanger Interface. */ interface ISogurExchanger { /** * @dev Transfer SGR to an SGN holder. * @param _to The address of the SGN holder. * @param _value The amount of SGR to transfer. */ function transferSgrToSgnHolder(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], "sdjfndskjfndskjfb"); require(to != address(0), "asfdsf"); _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, "heerrrrrsss"); require(value <= _balances[account], "heerrrrr"); _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/sogur/interfaces/ISGRTokenInfo.sol /** * @title SGR Token Info Interface. */ interface ISGRTokenInfo { /** * @return the name of the sgr token. */ function getName() external pure returns (string); /** * @return the symbol of the sgr token. */ function getSymbol() external pure returns (string); /** * @return the number of decimals of the sgr token. */ function getDecimals() external pure returns (uint8); } // File: contracts/sogur/SGRToken.sol /** * Details of usage of licenced software see here: https://www.sogur.com/software/readme_v1 */ /** * @title Sogur Token. * @dev ERC20 compatible. * @dev Exchange ETH for SGR. * @dev Exchange SGR for ETH. */ contract SGRToken is ERC20, ContractAddressLocatorHolder, IMintListener, ISogurExchanger, IPaymentHandler { string public constant VERSION = "2.0.0"; bool public initialized; event SgrTokenInitialized(address indexed _initializer, address _sgaToSGRTokenExchangeAddress, uint256 _sgaToSGRTokenExchangeSGRSupply); /** * @dev Public Address 0x6e9Cd21f2B9033ea0953943c81A041fe203D5E55. * @notice SGR will be minted at this public address for SGN holders. * @notice SGR 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 SGR_MINTED_FOR_SGN_HOLDERS = address(keccak256("SGR_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 ISGRTokenManager interface. */ function getSGRTokenManager() public view returns (ISGRTokenManager) { return ISGRTokenManager(getContractAddress(_ISGRTokenManager_)); } /** * @dev Return the contract which implements ISGRTokenInfo interface. */ function getSGRTokenInfo() public view returns (ISGRTokenInfo) { return ISGRTokenInfo(getContractAddress(_ISGRTokenInfo_)); } /** * @dev Return the sgr token name. */ function name() public view returns (string) { return getSGRTokenInfo().getName(); } /** * @dev Return the sgr token symbol. */ function symbol() public view returns (string){ return getSGRTokenInfo().getSymbol(); } /** * @dev Return the sgr token number of decimals. */ function decimals() public view returns (uint8){ return getSGRTokenInfo().getDecimals(); } /** * @dev Reverts if called when the contract is already initialized. */ modifier onlyIfNotInitialized() { require(!initialized, "contract already initialized"); _; } /** * @dev Exchange ETH for SGR. * @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 { ISGRTokenManager sgrTokenManager = getSGRTokenManager(); uint256 amount = sgrTokenManager.exchangeEthForSgr(msg.sender, msg.value); _mint(msg.sender, amount); sgrTokenManager.afterExchangeEthForSgr(msg.sender, msg.value, amount); } /** * @dev Exchange ETH for SGR. * @notice Can be executed from externally-owned accounts as well as from other contracts. */ function exchange() external payable { ISGRTokenManager sgrTokenManager = getSGRTokenManager(); uint256 amount = sgrTokenManager.exchangeEthForSgr(msg.sender, msg.value); _mint(msg.sender, amount); sgrTokenManager.afterExchangeEthForSgr(msg.sender, msg.value, amount); } /** * @dev Initialize the contract. * @param _sgaToSGRTokenExchangeAddress the contract address. * @param _sgaToSGRTokenExchangeSGRSupply SGR supply for the SGAToSGRTokenExchange contract. */ function init(address _sgaToSGRTokenExchangeAddress, uint256 _sgaToSGRTokenExchangeSGRSupply) external onlyIfNotInitialized only(_SGAToSGRInitializer_) { require(_sgaToSGRTokenExchangeAddress != address(0), "SGA to SGR token exchange address is illegal"); initialized = true; _mint(_sgaToSGRTokenExchangeAddress, _sgaToSGRTokenExchangeSGRSupply); emit SgrTokenInitialized(msg.sender, _sgaToSGRTokenExchangeAddress, _sgaToSGRTokenExchangeSGRSupply); } /** * @dev Transfer SGR to another account. * @param _to The address of the destination account. * @param _value The amount of SGR to be transferred. * @return Status (true if completed successfully, false otherwise). * @notice If the destination account is this contract, then exchange SGR for ETH. */ function transfer(address _to, uint256 _value) public returns (bool) { ISGRTokenManager sgrTokenManager = getSGRTokenManager(); if (_to == address(this)) { uint256 amount = sgrTokenManager.exchangeSgrForEth(msg.sender, _value); _burn(msg.sender, _value); msg.sender.transfer(amount); return sgrTokenManager.afterExchangeSgrForEth(msg.sender, _value, amount); } sgrTokenManager.uponTransfer(msg.sender, _to, _value); bool transferResult = super.transfer(_to, _value); return sgrTokenManager.afterTransfer(msg.sender, _to, _value, transferResult); } /** * @dev Transfer SGR 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 SGR 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) { ISGRTokenManager sgrTokenManager = getSGRTokenManager(); require(_to != address(this), "custodian-transfer of SGR into this contract is illegal"); sgrTokenManager.uponTransferFrom(msg.sender, _from, _to, _value); bool transferFromResult = super.transferFrom(_from, _to, _value); return sgrTokenManager.afterTransferFrom(msg.sender, _from, _to, _value, transferFromResult); } /** * @dev Deposit ETH into this contract. */ function deposit() external payable { getSGRTokenManager().uponDeposit(msg.sender, address(this).balance, msg.value); } /** * @dev Withdraw ETH from this contract. */ function withdraw() external { ISGRTokenManager sgrTokenManager = getSGRTokenManager(); uint256 priorWithdrawEthBalance = address(this).balance; (address wallet, uint256 amount) = sgrTokenManager.uponWithdraw(msg.sender, priorWithdrawEthBalance); wallet.transfer(amount); sgrTokenManager.afterWithdraw(msg.sender, wallet, amount, priorWithdrawEthBalance, address(this).balance); } /** * @dev Mint SGR for SGN holders. * @param _value The amount of SGR to mint. */ function mintSgrForSgnHolders(uint256 _value) external only(_IMintManager_) { ISGRTokenManager sgrTokenManager = getSGRTokenManager(); sgrTokenManager.uponMintSgrForSgnHolders(_value); _mint(SGR_MINTED_FOR_SGN_HOLDERS, _value); sgrTokenManager.afterMintSgrForSgnHolders(_value); } /** * @dev Transfer SGR to an SGN holder. * @param _to The address of the SGN holder. * @param _value The amount of SGR to transfer. */ function transferSgrToSgnHolder(address _to, uint256 _value) external only(_SgnToSgrExchangeInitiator_) { ISGRTokenManager sgrTokenManager = getSGRTokenManager(); sgrTokenManager.uponTransferSgrToSgnHolder(_to, _value); _transfer(SGR_MINTED_FOR_SGN_HOLDERS, _to, _value); sgrTokenManager.afterTransferSgrToSgnHolder(_to, _value); } /** * @dev Transfer ETH to an SGR holder. * @param _to The address of the SGR holder. * @param _value The amount of ETH to transfer. */ function transferEthToSgrHolder(address _to, uint256 _value) external only(_IPaymentManager_) { bool status = _to.send(_value); getSGRTokenManager().postTransferEthToSgrHolder(_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 getSGRTokenManager().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 getSGRTokenManager().getWithdrawParams(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":"getSGRTokenInfo","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"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":"_sgaToSGRTokenExchangeAddress","type":"address"},{"name":"_sgaToSGRTokenExchangeSGRSupply","type":"uint256"}],"name":"init","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getSGRTokenManager","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferSgrToSgnHolder","outputs":[],"payable":false,"stateMutability":"nonpayable","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":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":"transferEthToSgrHolder","outputs":[],"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":true,"inputs":[],"name":"SGR_MINTED_FOR_SGN_HOLDERS","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"mintSgrForSgnHolders","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_initializer","type":"address"},{"indexed":false,"name":"_sgaToSGRTokenExchangeAddress","type":"address"},{"indexed":false,"name":"_sgaToSGRTokenExchangeSGRSupply","type":"uint256"}],"name":"SgrTokenInitialized","type":"event"},{"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"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516020806125e6833981016040525180600160a060020a038116151561009a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6c6f6361746f7220697320696c6c6567616c0000000000000000000000000000604482015290519081900360640190fd5b60038054600160a060020a031916600160a060020a03929092169190911790555061251c806100ca6000396000f30060806040526004361061015e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146102af578063095ea7b314610339578063158ef93e1461037e57806318160ddd1461039357806323b872dd146103ba57806326edf9b9146103f1578063313ce5671461042f578063395093511461045a578063399ae7241461048b5780633ccfd60b146104be57806359c21d04146104d357806364bb35d2146104e857806370a082311461051957806370ed0ada1461054757806374f1649a1461055c5780638e1e48291461057157806395d89b41146105b6578063a457c2d7146105cb578063a4c632c2146105fc578063a9059cbb1461062d578063c042d5ef1461065e578063d0e30db014610673578063d16fe2311461067b578063d2f7265a14610690578063dd62ed3e14610698578063e9b05b12146106cc578063ffa1ad74146106e4575b6000806101696106f9565b604080517fcd06db56000000000000000000000000000000000000000000000000000000008152336004820152346024820152905191935073ffffffffffffffffffffffffffffffffffffffff84169163cd06db56916044808201926020929091908290030181600087803b1580156101e157600080fd5b505af11580156101f5573d6000803e3d6000fd5b505050506040513d602081101561020b57600080fd5b505190506102193382610729565b604080517f84289a3000000000000000000000000000000000000000000000000000000000815233600482015234602482015260448101839052905173ffffffffffffffffffffffffffffffffffffffff8416916384289a3091606480830192600092919082900301818387803b15801561029357600080fd5b505af11580156102a7573d6000803e3d6000fd5b505050505050005b3480156102bb57600080fd5b506102c46107fa565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102fe5781810151838201526020016102e6565b50505050905090810190601f16801561032b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561034557600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff60043516602435610912565b604080519115158252519081900360200190f35b34801561038a57600080fd5b5061036a6109aa565b34801561039f57600080fd5b506103a86109cb565b60408051918252519081900360200190f35b3480156103c657600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff600435811690602435166044356109d1565b3480156103fd57600080fd5b50610406610bfc565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561043b57600080fd5b50610444610c27565b6040805160ff9092168252519081900360200190f35b34801561046657600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff60043516602435610cc5565b34801561049757600080fd5b506104bc73ffffffffffffffffffffffffffffffffffffffff60043516602435610d9c565b005b3480156104ca57600080fd5b506104bc61101b565b3480156104df57600080fd5b506104066106f9565b3480156104f457600080fd5b506104bc73ffffffffffffffffffffffffffffffffffffffff600435166024356111c9565b34801561052557600080fd5b506103a873ffffffffffffffffffffffffffffffffffffffff6004351661141e565b34801561055357600080fd5b506103a8611446565b34801561056857600080fd5b5061040661144b565b34801561057d57600080fd5b50610586611467565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091528051918290030190f35b3480156105c257600080fd5b506102c4611510565b3480156105d757600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff6004351660243561157d565b34801561060857600080fd5b506104bc73ffffffffffffffffffffffffffffffffffffffff600435166024356115e2565b34801561063957600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff6004351660243561174e565b34801561066a57600080fd5b50610406611a68565b6104bc611a9d565b34801561068757600080fd5b50610586611b4e565b6104bc611bbb565b3480156106a457600080fd5b506103a873ffffffffffffffffffffffffffffffffffffffff60043581169060243516611d0c565b3480156106d857600080fd5b506104bc600435611d44565b3480156106f057600080fd5b506102c4611f4d565b60006107247f49534752546f6b656e4d616e6167657200000000000000000000000000000000611f84565b905090565b73ffffffffffffffffffffffffffffffffffffffff8216151561074b57600080fd5b60025461075e908263ffffffff61202916565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054610797908263ffffffff61202916565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6060610804610bfc565b73ffffffffffffffffffffffffffffffffffffffff166317d7de7c6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b15801561086757600080fd5b505af115801561087b573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156108c257600080fd5b8101908080516401000000008111156108da57600080fd5b820160208101848111156108ed57600080fd5b815164010000000081118282018710171561090757600080fd5b509094505050505090565b600073ffffffffffffffffffffffffffffffffffffffff8316151561093657600080fd5b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60035474010000000000000000000000000000000000000000900460ff1681565b60025490565b60008060006109de6106f9565b915073ffffffffffffffffffffffffffffffffffffffff8516301415610a8b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f637573746f6469616e2d7472616e73666572206f662053475220696e746f207460448201527f68697320636f6e747261637420697320696c6c6567616c000000000000000000606482015290519081900360840190fd5b604080517f656f416d00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff888116602483015287811660448301526064820187905291519184169163656f416d9160848082019260009290919082900301818387803b158015610b1157600080fd5b505af1158015610b25573d6000803e3d6000fd5b50505050610b34868686612042565b604080517f2f8b8d4100000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff89811660248301528881166044830152606482018890528315156084830152915192935090841691632f8b8d419160a4808201926020929091908290030181600087803b158015610bc657600080fd5b505af1158015610bda573d6000803e3d6000fd5b505050506040513d6020811015610bf057600080fd5b50519695505050505050565b60006107247f49534752546f6b656e496e666f00000000000000000000000000000000000000611f84565b6000610c31610bfc565b73ffffffffffffffffffffffffffffffffffffffff1663f0141d846040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610c9457600080fd5b505af1158015610ca8573d6000803e3d6000fd5b505050506040513d6020811015610cbe57600080fd5b5051905090565b600073ffffffffffffffffffffffffffffffffffffffff83161515610ce957600080fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152902054610d2a908363ffffffff61202916565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60035474010000000000000000000000000000000000000000900460ff1615610e2657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f636f6e747261637420616c726561647920696e697469616c697a656400000000604482015290519081900360640190fd5b7f534741546f534752496e697469616c697a657200000000000000000000000000610e5081611f84565b73ffffffffffffffffffffffffffffffffffffffff163314610ed357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83161515610f7d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f53474120746f2053475220746f6b656e2065786368616e67652061646472657360448201527f7320697320696c6c6567616c0000000000000000000000000000000000000000606482015290519081900360840190fd5b600380547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055610fc68383610729565b6040805173ffffffffffffffffffffffffffffffffffffffff8516815260208101849052815133927f72a52cb711ef232b168bf4ede9c5de1ae1849f84047d5f4d732a347d65c9205f928290030190a2505050565b6000806000806110296106f9565b604080517fad46b5f70000000000000000000000000000000000000000000000000000000081523360048201523031602482018190528251939750955073ffffffffffffffffffffffffffffffffffffffff87169263ad46b5f7926044808401939192918290030181600087803b1580156110a357600080fd5b505af11580156110b7573d6000803e3d6000fd5b505050506040513d60408110156110cd57600080fd5b508051602090910151604051919350915073ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f1935050505015801561111e573d6000803e3d6000fd5b50604080517f7ae5452c00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff8481166024830152604482018490526064820186905230316084830152915191861691637ae5452c9160a48082019260009290919082900301818387803b1580156111ab57600080fd5b505af11580156111bf573d6000803e3d6000fd5b5050505050505050565b60007f53676e546f53677245786368616e6765496e69746961746f72000000000000006111f581611f84565b73ffffffffffffffffffffffffffffffffffffffff16331461127857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b6112806106f9565b91508173ffffffffffffffffffffffffffffffffffffffff1663834af36d85856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561132557600080fd5b505af1158015611339573d6000803e3d6000fd5b5050604080517f5347525f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a01902061137b925090508585612106565b8173ffffffffffffffffffffffffffffffffffffffff1663fb463be885856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156111ab57600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b303190565b60035473ffffffffffffffffffffffffffffffffffffffff1690565b6000806114726106f9565b73ffffffffffffffffffffffffffffffffffffffff16638e1e48296040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016040805180830381600087803b1580156114d457600080fd5b505af11580156114e8573d6000803e3d6000fd5b505050506040513d60408110156114fe57600080fd5b50805160209091015190925090509091565b606061151a610bfc565b73ffffffffffffffffffffffffffffffffffffffff1663150704016040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b15801561086757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff831615156115a157600080fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152902054610d2a908363ffffffff6122fd16565b60007f495061796d656e744d616e61676572000000000000000000000000000000000061160e81611f84565b73ffffffffffffffffffffffffffffffffffffffff16331461169157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff85169084156108fc029085906000818181858888f1935050505091506116cd6106f9565b604080517f9c59315400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015260248201879052851515604483015291519290911691639c5931549160648082019260009290919082900301818387803b1580156111ab57600080fd5b60008060008061175c6106f9565b925073ffffffffffffffffffffffffffffffffffffffff861630141561190657604080517f609298e100000000000000000000000000000000000000000000000000000000815233600482015260248101879052905173ffffffffffffffffffffffffffffffffffffffff85169163609298e19160448083019260209291908290030181600087803b1580156117f157600080fd5b505af1158015611805573d6000803e3d6000fd5b505050506040513d602081101561181b57600080fd5b505191506118293386612314565b604051339083156108fc029084906000818181858888f19350505050158015611856573d6000803e3d6000fd5b50604080517fead377b30000000000000000000000000000000000000000000000000000000081523360048201526024810187905260448101849052905173ffffffffffffffffffffffffffffffffffffffff85169163ead377b39160648083019260209291908290030181600087803b1580156118d357600080fd5b505af11580156118e7573d6000803e3d6000fd5b505050506040513d60208110156118fd57600080fd5b50519350611a5f565b604080517fb976b35b00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff88811660248301526044820188905291519185169163b976b35b9160648082019260009290919082900301818387803b15801561198457600080fd5b505af1158015611998573d6000803e3d6000fd5b505050506119a686866124da565b604080517f33b24e7a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff89811660248301526044820189905283151560648301529151929350908516916333b24e7a916084808201926020929091908290030181600087803b158015611a3057600080fd5b505af1158015611a44573d6000803e3d6000fd5b505050506040513d6020811015611a5a57600080fd5b505193505b50505092915050565b604080517f5347525f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a01902081565b611aa56106f9565b604080517ff37f4d3200000000000000000000000000000000000000000000000000000000815233600482015230316024820152346044820152815173ffffffffffffffffffffffffffffffffffffffff939093169263f37f4d32926064808401939192918290030181600087803b158015611b2057600080fd5b505af1158015611b34573d6000803e3d6000fd5b505050506040513d6040811015611b4a57600080fd5b5050565b600080611b596106f9565b73ffffffffffffffffffffffffffffffffffffffff1663d16fe2316040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016040805180830381600087803b1580156114d457600080fd5b600080611bc66106f9565b604080517fcd06db56000000000000000000000000000000000000000000000000000000008152336004820152346024820152905191935073ffffffffffffffffffffffffffffffffffffffff84169163cd06db56916044808201926020929091908290030181600087803b158015611c3e57600080fd5b505af1158015611c52573d6000803e3d6000fd5b505050506040513d6020811015611c6857600080fd5b50519050611c763382610729565b604080517f84289a3000000000000000000000000000000000000000000000000000000000815233600482015234602482015260448101839052905173ffffffffffffffffffffffffffffffffffffffff8416916384289a3091606480830192600092919082900301818387803b158015611cf057600080fd5b505af1158015611d04573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f494d696e744d616e616765720000000000000000000000000000000000000000611d7081611f84565b73ffffffffffffffffffffffffffffffffffffffff163314611df357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b611dfb6106f9565b91508173ffffffffffffffffffffffffffffffffffffffff166329857859846040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b158015611e6c57600080fd5b505af1158015611e80573d6000803e3d6000fd5b5050604080517f5347525f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a019020611ec19250905084610729565b8173ffffffffffffffffffffffffffffffffffffffff16636d445d28846040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b158015611f3057600080fd5b505af1158015611f44573d6000803e3d6000fd5b50505050505050565b60408051808201909152600581527f322e302e30000000000000000000000000000000000000000000000000000000602082015281565b600354604080517f0d2020dd00000000000000000000000000000000000000000000000000000000815260048101849052905160009273ffffffffffffffffffffffffffffffffffffffff1691630d2020dd91602480830192602092919082900301818787803b158015611ff757600080fd5b505af115801561200b573d6000803e3d6000fd5b505050506040513d602081101561202157600080fd5b505192915050565b60008282018381101561203b57600080fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020908152604080832033845290915281205482111561207f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526001602090815260408083203384529091529020546120c0908363ffffffff6122fd16565b73ffffffffffffffffffffffffffffffffffffffff851660009081526001602090815260408083203384529091529020556120fc848484612106565b5060019392505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481111561219a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f73646a666e64736b6a666e64736b6a6662000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8216151561221e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f6173666473660000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054612254908263ffffffff6122fd16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054612296908263ffffffff61202916565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000808383111561230d57600080fd5b5050900390565b73ffffffffffffffffffffffffffffffffffffffff8216151561239857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f6865657272727272737373000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481111561242c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f6865657272727272000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60025461243f908263ffffffff6122fd16565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054612478908263ffffffff6122fd16565b73ffffffffffffffffffffffffffffffffffffffff8316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b60006124e7338484612106565b506001929150505600a165627a7a72305820ade9eb9f31392c78abf914707a0410320c39387b4c928fed7764aa3914c9b7f80029000000000000000000000000aabcd54faf94925adbe0df117c62961acecbacdb
Deployed Bytecode
0x60806040526004361061015e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146102af578063095ea7b314610339578063158ef93e1461037e57806318160ddd1461039357806323b872dd146103ba57806326edf9b9146103f1578063313ce5671461042f578063395093511461045a578063399ae7241461048b5780633ccfd60b146104be57806359c21d04146104d357806364bb35d2146104e857806370a082311461051957806370ed0ada1461054757806374f1649a1461055c5780638e1e48291461057157806395d89b41146105b6578063a457c2d7146105cb578063a4c632c2146105fc578063a9059cbb1461062d578063c042d5ef1461065e578063d0e30db014610673578063d16fe2311461067b578063d2f7265a14610690578063dd62ed3e14610698578063e9b05b12146106cc578063ffa1ad74146106e4575b6000806101696106f9565b604080517fcd06db56000000000000000000000000000000000000000000000000000000008152336004820152346024820152905191935073ffffffffffffffffffffffffffffffffffffffff84169163cd06db56916044808201926020929091908290030181600087803b1580156101e157600080fd5b505af11580156101f5573d6000803e3d6000fd5b505050506040513d602081101561020b57600080fd5b505190506102193382610729565b604080517f84289a3000000000000000000000000000000000000000000000000000000000815233600482015234602482015260448101839052905173ffffffffffffffffffffffffffffffffffffffff8416916384289a3091606480830192600092919082900301818387803b15801561029357600080fd5b505af11580156102a7573d6000803e3d6000fd5b505050505050005b3480156102bb57600080fd5b506102c46107fa565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102fe5781810151838201526020016102e6565b50505050905090810190601f16801561032b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561034557600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff60043516602435610912565b604080519115158252519081900360200190f35b34801561038a57600080fd5b5061036a6109aa565b34801561039f57600080fd5b506103a86109cb565b60408051918252519081900360200190f35b3480156103c657600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff600435811690602435166044356109d1565b3480156103fd57600080fd5b50610406610bfc565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561043b57600080fd5b50610444610c27565b6040805160ff9092168252519081900360200190f35b34801561046657600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff60043516602435610cc5565b34801561049757600080fd5b506104bc73ffffffffffffffffffffffffffffffffffffffff60043516602435610d9c565b005b3480156104ca57600080fd5b506104bc61101b565b3480156104df57600080fd5b506104066106f9565b3480156104f457600080fd5b506104bc73ffffffffffffffffffffffffffffffffffffffff600435166024356111c9565b34801561052557600080fd5b506103a873ffffffffffffffffffffffffffffffffffffffff6004351661141e565b34801561055357600080fd5b506103a8611446565b34801561056857600080fd5b5061040661144b565b34801561057d57600080fd5b50610586611467565b6040805173ffffffffffffffffffffffffffffffffffffffff909316835260208301919091528051918290030190f35b3480156105c257600080fd5b506102c4611510565b3480156105d757600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff6004351660243561157d565b34801561060857600080fd5b506104bc73ffffffffffffffffffffffffffffffffffffffff600435166024356115e2565b34801561063957600080fd5b5061036a73ffffffffffffffffffffffffffffffffffffffff6004351660243561174e565b34801561066a57600080fd5b50610406611a68565b6104bc611a9d565b34801561068757600080fd5b50610586611b4e565b6104bc611bbb565b3480156106a457600080fd5b506103a873ffffffffffffffffffffffffffffffffffffffff60043581169060243516611d0c565b3480156106d857600080fd5b506104bc600435611d44565b3480156106f057600080fd5b506102c4611f4d565b60006107247f49534752546f6b656e4d616e6167657200000000000000000000000000000000611f84565b905090565b73ffffffffffffffffffffffffffffffffffffffff8216151561074b57600080fd5b60025461075e908263ffffffff61202916565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054610797908263ffffffff61202916565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6060610804610bfc565b73ffffffffffffffffffffffffffffffffffffffff166317d7de7c6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b15801561086757600080fd5b505af115801561087b573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405260208110156108c257600080fd5b8101908080516401000000008111156108da57600080fd5b820160208101848111156108ed57600080fd5b815164010000000081118282018710171561090757600080fd5b509094505050505090565b600073ffffffffffffffffffffffffffffffffffffffff8316151561093657600080fd5b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60035474010000000000000000000000000000000000000000900460ff1681565b60025490565b60008060006109de6106f9565b915073ffffffffffffffffffffffffffffffffffffffff8516301415610a8b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603760248201527f637573746f6469616e2d7472616e73666572206f662053475220696e746f207460448201527f68697320636f6e747261637420697320696c6c6567616c000000000000000000606482015290519081900360840190fd5b604080517f656f416d00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff888116602483015287811660448301526064820187905291519184169163656f416d9160848082019260009290919082900301818387803b158015610b1157600080fd5b505af1158015610b25573d6000803e3d6000fd5b50505050610b34868686612042565b604080517f2f8b8d4100000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff89811660248301528881166044830152606482018890528315156084830152915192935090841691632f8b8d419160a4808201926020929091908290030181600087803b158015610bc657600080fd5b505af1158015610bda573d6000803e3d6000fd5b505050506040513d6020811015610bf057600080fd5b50519695505050505050565b60006107247f49534752546f6b656e496e666f00000000000000000000000000000000000000611f84565b6000610c31610bfc565b73ffffffffffffffffffffffffffffffffffffffff1663f0141d846040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b158015610c9457600080fd5b505af1158015610ca8573d6000803e3d6000fd5b505050506040513d6020811015610cbe57600080fd5b5051905090565b600073ffffffffffffffffffffffffffffffffffffffff83161515610ce957600080fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152902054610d2a908363ffffffff61202916565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff89168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b60035474010000000000000000000000000000000000000000900460ff1615610e2657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f636f6e747261637420616c726561647920696e697469616c697a656400000000604482015290519081900360640190fd5b7f534741546f534752496e697469616c697a657200000000000000000000000000610e5081611f84565b73ffffffffffffffffffffffffffffffffffffffff163314610ed357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83161515610f7d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f53474120746f2053475220746f6b656e2065786368616e67652061646472657360448201527f7320697320696c6c6567616c0000000000000000000000000000000000000000606482015290519081900360840190fd5b600380547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055610fc68383610729565b6040805173ffffffffffffffffffffffffffffffffffffffff8516815260208101849052815133927f72a52cb711ef232b168bf4ede9c5de1ae1849f84047d5f4d732a347d65c9205f928290030190a2505050565b6000806000806110296106f9565b604080517fad46b5f70000000000000000000000000000000000000000000000000000000081523360048201523031602482018190528251939750955073ffffffffffffffffffffffffffffffffffffffff87169263ad46b5f7926044808401939192918290030181600087803b1580156110a357600080fd5b505af11580156110b7573d6000803e3d6000fd5b505050506040513d60408110156110cd57600080fd5b508051602090910151604051919350915073ffffffffffffffffffffffffffffffffffffffff83169082156108fc029083906000818181858888f1935050505015801561111e573d6000803e3d6000fd5b50604080517f7ae5452c00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff8481166024830152604482018490526064820186905230316084830152915191861691637ae5452c9160a48082019260009290919082900301818387803b1580156111ab57600080fd5b505af11580156111bf573d6000803e3d6000fd5b5050505050505050565b60007f53676e546f53677245786368616e6765496e69746961746f72000000000000006111f581611f84565b73ffffffffffffffffffffffffffffffffffffffff16331461127857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b6112806106f9565b91508173ffffffffffffffffffffffffffffffffffffffff1663834af36d85856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561132557600080fd5b505af1158015611339573d6000803e3d6000fd5b5050604080517f5347525f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a01902061137b925090508585612106565b8173ffffffffffffffffffffffffffffffffffffffff1663fb463be885856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156111ab57600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b303190565b60035473ffffffffffffffffffffffffffffffffffffffff1690565b6000806114726106f9565b73ffffffffffffffffffffffffffffffffffffffff16638e1e48296040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016040805180830381600087803b1580156114d457600080fd5b505af11580156114e8573d6000803e3d6000fd5b505050506040513d60408110156114fe57600080fd5b50805160209091015190925090509091565b606061151a610bfc565b73ffffffffffffffffffffffffffffffffffffffff1663150704016040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401600060405180830381600087803b15801561086757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff831615156115a157600080fd5b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152902054610d2a908363ffffffff6122fd16565b60007f495061796d656e744d616e61676572000000000000000000000000000000000061160e81611f84565b73ffffffffffffffffffffffffffffffffffffffff16331461169157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b60405173ffffffffffffffffffffffffffffffffffffffff85169084156108fc029085906000818181858888f1935050505091506116cd6106f9565b604080517f9c59315400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015260248201879052851515604483015291519290911691639c5931549160648082019260009290919082900301818387803b1580156111ab57600080fd5b60008060008061175c6106f9565b925073ffffffffffffffffffffffffffffffffffffffff861630141561190657604080517f609298e100000000000000000000000000000000000000000000000000000000815233600482015260248101879052905173ffffffffffffffffffffffffffffffffffffffff85169163609298e19160448083019260209291908290030181600087803b1580156117f157600080fd5b505af1158015611805573d6000803e3d6000fd5b505050506040513d602081101561181b57600080fd5b505191506118293386612314565b604051339083156108fc029084906000818181858888f19350505050158015611856573d6000803e3d6000fd5b50604080517fead377b30000000000000000000000000000000000000000000000000000000081523360048201526024810187905260448101849052905173ffffffffffffffffffffffffffffffffffffffff85169163ead377b39160648083019260209291908290030181600087803b1580156118d357600080fd5b505af11580156118e7573d6000803e3d6000fd5b505050506040513d60208110156118fd57600080fd5b50519350611a5f565b604080517fb976b35b00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff88811660248301526044820188905291519185169163b976b35b9160648082019260009290919082900301818387803b15801561198457600080fd5b505af1158015611998573d6000803e3d6000fd5b505050506119a686866124da565b604080517f33b24e7a00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff89811660248301526044820189905283151560648301529151929350908516916333b24e7a916084808201926020929091908290030181600087803b158015611a3057600080fd5b505af1158015611a44573d6000803e3d6000fd5b505050506040513d6020811015611a5a57600080fd5b505193505b50505092915050565b604080517f5347525f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a01902081565b611aa56106f9565b604080517ff37f4d3200000000000000000000000000000000000000000000000000000000815233600482015230316024820152346044820152815173ffffffffffffffffffffffffffffffffffffffff939093169263f37f4d32926064808401939192918290030181600087803b158015611b2057600080fd5b505af1158015611b34573d6000803e3d6000fd5b505050506040513d6040811015611b4a57600080fd5b5050565b600080611b596106f9565b73ffffffffffffffffffffffffffffffffffffffff1663d16fe2316040518163ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016040805180830381600087803b1580156114d457600080fd5b600080611bc66106f9565b604080517fcd06db56000000000000000000000000000000000000000000000000000000008152336004820152346024820152905191935073ffffffffffffffffffffffffffffffffffffffff84169163cd06db56916044808201926020929091908290030181600087803b158015611c3e57600080fd5b505af1158015611c52573d6000803e3d6000fd5b505050506040513d6020811015611c6857600080fd5b50519050611c763382610729565b604080517f84289a3000000000000000000000000000000000000000000000000000000000815233600482015234602482015260448101839052905173ffffffffffffffffffffffffffffffffffffffff8416916384289a3091606480830192600092919082900301818387803b158015611cf057600080fd5b505af1158015611d04573d6000803e3d6000fd5b505050505050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60007f494d696e744d616e616765720000000000000000000000000000000000000000611d7081611f84565b73ffffffffffffffffffffffffffffffffffffffff163314611df357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f63616c6c657220697320696c6c6567616c000000000000000000000000000000604482015290519081900360640190fd5b611dfb6106f9565b91508173ffffffffffffffffffffffffffffffffffffffff166329857859846040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b158015611e6c57600080fd5b505af1158015611e80573d6000803e3d6000fd5b5050604080517f5347525f4d494e5445445f464f525f53474e5f484f4c444552530000000000008152905190819003601a019020611ec19250905084610729565b8173ffffffffffffffffffffffffffffffffffffffff16636d445d28846040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b158015611f3057600080fd5b505af1158015611f44573d6000803e3d6000fd5b50505050505050565b60408051808201909152600581527f322e302e30000000000000000000000000000000000000000000000000000000602082015281565b600354604080517f0d2020dd00000000000000000000000000000000000000000000000000000000815260048101849052905160009273ffffffffffffffffffffffffffffffffffffffff1691630d2020dd91602480830192602092919082900301818787803b158015611ff757600080fd5b505af115801561200b573d6000803e3d6000fd5b505050506040513d602081101561202157600080fd5b505192915050565b60008282018381101561203b57600080fd5b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260016020908152604080832033845290915281205482111561207f57600080fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526001602090815260408083203384529091529020546120c0908363ffffffff6122fd16565b73ffffffffffffffffffffffffffffffffffffffff851660009081526001602090815260408083203384529091529020556120fc848484612106565b5060019392505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481111561219a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f73646a666e64736b6a666e64736b6a6662000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8216151561221e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f6173666473660000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260208190526040902054612254908263ffffffff6122fd16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054612296908263ffffffff61202916565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000808383111561230d57600080fd5b5050900390565b73ffffffffffffffffffffffffffffffffffffffff8216151561239857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f6865657272727272737373000000000000000000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481111561242c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f6865657272727272000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b60025461243f908263ffffffff6122fd16565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054612478908263ffffffff6122fd16565b73ffffffffffffffffffffffffffffffffffffffff8316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b60006124e7338484612106565b506001929150505600a165627a7a72305820ade9eb9f31392c78abf914707a0410320c39387b4c928fed7764aa3914c9b7f80029
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
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.