Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 970 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Sell | 20660470 | 158 days ago | IN | 0 ETH | 0.00003322 | ||||
Sell | 20654437 | 159 days ago | IN | 0 ETH | 0.00004632 | ||||
Buy | 20654358 | 159 days ago | IN | 0.0048 ETH | 0.00005321 | ||||
Sell | 20644500 | 160 days ago | IN | 0 ETH | 0.00005727 | ||||
Sell | 20353482 | 201 days ago | IN | 0 ETH | 0.00030921 | ||||
Sell | 20168579 | 226 days ago | IN | 0 ETH | 0.00024033 | ||||
Sell | 17980153 | 533 days ago | IN | 0 ETH | 0.00067532 | ||||
Buy | 17914252 | 542 days ago | IN | 0.0035 ETH | 0.00249787 | ||||
Buy | 17910531 | 543 days ago | IN | 0.002 ETH | 0.00083032 | ||||
Sell | 17910505 | 543 days ago | IN | 0 ETH | 0.00085827 | ||||
Buy | 17910326 | 543 days ago | IN | 0.001 ETH | 0.00108372 | ||||
Sell | 17738779 | 567 days ago | IN | 0 ETH | 0.00127714 | ||||
Buy | 17426455 | 611 days ago | IN | 0.0016 ETH | 0.00176126 | ||||
Sell | 17153163 | 649 days ago | IN | 0 ETH | 0.00074579 | ||||
Buy | 17112716 | 655 days ago | IN | 0.009 ETH | 0.00301583 | ||||
Buy | 17109395 | 655 days ago | IN | 0.006 ETH | 0.00093607 | ||||
Buy | 17109385 | 655 days ago | IN | 0.006 ETH | 0.00099041 | ||||
Buy | 17109166 | 655 days ago | IN | 0.009 ETH | 0.00104469 | ||||
Buy | 17109152 | 655 days ago | IN | 0.009 ETH | 0.00082358 | ||||
Buy | 17065938 | 661 days ago | IN | 0.024 ETH | 0.0025201 | ||||
Buy | 16869555 | 689 days ago | IN | 0.009 ETH | 0.00182779 | ||||
Buy | 16677845 | 716 days ago | IN | 0.02 ETH | 0.00291437 | ||||
Buy | 16659908 | 719 days ago | IN | 0.03 ETH | 0.00175803 | ||||
Buy | 16207547 | 782 days ago | IN | 0.01 ETH | 0.00187734 | ||||
Buy | 16015454 | 809 days ago | IN | 0.01 ETH | 0.00087078 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20654358 | 159 days ago | 0.0048 ETH | ||||
19652482 | 299 days ago | 0.005 ETH | ||||
19652482 | 299 days ago | 0.005 ETH | ||||
19652310 | 299 days ago | 0.005 ETH | ||||
19652310 | 299 days ago | 0.005 ETH | ||||
19625137 | 302 days ago | 0.005 ETH | ||||
19625137 | 302 days ago | 0.005 ETH | ||||
19625135 | 302 days ago | 0.005 ETH | ||||
19625135 | 302 days ago | 0.005 ETH | ||||
19625135 | 302 days ago | 0.005 ETH | ||||
19625135 | 302 days ago | 0.005 ETH | ||||
19138976 | 371 days ago | 0.005 ETH | ||||
19138976 | 371 days ago | 0.005 ETH | ||||
19138821 | 371 days ago | 0.005 ETH | ||||
19138821 | 371 days ago | 0.005 ETH | ||||
18144161 | 510 days ago | 0.005 ETH | ||||
18144161 | 510 days ago | 0.005 ETH | ||||
18116646 | 514 days ago | 0.005 ETH | ||||
18116646 | 514 days ago | 0.005 ETH | ||||
18114529 | 514 days ago | 0.005 ETH | ||||
18114529 | 514 days ago | 0.005 ETH | ||||
18058924 | 522 days ago | 0.01 ETH | ||||
18058924 | 522 days ago | 0.01 ETH | ||||
17914252 | 542 days ago | 0.0035 ETH | ||||
17910531 | 543 days ago | 0.002 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
ClubTokenController
Compiler Version
v0.4.24+commit.e67f0147
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-08-16 */ // File: zeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol pragma solidity ^0.4.24; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * See https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } // File: zeppelin-solidity/contracts/math/SafeMath.sol pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than asserting '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; } c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws 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 a / b; } /** * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; assert(c >= a); return c; } } // File: zeppelin-solidity/contracts/token/ERC20/BasicToken.sol pragma solidity ^0.4.24; /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; uint256 totalSupply_; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return totalSupply_; } /** * @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) { require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the 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]; } } // File: zeppelin-solidity/contracts/token/ERC20/ERC20.sol pragma solidity ^0.4.24; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval( address indexed owner, address indexed spender, uint256 value ); } // File: zeppelin-solidity/contracts/token/ERC20/StandardToken.sol pragma solidity ^0.4.24; /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/issues/20 * Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; /** * @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(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); emit Transfer(_from, _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) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } /** * @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 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 increaseApproval( address _spender, uint256 _addedValue ) public returns (bool) { 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 decreaseApproval( address _spender, uint256 _subtractedValue ) public returns (bool) { uint256 oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } emit Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } // File: zeppelin-solidity/contracts/token/ERC20/DetailedERC20.sol pragma solidity ^0.4.24; /** * @title DetailedERC20 token * @dev The decimals are only for visualization purposes. * All the operations are done using the smallest and indivisible token unit, * just as on Ethereum all the operations are done in wei. */ contract DetailedERC20 is ERC20 { string public name; string public symbol; uint8 public decimals; constructor(string _name, string _symbol, uint8 _decimals) public { name = _name; symbol = _symbol; decimals = _decimals; } } // File: zeppelin-solidity/contracts/ownership/Ownable.sol pragma solidity ^0.4.24; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function transferOwnership(address _newOwner) public onlyOwner { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } // File: zeppelin-solidity/contracts/token/ERC20/MintableToken.sol pragma solidity ^0.4.24; /** * @title Mintable token * @dev Simple ERC20 Token example, with mintable token creation * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol */ contract MintableToken is StandardToken, Ownable { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } modifier hasMintPermission() { require(msg.sender == owner); _; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint( address _to, uint256 _amount ) hasMintPermission canMint public returns (bool) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); emit Mint(_to, _amount); emit Transfer(address(0), _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; emit MintFinished(); return true; } } // File: zeppelin-solidity/contracts/token/ERC20/BurnableToken.sol pragma solidity ^0.4.24; /** * @title Burnable Token * @dev Token that can be irreversibly burned (destroyed). */ contract BurnableToken is BasicToken { event Burn(address indexed burner, uint256 value); /** * @dev Burns a specific amount of tokens. * @param _value The amount of token to be burned. */ function burn(uint256 _value) public { _burn(msg.sender, _value); } function _burn(address _who, uint256 _value) internal { require(_value <= balances[_who]); // no need to require value <= totalSupply, since that would imply the // sender's balance is greater than the totalSupply, which *should* be an assertion failure balances[_who] = balances[_who].sub(_value); totalSupply_ = totalSupply_.sub(_value); emit Burn(_who, _value); emit Transfer(_who, address(0), _value); } } // File: contracts/ClubToken.sol pragma solidity ^0.4.18; /** * ClubToken adheres to ERC20 * it is a continuously mintable token administered by CloversController/ClubTokenController */ contract ClubToken is StandardToken, DetailedERC20, MintableToken, BurnableToken { address public cloversController; address public clubTokenController; modifier hasMintPermission() { require( msg.sender == clubTokenController || msg.sender == cloversController || msg.sender == owner ); _; } /** * @dev constructor for the ClubTokens contract * @param _name The name of the token * @param _symbol The symbol of the token * @param _decimals The decimals of the token */ constructor(string _name, string _symbol, uint8 _decimals) public DetailedERC20(_name, _symbol, _decimals) {} function () public payable {} function updateClubTokenControllerAddress(address _clubTokenController) public onlyOwner { require(_clubTokenController != 0); clubTokenController = _clubTokenController; } function updateCloversControllerAddress(address _cloversController) public onlyOwner { require(_cloversController != 0); cloversController = _cloversController; } /** * @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(_to != address(0)); require(_value <= balances[_from]); if (msg.sender != cloversController && msg.sender != clubTokenController) { require(_value <= allowed[_from][msg.sender]); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); } balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(_from, _to, _value); return true; } /** * @dev Burns a specific amount of tokens. * @param _value The amount of token to be burned. * NOTE: Disabled as tokens should not be burned under circumstances beside selling tokens. */ function burn(uint256 _value) public { _value; revert(); } /** * @dev Burns a specific amount of tokens. * @param _burner The address of the token holder burning their tokens. * @param _value The amount of token to be burned. */ function burn(address _burner, uint256 _value) public hasMintPermission { _burn(_burner, _value); } /** * @dev Moves Eth to a certain address for use in the ClubTokenController * @param _to The address to receive the Eth. * @param _amount The amount of Eth to be transferred. */ function moveEth(address _to, uint256 _amount) public hasMintPermission { require(this.balance >= _amount); _to.transfer(_amount); } /** * @dev Moves Tokens to a certain address for use in the ClubTokenController * @param _to The address to receive the Tokens. * @param _amount The amount of Tokens to be transferred. * @param _token The address of the relevant token contract. * @return bool Whether or not the move was successful */ function moveToken(address _to, uint256 _amount, address _token) public hasMintPermission returns (bool) { require(_amount <= StandardToken(_token).balanceOf(this)); return StandardToken(_token).transfer(_to, _amount); } /** * @dev Approves Tokens to a certain address for use in the ClubTokenController * @param _to The address to be approved. * @param _amount The amount of Tokens to be approved. * @param _token The address of the relevant token contract. * @return bool Whether or not the approval was successful */ function approveToken(address _to, uint256 _amount, address _token) public hasMintPermission returns (bool) { return StandardToken(_token).approve(_to, _amount); } } // File: bancor-contracts/solidity/contracts/converter/interfaces/IBancorFormula.sol pragma solidity ^0.4.24; /* Bancor Formula interface */ contract IBancorFormula { function calculatePurchaseReturn(uint256 _supply, uint256 _connectorBalance, uint32 _connectorWeight, uint256 _depositAmount) public view returns (uint256); function calculateSaleReturn(uint256 _supply, uint256 _connectorBalance, uint32 _connectorWeight, uint256 _sellAmount) public view returns (uint256); function calculateCrossConnectorReturn(uint256 _fromConnectorBalance, uint32 _fromConnectorWeight, uint256 _toConnectorBalance, uint32 _toConnectorWeight, uint256 _amount) public view returns (uint256); } // File: bancor-contracts/solidity/contracts/utility/Utils.sol pragma solidity ^0.4.24; /* Utilities & Common Modifiers */ contract Utils { /** constructor */ constructor() public { } // verifies that an amount is greater than zero modifier greaterThanZero(uint256 _amount) { require(_amount > 0); _; } // validates an address - currently only checks that it isn't null modifier validAddress(address _address) { require(_address != address(0)); _; } // verifies that the address is different than this contract address modifier notThis(address _address) { require(_address != address(this)); _; } // Overflow protected math functions /** @dev returns the sum of _x and _y, asserts if the calculation overflows @param _x value 1 @param _y value 2 @return sum */ function safeAdd(uint256 _x, uint256 _y) internal pure returns (uint256) { uint256 z = _x + _y; assert(z >= _x); return z; } /** @dev returns the difference of _x minus _y, asserts if the subtraction results in a negative number @param _x minuend @param _y subtrahend @return difference */ function safeSub(uint256 _x, uint256 _y) internal pure returns (uint256) { assert(_x >= _y); return _x - _y; } /** @dev returns the product of multiplying _x by _y, asserts if the calculation overflows @param _x factor 1 @param _y factor 2 @return product */ function safeMul(uint256 _x, uint256 _y) internal pure returns (uint256) { uint256 z = _x * _y; assert(_x == 0 || z / _x == _y); return z; } } // File: bancor-contracts/solidity/contracts/converter/BancorFormula.sol pragma solidity ^0.4.24; contract BancorFormula is IBancorFormula, Utils { string public version = '0.3'; uint256 private constant ONE = 1; uint32 private constant MAX_WEIGHT = 1000000; uint8 private constant MIN_PRECISION = 32; uint8 private constant MAX_PRECISION = 127; /** Auto-generated via 'PrintIntScalingFactors.py' */ uint256 private constant FIXED_1 = 0x080000000000000000000000000000000; uint256 private constant FIXED_2 = 0x100000000000000000000000000000000; uint256 private constant MAX_NUM = 0x200000000000000000000000000000000; /** Auto-generated via 'PrintLn2ScalingFactors.py' */ uint256 private constant LN2_NUMERATOR = 0x3f80fe03f80fe03f80fe03f80fe03f8; uint256 private constant LN2_DENOMINATOR = 0x5b9de1d10bf4103d647b0955897ba80; /** Auto-generated via 'PrintFunctionOptimalLog.py' and 'PrintFunctionOptimalExp.py' */ uint256 private constant OPT_LOG_MAX_VAL = 0x15bf0a8b1457695355fb8ac404e7a79e3; uint256 private constant OPT_EXP_MAX_VAL = 0x800000000000000000000000000000000; /** Auto-generated via 'PrintFunctionConstructor.py' */ uint256[128] private maxExpArray; constructor() public { // maxExpArray[ 0] = 0x6bffffffffffffffffffffffffffffffff; // maxExpArray[ 1] = 0x67ffffffffffffffffffffffffffffffff; // maxExpArray[ 2] = 0x637fffffffffffffffffffffffffffffff; // maxExpArray[ 3] = 0x5f6fffffffffffffffffffffffffffffff; // maxExpArray[ 4] = 0x5b77ffffffffffffffffffffffffffffff; // maxExpArray[ 5] = 0x57b3ffffffffffffffffffffffffffffff; // maxExpArray[ 6] = 0x5419ffffffffffffffffffffffffffffff; // maxExpArray[ 7] = 0x50a2ffffffffffffffffffffffffffffff; // maxExpArray[ 8] = 0x4d517fffffffffffffffffffffffffffff; // maxExpArray[ 9] = 0x4a233fffffffffffffffffffffffffffff; // maxExpArray[ 10] = 0x47165fffffffffffffffffffffffffffff; // maxExpArray[ 11] = 0x4429afffffffffffffffffffffffffffff; // maxExpArray[ 12] = 0x415bc7ffffffffffffffffffffffffffff; // maxExpArray[ 13] = 0x3eab73ffffffffffffffffffffffffffff; // maxExpArray[ 14] = 0x3c1771ffffffffffffffffffffffffffff; // maxExpArray[ 15] = 0x399e96ffffffffffffffffffffffffffff; // maxExpArray[ 16] = 0x373fc47fffffffffffffffffffffffffff; // maxExpArray[ 17] = 0x34f9e8ffffffffffffffffffffffffffff; // maxExpArray[ 18] = 0x32cbfd5fffffffffffffffffffffffffff; // maxExpArray[ 19] = 0x30b5057fffffffffffffffffffffffffff; // maxExpArray[ 20] = 0x2eb40f9fffffffffffffffffffffffffff; // maxExpArray[ 21] = 0x2cc8340fffffffffffffffffffffffffff; // maxExpArray[ 22] = 0x2af09481ffffffffffffffffffffffffff; // maxExpArray[ 23] = 0x292c5bddffffffffffffffffffffffffff; // maxExpArray[ 24] = 0x277abdcdffffffffffffffffffffffffff; // maxExpArray[ 25] = 0x25daf6657fffffffffffffffffffffffff; // maxExpArray[ 26] = 0x244c49c65fffffffffffffffffffffffff; // maxExpArray[ 27] = 0x22ce03cd5fffffffffffffffffffffffff; // maxExpArray[ 28] = 0x215f77c047ffffffffffffffffffffffff; // maxExpArray[ 29] = 0x1fffffffffffffffffffffffffffffffff; // maxExpArray[ 30] = 0x1eaefdbdabffffffffffffffffffffffff; // maxExpArray[ 31] = 0x1d6bd8b2ebffffffffffffffffffffffff; maxExpArray[ 32] = 0x1c35fedd14ffffffffffffffffffffffff; maxExpArray[ 33] = 0x1b0ce43b323fffffffffffffffffffffff; maxExpArray[ 34] = 0x19f0028ec1ffffffffffffffffffffffff; maxExpArray[ 35] = 0x18ded91f0e7fffffffffffffffffffffff; maxExpArray[ 36] = 0x17d8ec7f0417ffffffffffffffffffffff; maxExpArray[ 37] = 0x16ddc6556cdbffffffffffffffffffffff; maxExpArray[ 38] = 0x15ecf52776a1ffffffffffffffffffffff; maxExpArray[ 39] = 0x15060c256cb2ffffffffffffffffffffff; maxExpArray[ 40] = 0x1428a2f98d72ffffffffffffffffffffff; maxExpArray[ 41] = 0x13545598e5c23fffffffffffffffffffff; maxExpArray[ 42] = 0x1288c4161ce1dfffffffffffffffffffff; maxExpArray[ 43] = 0x11c592761c666fffffffffffffffffffff; maxExpArray[ 44] = 0x110a688680a757ffffffffffffffffffff; maxExpArray[ 45] = 0x1056f1b5bedf77ffffffffffffffffffff; maxExpArray[ 46] = 0x0faadceceeff8bffffffffffffffffffff; maxExpArray[ 47] = 0x0f05dc6b27edadffffffffffffffffffff; maxExpArray[ 48] = 0x0e67a5a25da4107fffffffffffffffffff; maxExpArray[ 49] = 0x0dcff115b14eedffffffffffffffffffff; maxExpArray[ 50] = 0x0d3e7a392431239fffffffffffffffffff; maxExpArray[ 51] = 0x0cb2ff529eb71e4fffffffffffffffffff; maxExpArray[ 52] = 0x0c2d415c3db974afffffffffffffffffff; maxExpArray[ 53] = 0x0bad03e7d883f69bffffffffffffffffff; maxExpArray[ 54] = 0x0b320d03b2c343d5ffffffffffffffffff; maxExpArray[ 55] = 0x0abc25204e02828dffffffffffffffffff; maxExpArray[ 56] = 0x0a4b16f74ee4bb207fffffffffffffffff; maxExpArray[ 57] = 0x09deaf736ac1f569ffffffffffffffffff; maxExpArray[ 58] = 0x0976bd9952c7aa957fffffffffffffffff; maxExpArray[ 59] = 0x09131271922eaa606fffffffffffffffff; maxExpArray[ 60] = 0x08b380f3558668c46fffffffffffffffff; maxExpArray[ 61] = 0x0857ddf0117efa215bffffffffffffffff; maxExpArray[ 62] = 0x07ffffffffffffffffffffffffffffffff; maxExpArray[ 63] = 0x07abbf6f6abb9d087fffffffffffffffff; maxExpArray[ 64] = 0x075af62cbac95f7dfa7fffffffffffffff; maxExpArray[ 65] = 0x070d7fb7452e187ac13fffffffffffffff; maxExpArray[ 66] = 0x06c3390ecc8af379295fffffffffffffff; maxExpArray[ 67] = 0x067c00a3b07ffc01fd6fffffffffffffff; maxExpArray[ 68] = 0x0637b647c39cbb9d3d27ffffffffffffff; maxExpArray[ 69] = 0x05f63b1fc104dbd39587ffffffffffffff; maxExpArray[ 70] = 0x05b771955b36e12f7235ffffffffffffff; maxExpArray[ 71] = 0x057b3d49dda84556d6f6ffffffffffffff; maxExpArray[ 72] = 0x054183095b2c8ececf30ffffffffffffff; maxExpArray[ 73] = 0x050a28be635ca2b888f77fffffffffffff; maxExpArray[ 74] = 0x04d5156639708c9db33c3fffffffffffff; maxExpArray[ 75] = 0x04a23105873875bd52dfdfffffffffffff; maxExpArray[ 76] = 0x0471649d87199aa990756fffffffffffff; maxExpArray[ 77] = 0x04429a21a029d4c1457cfbffffffffffff; maxExpArray[ 78] = 0x0415bc6d6fb7dd71af2cb3ffffffffffff; maxExpArray[ 79] = 0x03eab73b3bbfe282243ce1ffffffffffff; maxExpArray[ 80] = 0x03c1771ac9fb6b4c18e229ffffffffffff; maxExpArray[ 81] = 0x0399e96897690418f785257fffffffffff; maxExpArray[ 82] = 0x0373fc456c53bb779bf0ea9fffffffffff; maxExpArray[ 83] = 0x034f9e8e490c48e67e6ab8bfffffffffff; maxExpArray[ 84] = 0x032cbfd4a7adc790560b3337ffffffffff; maxExpArray[ 85] = 0x030b50570f6e5d2acca94613ffffffffff; maxExpArray[ 86] = 0x02eb40f9f620fda6b56c2861ffffffffff; maxExpArray[ 87] = 0x02cc8340ecb0d0f520a6af58ffffffffff; maxExpArray[ 88] = 0x02af09481380a0a35cf1ba02ffffffffff; maxExpArray[ 89] = 0x0292c5bdd3b92ec810287b1b3fffffffff; maxExpArray[ 90] = 0x0277abdcdab07d5a77ac6d6b9fffffffff; maxExpArray[ 91] = 0x025daf6654b1eaa55fd64df5efffffffff; maxExpArray[ 92] = 0x0244c49c648baa98192dce88b7ffffffff; maxExpArray[ 93] = 0x022ce03cd5619a311b2471268bffffffff; maxExpArray[ 94] = 0x0215f77c045fbe885654a44a0fffffffff; maxExpArray[ 95] = 0x01ffffffffffffffffffffffffffffffff; maxExpArray[ 96] = 0x01eaefdbdaaee7421fc4d3ede5ffffffff; maxExpArray[ 97] = 0x01d6bd8b2eb257df7e8ca57b09bfffffff; maxExpArray[ 98] = 0x01c35fedd14b861eb0443f7f133fffffff; maxExpArray[ 99] = 0x01b0ce43b322bcde4a56e8ada5afffffff; maxExpArray[100] = 0x019f0028ec1fff007f5a195a39dfffffff; maxExpArray[101] = 0x018ded91f0e72ee74f49b15ba527ffffff; maxExpArray[102] = 0x017d8ec7f04136f4e5615fd41a63ffffff; maxExpArray[103] = 0x016ddc6556cdb84bdc8d12d22e6fffffff; maxExpArray[104] = 0x015ecf52776a1155b5bd8395814f7fffff; maxExpArray[105] = 0x015060c256cb23b3b3cc3754cf40ffffff; maxExpArray[106] = 0x01428a2f98d728ae223ddab715be3fffff; maxExpArray[107] = 0x013545598e5c23276ccf0ede68034fffff; maxExpArray[108] = 0x01288c4161ce1d6f54b7f61081194fffff; maxExpArray[109] = 0x011c592761c666aa641d5a01a40f17ffff; maxExpArray[110] = 0x0110a688680a7530515f3e6e6cfdcdffff; maxExpArray[111] = 0x01056f1b5bedf75c6bcb2ce8aed428ffff; maxExpArray[112] = 0x00faadceceeff8a0890f3875f008277fff; maxExpArray[113] = 0x00f05dc6b27edad306388a600f6ba0bfff; maxExpArray[114] = 0x00e67a5a25da41063de1495d5b18cdbfff; maxExpArray[115] = 0x00dcff115b14eedde6fc3aa5353f2e4fff; maxExpArray[116] = 0x00d3e7a3924312399f9aae2e0f868f8fff; maxExpArray[117] = 0x00cb2ff529eb71e41582cccd5a1ee26fff; maxExpArray[118] = 0x00c2d415c3db974ab32a51840c0b67edff; maxExpArray[119] = 0x00bad03e7d883f69ad5b0a186184e06bff; maxExpArray[120] = 0x00b320d03b2c343d4829abd6075f0cc5ff; maxExpArray[121] = 0x00abc25204e02828d73c6e80bcdb1a95bf; maxExpArray[122] = 0x00a4b16f74ee4bb2040a1ec6c15fbbf2df; maxExpArray[123] = 0x009deaf736ac1f569deb1b5ae3f36c130f; maxExpArray[124] = 0x00976bd9952c7aa957f5937d790ef65037; maxExpArray[125] = 0x009131271922eaa6064b73a22d0bd4f2bf; maxExpArray[126] = 0x008b380f3558668c46c91c49a2f8e967b9; maxExpArray[127] = 0x00857ddf0117efa215952912839f6473e6; } /** @dev given a token supply, connector balance, weight and a deposit amount (in the connector token), calculates the return for a given conversion (in the main token) Formula: Return = _supply * ((1 + _depositAmount / _connectorBalance) ^ (_connectorWeight / 1000000) - 1) @param _supply token total supply @param _connectorBalance total connector balance @param _connectorWeight connector weight, represented in ppm, 1-1000000 @param _depositAmount deposit amount, in connector token @return purchase return amount */ function calculatePurchaseReturn(uint256 _supply, uint256 _connectorBalance, uint32 _connectorWeight, uint256 _depositAmount) public view returns (uint256) { // validate input require(_supply > 0 && _connectorBalance > 0 && _connectorWeight > 0 && _connectorWeight <= MAX_WEIGHT); // special case for 0 deposit amount if (_depositAmount == 0) return 0; // special case if the weight = 100% if (_connectorWeight == MAX_WEIGHT) return safeMul(_supply, _depositAmount) / _connectorBalance; uint256 result; uint8 precision; uint256 baseN = safeAdd(_depositAmount, _connectorBalance); (result, precision) = power(baseN, _connectorBalance, _connectorWeight, MAX_WEIGHT); uint256 temp = safeMul(_supply, result) >> precision; return temp - _supply; } /** @dev given a token supply, connector balance, weight and a sell amount (in the main token), calculates the return for a given conversion (in the connector token) Formula: Return = _connectorBalance * (1 - (1 - _sellAmount / _supply) ^ (1 / (_connectorWeight / 1000000))) @param _supply token total supply @param _connectorBalance total connector @param _connectorWeight constant connector Weight, represented in ppm, 1-1000000 @param _sellAmount sell amount, in the token itself @return sale return amount */ function calculateSaleReturn(uint256 _supply, uint256 _connectorBalance, uint32 _connectorWeight, uint256 _sellAmount) public view returns (uint256) { // validate input require(_supply > 0 && _connectorBalance > 0 && _connectorWeight > 0 && _connectorWeight <= MAX_WEIGHT && _sellAmount <= _supply); // special case for 0 sell amount if (_sellAmount == 0) return 0; // special case for selling the entire supply if (_sellAmount == _supply) return _connectorBalance; // special case if the weight = 100% if (_connectorWeight == MAX_WEIGHT) return safeMul(_connectorBalance, _sellAmount) / _supply; uint256 result; uint8 precision; uint256 baseD = _supply - _sellAmount; (result, precision) = power(_supply, baseD, MAX_WEIGHT, _connectorWeight); uint256 temp1 = safeMul(_connectorBalance, result); uint256 temp2 = _connectorBalance << precision; return (temp1 - temp2) / result; } /** @dev given two connector balances/weights and a sell amount (in the first connector token), calculates the return for a conversion from the first connector token to the second connector token (in the second connector token) Formula: Return = _toConnectorBalance * (1 - (_fromConnectorBalance / (_fromConnectorBalance + _amount)) ^ (_fromConnectorWeight / _toConnectorWeight)) @param _fromConnectorBalance input connector balance @param _fromConnectorWeight input connector weight, represented in ppm, 1-1000000 @param _toConnectorBalance output connector balance @param _toConnectorWeight output connector weight, represented in ppm, 1-1000000 @param _amount input connector amount @return second connector amount */ function calculateCrossConnectorReturn(uint256 _fromConnectorBalance, uint32 _fromConnectorWeight, uint256 _toConnectorBalance, uint32 _toConnectorWeight, uint256 _amount) public view returns (uint256) { // validate input require(_fromConnectorBalance > 0 && _fromConnectorWeight > 0 && _fromConnectorWeight <= MAX_WEIGHT && _toConnectorBalance > 0 && _toConnectorWeight > 0 && _toConnectorWeight <= MAX_WEIGHT); // special case for equal weights if (_fromConnectorWeight == _toConnectorWeight) return safeMul(_toConnectorBalance, _amount) / safeAdd(_fromConnectorBalance, _amount); uint256 result; uint8 precision; uint256 baseN = safeAdd(_fromConnectorBalance, _amount); (result, precision) = power(baseN, _fromConnectorBalance, _fromConnectorWeight, _toConnectorWeight); uint256 temp1 = safeMul(_toConnectorBalance, result); uint256 temp2 = _toConnectorBalance << precision; return (temp1 - temp2) / result; } /** General Description: Determine a value of precision. Calculate an integer approximation of (_baseN / _baseD) ^ (_expN / _expD) * 2 ^ precision. Return the result along with the precision used. Detailed Description: Instead of calculating "base ^ exp", we calculate "e ^ (log(base) * exp)". The value of "log(base)" is represented with an integer slightly smaller than "log(base) * 2 ^ precision". The larger "precision" is, the more accurately this value represents the real value. However, the larger "precision" is, the more bits are required in order to store this value. And the exponentiation function, which takes "x" and calculates "e ^ x", is limited to a maximum exponent (maximum value of "x"). This maximum exponent depends on the "precision" used, and it is given by "maxExpArray[precision] >> (MAX_PRECISION - precision)". Hence we need to determine the highest precision which can be used for the given input, before calling the exponentiation function. This allows us to compute "base ^ exp" with maximum accuracy and without exceeding 256 bits in any of the intermediate computations. This functions assumes that "_expN < 2 ^ 256 / log(MAX_NUM - 1)", otherwise the multiplication should be replaced with a "safeMul". */ function power(uint256 _baseN, uint256 _baseD, uint32 _expN, uint32 _expD) internal view returns (uint256, uint8) { require(_baseN < MAX_NUM); uint256 baseLog; uint256 base = _baseN * FIXED_1 / _baseD; if (base < OPT_LOG_MAX_VAL) { baseLog = optimalLog(base); } else { baseLog = generalLog(base); } uint256 baseLogTimesExp = baseLog * _expN / _expD; if (baseLogTimesExp < OPT_EXP_MAX_VAL) { return (optimalExp(baseLogTimesExp), MAX_PRECISION); } else { uint8 precision = findPositionInMaxExpArray(baseLogTimesExp); return (generalExp(baseLogTimesExp >> (MAX_PRECISION - precision), precision), precision); } } /** Compute log(x / FIXED_1) * FIXED_1. This functions assumes that "x >= FIXED_1", because the output would be negative otherwise. */ function generalLog(uint256 x) internal pure returns (uint256) { uint256 res = 0; // If x >= 2, then we compute the integer part of log2(x), which is larger than 0. if (x >= FIXED_2) { uint8 count = floorLog2(x / FIXED_1); x >>= count; // now x < 2 res = count * FIXED_1; } // If x > 1, then we compute the fraction part of log2(x), which is larger than 0. if (x > FIXED_1) { for (uint8 i = MAX_PRECISION; i > 0; --i) { x = (x * x) / FIXED_1; // now 1 < x < 4 if (x >= FIXED_2) { x >>= 1; // now 1 < x < 2 res += ONE << (i - 1); } } } return res * LN2_NUMERATOR / LN2_DENOMINATOR; } /** Compute the largest integer smaller than or equal to the binary logarithm of the input. */ function floorLog2(uint256 _n) internal pure returns (uint8) { uint8 res = 0; if (_n < 256) { // At most 8 iterations while (_n > 1) { _n >>= 1; res += 1; } } else { // Exactly 8 iterations for (uint8 s = 128; s > 0; s >>= 1) { if (_n >= (ONE << s)) { _n >>= s; res |= s; } } } return res; } /** The global "maxExpArray" is sorted in descending order, and therefore the following statements are equivalent: - This function finds the position of [the smallest value in "maxExpArray" larger than or equal to "x"] - This function finds the highest position of [a value in "maxExpArray" larger than or equal to "x"] */ function findPositionInMaxExpArray(uint256 _x) internal view returns (uint8) { uint8 lo = MIN_PRECISION; uint8 hi = MAX_PRECISION; while (lo + 1 < hi) { uint8 mid = (lo + hi) / 2; if (maxExpArray[mid] >= _x) lo = mid; else hi = mid; } if (maxExpArray[hi] >= _x) return hi; if (maxExpArray[lo] >= _x) return lo; require(false); return 0; } /** This function can be auto-generated by the script 'PrintFunctionGeneralExp.py'. It approximates "e ^ x" via maclaurin summation: "(x^0)/0! + (x^1)/1! + ... + (x^n)/n!". It returns "e ^ (x / 2 ^ precision) * 2 ^ precision", that is, the result is upshifted for accuracy. The global "maxExpArray" maps each "precision" to "((maximumExponent + 1) << (MAX_PRECISION - precision)) - 1". The maximum permitted value for "x" is therefore given by "maxExpArray[precision] >> (MAX_PRECISION - precision)". */ function generalExp(uint256 _x, uint8 _precision) internal pure returns (uint256) { uint256 xi = _x; uint256 res = 0; xi = (xi * _x) >> _precision; res += xi * 0x3442c4e6074a82f1797f72ac0000000; // add x^02 * (33! / 02!) xi = (xi * _x) >> _precision; res += xi * 0x116b96f757c380fb287fd0e40000000; // add x^03 * (33! / 03!) xi = (xi * _x) >> _precision; res += xi * 0x045ae5bdd5f0e03eca1ff4390000000; // add x^04 * (33! / 04!) xi = (xi * _x) >> _precision; res += xi * 0x00defabf91302cd95b9ffda50000000; // add x^05 * (33! / 05!) xi = (xi * _x) >> _precision; res += xi * 0x002529ca9832b22439efff9b8000000; // add x^06 * (33! / 06!) xi = (xi * _x) >> _precision; res += xi * 0x00054f1cf12bd04e516b6da88000000; // add x^07 * (33! / 07!) xi = (xi * _x) >> _precision; res += xi * 0x0000a9e39e257a09ca2d6db51000000; // add x^08 * (33! / 08!) xi = (xi * _x) >> _precision; res += xi * 0x000012e066e7b839fa050c309000000; // add x^09 * (33! / 09!) xi = (xi * _x) >> _precision; res += xi * 0x000001e33d7d926c329a1ad1a800000; // add x^10 * (33! / 10!) xi = (xi * _x) >> _precision; res += xi * 0x0000002bee513bdb4a6b19b5f800000; // add x^11 * (33! / 11!) xi = (xi * _x) >> _precision; res += xi * 0x00000003a9316fa79b88eccf2a00000; // add x^12 * (33! / 12!) xi = (xi * _x) >> _precision; res += xi * 0x0000000048177ebe1fa812375200000; // add x^13 * (33! / 13!) xi = (xi * _x) >> _precision; res += xi * 0x0000000005263fe90242dcbacf00000; // add x^14 * (33! / 14!) xi = (xi * _x) >> _precision; res += xi * 0x000000000057e22099c030d94100000; // add x^15 * (33! / 15!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000057e22099c030d9410000; // add x^16 * (33! / 16!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000052b6b54569976310000; // add x^17 * (33! / 17!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000004985f67696bf748000; // add x^18 * (33! / 18!) xi = (xi * _x) >> _precision; res += xi * 0x000000000000003dea12ea99e498000; // add x^19 * (33! / 19!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000031880f2214b6e000; // add x^20 * (33! / 20!) xi = (xi * _x) >> _precision; res += xi * 0x000000000000000025bcff56eb36000; // add x^21 * (33! / 21!) xi = (xi * _x) >> _precision; res += xi * 0x000000000000000001b722e10ab1000; // add x^22 * (33! / 22!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000001317c70077000; // add x^23 * (33! / 23!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000000000cba84aafa00; // add x^24 * (33! / 24!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000000000082573a0a00; // add x^25 * (33! / 25!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000000000005035ad900; // add x^26 * (33! / 26!) xi = (xi * _x) >> _precision; res += xi * 0x000000000000000000000002f881b00; // add x^27 * (33! / 27!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000001b29340; // add x^28 * (33! / 28!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000000000000000efc40; // add x^29 * (33! / 29!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000000007fe0; // add x^30 * (33! / 30!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000000000420; // add x^31 * (33! / 31!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000000000021; // add x^32 * (33! / 32!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000000000001; // add x^33 * (33! / 33!) return res / 0x688589cc0e9505e2f2fee5580000000 + _x + (ONE << _precision); // divide by 33! and then add x^1 / 1! + x^0 / 0! } /** Return log(x / FIXED_1) * FIXED_1 Input range: FIXED_1 <= x <= LOG_EXP_MAX_VAL - 1 Auto-generated via 'PrintFunctionOptimalLog.py' Detailed description: - Rewrite the input as a product of natural exponents and a single residual r, such that 1 < r < 2 - The natural logarithm of each (pre-calculated) exponent is the degree of the exponent - The natural logarithm of r is calculated via Taylor series for log(1 + x), where x = r - 1 - The natural logarithm of the input is calculated by summing up the intermediate results above - For example: log(250) = log(e^4 * e^1 * e^0.5 * 1.021692859) = 4 + 1 + 0.5 + log(1 + 0.021692859) */ function optimalLog(uint256 x) internal pure returns (uint256) { uint256 res = 0; uint256 y; uint256 z; uint256 w; if (x >= 0xd3094c70f034de4b96ff7d5b6f99fcd8) {res += 0x40000000000000000000000000000000; x = x * FIXED_1 / 0xd3094c70f034de4b96ff7d5b6f99fcd8;} // add 1 / 2^1 if (x >= 0xa45af1e1f40c333b3de1db4dd55f29a7) {res += 0x20000000000000000000000000000000; x = x * FIXED_1 / 0xa45af1e1f40c333b3de1db4dd55f29a7;} // add 1 / 2^2 if (x >= 0x910b022db7ae67ce76b441c27035c6a1) {res += 0x10000000000000000000000000000000; x = x * FIXED_1 / 0x910b022db7ae67ce76b441c27035c6a1;} // add 1 / 2^3 if (x >= 0x88415abbe9a76bead8d00cf112e4d4a8) {res += 0x08000000000000000000000000000000; x = x * FIXED_1 / 0x88415abbe9a76bead8d00cf112e4d4a8;} // add 1 / 2^4 if (x >= 0x84102b00893f64c705e841d5d4064bd3) {res += 0x04000000000000000000000000000000; x = x * FIXED_1 / 0x84102b00893f64c705e841d5d4064bd3;} // add 1 / 2^5 if (x >= 0x8204055aaef1c8bd5c3259f4822735a2) {res += 0x02000000000000000000000000000000; x = x * FIXED_1 / 0x8204055aaef1c8bd5c3259f4822735a2;} // add 1 / 2^6 if (x >= 0x810100ab00222d861931c15e39b44e99) {res += 0x01000000000000000000000000000000; x = x * FIXED_1 / 0x810100ab00222d861931c15e39b44e99;} // add 1 / 2^7 if (x >= 0x808040155aabbbe9451521693554f733) {res += 0x00800000000000000000000000000000; x = x * FIXED_1 / 0x808040155aabbbe9451521693554f733;} // add 1 / 2^8 z = y = x - FIXED_1; w = y * y / FIXED_1; res += z * (0x100000000000000000000000000000000 - y) / 0x100000000000000000000000000000000; z = z * w / FIXED_1; // add y^01 / 01 - y^02 / 02 res += z * (0x0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa - y) / 0x200000000000000000000000000000000; z = z * w / FIXED_1; // add y^03 / 03 - y^04 / 04 res += z * (0x099999999999999999999999999999999 - y) / 0x300000000000000000000000000000000; z = z * w / FIXED_1; // add y^05 / 05 - y^06 / 06 res += z * (0x092492492492492492492492492492492 - y) / 0x400000000000000000000000000000000; z = z * w / FIXED_1; // add y^07 / 07 - y^08 / 08 res += z * (0x08e38e38e38e38e38e38e38e38e38e38e - y) / 0x500000000000000000000000000000000; z = z * w / FIXED_1; // add y^09 / 09 - y^10 / 10 res += z * (0x08ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8b - y) / 0x600000000000000000000000000000000; z = z * w / FIXED_1; // add y^11 / 11 - y^12 / 12 res += z * (0x089d89d89d89d89d89d89d89d89d89d89 - y) / 0x700000000000000000000000000000000; z = z * w / FIXED_1; // add y^13 / 13 - y^14 / 14 res += z * (0x088888888888888888888888888888888 - y) / 0x800000000000000000000000000000000; // add y^15 / 15 - y^16 / 16 return res; } /** Return e ^ (x / FIXED_1) * FIXED_1 Input range: 0 <= x <= OPT_EXP_MAX_VAL - 1 Auto-generated via 'PrintFunctionOptimalExp.py' Detailed description: - Rewrite the input as a sum of binary exponents and a single residual r, as small as possible - The exponentiation of each binary exponent is given (pre-calculated) - The exponentiation of r is calculated via Taylor series for e^x, where x = r - The exponentiation of the input is calculated by multiplying the intermediate results above - For example: e^5.021692859 = e^(4 + 1 + 0.5 + 0.021692859) = e^4 * e^1 * e^0.5 * e^0.021692859 */ function optimalExp(uint256 x) internal pure returns (uint256) { uint256 res = 0; uint256 y; uint256 z; z = y = x % 0x10000000000000000000000000000000; // get the input modulo 2^(-3) z = z * y / FIXED_1; res += z * 0x10e1b3be415a0000; // add y^02 * (20! / 02!) z = z * y / FIXED_1; res += z * 0x05a0913f6b1e0000; // add y^03 * (20! / 03!) z = z * y / FIXED_1; res += z * 0x0168244fdac78000; // add y^04 * (20! / 04!) z = z * y / FIXED_1; res += z * 0x004807432bc18000; // add y^05 * (20! / 05!) z = z * y / FIXED_1; res += z * 0x000c0135dca04000; // add y^06 * (20! / 06!) z = z * y / FIXED_1; res += z * 0x0001b707b1cdc000; // add y^07 * (20! / 07!) z = z * y / FIXED_1; res += z * 0x000036e0f639b800; // add y^08 * (20! / 08!) z = z * y / FIXED_1; res += z * 0x00000618fee9f800; // add y^09 * (20! / 09!) z = z * y / FIXED_1; res += z * 0x0000009c197dcc00; // add y^10 * (20! / 10!) z = z * y / FIXED_1; res += z * 0x0000000e30dce400; // add y^11 * (20! / 11!) z = z * y / FIXED_1; res += z * 0x000000012ebd1300; // add y^12 * (20! / 12!) z = z * y / FIXED_1; res += z * 0x0000000017499f00; // add y^13 * (20! / 13!) z = z * y / FIXED_1; res += z * 0x0000000001a9d480; // add y^14 * (20! / 14!) z = z * y / FIXED_1; res += z * 0x00000000001c6380; // add y^15 * (20! / 15!) z = z * y / FIXED_1; res += z * 0x000000000001c638; // add y^16 * (20! / 16!) z = z * y / FIXED_1; res += z * 0x0000000000001ab8; // add y^17 * (20! / 17!) z = z * y / FIXED_1; res += z * 0x000000000000017c; // add y^18 * (20! / 18!) z = z * y / FIXED_1; res += z * 0x0000000000000014; // add y^19 * (20! / 19!) z = z * y / FIXED_1; res += z * 0x0000000000000001; // add y^20 * (20! / 20!) res = res / 0x21c3677c82b40000 + y + FIXED_1; // divide by 20! and then add y^1 / 1! + y^0 / 0! if ((x & 0x010000000000000000000000000000000) != 0) res = res * 0x1c3d6a24ed82218787d624d3e5eba95f9 / 0x18ebef9eac820ae8682b9793ac6d1e776; // multiply by e^2^(-3) if ((x & 0x020000000000000000000000000000000) != 0) res = res * 0x18ebef9eac820ae8682b9793ac6d1e778 / 0x1368b2fc6f9609fe7aceb46aa619baed4; // multiply by e^2^(-2) if ((x & 0x040000000000000000000000000000000) != 0) res = res * 0x1368b2fc6f9609fe7aceb46aa619baed5 / 0x0bc5ab1b16779be3575bd8f0520a9f21f; // multiply by e^2^(-1) if ((x & 0x080000000000000000000000000000000) != 0) res = res * 0x0bc5ab1b16779be3575bd8f0520a9f21e / 0x0454aaa8efe072e7f6ddbab84b40a55c9; // multiply by e^2^(+0) if ((x & 0x100000000000000000000000000000000) != 0) res = res * 0x0454aaa8efe072e7f6ddbab84b40a55c5 / 0x00960aadc109e7a3bf4578099615711ea; // multiply by e^2^(+1) if ((x & 0x200000000000000000000000000000000) != 0) res = res * 0x00960aadc109e7a3bf4578099615711d7 / 0x0002bf84208204f5977f9a8cf01fdce3d; // multiply by e^2^(+2) if ((x & 0x400000000000000000000000000000000) != 0) res = res * 0x0002bf84208204f5977f9a8cf01fdc307 / 0x0000003c6ab775dd0b95b4cbee7e65d11; // multiply by e^2^(+3) return res; } } // File: contracts/helpers/Admin.sol pragma solidity ^0.4.24; /** * @title Ownable * @dev The Ownable contract has an admin address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Admin { mapping (address => bool) public admins; event AdminshipRenounced(address indexed previousAdmin); event AdminshipTransferred( address indexed previousAdmin, address indexed newAdmin ); /** * @dev The Ownable constructor sets the original `admin` of the contract to the sender * account. */ constructor() public { admins[msg.sender] = true; } /** * @dev Throws if called by any account other than the admin. */ modifier onlyAdmin() { require(admins[msg.sender]); _; } function isAdmin(address _admin) public view returns(bool) { return admins[_admin]; } /** * @dev Allows the current admin to relinquish control of the contract. * @notice Renouncing to adminship will leave the contract without an admin. * It will not be possible to call the functions with the `onlyAdmin` * modifier anymore. */ function renounceAdminship(address _previousAdmin) public onlyAdmin { emit AdminshipRenounced(_previousAdmin); admins[_previousAdmin] = false; } /** * @dev Allows the current admin to transfer control of the contract to a newAdmin. * @param _newAdmin The address to transfer adminship to. */ function transferAdminship(address _newAdmin) public onlyAdmin { _transferAdminship(_newAdmin); } /** * @dev Transfers control of the contract to a newAdmin. * @param _newAdmin The address to transfer adminship to. */ function _transferAdminship(address _newAdmin) internal { require(_newAdmin != address(0)); emit AdminshipTransferred(msg.sender, _newAdmin); admins[_newAdmin] = true; } } // File: contracts/ClubTokenController.sol pragma solidity ^0.4.18; /** * The ClubTokenController is a replaceable endpoint for minting and unminting ClubToken.sol */ contract ClubTokenController is BancorFormula, Admin, Ownable { event Buy(address buyer, uint256 tokens, uint256 value, uint256 poolBalance, uint256 tokenSupply); event Sell(address seller, uint256 tokens, uint256 value, uint256 poolBalance, uint256 tokenSupply); bool public paused; address public clubToken; address public simpleCloversMarket; address public curationMarket; address public support; /* uint256 public poolBalance; */ uint256 public virtualSupply; uint256 public virtualBalance; uint32 public reserveRatio; // represented in ppm, 1-1000000 constructor(address _clubToken) public { clubToken = _clubToken; paused = true; } function () public payable { buy(msg.sender); } modifier notPaused() { require(!paused || owner == msg.sender || admins[tx.origin], "Contract must not be paused"); _; } function poolBalance() public constant returns(uint256) { return clubToken.balance; } /** * @dev gets the amount of tokens returned from spending Eth * @param buyValue The amount of Eth to be spent * @return A uint256 representing the amount of tokens gained in exchange for the Eth. */ function getBuy(uint256 buyValue) public constant returns(uint256) { return calculatePurchaseReturn( safeAdd(ClubToken(clubToken).totalSupply(), virtualSupply), safeAdd(poolBalance(), virtualBalance), reserveRatio, buyValue); } /** * @dev gets the amount of Eth returned from selling tokens * @param sellAmount The amount of tokens to be sold * @return A uint256 representing the amount of Eth gained in exchange for the tokens. */ function getSell(uint256 sellAmount) public constant returns(uint256) { return calculateSaleReturn( safeAdd(ClubToken(clubToken).totalSupply(), virtualSupply), safeAdd(poolBalance(), virtualBalance), reserveRatio, sellAmount); } function updatePaused(bool _paused) public onlyOwner { paused = _paused; } /** * @dev updates the Reserve Ratio variable * @param _reserveRatio The reserve ratio that determines the curve * @return A boolean representing whether or not the update was successful. */ function updateReserveRatio(uint32 _reserveRatio) public onlyOwner returns(bool){ reserveRatio = _reserveRatio; return true; } /** * @dev updates the Virtual Supply variable * @param _virtualSupply The virtual supply of tokens used for calculating buys and sells * @return A boolean representing whether or not the update was successful. */ function updateVirtualSupply(uint256 _virtualSupply) public onlyOwner returns(bool){ virtualSupply = _virtualSupply; return true; } /** * @dev updates the Virtual Balance variable * @param _virtualBalance The virtual balance of the contract used for calculating buys and sells * @return A boolean representing whether or not the update was successful. */ function updateVirtualBalance(uint256 _virtualBalance) public onlyOwner returns(bool){ virtualBalance = _virtualBalance; return true; } /** * @dev updates the poolBalance * @param _poolBalance The eth balance of ClubToken.sol * @return A boolean representing whether or not the update was successful. */ /* function updatePoolBalance(uint256 _poolBalance) public onlyOwner returns(bool){ poolBalance = _poolBalance; return true; } */ /** * @dev updates the SimpleCloversMarket address * @param _simpleCloversMarket The address of the simpleCloversMarket * @return A boolean representing whether or not the update was successful. */ function updateSimpleCloversMarket(address _simpleCloversMarket) public onlyOwner returns(bool){ simpleCloversMarket = _simpleCloversMarket; return true; } /** * @dev updates the CurationMarket address * @param _curationMarket The address of the curationMarket * @return A boolean representing whether or not the update was successful. */ function updateCurationMarket(address _curationMarket) public onlyOwner returns(bool){ curationMarket = _curationMarket; return true; } /** * @dev updates the Support address * @param _support The address of the Support * @return A boolean representing whether or not the update was successful. */ function updateSupport(address _support) public onlyOwner returns(bool){ support = _support; return true; } /** * @dev donate Donate Eth to the poolBalance without increasing the totalSupply */ function donate() public payable { require(msg.value > 0); /* poolBalance = safeAdd(poolBalance, msg.value); */ clubToken.transfer(msg.value); } function burn(address from, uint256 amount) public { require(msg.sender == simpleCloversMarket); ClubToken(clubToken).burn(from, amount); } function transferFrom(address from, address to, uint256 amount) public { require(msg.sender == simpleCloversMarket || msg.sender == curationMarket || msg.sender == support); ClubToken(clubToken).transferFrom(from, to, amount); } /** * @dev buy Buy ClubTokens with Eth * @param buyer The address that should receive the new tokens */ function buy(address buyer) public payable notPaused returns(bool) { require(msg.value > 0); uint256 tokens = getBuy(msg.value); require(tokens > 0); require(ClubToken(clubToken).mint(buyer, tokens)); /* poolBalance = safeAdd(poolBalance, msg.value); */ clubToken.transfer(msg.value); emit Buy(buyer, tokens, msg.value, poolBalance(), ClubToken(clubToken).totalSupply()); } /** * @dev sell Sell ClubTokens for Eth * @param sellAmount The amount of tokens to sell */ function sell(uint256 sellAmount) public notPaused returns(bool) { require(sellAmount > 0); require(ClubToken(clubToken).balanceOf(msg.sender) >= sellAmount); uint256 saleReturn = getSell(sellAmount); require(saleReturn > 0); require(saleReturn <= poolBalance()); require(saleReturn <= clubToken.balance); ClubToken(clubToken).burn(msg.sender, sellAmount); /* poolBalance = safeSub(poolBalance, saleReturn); */ ClubToken(clubToken).moveEth(msg.sender, saleReturn); emit Sell(msg.sender, sellAmount, saleReturn, poolBalance(), ClubToken(clubToken).totalSupply()); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_curationMarket","type":"address"}],"name":"updateCurationMarket","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_support","type":"address"}],"name":"updateSupport","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_paused","type":"bool"}],"name":"updatePaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveRatio","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"support","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_virtualSupply","type":"uint256"}],"name":"updateVirtualSupply","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_admin","type":"address"}],"name":"isAdmin","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"virtualSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_supply","type":"uint256"},{"name":"_connectorBalance","type":"uint256"},{"name":"_connectorWeight","type":"uint32"},{"name":"_depositAmount","type":"uint256"}],"name":"calculatePurchaseReturn","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"admins","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_supply","type":"uint256"},{"name":"_connectorBalance","type":"uint256"},{"name":"_connectorWeight","type":"uint32"},{"name":"_sellAmount","type":"uint256"}],"name":"calculateSaleReturn","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"},{"constant":false,"inputs":[{"name":"_newAdmin","type":"address"}],"name":"transferAdminship","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_fromConnectorBalance","type":"uint256"},{"name":"_fromConnectorWeight","type":"uint32"},{"name":"_toConnectorBalance","type":"uint256"},{"name":"_toConnectorWeight","type":"uint32"},{"name":"_amount","type":"uint256"}],"name":"calculateCrossConnectorReturn","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_previousAdmin","type":"address"}],"name":"renounceAdminship","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"curationMarket","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_reserveRatio","type":"uint32"}],"name":"updateReserveRatio","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"poolBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"simpleCloversMarket","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_virtualBalance","type":"uint256"}],"name":"updateVirtualBalance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_simpleCloversMarket","type":"address"}],"name":"updateSimpleCloversMarket","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"clubToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"virtualBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"sellAmount","type":"uint256"}],"name":"getSell","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"sellAmount","type":"uint256"}],"name":"sell","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"donate","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"buyer","type":"address"}],"name":"buy","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"buyValue","type":"uint256"}],"name":"getBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_clubToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"buyer","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"poolBalance","type":"uint256"},{"indexed":false,"name":"tokenSupply","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"seller","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"poolBalance","type":"uint256"},{"indexed":false,"name":"tokenSupply","type":"uint256"}],"name":"Sell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousAdmin","type":"address"}],"name":"AdminshipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousAdmin","type":"address"},{"indexed":true,"name":"newAdmin","type":"address"}],"name":"AdminshipTransferred","type":"event"}]
Contract Creation Code
60c0604052600360808190527f302e33000000000000000000000000000000000000000000000000000000000060a090815262000040916000919062000871565b503480156200004e57600080fd5b506040516020806200357583398101604090815290516001606060020a641c35fedd1502036021556001605e60020a646c3390ecc902036022556001606160020a640cf801476102036023556001605f60020a6431bdb23e1d02036024556001605b60020a6502fb1d8fe08302036025556001605a60020a6505b771955b3702036026556001605960020a650af67a93bb5102036027556001605860020a6515060c256cb302036028556001605860020a651428a2f98d7302036029556001605660020a654d51566397090203602a556001605560020a65944620b0e70f0203602b557011c592761c666fffffffffffffffffffff602c5570110a688680a757ffffffffffffffffffff602d55701056f1b5bedf77ffffffffffffffffffff602e55700faadceceeff8bffffffffffffffffffff602f55700f05dc6b27edadffffffffffffffffffff603055700e67a5a25da4107fffffffffffffffffff603155700dcff115b14eedffffffffffffffffffff603255700d3e7a392431239fffffffffffffffffff603355700cb2ff529eb71e4fffffffffffffffffff603455700c2d415c3db974afffffffffffffffffff603555700bad03e7d883f69bffffffffffffffffff603655700b320d03b2c343d5ffffffffffffffffff603755700abc25204e02828dffffffffffffffffff603855700a4b16f74ee4bb207fffffffffffffffff6039557009deaf736ac1f569ffffffffffffffffff603a55700976bd9952c7aa957fffffffffffffffff603b557009131271922eaa606fffffffffffffffff603c557008b380f3558668c46fffffffffffffffff603d55700857ddf0117efa215bffffffffffffffff603e556001608360020a03603f557007abbf6f6abb9d087fffffffffffffffff825570075af62cbac95f7dfa7fffffffffffffff60415570070d7fb7452e187ac13fffffffffffffff6042557006c3390ecc8af379295fffffffffffffff60435570067c00a3b07ffc01fd6fffffffffffffff604455700637b647c39cbb9d3d27ffffffffffffff6045557005f63b1fc104dbd39587ffffffffffffff6046557005b771955b36e12f7235ffffffffffffff60475570057b3d49dda84556d6f6ffffffffffffff60485570054183095b2c8ececf30ffffffffffffff60495570050a28be635ca2b888f77fffffffffffff604a557004d5156639708c9db33c3fffffffffffff604b557004a23105873875bd52dfdfffffffffffff604c55700471649d87199aa990756fffffffffffff604d557004429a21a029d4c1457cfbffffffffffff604e55700415bc6d6fb7dd71af2cb3ffffffffffff604f557003eab73b3bbfe282243ce1ffffffffffff6050557003c1771ac9fb6b4c18e229ffffffffffff605155700399e96897690418f785257fffffffffff605255700373fc456c53bb779bf0ea9fffffffffff60535570034f9e8e490c48e67e6ab8bfffffffffff60545570032cbfd4a7adc790560b3337ffffffffff60555570030b50570f6e5d2acca94613ffffffffff6056557002eb40f9f620fda6b56c2861ffffffffff6057557002cc8340ecb0d0f520a6af58ffffffffff6058557002af09481380a0a35cf1ba02ffffffffff605955700292c5bdd3b92ec810287b1b3fffffffff605a55700277abdcdab07d5a77ac6d6b9fffffffff605b5570025daf6654b1eaa55fd64df5efffffffff605c55700244c49c648baa98192dce88b7ffffffff605d5570022ce03cd5619a311b2471268bffffffff605e55700215f77c045fbe885654a44a0fffffffff605f556001608160020a036060557001eaefdbdaaee7421fc4d3ede5ffffffff6061557001d6bd8b2eb257df7e8ca57b09bfffffff6062557001c35fedd14b861eb0443f7f133fffffff6063557001b0ce43b322bcde4a56e8ada5afffffff60645570019f0028ec1fff007f5a195a39dfffffff60655570018ded91f0e72ee74f49b15ba527ffffff60665570017d8ec7f04136f4e5615fd41a63ffffff60675570016ddc6556cdb84bdc8d12d22e6fffffff60685570015ecf52776a1155b5bd8395814f7fffff60695570015060c256cb23b3b3cc3754cf40ffffff606a557001428a2f98d728ae223ddab715be3fffff606b5570013545598e5c23276ccf0ede68034fffff606c557001288c4161ce1d6f54b7f61081194fffff606d5570011c592761c666aa641d5a01a40f17ffff606e55700110a688680a7530515f3e6e6cfdcdffff606f557001056f1b5bedf75c6bcb2ce8aed428ffff6070556ffaadceceeff8a0890f3875f008277fff6071556ff05dc6b27edad306388a600f6ba0bfff6072556fe67a5a25da41063de1495d5b18cdbfff6073556fdcff115b14eedde6fc3aa5353f2e4fff6074556fd3e7a3924312399f9aae2e0f868f8fff6075556fcb2ff529eb71e41582cccd5a1ee26fff6076556fc2d415c3db974ab32a51840c0b67edff6077556fbad03e7d883f69ad5b0a186184e06bff6078556fb320d03b2c343d4829abd6075f0cc5ff6079556fabc25204e02828d73c6e80bcdb1a95bf607a556fa4b16f74ee4bb2040a1ec6c15fbbf2df607b556f9deaf736ac1f569deb1b5ae3f36c130f607c556f976bd9952c7aa957f5937d790ef65037607d556f9131271922eaa6064b73a22d0bd4f2bf607e556f8b380f3558668c46c91c49a2f8e967b9607f556f857ddf0117efa215952912839f6473e66080553360008181526081602052929092208054600160ff199091161790556082805460838054600160a060020a03909416600160a060020a031994851617905560a060020a60ff02199216909217167401000000000000000000000000000000000000000017905562000916565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620008b457805160ff1916838001178555620008e4565b82800160010185558215620008e4579182015b82811115620008e4578251825591602001919060010190620008c7565b50620008f2929150620008f6565b5090565b6200091391905b80821115620008f25760008155600101620008fd565b90565b612c4f80620009266000396000f3006080604052600436106101aa5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416627173c881146101b657806305598b3e146101f857806308cdc2a8146102265780630c7d5cd814610242578063119f87471461027057806314cdfccf146102ae57806323b872dd146102c657806324d7806c146102fd578063277b2f971461032b57806329a00e7c14610352578063429b62e51461037957806349f9b0f7146103a757806354fd4d50146103ce5780635be7cc16146104585780635c975abb1461048657806365098bb31461049b5780636fce9d88146104c9578063715018a6146104f757806372420f061461050c578063783f0e40146105215780638da5cb5b1461053f57806396365d4414610554578063975e4b2a146105695780639dc29fac1461057e578063b77d0df8146105af578063d010ed70146105c7578063d76bbd52146105f5578063dcd2af171461060a578063dde4a70b1461061f578063e4849b3214610637578063ed88c68e1461064f578063f088d54714610657578063f2fde38b14610678578063f32a547c146106a6575b6101b3336106be565b50005b3480156101c257600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff600435166109cf565b604080519115158252519081900360200190f35b34801561020457600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff60043516610a40565b34801561023257600080fd5b506102406004351515610ab1565b005b34801561024e57600080fd5b50610257610b1f565b6040805163ffffffff9092168252519081900360200190f35b34801561027c57600080fd5b50610285610b2b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156102ba57600080fd5b506101e4600435610b47565b3480156102d257600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff60043581169060243516604435610b77565b34801561030957600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff60043516610c96565b34801561033757600080fd5b50610340610cc1565b60408051918252519081900360200190f35b34801561035e57600080fd5b5061034060043560243563ffffffff60443516606435610cc7565b34801561038557600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff60043516610d95565b3480156103b357600080fd5b5061034060043560243563ffffffff60443516606435610daa565b3480156103da57600080fd5b506103e3610e9b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561041d578181015183820152602001610405565b50505050905090810190601f16801561044a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561046457600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff60043516610f47565b34801561049257600080fd5b506101e4610f71565b3480156104a757600080fd5b5061034060043563ffffffff6024358116906044359060643516608435610f92565b3480156104d557600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff6004351661108f565b34801561050357600080fd5b5061024061113a565b34801561051857600080fd5b506102856111cd565b34801561052d57600080fd5b506101e463ffffffff600435166111e9565b34801561054b57600080fd5b5061028561124a565b34801561056057600080fd5b50610340611266565b34801561057557600080fd5b50610285611283565b34801561058a57600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff6004351660243561129f565b3480156105bb57600080fd5b506101e460043561135a565b3480156105d357600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff6004351661138a565b34801561060157600080fd5b506102856113fb565b34801561061657600080fd5b50610340611417565b34801561062b57600080fd5b5061034060043561141d565b34801561064357600080fd5b506101e4600435611507565b61024061182a565b6101e473ffffffffffffffffffffffffffffffffffffffff600435166106be565b34801561068457600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff6004351661187d565b3480156106b257600080fd5b506103406004356118aa565b608254600090819074010000000000000000000000000000000000000000900460ff161580610704575060825473ffffffffffffffffffffffffffffffffffffffff1633145b8061071e57503260009081526081602052604090205460ff165b151561078b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e7472616374206d757374206e6f74206265207061757365640000000000604482015290519081900360640190fd5b6000341161079857600080fd5b6107a1346118aa565b9050600081116107b057600080fd5b608354604080517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052915191909216916340c10f199160448083019260209291908290030181600087803b15801561082c57600080fd5b505af1158015610840573d6000803e3d6000fd5b505050506040513d602081101561085657600080fd5b5051151561086357600080fd5b60835460405173ffffffffffffffffffffffffffffffffffffffff909116903480156108fc02916000818181858888f193505050501580156108a9573d6000803e3d6000fd5b507f064fb1933e186be0b289a87e98518dc18cc9856ecbc9f1353d1a138ddf733ec58382346108d6611266565b608360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561095c57600080fd5b505af1158015610970573d6000803e3d6000fd5b505050506040513d602081101561098657600080fd5b50516040805173ffffffffffffffffffffffffffffffffffffffff909616865260208601949094528484019290925260608401526080830152519081900360a00190a150919050565b60825460009073ffffffffffffffffffffffffffffffffffffffff1633146109f657600080fd5b506085805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790556001919050565b60825460009073ffffffffffffffffffffffffffffffffffffffff163314610a6757600080fd5b506086805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790556001919050565b60825473ffffffffffffffffffffffffffffffffffffffff163314610ad557600080fd5b6082805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60895463ffffffff1681565b60865473ffffffffffffffffffffffffffffffffffffffff1681565b60825460009073ffffffffffffffffffffffffffffffffffffffff163314610b6e57600080fd5b50608755600190565b60845473ffffffffffffffffffffffffffffffffffffffff16331480610bb4575060855473ffffffffffffffffffffffffffffffffffffffff1633145b80610bd6575060865473ffffffffffffffffffffffffffffffffffffffff1633145b1515610be157600080fd5b608354604080517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152858116602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b158015610c6557600080fd5b505af1158015610c79573d6000803e3d6000fd5b505050506040513d6020811015610c8f57600080fd5b5050505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526081602052604090205460ff1690565b60875481565b60008060008060008089118015610cde5750600088115b8015610cf0575060008763ffffffff16115b8015610d055750620f424063ffffffff881611155b1515610d1057600080fd5b851515610d205760009450610d89565b63ffffffff8716620f42401415610d4d5787610d3c8a88611952565b811515610d4557fe5b049450610d89565b610d57868961197d565b9150610d68828989620f424061198c565b909450925060ff8316610d7b8a86611952565b9060020a9004905088810394505b50505050949350505050565b60816020526000908152604090205460ff1681565b60008060008060008060008a118015610dc35750600089115b8015610dd5575060008863ffffffff16115b8015610dea5750620f424063ffffffff891611155b8015610df65750898711155b1515610e0157600080fd5b861515610e115760009550610e8e565b89871415610e2157889550610e8e565b63ffffffff8816620f42401415610e4e5789610e3d8a89611952565b811515610e4657fe5b049550610e8e565b868a039250610e628a84620f42408b61198c565b9095509350610e718986611952565b91505060ff831660020a880284818303811515610e8a57fe5b0495505b5050505050949350505050565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610f3f5780601f10610f1457610100808354040283529160200191610f3f565b820191906000526020600020905b815481529060010190602001808311610f2257829003601f168201915b505050505081565b3360009081526081602052604090205460ff161515610f6557600080fd5b610f6e81611a82565b50565b60825474010000000000000000000000000000000000000000900460ff1681565b60008060008060008060008b118015610fb1575060008a63ffffffff16115b8015610fc65750620f424063ffffffff8b1611155b8015610fd25750600089115b8015610fe4575060008863ffffffff16115b8015610ff95750620f424063ffffffff891611155b151561100457600080fd5b8763ffffffff168a63ffffffff16141561103d576110228b8861197d565b61102c8a89611952565b81151561103557fe5b049550611081565b6110478b8861197d565b9250611055838c8c8b61198c565b90955093506110648986611952565b91505060ff831660020a88028481830381151561107d57fe5b0495505b505050505095945050505050565b3360009081526081602052604090205460ff1615156110ad57600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216907f1a2dbeec1a0714342f862f53c671a69a6cb438bf5aa44fc01a7ccff6fbde85ef90600090a273ffffffffffffffffffffffffffffffffffffffff16600090815260816020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b60825473ffffffffffffffffffffffffffffffffffffffff16331461115e57600080fd5b60825460405173ffffffffffffffffffffffffffffffffffffffff909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2608280547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60855473ffffffffffffffffffffffffffffffffffffffff1681565b60825460009073ffffffffffffffffffffffffffffffffffffffff16331461121057600080fd5b506089805463ffffffff83167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000009091161790556001919050565b60825473ffffffffffffffffffffffffffffffffffffffff1681565b60835473ffffffffffffffffffffffffffffffffffffffff163190565b60845473ffffffffffffffffffffffffffffffffffffffff1681565b60845473ffffffffffffffffffffffffffffffffffffffff1633146112c357600080fd5b608354604080517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905291519190921691639dc29fac91604480830192600092919082900301818387803b15801561133e57600080fd5b505af1158015611352573d6000803e3d6000fd5b505050505050565b60825460009073ffffffffffffffffffffffffffffffffffffffff16331461138157600080fd5b50608855600190565b60825460009073ffffffffffffffffffffffffffffffffffffffff1633146113b157600080fd5b506084805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790556001919050565b60835473ffffffffffffffffffffffffffffffffffffffff1681565b60885481565b60006115016114df608360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156114ab57600080fd5b505af11580156114bf573d6000803e3d6000fd5b505050506040513d60208110156114d557600080fd5b505160875461197d565b6114f26114ea611266565b60885461197d565b60895463ffffffff1685610daa565b92915050565b608254600090819074010000000000000000000000000000000000000000900460ff16158061154d575060825473ffffffffffffffffffffffffffffffffffffffff1633145b8061156757503260009081526081602052604090205460ff165b15156115d457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e7472616374206d757374206e6f74206265207061757365640000000000604482015290519081900360640190fd5b600083116115e157600080fd5b608354604080517f70a082310000000000000000000000000000000000000000000000000000000081523360048201529051859273ffffffffffffffffffffffffffffffffffffffff16916370a082319160248083019260209291908290030181600087803b15801561165357600080fd5b505af1158015611667573d6000803e3d6000fd5b505050506040513d602081101561167d57600080fd5b5051101561168a57600080fd5b6116938361141d565b9050600081116116a257600080fd5b6116aa611266565b8111156116b657600080fd5b60835473ffffffffffffffffffffffffffffffffffffffff16318111156116dc57600080fd5b608354604080517f9dc29fac00000000000000000000000000000000000000000000000000000000815233600482015260248101869052905173ffffffffffffffffffffffffffffffffffffffff90921691639dc29fac9160448082019260009290919082900301818387803b15801561175557600080fd5b505af1158015611769573d6000803e3d6000fd5b5050608354604080517f1cc1472d00000000000000000000000000000000000000000000000000000000815233600482015260248101869052905173ffffffffffffffffffffffffffffffffffffffff9092169350631cc1472d925060448082019260009290919082900301818387803b1580156117e657600080fd5b505af11580156117fa573d6000803e3d6000fd5b505050507f483f8aec0fd892ac72ad1ba8d0e9c9e73db59c12d263fd71de480b5b3deeae3c3384836108d6611266565b6000341161183757600080fd5b60835460405173ffffffffffffffffffffffffffffffffffffffff909116903480156108fc02916000818181858888f19350505050158015610f6e573d6000803e3d6000fd5b60825473ffffffffffffffffffffffffffffffffffffffff1633146118a157600080fd5b610f6e81611b36565b6000611501611938608360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156114ab57600080fd5b6119436114ea611266565b60895463ffffffff1685610cc7565b600082820283158061196e575082848281151561196b57fe5b04145b151561197657fe5b9392505050565b60008282018381101561197657fe5b600080808080807002000000000000000000000000000000008a106119b057600080fd5b886f800000000000000000000000000000008b028115156119cd57fe5b04925070015bf0a8b1457695355fb8ac404e7a79e38310156119f9576119f283611be6565b9350611a05565b611a02836120da565b93505b8663ffffffff168863ffffffff168502811515611a1e57fe5b049150700800000000000000000000000000000000821015611a4e57611a4382612219565b607f95509550611a75565b611a57826126fe565b9050611a6f60ff607f8390031660020a830482612790565b81955095505b5050505094509492505050565b73ffffffffffffffffffffffffffffffffffffffff81161515611aa457600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff82169033907f2931ebb3d190545dcf6801c37aa686b74f2e1000e753d0fac6e471a2aa5a621390600090a373ffffffffffffffffffffffffffffffffffffffff16600090815260816020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b73ffffffffffffffffffffffffffffffffffffffff81161515611b5857600080fd5b60825460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3608280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000808080806fd3094c70f034de4b96ff7d5b6f99fcd88610611c41576f4000000000000000000000000000000093909301926fd3094c70f034de4b96ff7d5b6f99fcd86f8000000000000000000000000000000087020495505b6fa45af1e1f40c333b3de1db4dd55f29a78610611c96576f2000000000000000000000000000000093909301926fa45af1e1f40c333b3de1db4dd55f29a76f8000000000000000000000000000000087020495505b6f910b022db7ae67ce76b441c27035c6a18610611ceb576f1000000000000000000000000000000093909301926f910b022db7ae67ce76b441c27035c6a16f8000000000000000000000000000000087020495505b6f88415abbe9a76bead8d00cf112e4d4a88610611d40576f0800000000000000000000000000000093909301926f88415abbe9a76bead8d00cf112e4d4a86f8000000000000000000000000000000087020495505b6f84102b00893f64c705e841d5d4064bd38610611d95576f0400000000000000000000000000000093909301926f84102b00893f64c705e841d5d4064bd36f8000000000000000000000000000000087020495505b6f8204055aaef1c8bd5c3259f4822735a28610611dea576f0200000000000000000000000000000093909301926f8204055aaef1c8bd5c3259f4822735a26f8000000000000000000000000000000087020495505b6f810100ab00222d861931c15e39b44e998610611e3f576f0100000000000000000000000000000093909301926f810100ab00222d861931c15e39b44e996f8000000000000000000000000000000087020495505b6f808040155aabbbe9451521693554f7338610611e93576e80000000000000000000000000000093909301926f808040155aabbbe9451521693554f7336f8000000000000000000000000000000087020495505b7fffffffffffffffffffffffffffffffff80000000000000000000000000000000860192508291506f8000000000000000000000000000000082800204905070010000000000000000000000000000000083810383020493909301926f800000000000000000000000000000008282020491507002000000000000000000000000000000006faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa84900383020493909301926f800000000000000000000000000000008282020491507003000000000000000000000000000000006f9999999999999999999999999999999984900383020493909301926f800000000000000000000000000000008282020491507004000000000000000000000000000000006f9249249249249249249249249249249284900383020493909301926f800000000000000000000000000000008282020491507005000000000000000000000000000000006f8e38e38e38e38e38e38e38e38e38e38e84900383020493909301926f800000000000000000000000000000008282020491507006000000000000000000000000000000006f8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8b84900383020493909301926f800000000000000000000000000000008282020491507007000000000000000000000000000000006f89d89d89d89d89d89d89d89d89d89d8984900383020493909301926f800000000000000000000000000000008282020491507008000000000000000000000000000000006f888888888888888888888888888888888490038302049390930195945050505050565b60008080807001000000000000000000000000000000008510612136576121126f800000000000000000000000000000008604612bb3565b60ff8116600281900a909604956f8000000000000000000000000000000002935091505b6f800000000000000000000000000000008511156121e95750607f5b60008160ff1611156121e9576f8000000000000000000000000000000085800204945070010000000000000000000000000000000085106121c2576002948590049460ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff830116900a92909201915b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01612152565b6f05b9de1d10bf4103d647b0955897ba806f03f80fe03f80fe03f80fe03f80fe03f884020493505b505050919050565b6000670168244fdac780006f800000000000000000000000000000006f0fffffffffffffffffffffffffffffff84168080028290048082028390048083028490049485026710e1b3be415a00009092026705a0913f6b1e000091909102010192909181830204905080664807432bc1800002830192506f800000000000000000000000000000008282028115156122ac57fe5b04905080660c0135dca0400002830192506f800000000000000000000000000000008282028115156122da57fe5b049050806601b707b1cdc00002830192506f8000000000000000000000000000000082820281151561230857fe5b049050806536e0f639b80002830192506f8000000000000000000000000000000082820281151561233557fe5b04905080650618fee9f80002830192506f8000000000000000000000000000000082820281151561236257fe5b04905080649c197dcc0002830192506f8000000000000000000000000000000082820281151561238e57fe5b04905080640e30dce40002830192506f800000000000000000000000000000008282028115156123ba57fe5b0490508064012ebd130002830192506f800000000000000000000000000000008282028115156123e657fe5b049050806317499f0002830192506f8000000000000000000000000000000082820281151561241157fe5b049050806301a9d48002830192506f8000000000000000000000000000000082820281151561243c57fe5b04905080621c638002830192506f8000000000000000000000000000000082820281151561246657fe5b049050806201c63802830192506f8000000000000000000000000000000082820281151561249057fe5b04905080611ab802830192506f800000000000000000000000000000008282028115156124b957fe5b0490508061017c02830192506f800000000000000000000000000000008282028115156124e257fe5b04905080601402830192506f8000000000000000000000000000000082820281151561250a57fe5b6721c3677c82b400009190049384010482016f80000000000000000000000000000000019290506f100000000000000000000000000000008516156125735770018ebef9eac820ae8682b9793ac6d1e7767001c3d6a24ed82218787d624d3e5eba95f984020492505b6f200000000000000000000000000000008516156125b5577001368b2fc6f9609fe7aceb46aa619baed470018ebef9eac820ae8682b9793ac6d1e77884020492505b6f400000000000000000000000000000008516156125f6576fbc5ab1b16779be3575bd8f0520a9f21f7001368b2fc6f9609fe7aceb46aa619baed584020492505b6f80000000000000000000000000000000851615612636576f454aaa8efe072e7f6ddbab84b40a55c96fbc5ab1b16779be3575bd8f0520a9f21e84020492505b700100000000000000000000000000000000851615612677576f0960aadc109e7a3bf4578099615711ea6f454aaa8efe072e7f6ddbab84b40a55c584020492505b7002000000000000000000000000000000008516156126b7576e2bf84208204f5977f9a8cf01fdce3d6f0960aadc109e7a3bf4578099615711d784020492505b7004000000000000000000000000000000008516156126f5576d03c6ab775dd0b95b4cbee7e65d116e2bf84208204f5977f9a8cf01fdc30784020492505b50909392505050565b60006020607f825b8160ff168360010160ff16101561274b57600260ff8484011604905084600160ff83166080811061273357fe5b01541061274257809250612746565b8091505b612706565b84600160ff84166080811061275c57fe5b01541061276b57819350612211565b84600160ff85166080811061277c57fe5b01541061278b57829350612211565b600080fd5b6000806000849150600090508360ff168583029060020a90049150816f03442c4e6074a82f1797f72ac000000002810190508360ff168583029060020a90049150816f0116b96f757c380fb287fd0e4000000002810190508360ff168583029060020a90049150816e45ae5bdd5f0e03eca1ff439000000002810190508360ff168583029060020a90049150816e0defabf91302cd95b9ffda5000000002810190508360ff168583029060020a90049150816e02529ca9832b22439efff9b800000002810190508360ff168583029060020a90049150816d54f1cf12bd04e516b6da8800000002810190508360ff168583029060020a90049150816d0a9e39e257a09ca2d6db5100000002810190508360ff168583029060020a90049150816d012e066e7b839fa050c30900000002810190508360ff168583029060020a90049150816c1e33d7d926c329a1ad1a80000002810190508360ff168583029060020a90049150816c02bee513bdb4a6b19b5f80000002810190508360ff168583029060020a90049150816b3a9316fa79b88eccf2a0000002810190508360ff168583029060020a90049150816b048177ebe1fa81237520000002810190508360ff168583029060020a90049150816a5263fe90242dcbacf0000002810190508360ff168583029060020a90049150816a057e22099c030d9410000002810190508360ff168583029060020a90049150816957e22099c030d941000002810190508360ff168583029060020a900491508169052b6b5456997631000002810190508360ff168583029060020a9004915081684985f67696bf74800002810190508360ff168583029060020a90049150816803dea12ea99e49800002810190508360ff168583029060020a90049150816731880f2214b6e00002810190508360ff168583029060020a900491508167025bcff56eb3600002810190508360ff168583029060020a9004915081661b722e10ab100002810190508360ff168583029060020a90049150816601317c7007700002810190508360ff168583029060020a9004915081650cba84aafa0002810190508360ff168583029060020a90049150816482573a0a0002810190508360ff168583029060020a90049150816405035ad90002810190508360ff168583029060020a9004915081632f881b0002810190508360ff168583029060020a90049150816301b2934002810190508360ff168583029060020a9004915081620efc4002810190508360ff168583029060020a9004915081617fe002810190508360ff168583029060020a900491508161042002810190508360ff168583029060020a9004915081602102810190508360ff168583029060020a9004915081600102810190508360ff1660019060020a02856f0688589cc0e9505e2f2fee558000000083811515612ba757fe5b04010195945050505050565b60008080610100841015612be2575b6001841115612bdd5760029093049260019190910190612bc2565b612c1c565b5060805b60008160ff161115612c1c5760ff811660020a8410612c0f5760ff811660020a90930492908117905b600260ff90911604612be6565b50929150505600a165627a7a72305820bd1ddb0bb7571c77bb7e6aabf02fe3d5a41afbf721f5eb39a749accf42641bed00290000000000000000000000001a94656a6245379bc0d9c64c402197528edb2bd1
Deployed Bytecode
0x6080604052600436106101aa5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416627173c881146101b657806305598b3e146101f857806308cdc2a8146102265780630c7d5cd814610242578063119f87471461027057806314cdfccf146102ae57806323b872dd146102c657806324d7806c146102fd578063277b2f971461032b57806329a00e7c14610352578063429b62e51461037957806349f9b0f7146103a757806354fd4d50146103ce5780635be7cc16146104585780635c975abb1461048657806365098bb31461049b5780636fce9d88146104c9578063715018a6146104f757806372420f061461050c578063783f0e40146105215780638da5cb5b1461053f57806396365d4414610554578063975e4b2a146105695780639dc29fac1461057e578063b77d0df8146105af578063d010ed70146105c7578063d76bbd52146105f5578063dcd2af171461060a578063dde4a70b1461061f578063e4849b3214610637578063ed88c68e1461064f578063f088d54714610657578063f2fde38b14610678578063f32a547c146106a6575b6101b3336106be565b50005b3480156101c257600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff600435166109cf565b604080519115158252519081900360200190f35b34801561020457600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff60043516610a40565b34801561023257600080fd5b506102406004351515610ab1565b005b34801561024e57600080fd5b50610257610b1f565b6040805163ffffffff9092168252519081900360200190f35b34801561027c57600080fd5b50610285610b2b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156102ba57600080fd5b506101e4600435610b47565b3480156102d257600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff60043581169060243516604435610b77565b34801561030957600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff60043516610c96565b34801561033757600080fd5b50610340610cc1565b60408051918252519081900360200190f35b34801561035e57600080fd5b5061034060043560243563ffffffff60443516606435610cc7565b34801561038557600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff60043516610d95565b3480156103b357600080fd5b5061034060043560243563ffffffff60443516606435610daa565b3480156103da57600080fd5b506103e3610e9b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561041d578181015183820152602001610405565b50505050905090810190601f16801561044a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561046457600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff60043516610f47565b34801561049257600080fd5b506101e4610f71565b3480156104a757600080fd5b5061034060043563ffffffff6024358116906044359060643516608435610f92565b3480156104d557600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff6004351661108f565b34801561050357600080fd5b5061024061113a565b34801561051857600080fd5b506102856111cd565b34801561052d57600080fd5b506101e463ffffffff600435166111e9565b34801561054b57600080fd5b5061028561124a565b34801561056057600080fd5b50610340611266565b34801561057557600080fd5b50610285611283565b34801561058a57600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff6004351660243561129f565b3480156105bb57600080fd5b506101e460043561135a565b3480156105d357600080fd5b506101e473ffffffffffffffffffffffffffffffffffffffff6004351661138a565b34801561060157600080fd5b506102856113fb565b34801561061657600080fd5b50610340611417565b34801561062b57600080fd5b5061034060043561141d565b34801561064357600080fd5b506101e4600435611507565b61024061182a565b6101e473ffffffffffffffffffffffffffffffffffffffff600435166106be565b34801561068457600080fd5b5061024073ffffffffffffffffffffffffffffffffffffffff6004351661187d565b3480156106b257600080fd5b506103406004356118aa565b608254600090819074010000000000000000000000000000000000000000900460ff161580610704575060825473ffffffffffffffffffffffffffffffffffffffff1633145b8061071e57503260009081526081602052604090205460ff165b151561078b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e7472616374206d757374206e6f74206265207061757365640000000000604482015290519081900360640190fd5b6000341161079857600080fd5b6107a1346118aa565b9050600081116107b057600080fd5b608354604080517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201859052915191909216916340c10f199160448083019260209291908290030181600087803b15801561082c57600080fd5b505af1158015610840573d6000803e3d6000fd5b505050506040513d602081101561085657600080fd5b5051151561086357600080fd5b60835460405173ffffffffffffffffffffffffffffffffffffffff909116903480156108fc02916000818181858888f193505050501580156108a9573d6000803e3d6000fd5b507f064fb1933e186be0b289a87e98518dc18cc9856ecbc9f1353d1a138ddf733ec58382346108d6611266565b608360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561095c57600080fd5b505af1158015610970573d6000803e3d6000fd5b505050506040513d602081101561098657600080fd5b50516040805173ffffffffffffffffffffffffffffffffffffffff909616865260208601949094528484019290925260608401526080830152519081900360a00190a150919050565b60825460009073ffffffffffffffffffffffffffffffffffffffff1633146109f657600080fd5b506085805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790556001919050565b60825460009073ffffffffffffffffffffffffffffffffffffffff163314610a6757600080fd5b506086805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790556001919050565b60825473ffffffffffffffffffffffffffffffffffffffff163314610ad557600080fd5b6082805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60895463ffffffff1681565b60865473ffffffffffffffffffffffffffffffffffffffff1681565b60825460009073ffffffffffffffffffffffffffffffffffffffff163314610b6e57600080fd5b50608755600190565b60845473ffffffffffffffffffffffffffffffffffffffff16331480610bb4575060855473ffffffffffffffffffffffffffffffffffffffff1633145b80610bd6575060865473ffffffffffffffffffffffffffffffffffffffff1633145b1515610be157600080fd5b608354604080517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8681166004830152858116602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b158015610c6557600080fd5b505af1158015610c79573d6000803e3d6000fd5b505050506040513d6020811015610c8f57600080fd5b5050505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526081602052604090205460ff1690565b60875481565b60008060008060008089118015610cde5750600088115b8015610cf0575060008763ffffffff16115b8015610d055750620f424063ffffffff881611155b1515610d1057600080fd5b851515610d205760009450610d89565b63ffffffff8716620f42401415610d4d5787610d3c8a88611952565b811515610d4557fe5b049450610d89565b610d57868961197d565b9150610d68828989620f424061198c565b909450925060ff8316610d7b8a86611952565b9060020a9004905088810394505b50505050949350505050565b60816020526000908152604090205460ff1681565b60008060008060008060008a118015610dc35750600089115b8015610dd5575060008863ffffffff16115b8015610dea5750620f424063ffffffff891611155b8015610df65750898711155b1515610e0157600080fd5b861515610e115760009550610e8e565b89871415610e2157889550610e8e565b63ffffffff8816620f42401415610e4e5789610e3d8a89611952565b811515610e4657fe5b049550610e8e565b868a039250610e628a84620f42408b61198c565b9095509350610e718986611952565b91505060ff831660020a880284818303811515610e8a57fe5b0495505b5050505050949350505050565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610f3f5780601f10610f1457610100808354040283529160200191610f3f565b820191906000526020600020905b815481529060010190602001808311610f2257829003601f168201915b505050505081565b3360009081526081602052604090205460ff161515610f6557600080fd5b610f6e81611a82565b50565b60825474010000000000000000000000000000000000000000900460ff1681565b60008060008060008060008b118015610fb1575060008a63ffffffff16115b8015610fc65750620f424063ffffffff8b1611155b8015610fd25750600089115b8015610fe4575060008863ffffffff16115b8015610ff95750620f424063ffffffff891611155b151561100457600080fd5b8763ffffffff168a63ffffffff16141561103d576110228b8861197d565b61102c8a89611952565b81151561103557fe5b049550611081565b6110478b8861197d565b9250611055838c8c8b61198c565b90955093506110648986611952565b91505060ff831660020a88028481830381151561107d57fe5b0495505b505050505095945050505050565b3360009081526081602052604090205460ff1615156110ad57600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff8216907f1a2dbeec1a0714342f862f53c671a69a6cb438bf5aa44fc01a7ccff6fbde85ef90600090a273ffffffffffffffffffffffffffffffffffffffff16600090815260816020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b60825473ffffffffffffffffffffffffffffffffffffffff16331461115e57600080fd5b60825460405173ffffffffffffffffffffffffffffffffffffffff909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2608280547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60855473ffffffffffffffffffffffffffffffffffffffff1681565b60825460009073ffffffffffffffffffffffffffffffffffffffff16331461121057600080fd5b506089805463ffffffff83167fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000009091161790556001919050565b60825473ffffffffffffffffffffffffffffffffffffffff1681565b60835473ffffffffffffffffffffffffffffffffffffffff163190565b60845473ffffffffffffffffffffffffffffffffffffffff1681565b60845473ffffffffffffffffffffffffffffffffffffffff1633146112c357600080fd5b608354604080517f9dc29fac00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301526024820185905291519190921691639dc29fac91604480830192600092919082900301818387803b15801561133e57600080fd5b505af1158015611352573d6000803e3d6000fd5b505050505050565b60825460009073ffffffffffffffffffffffffffffffffffffffff16331461138157600080fd5b50608855600190565b60825460009073ffffffffffffffffffffffffffffffffffffffff1633146113b157600080fd5b506084805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790556001919050565b60835473ffffffffffffffffffffffffffffffffffffffff1681565b60885481565b60006115016114df608360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156114ab57600080fd5b505af11580156114bf573d6000803e3d6000fd5b505050506040513d60208110156114d557600080fd5b505160875461197d565b6114f26114ea611266565b60885461197d565b60895463ffffffff1685610daa565b92915050565b608254600090819074010000000000000000000000000000000000000000900460ff16158061154d575060825473ffffffffffffffffffffffffffffffffffffffff1633145b8061156757503260009081526081602052604090205460ff165b15156115d457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f436f6e7472616374206d757374206e6f74206265207061757365640000000000604482015290519081900360640190fd5b600083116115e157600080fd5b608354604080517f70a082310000000000000000000000000000000000000000000000000000000081523360048201529051859273ffffffffffffffffffffffffffffffffffffffff16916370a082319160248083019260209291908290030181600087803b15801561165357600080fd5b505af1158015611667573d6000803e3d6000fd5b505050506040513d602081101561167d57600080fd5b5051101561168a57600080fd5b6116938361141d565b9050600081116116a257600080fd5b6116aa611266565b8111156116b657600080fd5b60835473ffffffffffffffffffffffffffffffffffffffff16318111156116dc57600080fd5b608354604080517f9dc29fac00000000000000000000000000000000000000000000000000000000815233600482015260248101869052905173ffffffffffffffffffffffffffffffffffffffff90921691639dc29fac9160448082019260009290919082900301818387803b15801561175557600080fd5b505af1158015611769573d6000803e3d6000fd5b5050608354604080517f1cc1472d00000000000000000000000000000000000000000000000000000000815233600482015260248101869052905173ffffffffffffffffffffffffffffffffffffffff9092169350631cc1472d925060448082019260009290919082900301818387803b1580156117e657600080fd5b505af11580156117fa573d6000803e3d6000fd5b505050507f483f8aec0fd892ac72ad1ba8d0e9c9e73db59c12d263fd71de480b5b3deeae3c3384836108d6611266565b6000341161183757600080fd5b60835460405173ffffffffffffffffffffffffffffffffffffffff909116903480156108fc02916000818181858888f19350505050158015610f6e573d6000803e3d6000fd5b60825473ffffffffffffffffffffffffffffffffffffffff1633146118a157600080fd5b610f6e81611b36565b6000611501611938608360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156114ab57600080fd5b6119436114ea611266565b60895463ffffffff1685610cc7565b600082820283158061196e575082848281151561196b57fe5b04145b151561197657fe5b9392505050565b60008282018381101561197657fe5b600080808080807002000000000000000000000000000000008a106119b057600080fd5b886f800000000000000000000000000000008b028115156119cd57fe5b04925070015bf0a8b1457695355fb8ac404e7a79e38310156119f9576119f283611be6565b9350611a05565b611a02836120da565b93505b8663ffffffff168863ffffffff168502811515611a1e57fe5b049150700800000000000000000000000000000000821015611a4e57611a4382612219565b607f95509550611a75565b611a57826126fe565b9050611a6f60ff607f8390031660020a830482612790565b81955095505b5050505094509492505050565b73ffffffffffffffffffffffffffffffffffffffff81161515611aa457600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff82169033907f2931ebb3d190545dcf6801c37aa686b74f2e1000e753d0fac6e471a2aa5a621390600090a373ffffffffffffffffffffffffffffffffffffffff16600090815260816020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b73ffffffffffffffffffffffffffffffffffffffff81161515611b5857600080fd5b60825460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3608280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000808080806fd3094c70f034de4b96ff7d5b6f99fcd88610611c41576f4000000000000000000000000000000093909301926fd3094c70f034de4b96ff7d5b6f99fcd86f8000000000000000000000000000000087020495505b6fa45af1e1f40c333b3de1db4dd55f29a78610611c96576f2000000000000000000000000000000093909301926fa45af1e1f40c333b3de1db4dd55f29a76f8000000000000000000000000000000087020495505b6f910b022db7ae67ce76b441c27035c6a18610611ceb576f1000000000000000000000000000000093909301926f910b022db7ae67ce76b441c27035c6a16f8000000000000000000000000000000087020495505b6f88415abbe9a76bead8d00cf112e4d4a88610611d40576f0800000000000000000000000000000093909301926f88415abbe9a76bead8d00cf112e4d4a86f8000000000000000000000000000000087020495505b6f84102b00893f64c705e841d5d4064bd38610611d95576f0400000000000000000000000000000093909301926f84102b00893f64c705e841d5d4064bd36f8000000000000000000000000000000087020495505b6f8204055aaef1c8bd5c3259f4822735a28610611dea576f0200000000000000000000000000000093909301926f8204055aaef1c8bd5c3259f4822735a26f8000000000000000000000000000000087020495505b6f810100ab00222d861931c15e39b44e998610611e3f576f0100000000000000000000000000000093909301926f810100ab00222d861931c15e39b44e996f8000000000000000000000000000000087020495505b6f808040155aabbbe9451521693554f7338610611e93576e80000000000000000000000000000093909301926f808040155aabbbe9451521693554f7336f8000000000000000000000000000000087020495505b7fffffffffffffffffffffffffffffffff80000000000000000000000000000000860192508291506f8000000000000000000000000000000082800204905070010000000000000000000000000000000083810383020493909301926f800000000000000000000000000000008282020491507002000000000000000000000000000000006faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa84900383020493909301926f800000000000000000000000000000008282020491507003000000000000000000000000000000006f9999999999999999999999999999999984900383020493909301926f800000000000000000000000000000008282020491507004000000000000000000000000000000006f9249249249249249249249249249249284900383020493909301926f800000000000000000000000000000008282020491507005000000000000000000000000000000006f8e38e38e38e38e38e38e38e38e38e38e84900383020493909301926f800000000000000000000000000000008282020491507006000000000000000000000000000000006f8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8b84900383020493909301926f800000000000000000000000000000008282020491507007000000000000000000000000000000006f89d89d89d89d89d89d89d89d89d89d8984900383020493909301926f800000000000000000000000000000008282020491507008000000000000000000000000000000006f888888888888888888888888888888888490038302049390930195945050505050565b60008080807001000000000000000000000000000000008510612136576121126f800000000000000000000000000000008604612bb3565b60ff8116600281900a909604956f8000000000000000000000000000000002935091505b6f800000000000000000000000000000008511156121e95750607f5b60008160ff1611156121e9576f8000000000000000000000000000000085800204945070010000000000000000000000000000000085106121c2576002948590049460ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff830116900a92909201915b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01612152565b6f05b9de1d10bf4103d647b0955897ba806f03f80fe03f80fe03f80fe03f80fe03f884020493505b505050919050565b6000670168244fdac780006f800000000000000000000000000000006f0fffffffffffffffffffffffffffffff84168080028290048082028390048083028490049485026710e1b3be415a00009092026705a0913f6b1e000091909102010192909181830204905080664807432bc1800002830192506f800000000000000000000000000000008282028115156122ac57fe5b04905080660c0135dca0400002830192506f800000000000000000000000000000008282028115156122da57fe5b049050806601b707b1cdc00002830192506f8000000000000000000000000000000082820281151561230857fe5b049050806536e0f639b80002830192506f8000000000000000000000000000000082820281151561233557fe5b04905080650618fee9f80002830192506f8000000000000000000000000000000082820281151561236257fe5b04905080649c197dcc0002830192506f8000000000000000000000000000000082820281151561238e57fe5b04905080640e30dce40002830192506f800000000000000000000000000000008282028115156123ba57fe5b0490508064012ebd130002830192506f800000000000000000000000000000008282028115156123e657fe5b049050806317499f0002830192506f8000000000000000000000000000000082820281151561241157fe5b049050806301a9d48002830192506f8000000000000000000000000000000082820281151561243c57fe5b04905080621c638002830192506f8000000000000000000000000000000082820281151561246657fe5b049050806201c63802830192506f8000000000000000000000000000000082820281151561249057fe5b04905080611ab802830192506f800000000000000000000000000000008282028115156124b957fe5b0490508061017c02830192506f800000000000000000000000000000008282028115156124e257fe5b04905080601402830192506f8000000000000000000000000000000082820281151561250a57fe5b6721c3677c82b400009190049384010482016f80000000000000000000000000000000019290506f100000000000000000000000000000008516156125735770018ebef9eac820ae8682b9793ac6d1e7767001c3d6a24ed82218787d624d3e5eba95f984020492505b6f200000000000000000000000000000008516156125b5577001368b2fc6f9609fe7aceb46aa619baed470018ebef9eac820ae8682b9793ac6d1e77884020492505b6f400000000000000000000000000000008516156125f6576fbc5ab1b16779be3575bd8f0520a9f21f7001368b2fc6f9609fe7aceb46aa619baed584020492505b6f80000000000000000000000000000000851615612636576f454aaa8efe072e7f6ddbab84b40a55c96fbc5ab1b16779be3575bd8f0520a9f21e84020492505b700100000000000000000000000000000000851615612677576f0960aadc109e7a3bf4578099615711ea6f454aaa8efe072e7f6ddbab84b40a55c584020492505b7002000000000000000000000000000000008516156126b7576e2bf84208204f5977f9a8cf01fdce3d6f0960aadc109e7a3bf4578099615711d784020492505b7004000000000000000000000000000000008516156126f5576d03c6ab775dd0b95b4cbee7e65d116e2bf84208204f5977f9a8cf01fdc30784020492505b50909392505050565b60006020607f825b8160ff168360010160ff16101561274b57600260ff8484011604905084600160ff83166080811061273357fe5b01541061274257809250612746565b8091505b612706565b84600160ff84166080811061275c57fe5b01541061276b57819350612211565b84600160ff85166080811061277c57fe5b01541061278b57829350612211565b600080fd5b6000806000849150600090508360ff168583029060020a90049150816f03442c4e6074a82f1797f72ac000000002810190508360ff168583029060020a90049150816f0116b96f757c380fb287fd0e4000000002810190508360ff168583029060020a90049150816e45ae5bdd5f0e03eca1ff439000000002810190508360ff168583029060020a90049150816e0defabf91302cd95b9ffda5000000002810190508360ff168583029060020a90049150816e02529ca9832b22439efff9b800000002810190508360ff168583029060020a90049150816d54f1cf12bd04e516b6da8800000002810190508360ff168583029060020a90049150816d0a9e39e257a09ca2d6db5100000002810190508360ff168583029060020a90049150816d012e066e7b839fa050c30900000002810190508360ff168583029060020a90049150816c1e33d7d926c329a1ad1a80000002810190508360ff168583029060020a90049150816c02bee513bdb4a6b19b5f80000002810190508360ff168583029060020a90049150816b3a9316fa79b88eccf2a0000002810190508360ff168583029060020a90049150816b048177ebe1fa81237520000002810190508360ff168583029060020a90049150816a5263fe90242dcbacf0000002810190508360ff168583029060020a90049150816a057e22099c030d9410000002810190508360ff168583029060020a90049150816957e22099c030d941000002810190508360ff168583029060020a900491508169052b6b5456997631000002810190508360ff168583029060020a9004915081684985f67696bf74800002810190508360ff168583029060020a90049150816803dea12ea99e49800002810190508360ff168583029060020a90049150816731880f2214b6e00002810190508360ff168583029060020a900491508167025bcff56eb3600002810190508360ff168583029060020a9004915081661b722e10ab100002810190508360ff168583029060020a90049150816601317c7007700002810190508360ff168583029060020a9004915081650cba84aafa0002810190508360ff168583029060020a90049150816482573a0a0002810190508360ff168583029060020a90049150816405035ad90002810190508360ff168583029060020a9004915081632f881b0002810190508360ff168583029060020a90049150816301b2934002810190508360ff168583029060020a9004915081620efc4002810190508360ff168583029060020a9004915081617fe002810190508360ff168583029060020a900491508161042002810190508360ff168583029060020a9004915081602102810190508360ff168583029060020a9004915081600102810190508360ff1660019060020a02856f0688589cc0e9505e2f2fee558000000083811515612ba757fe5b04010195945050505050565b60008080610100841015612be2575b6001841115612bdd5760029093049260019190910190612bc2565b612c1c565b5060805b60008160ff161115612c1c5760ff811660020a8410612c0f5760ff811660020a90930492908117905b600260ff90911604612be6565b50929150505600a165627a7a72305820bd1ddb0bb7571c77bb7e6aabf02fe3d5a41afbf721f5eb39a749accf42641bed0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001a94656a6245379bc0d9c64c402197528edb2bd1
-----Decoded View---------------
Arg [0] : _clubToken (address): 0x1A94656A6245379bC0d9c64C402197528EdB2bD1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001a94656a6245379bc0d9c64c402197528edb2bd1
Deployed Bytecode Sourcemap
53741:6935:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54514:15;54518:10;54514:3;:15::i;:::-;;53741:6935;58117:158;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;58117:158:0;;;;;;;;;;;;;;;;;;;;;;;;;58470:130;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;58470:130:0;;;;;;;55865:88;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;55865:88:0;;;;;;;;;54296:26;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54296:26:0;;;;;;;;;;;;;;;;;;;;;;;54155:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54155:22:0;;;;;;;;;;;;;;;;;;;;;;;56573:154;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;56573:154:0;;;;;59063:251;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;59063:251:0;;;;;;;;;;;;;;52425:93;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;52425:93:0;;;;;;;54225:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54225:28:0;;;;;;;;;;;;;;;;;;;;30435:888;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;30435:888:0;;;;;;;;;;;;;51871:39;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;51871:39:0;;;;;;;31970:1065;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;31970:1065:0;;;;;;;;;;;;;20139:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20139:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;20139:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53115:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;53115:105:0;;;;;;;54022:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54022:18:0;;;;33905:1033;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;33905:1033:0;;;;;;;;;;;;;;;;;;;52790:157;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;52790:157:0;;;;;;;9821:114;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9821:114:0;;;;54119:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54119:29:0;;;;56177:149;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;56177:149:0;;;;;;;9026:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9026:20:0;;;;54696:99;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54696:99:0;;;;54078:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54078:34:0;;;;58893:162;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;58893:162:0;;;;;;;;;56983:158;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;56983:158:0;;;;;57723:178;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;57723:178:0;;;;;;;54047:24;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54047:24:0;;;;54260:29;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54260:29:0;;;;55563:294;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;55563:294:0;;;;;60009:659;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;60009:659:0;;;;;58709:176;;;;59446:441;;;;;;;;10103:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;10103:105:0;;;;;;;55029:293;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;55029:293:0;;;;;59446:441;54586:6;;59507:4;;;;54586:6;;;;;54585:7;;:30;;-1:-1:-1;54596:5:0;;:19;:5;54605:10;54596:19;54585:30;:51;;;-1:-1:-1;54626:9:0;54619:17;;;;:6;:17;;;;;;;;54585:51;54577:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59544:1;59532:9;:13;59524:22;;;;;;59574:17;59581:9;59574:6;:17::i;:::-;59557:34;-1:-1:-1;59619:1:0;59610:10;;59602:19;;;;;;59650:9;;59640:40;;;;;;59650:9;59640:40;;;;;;;;;;;;;;;59650:9;;;;;59640:25;;:40;;;;;;;;;;;;;;59650:9;;59640:40;;;5:2:-1;;;;30:1;27;20:12;5:2;59640:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59640:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59640:40:0;59632:49;;;;;;;;59754:9;;:29;;:9;;;;;59773;59754:29;;;;;:9;:29;:9;:29;59773:9;59754;:29;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59754:29:0;59799:80;59803:5;59810:6;59818:9;59829:13;:11;:13::i;:::-;59854:9;;;;;;;;;;;59844:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;59844:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59844:34:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59844:34:0;59799:80;;;;;;;;;59844:34;59799:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59446:441;;;;:::o;58117:158::-;9529:5;;58197:4;;9529:5;;9515:10;:19;9507:28;;;;;;-1:-1:-1;58213:14:0;:32;;;;;;;;;;;;;58117:158;;;:::o;58470:130::-;9529:5;;58536:4;;9529:5;;9515:10;:19;9507:28;;;;;;-1:-1:-1;58552:7:0;:18;;;;;;;;;;;;;58470:130;;;:::o;55865:88::-;9529:5;;;;9515:10;:19;9507:28;;;;;;55929:6;:16;;;;;;;;;;;;;;;;;55865:88::o;54296:26::-;;;;;;:::o;54155:22::-;;;;;;:::o;56573:154::-;9529:5;;56651:4;;9529:5;;9515:10;:19;9507:28;;;;;;-1:-1:-1;56667:13:0;:30;56715:4;;56573:154::o;59063:251::-;59167:19;;;;59153:10;:33;;:65;;-1:-1:-1;59204:14:0;;;;59190:10;:28;59153:65;:90;;;-1:-1:-1;59236:7:0;;;;59222:10;:21;59153:90;59145:99;;;;;;;;59265:9;;59255:51;;;;;;59265:9;59255:51;;;;;;;;;;;;;;;;;;;;;;59265:9;;;;;59255:33;;:51;;;;;;;;;;;;;;59265:9;;59255:51;;;5:2:-1;;;;30:1;27;20:12;5:2;59255:51:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59255:51:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;59063:251:0:o;52425:93::-;52498:14;;52478:4;52498:14;;;:6;:14;;;;;;;;;52425:93::o;54225:28::-;;;;:::o;30435:888::-;30582:7;31017:14;31042:15;31068:13;31231:12;30647:1;30637:7;:11;:36;;;;;30672:1;30652:17;:21;30637:36;:60;;;;;30696:1;30677:16;:20;;;30637:60;:94;;;;-1:-1:-1;20253:7:0;30701:30;;;;;30637:94;30629:103;;;;;;;;30795:19;;30791:46;;;30836:1;30829:8;;;;30791:46;30900:30;;;20253:7;30900:30;30896:108;;;30987:17;30952:32;30960:7;30969:14;30952:7;:32::i;:::-;:52;;;;;;;;30945:59;;;;30896:108;31084:42;31092:14;31108:17;31084:7;:42::i;:::-;31068:58;;31159:61;31165:5;31172:17;31191:16;20253:7;31159:5;:61::i;:::-;31137:83;;-1:-1:-1;31137:83:0;-1:-1:-1;31246:37:0;;;:24;31254:7;31137:83;31246:7;:24::i;:::-;:37;;;;;31231:52;;31308:7;31301:4;:14;31294:21;;30435:888;;;;;;;;;;;:::o;51871:39::-;;;;;;;;;;;;;;;:::o;31970:1065::-;32110:7;32695:14;32720:15;32746:13;32878;32939;32175:1;32165:7;:11;:36;;;;;32200:1;32180:17;:21;32165:36;:60;;;;;32224:1;32205:16;:20;;;32165:60;:94;;;;-1:-1:-1;20253:7:0;32229:30;;;;;32165:94;:120;;;;;32278:7;32263:11;:22;;32165:120;32157:129;;;;;;;;32346:16;;32342:43;;;32384:1;32377:8;;;;32342:43;32472:7;32457:11;:22;32453:65;;;32501:17;32494:24;;;;32453:65;32581:30;;;20253:7;32581:30;32577:105;;;32675:7;32633:39;32641:17;32660:11;32633:7;:39::i;:::-;:49;;;;;;;;32626:56;;;;32577:105;32772:11;32762:7;:21;32746:37;;32816:51;32822:7;32831:5;20253:7;32850:16;32816:5;:51::i;:::-;32794:73;;-1:-1:-1;32794:73:0;-1:-1:-1;32894:34:0;32902:17;32794:73;32894:7;:34::i;:::-;32878:50;-1:-1:-1;;32955:30:0;;;;;;;33021:6;33004:13;;;33003:24;;;;;;;;32996:31;;31970:1065;;;;;;;;;;;;:::o;20139:29::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53115:105::-;52393:10;52386:18;;;;:6;:18;;;;;;;;52378:27;;;;;;;;53185:29;53204:9;53185:18;:29::i;:::-;53115:105;:::o;54022:18::-;;;;;;;;;:::o;33905:1033::-;34098:7;34550:14;34575:15;34601:13;34777;34840;34177:1;34153:21;:25;:53;;;;;34205:1;34182:20;:24;;;34153:53;:91;;;;-1:-1:-1;20253:7:0;34210:34;;;;;34153:91;:118;;;;;34270:1;34248:19;:23;34153:118;:144;;;;;34296:1;34275:18;:22;;;34153:144;:180;;;;-1:-1:-1;20253:7:0;34301:32;;;;;34153:180;34145:189;;;;;;;;34418:18;34394:42;;:20;:42;;;34390:147;;;34498:39;34506:21;34529:7;34498;:39::i;:::-;34458:37;34466:19;34487:7;34458;:37::i;:::-;:79;;;;;;;;34451:86;;;;34390:147;34617:39;34625:21;34648:7;34617;:39::i;:::-;34601:55;;34689:77;34695:5;34702:21;34725:20;34747:18;34689:5;:77::i;:::-;34667:99;;-1:-1:-1;34667:99:0;-1:-1:-1;34793:36:0;34801:19;34667:99;34793:7;:36::i;:::-;34777:52;-1:-1:-1;;34856:32:0;;;;;;;34924:6;34907:13;;;34906:24;;;;;;;;34899:31;;33905:1033;;;;;;;;;;;;;:::o;52790:157::-;52393:10;52386:18;;;;:6;:18;;;;;;;;52378:27;;;;;;;;52870:34;;;;;;;;;;;52911:22;;52936:5;52911:22;;;:6;:22;;;;;:30;;;;;;52790:157::o;9821:114::-;9529:5;;;;9515:10;:19;9507:28;;;;;;9898:5;;9879:25;;9898:5;;;;;9879:25;;9898:5;;9879:25;9911:5;:18;;;;;;9821:114::o;54119:29::-;;;;;;:::o;56177:149::-;9529:5;;56252:4;;9529:5;;9515:10;:19;9507:28;;;;;;-1:-1:-1;56268:12:0;:28;;;;;;;;;;;;;56177:149;;;:::o;9026:20::-;;;;;;:::o;54696:99::-;54770:9;;;;:17;54696:99;:::o;54078:34::-;;;;;;:::o;58893:162::-;58977:19;;;;58963:10;:33;58955:42;;;;;;59018:9;;59008:39;;;;;;59018:9;59008:39;;;;;;;;;;;;;;;59018:9;;;;;59008:25;;:39;;;;;59018:9;;59008:39;;;;;;;59018:9;;59008:39;;;5:2:-1;;;;30:1;27;20:12;5:2;59008:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59008:39:0;;;;58893:162;;:::o;56983:158::-;9529:5;;57063:4;;9529:5;;9515:10;:19;9507:28;;;;;;-1:-1:-1;57079:14:0;:32;57129:4;;56983:158::o;57723:178::-;9529:5;;57813:4;;9529:5;;9515:10;:19;9507:28;;;;;;-1:-1:-1;57829:19:0;:42;;;;;;;;;;;;;57723:178;;;:::o;54047:24::-;;;;;;:::o;54260:29::-;;;;:::o;55563:294::-;55624:7;55651:198;55685:58;55703:9;;;;;;;;;;;55693:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55693:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;55693:34:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55693:34:0;55729:13;;55685:7;:58::i;:::-;55758:38;55766:13;:11;:13::i;:::-;55781:14;;55758:7;:38::i;:::-;55811:12;;;;55838:10;55651:19;:198::i;:::-;55644:205;55563:294;-1:-1:-1;;55563:294:0:o;60009:659::-;54586:6;;60068:4;;;;54586:6;;;;;54585:7;;:30;;-1:-1:-1;54596:5:0;;:19;:5;54605:10;54596:19;54585:30;:51;;;-1:-1:-1;54626:9:0;54619:17;;;;:6;:17;;;;;;;;54585:51;54577:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60106:1;60093:14;;60085:23;;;;;;60137:9;;60127:42;;;;;;60158:10;60127:42;;;;;;60173:10;;60137:9;;;60127:30;;:42;;;;;;;;;;;;;;60137:9;;60127:42;;;5:2:-1;;;;30:1;27;20:12;5:2;60127:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60127:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60127:42:0;:56;;60119:65;;;;;;60216:19;60224:10;60216:7;:19::i;:::-;60195:40;-1:-1:-1;60267:1:0;60254:14;;60246:23;;;;;;60302:13;:11;:13::i;:::-;60288:27;;;60280:36;;;;;;60349:9;;;;:17;60335:31;;;60327:40;;;;;;60388:9;;60378:49;;;;;;60404:10;60378:49;;;;;;;;;;;;60388:9;;;;;60378:25;;:49;;;;;60388:9;;60378:49;;;;;;;;60388:9;;60378:49;;;5:2:-1;;;;30:1;27;20:12;5:2;60378:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;60511:9:0;;60501:52;;;;;;60530:10;60501:52;;;;;;;;;;;;60511:9;;;;;-1:-1:-1;60501:28:0;;-1:-1:-1;60501:52:0;;;;;60511:9;;60501:52;;;;;;;;60511:9;;60501:52;;;5:2:-1;;;;30:1;27;20:12;5:2;60501:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60501:52:0;;;;60569:91;60574:10;60586;60598;60610:13;:11;:13::i;58709:176::-;58773:1;58761:9;:13;58753:22;;;;;;58848:9;;:29;;:9;;;;;58867;58848:29;;;;;:9;:29;:9;:29;58867:9;58848;:29;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;10103:105:0;9529:5;;;;9515:10;:19;9507:28;;;;;;10173:29;10192:9;10173:18;:29::i;55029:293::-;55087:7;55114:200;55152:58;55170:9;;;;;;;;;;;55160:32;;;:34;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;55152:58:0;55225:38;55233:13;:11;:13::i;55225:38::-;55278:12;;;;55305:8;55114:23;:200::i;19797:172::-;19861:7;19893;;;19918;;;:23;;;19939:2;19933;19929:1;:6;;;;;;;;:12;19918:23;19911:31;;;;;;19960:1;19797:172;-1:-1:-1;;;19797:172:0:o;19071:156::-;19135:7;19167;;;19192;;;;19185:15;;;36372:791;36470:7;;;;;;20628:35;36505:16;;36497:25;;;;;;36595:6;20474:35;36576:6;:16;:25;;;;;;;;36561:40;;21063:35;36616:4;:22;36612:149;;;36665:16;36676:4;36665:10;:16::i;:::-;36655:26;;36612:149;;;36733:16;36744:4;36733:10;:16::i;:::-;36723:26;;36612:149;36817:5;36799:23;;36809:5;36799:15;;:7;:15;:23;;;;;;;;36773:49;;21148:35;36837:15;:33;36833:323;;;36895:27;36906:15;36895:10;:27::i;:::-;20354:3;36887:51;;;;;;36833:323;36998:42;37024:15;36998:25;:42::i;:::-;36980:60;-1:-1:-1;37063:69:0;37074:46;20354:3;37094:25;;;37074:46;;;;;36980:60;37063:10;:69::i;:::-;37134:9;37055:89;;;;36833:323;36372:791;;;;;;;;;;;:::o;53361:187::-;53432:23;;;;;53424:32;;;;;;53468:43;;;;;;53489:10;;53468:43;;;;;53518:17;;;;;;:6;:17;;;;;:24;;;;53538:4;53518:24;;;53361:187::o;10349:175::-;10420:23;;;;;10412:32;;;;;;10477:5;;10456:38;;;;;;;10477:5;;10456:38;;10477:5;;10456:38;10501:5;:17;;;;;;;;;;;;;;;10349:175::o;44875:2798::-;44929:7;;;;;45048:34;45043:39;;45039:143;;45092:34;45085:41;;;;;45146:34;20474:35;45132:11;;:48;45128:52;;45039:143;45216:34;45211:39;;45207:143;;45260:34;45253:41;;;;;45314:34;20474:35;45300:11;;:48;45296:52;;45207:143;45384:34;45379:39;;45375:143;;45428:34;45421:41;;;;;45482:34;20474:35;45468:11;;:48;45464:52;;45375:143;45552:34;45547:39;;45543:143;;45596:34;45589:41;;;;;45650:34;20474:35;45636:11;;:48;45632:52;;45543:143;45720:34;45715:39;;45711:143;;45764:34;45757:41;;;;;45818:34;20474:35;45804:11;;:48;45800:52;;45711:143;45888:34;45883:39;;45879:143;;45932:34;45925:41;;;;;45986:34;20474:35;45972:11;;:48;45968:52;;45879:143;46056:34;46051:39;;46047:143;;46100:34;46093:41;;;;;46154:34;20474:35;46140:11;;:48;46136:52;;46047:143;46224:34;46219:39;;46215:143;;46268:34;46261:41;;;;;46322:34;20474:35;46308:11;;:48;46304:52;;46215:143;46393:11;;;;-1:-1:-1;46393:11:0;;-1:-1:-1;20474:35:0;46419:5;;;:15;;-1:-1:-1;46500:35:0;46457:39;;;46452:45;;:83;46445:90;;;;;20474:35;46541:5;;;:15;;-1:-1:-1;46651:35:0;46608;:39;;;46603:45;;:83;46596:90;;;;;20474:35;46692:5;;;:15;;-1:-1:-1;46802:35:0;46759;:39;;;46754:45;;:83;46747:90;;;;;20474:35;46843:5;;;:15;;-1:-1:-1;46953:35:0;46910;:39;;;46905:45;;:83;46898:90;;;;;20474:35;46994:5;;;:15;;-1:-1:-1;47104:35:0;47061;:39;;;47056:45;;:83;47049:90;;;;;20474:35;47145:5;;;:15;;-1:-1:-1;47255:35:0;47212;:39;;;47207:45;;:83;47200:90;;;;;20474:35;47296:5;;;:15;;-1:-1:-1;47406:35:0;47363;:39;;;47358:45;;:83;47351:90;;;;;20474:35;47447:5;;;:15;;-1:-1:-1;47557:35:0;47514;:39;;;47509:45;;:83;47502:90;;;;;44875:2798;-1:-1:-1;;;;;44875:2798:0:o;37334:823::-;37388:7;;;;20551:35;37532:12;;37528:156;;37575:22;20474:35;37585:1;:11;37575:9;:22::i;:::-;37612:11;;;;;;;;;;;20474:35;37657:15;;-1:-1:-1;37561:36:0;-1:-1:-1;37528:156:0;20474:35;37792:1;:11;37788:305;;;-1:-1:-1;20354:3:0;37820:262;37854:1;37850;:5;;;37820:262;;;20474:35;37886:5;;;37885:17;;-1:-1:-1;20551:35:0;37942:12;;37938:129;;37979:7;;;;;;38033:14;38041:5;;;38033:14;;;38026:21;;;;;37938:129;37857:3;;37820:262;;;20871:33;20788;38112:19;;:37;38105:44;;37334:823;;;;;;;:::o;48363:3216::-;48417:7;48801:18;20474:35;48515:38;;;48599:5;;;:15;;;48686:5;;;:15;;;48773:5;;;:15;;;48797:22;;;48627:18;48623:22;;;48714:18;48710:22;;;;48703:29;48790;;48515:38;;48860:5;;;:15;48856:19;;48884:1;48888:18;48884:22;48877:29;;;;20474:35;48951:1;48947;:5;:15;;;;;;;;48943:19;;48971:1;48975:18;48971:22;48964:29;;;;20474:35;49038:1;49034;:5;:15;;;;;;;;49030:19;;49058:1;49062:18;49058:22;49051:29;;;;20474:35;49125:1;49121;:5;:15;;;;;;;;49117:19;;49145:1;49149:18;49145:22;49138:29;;;;20474:35;49212:1;49208;:5;:15;;;;;;;;49204:19;;49232:1;49236:18;49232:22;49225:29;;;;20474:35;49299:1;49295;:5;:15;;;;;;;;49291:19;;49319:1;49323:18;49319:22;49312:29;;;;20474:35;49386:1;49382;:5;:15;;;;;;;;49378:19;;49406:1;49410:18;49406:22;49399:29;;;;20474:35;49473:1;49469;:5;:15;;;;;;;;49465:19;;49493:1;49497:18;49493:22;49486:29;;;;20474:35;49560:1;49556;:5;:15;;;;;;;;49552:19;;49580:1;49584:18;49580:22;49573:29;;;;20474:35;49647:1;49643;:5;:15;;;;;;;;49639:19;;49667:1;49671:18;49667:22;49660:29;;;;20474:35;49734:1;49730;:5;:15;;;;;;;;49726:19;;49754:1;49758:18;49754:22;49747:29;;;;20474:35;49821:1;49817;:5;:15;;;;;;;;49813:19;;49841:1;49845:18;49841:22;49834:29;;;;20474:35;49908:1;49904;:5;:15;;;;;;;;49900:19;;49928:1;49932:18;49928:22;49921:29;;;;20474:35;49995:1;49991;:5;:15;;;;;;;;49987:19;;50015:1;50019:18;50015:22;50008:29;;;;20474:35;50082:1;50078;:5;:15;;;;;;;;50074:19;;50102:1;50106:18;50102:22;50095:29;;;;20474:35;50169:1;50165;:5;:15;;;;;;;50260:18;50165:15;;;50182:29;;;50254:24;:28;;20474:35;50254:38;;50165:15;-1:-1:-1;50364:35:0;50360:39;;50359:46;50355:137;;50457:35;50419;50413:41;;:79;50407:85;;50355:137;50536:35;50532:39;;50531:46;50527:137;;50629:35;50591;50585:41;;:79;50579:85;;50527:137;50708:35;50704:39;;50703:46;50699:137;;50801:35;50763;50757:41;;:79;50751:85;;50699:137;50880:35;50876:39;;50875:46;50871:137;;50973:35;50935;50929:41;;:79;50923:85;;50871:137;51052:35;51048:39;;51047:46;51043:137;;51145:35;51107;51101:41;;:79;51095:85;;51043:137;51224:35;51220:39;;51219:46;51215:137;;51317:35;51279;51273:41;;:79;51267:85;;51215:137;51396:35;51392:39;;51391:46;51387:137;;51489:35;51451;51445:41;;:79;51439:85;;51387:137;-1:-1:-1;51568:3:0;;48363:3216;-1:-1:-1;;;48363:3216:0:o;39189:520::-;39259:5;20306:2;20354:3;39259:5;39349:185;39365:2;39356:11;;:2;39361:1;39356:6;:11;;;39349:185;;;39408:1;39396:13;39397:7;;;39396:13;;;-1:-1:-1;39448:2:0;39428:11;:16;;;;;;;;;;;;:22;39424:98;;39474:3;39469:8;;39424:98;;;39519:3;39514:8;;39424:98;39349:185;;;39569:2;39550:11;:15;;;;;;;;;;;;:21;39546:49;;39593:2;39586:9;;;;39546:49;39629:2;39610:11;:15;;;;;;;;;;;;:21;39606:49;;39653:2;39646:9;;;;39606:49;39668:14;;;40276:3864;40349:7;40369:10;40395:11;40382:2;40369:15;;40409:1;40395:15;;40441:10;40428:23;;40434:2;40429;:7;40428:23;;;;;40423:28;;40460:2;40465:33;40460:38;40453:45;;;;40553:10;40540:23;;40546:2;40541;:7;40540:23;;;;;40535:28;;40572:2;40577:33;40572:38;40565:45;;;;40665:10;40652:23;;40658:2;40653;:7;40652:23;;;;;40647:28;;40684:2;40689:33;40684:38;40677:45;;;;40777:10;40764:23;;40770:2;40765;:7;40764:23;;;;;40759:28;;40796:2;40801:33;40796:38;40789:45;;;;40889:10;40876:23;;40882:2;40877;:7;40876:23;;;;;40871:28;;40908:2;40913:33;40908:38;40901:45;;;;41001:10;40988:23;;40994:2;40989;:7;40988:23;;;;;40983:28;;41020:2;41025:33;41020:38;41013:45;;;;41113:10;41100:23;;41106:2;41101;:7;41100:23;;;;;41095:28;;41132:2;41137:33;41132:38;41125:45;;;;41225:10;41212:23;;41218:2;41213;:7;41212:23;;;;;41207:28;;41244:2;41249:33;41244:38;41237:45;;;;41337:10;41324:23;;41330:2;41325;:7;41324:23;;;;;41319:28;;41356:2;41361:33;41356:38;41349:45;;;;41449:10;41436:23;;41442:2;41437;:7;41436:23;;;;;41431:28;;41468:2;41473:33;41468:38;41461:45;;;;41561:10;41548:23;;41554:2;41549;:7;41548:23;;;;;41543:28;;41580:2;41585:33;41580:38;41573:45;;;;41673:10;41660:23;;41666:2;41661;:7;41660:23;;;;;41655:28;;41692:2;41697:33;41692:38;41685:45;;;;41785:10;41772:23;;41778:2;41773;:7;41772:23;;;;;41767:28;;41804:2;41809:33;41804:38;41797:45;;;;41897:10;41884:23;;41890:2;41885;:7;41884:23;;;;;41879:28;;41916:2;41921:33;41916:38;41909:45;;;;42009:10;41996:23;;42002:2;41997;:7;41996:23;;;;;41991:28;;42028:2;42033:33;42028:38;42021:45;;;;42121:10;42108:23;;42114:2;42109;:7;42108:23;;;;;42103:28;;42140:2;42145:33;42140:38;42133:45;;;;42233:10;42220:23;;42226:2;42221;:7;42220:23;;;;;42215:28;;42252:2;42257:33;42252:38;42245:45;;;;42345:10;42332:23;;42338:2;42333;:7;42332:23;;;;;42327:28;;42364:2;42369:33;42364:38;42357:45;;;;42457:10;42444:23;;42450:2;42445;:7;42444:23;;;;;42439:28;;42476:2;42481:33;42476:38;42469:45;;;;42569:10;42556:23;;42562:2;42557;:7;42556:23;;;;;42551:28;;42588:2;42593:33;42588:38;42581:45;;;;42681:10;42668:23;;42674:2;42669;:7;42668:23;;;;;42663:28;;42700:2;42705:33;42700:38;42693:45;;;;42793:10;42780:23;;42786:2;42781;:7;42780:23;;;;;42775:28;;42812:2;42817:33;42812:38;42805:45;;;;42905:10;42892:23;;42898:2;42893;:7;42892:23;;;;;42887:28;;42924:2;42929:33;42924:38;42917:45;;;;43017:10;43004:23;;43010:2;43005;:7;43004:23;;;;;42999:28;;43036:2;43041:33;43036:38;43029:45;;;;43129:10;43116:23;;43122:2;43117;:7;43116:23;;;;;43111:28;;43148:2;43153:33;43148:38;43141:45;;;;43241:10;43228:23;;43234:2;43229;:7;43228:23;;;;;43223:28;;43260:2;43265:33;43260:38;43253:45;;;;43353:10;43340:23;;43346:2;43341;:7;43340:23;;;;;43335:28;;43372:2;43377:33;43372:38;43365:45;;;;43465:10;43452:23;;43458:2;43453;:7;43452:23;;;;;43447:28;;43484:2;43489:33;43484:38;43477:45;;;;43577:10;43564:23;;43570:2;43565;:7;43564:23;;;;;43559:28;;43596:2;43601:33;43596:38;43589:45;;;;43689:10;43676:23;;43682:2;43677;:7;43676:23;;;;;43671:28;;43708:2;43713:33;43708:38;43701:45;;;;43801:10;43788:23;;43794:2;43789;:7;43788:23;;;;;43783:28;;43820:2;43825:33;43820:38;43813:45;;;;43913:10;43900:23;;43906:2;43901;:7;43900:23;;;;;43895:28;;43932:2;43937:33;43932:38;43925:45;;;;44071:10;44064:17;;20208:1;44064:17;;;;44058:2;44022:33;44016:3;:39;;;;;;;;:44;:66;;40276:3864;-1:-1:-1;;;;;40276:3864:0:o;38279:542::-;38333:5;;;38386:3;38381:8;;38377:414;;;38443:85;38455:1;38450:2;:6;38443:85;;;38477:8;;;;;38484:1;38504:8;;;;;38443:85;;;38377:414;;;-1:-1:-1;38621:3:0;38606:174;38630:1;38626;:5;;;38606:174;;;38672:8;;;;;38665:16;;38661:104;;38706:8;;;;;;;;;38737;;;;38661:104;38633:7;;;;;;38606:174;;;-1:-1:-1;38810:3:0;38279:542;-1:-1:-1;;38279:542:0:o
Swarm Source
bzzr://bd1ddb0bb7571c77bb7e6aabf02fe3d5a41afbf721f5eb39a749accf42641bed
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
POL | 100.00% | $0.30946 | 2.0051 | $0.620499 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.