ERC-20
Decentralized Web
Overview
Max Total Supply
14,298,590.835529309 sOHM
Holders
593 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.000000001 sOHMValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
sOlympus
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-03-21 */ // SPDX-License-Identifier: MIT pragma solidity 0.7.5; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) function sqrrt(uint256 a) internal pure returns (uint c) { if (a > 3) { c = a; uint b = add( div( a, 2), 1 ); while (b < c) { c = b; b = div( add( div( a, b ), b), 2 ); } } else if (a != 0) { c = 1; } } /* * Expects percentage to be trailed by 00, */ function percentageAmount( uint256 total_, uint8 percentage_ ) internal pure returns ( uint256 percentAmount_ ) { return div( mul( total_, percentage_ ), 1000 ); } /* * Expects percentage to be trailed by 00, */ function substractPercentage( uint256 total_, uint8 percentageToSub_ ) internal pure returns ( uint256 result_ ) { return sub( total_, div( mul( total_, percentageToSub_ ), 1000 ) ); } function percentageOfTotal( uint256 part_, uint256 total_ ) internal pure returns ( uint256 percent_ ) { return div( mul(part_, 100) , total_ ); } /** * Taken from Hypersonic https://github.com/M2629/HyperSonic/blob/main/Math.sol * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } function quadraticPricing( uint256 payment_, uint256 multiplier_ ) internal pure returns (uint256) { return sqrrt( mul( multiplier_, payment_ ) ); } function bondingCurve( uint256 supply_, uint256 multiplier_ ) internal pure returns (uint256) { return mul( multiplier_, supply_ ); } } library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ // function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { // require(address(this).balance >= value, "Address: insufficient balance for call"); // return _functionCallWithValue(target, data, value, errorMessage); // } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } function addressToString(address _address) internal pure returns(string memory) { bytes32 _bytes = bytes32(uint256(_address)); bytes memory HEX = "0123456789abcdef"; bytes memory _addr = new bytes(42); _addr[0] = '0'; _addr[1] = 'x'; for(uint256 i = 0; i < 20; i++) { _addr[2+i*2] = HEX[uint8(_bytes[i + 12] >> 4)]; _addr[3+i*2] = HEX[uint8(_bytes[i + 12] & 0x0f)]; } return string(_addr); } } interface IOwnable { function owner() external view returns (address); function renounceOwnership() external; function transferOwnership( address newOwner_ ) external; } contract Ownable is IOwnable { address internal _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { _owner = msg.sender; emit OwnershipTransferred( address(0), _owner ); } /** * @dev Returns the address of the current owner. */ function owner() public view override returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require( _owner == msg.sender, "Ownable: caller is not the owner" ); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual override onlyOwner() { emit OwnershipTransferred( _owner, address(0) ); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership( address newOwner_ ) public virtual override onlyOwner() { require( newOwner_ != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred( _owner, newOwner_ ); _owner = newOwner_; } } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } abstract contract ERC20 is IERC20 { using SafeMath for uint256; // TODO comment actual hash value. bytes32 constant private ERC20TOKEN_ERC1820_INTERFACE_ID = keccak256( "ERC20Token" ); // Present in ERC777 mapping (address => uint256) internal _balances; // Present in ERC777 mapping (address => mapping (address => uint256)) internal _allowances; // Present in ERC777 uint256 internal _totalSupply; // Present in ERC777 string internal _name; // Present in ERC777 string internal _symbol; // Present in ERC777 uint8 internal _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_, uint8 decimals_) { _name = name_; _symbol = symbol_; _decimals = decimals_; } /** * @dev Returns the name of the token. */ // Present in ERC777 function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ // Present in ERC777 function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ // Present in ERC777 function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ // Present in ERC777 function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ // Present in ERC777 function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ // Overrideen in ERC777 // Confirm that this behavior changes function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ // Present in ERC777 function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ // Present in ERC777 function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(msg.sender, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ // Present in ERC777 function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ // Present in ERC777 function _mint(address account_, uint256 ammount_) internal virtual { require(account_ != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address( this ), account_, ammount_); _totalSupply = _totalSupply.add(ammount_); _balances[account_] = _balances[account_].add(ammount_); emit Transfer(address( this ), account_, ammount_); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ // Present in ERC777 function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ // Present in ERC777 function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ // Considering deprication to reduce size of bytecode as changing _decimals to internal acheived the same functionality. // function _setupDecimals(uint8 decimals_) internal { // _decimals = decimals_; // } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ // Present in ERC777 function _beforeTokenTransfer( address from_, address to_, uint256 amount_ ) internal virtual { } } library Counters { using SafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { // The {SafeMath} overflow check can be skipped here, see the comment at the top counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } } interface IERC2612Permit { /** * @dev Sets `amount` as the allowance of `spender` over `owner`'s tokens, * given `owner`'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current ERC2612 nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); } abstract contract ERC20Permit is ERC20, IERC2612Permit { using Counters for Counters.Counter; mapping(address => Counters.Counter) private _nonces; // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; bytes32 public DOMAIN_SEPARATOR; constructor() { uint256 chainID; assembly { chainID := chainid() } DOMAIN_SEPARATOR = keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name())), keccak256(bytes("1")), // Version chainID, address(this) ) ); } /** * @dev See {IERC2612Permit-permit}. * */ function permit( address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual override { require(block.timestamp <= deadline, "Permit: expired deadline"); bytes32 hashStruct = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, amount, _nonces[owner].current(), deadline)); bytes32 _hash = keccak256(abi.encodePacked(uint16(0x1901), DOMAIN_SEPARATOR, hashStruct)); address signer = ecrecover(_hash, v, r, s); require(signer != address(0) && signer == owner, "ZeroSwapPermit: Invalid signature"); _nonces[owner].increment(); _approve(owner, spender, amount); } /** * @dev See {IERC2612Permit-nonces}. */ function nonces(address owner) public view override returns (uint256) { return _nonces[owner].current(); } } contract sOlympus is ERC20Permit, Ownable { using SafeMath for uint256; event LogRebase(uint256 indexed epoch, uint256 totalSupply); event LogMonetaryPolicyUpdated(address monetaryPolicy); // Used for authentication address public monetaryPolicy; address public stakingContract; modifier onlyMonetaryPolicy() { require(msg.sender == monetaryPolicy); _; } modifier validRecipient(address to) { require(to != address(0x0)); require(to != address(this)); _; } uint256 private constant MAX_UINT256 = ~uint256(0); uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 500000 * 10**9; // TOTAL_GONS is a multiple of INITIAL_FRAGMENTS_SUPPLY so that _gonsPerFragment is an integer. // Use the highest value that fits in a uint256 for max granularity. uint256 private constant TOTAL_GONS = MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY); // MAX_SUPPLY = maximum integer < (sqrt(4*TOTAL_GONS + 1) - 1) / 2 uint256 private constant MAX_SUPPLY = ~uint128(0); // (2^128) - 1 uint256 private _gonsPerFragment; mapping(address => uint256) private _gonBalances; // This is denominated in Fragments, because the gons-fragments conversion might change before // it's fully paid. mapping (address => mapping (address => uint256)) private _allowedFragments; constructor() ERC20("Staked Olympus", "sOHM", 9) { _totalSupply = INITIAL_FRAGMENTS_SUPPLY; _gonsPerFragment = TOTAL_GONS.div(_totalSupply); emit Transfer(address(0x0), msg.sender, _totalSupply); } function setStakingContract( address newStakingContract_ ) external onlyOwner() { stakingContract = newStakingContract_; _gonBalances[stakingContract] = TOTAL_GONS; } function setMonetaryPolicy(address monetaryPolicy_) external onlyOwner() { monetaryPolicy = monetaryPolicy_; emit LogMonetaryPolicyUpdated(monetaryPolicy_); } function rebase(uint256 olyProfit) public onlyMonetaryPolicy() returns (uint256) { uint256 _rebase; if (olyProfit == 0) { emit LogRebase(block.timestamp, _totalSupply); return _totalSupply; } if(circulatingSupply() > 0 ){ _rebase = olyProfit.mul(_totalSupply).div(circulatingSupply()); } else { _rebase = olyProfit; } _totalSupply = _totalSupply.add(_rebase); if (_totalSupply > MAX_SUPPLY) { _totalSupply = MAX_SUPPLY; } _gonsPerFragment = TOTAL_GONS.div(_totalSupply); emit LogRebase(block.timestamp, _totalSupply); return _totalSupply; } function balanceOf(address who) public view override returns (uint256) { return _gonBalances[who].div(_gonsPerFragment); } function circulatingSupply() public view returns (uint) { return _totalSupply.sub(balanceOf(stakingContract)); } function transfer(address to, uint256 value) public override validRecipient(to) returns (bool) { require(msg.sender == stakingContract, 'transfer not from staking contract'); uint256 gonValue = value.mul(_gonsPerFragment); _gonBalances[msg.sender] = _gonBalances[msg.sender].sub(gonValue); _gonBalances[to] = _gonBalances[to].add(gonValue); emit Transfer(msg.sender, to, value); return true; } function allowance(address owner_, address spender) public view override returns (uint256) { return _allowedFragments[owner_][spender]; } function transferFrom(address from, address to, uint256 value) public override validRecipient(to) returns (bool) { require(stakingContract == to, 'transfer from not to staking contract'); _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender].sub(value); uint256 gonValue = value.mul(_gonsPerFragment); _gonBalances[from] = _gonBalances[from].sub(gonValue); _gonBalances[to] = _gonBalances[to].add(gonValue); emit Transfer(from, to, value); return true; } function approve(address spender, uint256 value) public override returns (bool) { _allowedFragments[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } // What gets called in a permit function _approve(address owner, address spender, uint256 value) internal override virtual { _allowedFragments[owner][spender] = value; emit Approval(owner, spender, value); } function increaseAllowance(address spender, uint256 addedValue) public override returns (bool) { _allowedFragments[msg.sender][spender] = _allowedFragments[msg.sender][spender].add(addedValue); emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public override returns (bool) { uint256 oldValue = _allowedFragments[msg.sender][spender]; if (subtractedValue >= oldValue) { _allowedFragments[msg.sender][spender] = 0; } else { _allowedFragments[msg.sender][spender] = oldValue.sub(subtractedValue); } emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"monetaryPolicy","type":"address"}],"name":"LogMonetaryPolicyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"monetaryPolicy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"olyProfit","type":"uint256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"monetaryPolicy_","type":"address"}],"name":"setMonetaryPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newStakingContract_","type":"address"}],"name":"setStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600e81526d5374616b6564204f6c796d70757360901b602080830191825283518085019094526004845263734f484d60e01b9084015281519192916009916200006891600391906200038b565b5081516200007e9060049060208501906200038b565b506005805460ff191660ff92909216919091179055504690507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000c2620001f9565b805160209182012060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606084015260808301939093523060a0808401919091528351808403909101815260c0909201928390528151910120600755600880546001600160a01b0319163317908190556001600160a01b0316906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36601c6bf526340006002819055620001b6906507326b47ffff199062000293602090811b6200113717901c565b600b55600254604080519182525133916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a362000437565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015620002895780601f106200025d5761010080835404028352916020019162000289565b820191906000526020600020905b8154815290600101906020018083116200026b57829003601f168201915b5050505050905090565b6000620002dd83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620002e460201b60201c565b9392505050565b60008183620003745760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620003385781810151838201526020016200031e565b50505050905090810190601f168015620003665780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200038157fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003c357600085556200040e565b82601f10620003de57805160ff19168380011785556200040e565b828001600101855582156200040e579182015b828111156200040e578251825591602001919060010190620003f1565b506200041c92915062000420565b5090565b5b808211156200041c576000815560010162000421565b6114f380620004476000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80638da5cb5b116100c3578063a9059cbb1161007c578063a9059cbb146103ce578063bc4f2d6d146103fa578063d505accf14610417578063dd62ed3e14610468578063ee99205c14610496578063f2fde38b1461049e57610158565b80638da5cb5b146103405780638e27d7d7146103645780639358928b1461036c57806395d89b41146103745780639dd373b91461037c578063a457c2d7146103a257610158565b80633644e515116101155780633644e51514610290578063395093511461029857806370a08231146102c4578063715018a6146102ea5780637ecebe00146102f45780638b5a6a081461031a57610158565b806306fdde031461015d578063095ea7b3146101da57806318160ddd1461021a57806323b872dd1461023457806330adf81f1461026a578063313ce56714610272575b600080fd5b6101656104c4565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019f578181015183820152602001610187565b50505050905090810190601f1680156101cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610206600480360360408110156101f057600080fd5b506001600160a01b03813516906020013561055a565b604080519115158252519081900360200190f35b6102226105af565b60408051918252519081900360200190f35b6102066004803603606081101561024a57600080fd5b506001600160a01b038135811691602081013590911690604001356105b5565b610222610748565b61027a61076c565b6040805160ff9092168252519081900360200190f35b610222610775565b610206600480360360408110156102ae57600080fd5b506001600160a01b03813516906020013561077b565b610222600480360360208110156102da57600080fd5b50356001600160a01b03166107fc565b6102f261082c565b005b6102226004803603602081101561030a57600080fd5b50356001600160a01b03166108c3565b6102f26004803603602081101561033057600080fd5b50356001600160a01b03166108e4565b610348610985565b604080516001600160a01b039092168252519081900360200190f35b610348610994565b6102226109a3565b6101656109cd565b6102f26004803603602081101561039257600080fd5b50356001600160a01b0316610a2e565b610206600480360360408110156103b857600080fd5b506001600160a01b038135169060200135610ab4565b610206600480360360408110156103e457600080fd5b506001600160a01b038135169060200135610b8b565b6102226004803603602081101561041057600080fd5b5035610cc0565b6102f2600480360360e081101561042d57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135610de2565b6102226004803603604081101561047e57600080fd5b506001600160a01b038135811691602001351661100f565b61034861103a565b6102f2600480360360208110156104b457600080fd5b50356001600160a01b0316611049565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105505780601f1061052557610100808354040283529160200191610550565b820191906000526020600020905b81548152906001019060200180831161053357829003601f168201915b5050505050905090565b336000818152600d602090815260408083206001600160a01b0387168085529083528184208690558151868152915193949093909260008051602061149e833981519152928290030190a35060015b92915050565b60025490565b6000826001600160a01b0381166105cb57600080fd5b6001600160a01b0381163014156105e157600080fd5b600a546001600160a01b0385811691161461062d5760405162461bcd60e51b81526004018080602001828103825260258152602001806114386025913960400191505060405180910390fd5b6001600160a01b0385166000908152600d6020908152604080832033845290915290205461065b9084611180565b6001600160a01b0386166000908152600d60209081526040808320338452909152812091909155600b546106909085906111c2565b6001600160a01b0387166000908152600c60205260409020549091506106b69082611180565b6001600160a01b038088166000908152600c602052604080822093909355908716815220546106e5908261121b565b6001600160a01b038087166000818152600c602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b60075481565b336000908152600d602090815260408083206001600160a01b03861684529091528120546107a9908361121b565b336000818152600d602090815260408083206001600160a01b03891680855290835292819020859055805194855251919360008051602061149e833981519152929081900390910190a350600192915050565b600b546001600160a01b0382166000908152600c602052604081205490916108249190611137565b90505b919050565b6008546001600160a01b03163314610879576040805162461bcd60e51b8152602060048201819052602482015260008051602061147e833981519152604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6001600160a01b038116600090815260066020526040812061082490611275565b6008546001600160a01b03163314610931576040805162461bcd60e51b8152602060048201819052602482015260008051602061147e833981519152604482015290519081900360640190fd5b600980546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b6008546001600160a01b031690565b6009546001600160a01b031681565b600a546000906109c8906109bf906001600160a01b03166107fc565b60025490611180565b905090565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105505780601f1061052557610100808354040283529160200191610550565b6008546001600160a01b03163314610a7b576040805162461bcd60e51b8152602060048201819052602482015260008051602061147e833981519152604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b039283161790819055166000908152600c602052604090206507326b47ffff199055565b336000908152600d602090815260408083206001600160a01b0386168452909152812054808310610b0857336000908152600d602090815260408083206001600160a01b0388168452909152812055610b37565b610b128184611180565b336000908152600d602090815260408083206001600160a01b03891684529091529020555b336000818152600d602090815260408083206001600160a01b03891680855290835292819020548151908152905192939260008051602061149e833981519152929181900390910190a35060019392505050565b6000826001600160a01b038116610ba157600080fd5b6001600160a01b038116301415610bb757600080fd5b600a546001600160a01b03163314610c005760405162461bcd60e51b81526004018080602001828103825260228152602001806113cf6022913960400191505060405180910390fd5b6000610c17600b54856111c290919063ffffffff16565b336000908152600c6020526040902054909150610c349082611180565b336000908152600c6020526040808220929092556001600160a01b03871681522054610c60908261121b565b6001600160a01b0386166000818152600c60209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b6009546000906001600160a01b03163314610cda57600080fd5b600082610d2357600254604080519182525142917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25050600254610827565b6000610d2d6109a3565b1115610d5957610d52610d3e6109a3565b600254610d4c9086906111c2565b90611137565b9050610d5c565b50815b600254610d69908261121b565b60028190556001600160801b031015610d88576001600160801b036002555b600254610d9d906507326b47ffff1990611137565b600b55600254604080519182525142917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25050600254919050565b83421115610e37576040805162461bcd60e51b815260206004820152601860248201527f5065726d69743a206578706972656420646561646c696e650000000000000000604482015290519081900360640190fd5b6001600160a01b03871660009081526006602052604081207f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990899089908990610e8090611275565b604080516020808201979097526001600160a01b0395861681830152939094166060840152608083019190915260a082015260c08082018990528251808303909101815260e08201835280519084012060075461190160f01b610100840152610102830152610122808301829052835180840390910181526101428301808552815191860191909120600091829052610162840180865281905260ff8a166101828501526101a284018990526101c28401889052935191955092936001926101e280820193601f1981019281900390910190855afa158015610f66573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f9c5750896001600160a01b0316816001600160a01b0316145b610fd75760405162461bcd60e51b81526004018080602001828103825260218152602001806114176021913960400191505060405180910390fd5b6001600160a01b038a166000908152600660205260409020610ff890611279565b6110038a8a8a611282565b50505050505050505050565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205490565b600a546001600160a01b031681565b6008546001600160a01b03163314611096576040805162461bcd60e51b8152602060048201819052602482015260008051602061147e833981519152604482015290519081900360640190fd5b6001600160a01b0381166110db5760405162461bcd60e51b81526004018080602001828103825260268152602001806113f16026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b600061117983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506112d2565b9392505050565b600061117983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611374565b6000826111d1575060006105a9565b828202828482816111de57fe5b04146111795760405162461bcd60e51b815260040180806020018281038252602181526020018061145d6021913960400191505060405180910390fd5b600082820183811015611179576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b5490565b80546001019055565b6001600160a01b038084166000818152600d60209081526040808320948716808452948252918290208590558151858152915160008051602061149e8339815191529281900390910190a3505050565b6000818361135e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561132357818101518382015260200161130b565b50505050905090810190601f1680156113505780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161136a57fe5b0495945050505050565b600081848411156113c65760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561132357818101518382015260200161130b565b50505090039056fe7472616e73666572206e6f742066726f6d207374616b696e6720636f6e74726163744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735a65726f537761705065726d69743a20496e76616c6964207369676e61747572657472616e736665722066726f6d206e6f7420746f207374616b696e6720636f6e7472616374536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a264697066735822122068b1c8bb8cc198680f160b88165b87e4169b61e13cfbea74c8b5a97a8c4a986664736f6c63430007050033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c80638da5cb5b116100c3578063a9059cbb1161007c578063a9059cbb146103ce578063bc4f2d6d146103fa578063d505accf14610417578063dd62ed3e14610468578063ee99205c14610496578063f2fde38b1461049e57610158565b80638da5cb5b146103405780638e27d7d7146103645780639358928b1461036c57806395d89b41146103745780639dd373b91461037c578063a457c2d7146103a257610158565b80633644e515116101155780633644e51514610290578063395093511461029857806370a08231146102c4578063715018a6146102ea5780637ecebe00146102f45780638b5a6a081461031a57610158565b806306fdde031461015d578063095ea7b3146101da57806318160ddd1461021a57806323b872dd1461023457806330adf81f1461026a578063313ce56714610272575b600080fd5b6101656104c4565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019f578181015183820152602001610187565b50505050905090810190601f1680156101cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610206600480360360408110156101f057600080fd5b506001600160a01b03813516906020013561055a565b604080519115158252519081900360200190f35b6102226105af565b60408051918252519081900360200190f35b6102066004803603606081101561024a57600080fd5b506001600160a01b038135811691602081013590911690604001356105b5565b610222610748565b61027a61076c565b6040805160ff9092168252519081900360200190f35b610222610775565b610206600480360360408110156102ae57600080fd5b506001600160a01b03813516906020013561077b565b610222600480360360208110156102da57600080fd5b50356001600160a01b03166107fc565b6102f261082c565b005b6102226004803603602081101561030a57600080fd5b50356001600160a01b03166108c3565b6102f26004803603602081101561033057600080fd5b50356001600160a01b03166108e4565b610348610985565b604080516001600160a01b039092168252519081900360200190f35b610348610994565b6102226109a3565b6101656109cd565b6102f26004803603602081101561039257600080fd5b50356001600160a01b0316610a2e565b610206600480360360408110156103b857600080fd5b506001600160a01b038135169060200135610ab4565b610206600480360360408110156103e457600080fd5b506001600160a01b038135169060200135610b8b565b6102226004803603602081101561041057600080fd5b5035610cc0565b6102f2600480360360e081101561042d57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135610de2565b6102226004803603604081101561047e57600080fd5b506001600160a01b038135811691602001351661100f565b61034861103a565b6102f2600480360360208110156104b457600080fd5b50356001600160a01b0316611049565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105505780601f1061052557610100808354040283529160200191610550565b820191906000526020600020905b81548152906001019060200180831161053357829003601f168201915b5050505050905090565b336000818152600d602090815260408083206001600160a01b0387168085529083528184208690558151868152915193949093909260008051602061149e833981519152928290030190a35060015b92915050565b60025490565b6000826001600160a01b0381166105cb57600080fd5b6001600160a01b0381163014156105e157600080fd5b600a546001600160a01b0385811691161461062d5760405162461bcd60e51b81526004018080602001828103825260258152602001806114386025913960400191505060405180910390fd5b6001600160a01b0385166000908152600d6020908152604080832033845290915290205461065b9084611180565b6001600160a01b0386166000908152600d60209081526040808320338452909152812091909155600b546106909085906111c2565b6001600160a01b0387166000908152600c60205260409020549091506106b69082611180565b6001600160a01b038088166000908152600c602052604080822093909355908716815220546106e5908261121b565b6001600160a01b038087166000818152600c602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b60075481565b336000908152600d602090815260408083206001600160a01b03861684529091528120546107a9908361121b565b336000818152600d602090815260408083206001600160a01b03891680855290835292819020859055805194855251919360008051602061149e833981519152929081900390910190a350600192915050565b600b546001600160a01b0382166000908152600c602052604081205490916108249190611137565b90505b919050565b6008546001600160a01b03163314610879576040805162461bcd60e51b8152602060048201819052602482015260008051602061147e833981519152604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6001600160a01b038116600090815260066020526040812061082490611275565b6008546001600160a01b03163314610931576040805162461bcd60e51b8152602060048201819052602482015260008051602061147e833981519152604482015290519081900360640190fd5b600980546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f0e6961f1a1afb87eaf51fd64f22ddc10062e23aa7838eac5d0bdf140bfd389729181900360200190a150565b6008546001600160a01b031690565b6009546001600160a01b031681565b600a546000906109c8906109bf906001600160a01b03166107fc565b60025490611180565b905090565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105505780601f1061052557610100808354040283529160200191610550565b6008546001600160a01b03163314610a7b576040805162461bcd60e51b8152602060048201819052602482015260008051602061147e833981519152604482015290519081900360640190fd5b600a80546001600160a01b0319166001600160a01b039283161790819055166000908152600c602052604090206507326b47ffff199055565b336000908152600d602090815260408083206001600160a01b0386168452909152812054808310610b0857336000908152600d602090815260408083206001600160a01b0388168452909152812055610b37565b610b128184611180565b336000908152600d602090815260408083206001600160a01b03891684529091529020555b336000818152600d602090815260408083206001600160a01b03891680855290835292819020548151908152905192939260008051602061149e833981519152929181900390910190a35060019392505050565b6000826001600160a01b038116610ba157600080fd5b6001600160a01b038116301415610bb757600080fd5b600a546001600160a01b03163314610c005760405162461bcd60e51b81526004018080602001828103825260228152602001806113cf6022913960400191505060405180910390fd5b6000610c17600b54856111c290919063ffffffff16565b336000908152600c6020526040902054909150610c349082611180565b336000908152600c6020526040808220929092556001600160a01b03871681522054610c60908261121b565b6001600160a01b0386166000818152600c60209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b6009546000906001600160a01b03163314610cda57600080fd5b600082610d2357600254604080519182525142917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25050600254610827565b6000610d2d6109a3565b1115610d5957610d52610d3e6109a3565b600254610d4c9086906111c2565b90611137565b9050610d5c565b50815b600254610d69908261121b565b60028190556001600160801b031015610d88576001600160801b036002555b600254610d9d906507326b47ffff1990611137565b600b55600254604080519182525142917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25050600254919050565b83421115610e37576040805162461bcd60e51b815260206004820152601860248201527f5065726d69743a206578706972656420646561646c696e650000000000000000604482015290519081900360640190fd5b6001600160a01b03871660009081526006602052604081207f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990899089908990610e8090611275565b604080516020808201979097526001600160a01b0395861681830152939094166060840152608083019190915260a082015260c08082018990528251808303909101815260e08201835280519084012060075461190160f01b610100840152610102830152610122808301829052835180840390910181526101428301808552815191860191909120600091829052610162840180865281905260ff8a166101828501526101a284018990526101c28401889052935191955092936001926101e280820193601f1981019281900390910190855afa158015610f66573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610f9c5750896001600160a01b0316816001600160a01b0316145b610fd75760405162461bcd60e51b81526004018080602001828103825260218152602001806114176021913960400191505060405180910390fd5b6001600160a01b038a166000908152600660205260409020610ff890611279565b6110038a8a8a611282565b50505050505050505050565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205490565b600a546001600160a01b031681565b6008546001600160a01b03163314611096576040805162461bcd60e51b8152602060048201819052602482015260008051602061147e833981519152604482015290519081900360640190fd5b6001600160a01b0381166110db5760405162461bcd60e51b81526004018080602001828103825260268152602001806113f16026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b600061117983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506112d2565b9392505050565b600061117983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611374565b6000826111d1575060006105a9565b828202828482816111de57fe5b04146111795760405162461bcd60e51b815260040180806020018281038252602181526020018061145d6021913960400191505060405180910390fd5b600082820183811015611179576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b5490565b80546001019055565b6001600160a01b038084166000818152600d60209081526040808320948716808452948252918290208590558151858152915160008051602061149e8339815191529281900390910190a3505050565b6000818361135e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561132357818101518382015260200161130b565b50505050905090810190601f1680156113505780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161136a57fe5b0495945050505050565b600081848411156113c65760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561132357818101518382015260200161130b565b50505090039056fe7472616e73666572206e6f742066726f6d207374616b696e6720636f6e74726163744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735a65726f537761705065726d69743a20496e76616c6964207369676e61747572657472616e736665722066726f6d206e6f7420746f207374616b696e6720636f6e7472616374536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a264697066735822122068b1c8bb8cc198680f160b88165b87e4169b61e13cfbea74c8b5a97a8c4a986664736f6c63430007050033
Deployed Bytecode Sourcemap
35803:5564:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22385:77;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40056:222;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40056:222:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;23468:94;;;:::i;:::-;;;;;;;;;;;;;;;;39501:547;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39501:547:0;;;;;;;;;;;;;;;;;:::i;34134:108::-;;;:::i;23310:77::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34251:31;;;:::i;40529:329::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40529:329:0;;;;;;;;:::i;38603:136::-;;;;;;;;;;;;;;;;-1:-1:-1;38603:136:0;-1:-1:-1;;;;;38603:136:0;;:::i;18143:151::-;;;:::i;:::-;;35676:120;;;;;;;;;;;;;;;;-1:-1:-1;35676:120:0;-1:-1:-1;;;;;35676:120:0;;:::i;37663:181::-;;;;;;;;;;;;;;;;-1:-1:-1;37663:181:0;-1:-1:-1;;;;;37663:181:0;;:::i;17532:82::-;;;:::i;:::-;;;;-1:-1:-1;;;;;17532:82:0;;;;;;;;;;;;;;36050:29;;;:::i;38747:125::-;;;:::i;22595:81::-;;;:::i;37470:185::-;;;;;;;;;;;;;;;;-1:-1:-1;37470:185:0;-1:-1:-1;;;;;37470:185:0;;:::i;40866:498::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;40866:498:0;;;;;;;;:::i;38880:454::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38880:454:0;;;;;;;;:::i;37852:743::-;;;;;;;;;;;;;;;;-1:-1:-1;37852:743:0;;:::i;34838:770::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34838:770:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;39342:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39342:151:0;;;;;;;;;;:::i;36088:30::-;;;:::i;18439:250::-;;;;;;;;;;;;;;;;-1:-1:-1;18439:250:0;-1:-1:-1;;;;;18439:250:0;;:::i;22385:77::-;22451:5;22444:12;;;;;;;;-1:-1:-1;;22444:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22422:13;;22444:12;;22451:5;;22444:12;;22451:5;22444:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22385:77;:::o;40056:222::-;40166:10;40130:4;40148:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;40148:38:0;;;;;;;;;;;:46;;;40211:36;;;;;;;40130:4;;40148:38;;40166:10;;-1:-1:-1;;;;;;;;;;;40211:36:0;;;;;;;-1:-1:-1;40266:4:0;40056:222;;;;;:::o;23468:94::-;23544:12;;23468:94;:::o;39501:547::-;39608:4;39595:2;-1:-1:-1;;;;;36288:18:0;;36280:27;;;;;;-1:-1:-1;;;;;36326:19:0;;36340:4;36326:19;;36318:28;;;;;;39633:15:::1;::::0;-1:-1:-1;;;;;39633:21:0;;::::1;:15:::0;::::1;:21;39625:71;;;;-1:-1:-1::0;;;39625:71:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;39746:23:0;::::1;;::::0;;;:17:::1;:23;::::0;;;;;;;39770:10:::1;39746:35:::0;;;;;;;;:46:::1;::::0;39786:5;39746:39:::1;:46::i;:::-;-1:-1:-1::0;;;;;39708:23:0;::::1;;::::0;;;:17:::1;:23;::::0;;;;;;;39732:10:::1;39708:35:::0;;;;;;;:84;;;;39834:16:::1;::::0;39824:27:::1;::::0;:5;;:9:::1;:27::i;:::-;-1:-1:-1::0;;;;;39883:18:0;::::1;;::::0;;;:12:::1;:18;::::0;;;;;39805:46;;-1:-1:-1;39883:32:0::1;::::0;39805:46;39883:22:::1;:32::i;:::-;-1:-1:-1::0;;;;;39862:18:0;;::::1;;::::0;;;:12:::1;:18;::::0;;;;;:53;;;;39945:16;;::::1;::::0;;;;:30:::1;::::0;39966:8;39945:20:::1;:30::i;:::-;-1:-1:-1::0;;;;;39926:16:0;;::::1;;::::0;;;:12:::1;:16;::::0;;;;;;;;:49;;;;39991:25;;;;;;;39926:16;;39991:25;;::::1;::::0;::::1;::::0;;;;;;;::::1;-1:-1:-1::0;40036:4:0::1;::::0;39501:547;-1:-1:-1;;;;;39501:547:0:o;34134:108::-;34176:66;34134:108;:::o;23310:77::-;23372:9;;;;23310:77;:::o;34251:31::-;;;;:::o;40529:329::-;40707:10;40618:4;40689:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;40689:38:0;;;;;;;;;;:54;;40732:10;40689:42;:54::i;:::-;40653:10;40635:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;40635:38:0;;;;;;;;;;;;:108;;;40759:69;;;;;;40635:38;;-1:-1:-1;;;;;;;;;;;40759:69:0;;;;;;;;;;-1:-1:-1;40846:4:0;40529:329;;;;:::o;38603:136::-;38714:16;;-1:-1:-1;;;;;38692:17:0;;38665:7;38692:17;;;:12;:17;;;;;;38665:7;;38692:39;;:17;:21;:39::i;:::-;38685:46;;38603:136;;;;:::o;18143:151::-;17736:6;;-1:-1:-1;;;;;17736:6:0;17746:10;17736:20;17727:67;;;;;-1:-1:-1;;;17727:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17727:67:0;;;;;;;;;;;;;;;18242:6:::1;::::0;18220:42:::1;::::0;18258:1:::1;::::0;-1:-1:-1;;;;;18242:6:0::1;::::0;18220:42:::1;::::0;18258:1;;18220:42:::1;18269:6;:19:::0;;-1:-1:-1;;;;;;18269:19:0::1;::::0;;18143:151::o;35676:120::-;-1:-1:-1;;;;;35764:14:0;;35737:7;35764:14;;;:7;:14;;;;;:24;;:22;:24::i;37663:181::-;17736:6;;-1:-1:-1;;;;;17736:6:0;17746:10;17736:20;17727:67;;;;;-1:-1:-1;;;17727:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17727:67:0;;;;;;;;;;;;;;;37747:14:::1;:32:::0;;-1:-1:-1;;;;;37747:32:0;::::1;-1:-1:-1::0;;;;;;37747:32:0;;::::1;::::0;::::1;::::0;;;37795:41:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;37663:181:::0;:::o;17532:82::-;17602:6;;-1:-1:-1;;;;;17602:6:0;17532:82;:::o;36050:29::-;;;-1:-1:-1;;;;;36050:29:0;;:::o;38747:125::-;38847:15;;38797:4;;38820:44;;38837:26;;-1:-1:-1;;;;;38847:15:0;38837:9;:26::i;:::-;38820:12;;;:16;:44::i;:::-;38813:51;;38747:125;:::o;22595:81::-;22663:7;22656:14;;;;;;;;-1:-1:-1;;22656:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22634:13;;22656:14;;22663:7;;22656:14;;22663:7;22656:14;;;;;;;;;;;;;;;;;;;;;;;;37470:185;17736:6;;-1:-1:-1;;;;;17736:6:0;17746:10;17736:20;17727:67;;;;;-1:-1:-1;;;17727:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17727:67:0;;;;;;;;;;;;;;;37559:15:::1;:37:::0;;-1:-1:-1;;;;;;37559:37:0::1;-1:-1:-1::0;;;;;37559:37:0;;::::1;;::::0;;;;37618:15:::1;-1:-1:-1::0;37605:29:0;;;:12:::1;:29;::::0;;;;-1:-1:-1;;37605:42:0;;37470:185::o;40866:498::-;41014:10;40960:4;40996:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;40996:38:0;;;;;;;;;;41049:27;;;41045:205;;41111:10;41134:1;41093:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;41093:38:0;;;;;;;;;:42;41045:205;;;41209:29;:8;41222:15;41209:12;:29::i;:::-;41186:10;41168:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;41168:38:0;;;;;;;;;:70;41045:205;41274:10;41295:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;41265:69:0;;41295:38;;;;;;;;;;;41265:69;;;;;;;;;41274:10;-1:-1:-1;;;;;;;;;;;41265:69:0;;;;;;;;;;-1:-1:-1;41352:4:0;;40866:498;-1:-1:-1;;;40866:498:0:o;38880:454::-;38969:4;38956:2;-1:-1:-1;;;;;36288:18:0;;36280:27;;;;;;-1:-1:-1;;;;;36326:19:0;;36340:4;36326:19;;36318:28;;;;;;39008:15:::1;::::0;-1:-1:-1;;;;;39008:15:0::1;38994:10;:29;38986:76;;;;-1:-1:-1::0;;;38986:76:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39075:16;39094:27;39104:16;;39094:5;:9;;:27;;;;:::i;:::-;39172:10;39159:24;::::0;;;:12:::1;:24;::::0;;;;;39075:46;;-1:-1:-1;39159:38:0::1;::::0;39075:46;39159:28:::1;:38::i;:::-;39145:10;39132:24;::::0;;;:12:::1;:24;::::0;;;;;:65;;;;-1:-1:-1;;;;;39227:16:0;::::1;::::0;;;;:30:::1;::::0;39248:8;39227:20:::1;:30::i;:::-;-1:-1:-1::0;;;;;39208:16:0;::::1;;::::0;;;:12:::1;:16;::::0;;;;;;;;:49;;;;39273:31;;;;;;;39208:16;;39282:10:::1;::::0;39273:31:::1;::::0;;;;;;;;::::1;-1:-1:-1::0;39322:4:0::1;::::0;38880:454;-1:-1:-1;;;;38880:454:0:o;37852:743::-;36190:14;;37924:7;;-1:-1:-1;;;;;36190:14:0;36176:10;:28;36168:37;;;;;;37944:15:::1;37976:14:::0;37972:126:::1;;38039:12;::::0;38012:40:::1;::::0;;;;;;38022:15:::1;::::0;38012:40:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;;38074:12:0::1;::::0;38067:19:::1;;37972:126;38135:1;38113:19;:17;:19::i;:::-;:23;38110:180;;;38163:52;38195:19;:17;:19::i;:::-;38177:12;::::0;38163:27:::1;::::0;:9;;:13:::1;:27::i;:::-;:31:::0;::::1;:52::i;:::-;38153:62;;38110:180;;;-1:-1:-1::0;38269:9:0;38110:180:::1;38317:12;::::0;:25:::1;::::0;38334:7;38317:16:::1;:25::i;:::-;38302:12;:40:::0;;;-1:-1:-1;;;;;;38357:83:0::1;;;-1:-1:-1::0;;;;;38403:12:0::1;:25:::0;38357:83:::1;38486:12;::::0;38471:28:::1;::::0;-1:-1:-1;;36719:54:0;38471:14:::1;:28::i;:::-;38452:16;:47:::0;38544:12:::1;::::0;38517:40:::1;::::0;;;;;;38527:15:::1;::::0;38517:40:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;;38575:12:0::1;::::0;37852:743;;;:::o;34838:770::-;35083:8;35064:15;:27;;35056:64;;;;;-1:-1:-1;;;35056:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35229:14:0;;35133:18;35229:14;;;:7;:14;;;;;34176:66;;35205:5;;35212:7;;35221:6;;35229:24;;:22;:24::i;:::-;35177:87;;;;;;;;;;;-1:-1:-1;;;;;35177:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35167:98;;;;;;35337:16;;-1:-1:-1;;;35304:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35294:73;;;;;;;;;-1:-1:-1;35397:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35167:98;;-1:-1:-1;35294:73:0;;35397:25;;;;;;;-1:-1:-1;;35397:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35397:25:0;;-1:-1:-1;;35397:25:0;;;-1:-1:-1;;;;;;;35441:20:0;;;;;;:39;;;35475:5;-1:-1:-1;;;;;35465:15:0;:6;-1:-1:-1;;;;;35465:15:0;;35441:39;35433:85;;;;-1:-1:-1;;;35433:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;35531:14:0;;;;;;:7;:14;;;;;:26;;:24;:26::i;:::-;35568:32;35577:5;35584:7;35593:6;35568:8;:32::i;:::-;34838:770;;;;;;;;;;:::o;39342:151::-;-1:-1:-1;;;;;39451:25:0;;;39424:7;39451:25;;;:17;:25;;;;;;;;:34;;;;;;;;;;;;;39342:151::o;36088:30::-;;;-1:-1:-1;;;;;36088:30:0;;:::o;18439:250::-;17736:6;;-1:-1:-1;;;;;17736:6:0;17746:10;17736:20;17727:67;;;;;-1:-1:-1;;;17727:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;17727:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;18539:23:0;::::1;18530:75;;;;-1:-1:-1::0;;;18530:75:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18639:6;::::0;18617:41:::1;::::0;-1:-1:-1;;;;;18617:41:0;;::::1;::::0;18639:6:::1;::::0;18617:41:::1;::::0;18639:6:::1;::::0;18617:41:::1;18665:6;:18:::0;;-1:-1:-1;;;;;;18665:18:0::1;-1:-1:-1::0;;;;;18665:18:0;;;::::1;::::0;;;::::1;::::0;;18439:250::o;3202:132::-;3260:7;3287:39;3291:1;3294;3287:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3280:46;3202:132;-1:-1:-1;;;3202:132:0:o;1365:136::-;1423:7;1450:43;1454:1;1457;1450:43;;;;;;;;;;;;;;;;;:3;:43::i;2255:471::-;2313:7;2558:6;2554:47;;-1:-1:-1;2588:1:0;2581:8;;2554:47;2625:5;;;2629:1;2625;:5;:1;2649:5;;;;;:10;2641:56;;;;-1:-1:-1;;;2641:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;901:181;959:7;991:5;;;1015:6;;;;1007:46;;;;;-1:-1:-1;;;1007:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;31957:114;32049:14;;31957:114::o;32079:181::-;32233:19;;32251:1;32233:19;;;32079:181::o;40323:198::-;-1:-1:-1;;;;;40425:24:0;;;;;;;:17;:24;;;;;;;;:33;;;;;;;;;;;;;:41;;;40482:31;;;;;;;-1:-1:-1;;;;;;;;;;;40482:31:0;;;;;;;;;40323:198;;;:::o;3830:278::-;3916:7;3951:12;3944:5;3936:28;;;;-1:-1:-1;;;3936:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3975:9;3991:1;3987;:5;;;;;;;3830:278;-1:-1:-1;;;;;3830:278:0:o;1804:192::-;1890:7;1926:12;1918:6;;;;1910:29;;;;-1:-1:-1;;;1910:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1962:5:0;;;1804:192::o
Swarm Source
ipfs://68b1c8bb8cc198680f160b88165b87e4169b61e13cfbea74c8b5a97a8c4a9866
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.