Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
0.11 ERC20 ***
Holders
2
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.1 ERC20 ***Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
gDAI
Compiler Version
v0.5.11+commit.c082d0b4
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-09-08 */ pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they not should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, with should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /* * @dev Interface for a contract that will be called via the GSN from RelayHub. */ contract IRelayRecipient { /** * @dev Returns the address of the RelayHub instance this recipient interacts with. */ function getHubAddr() public view returns (address); function acceptRelayedCall( address relay, address from, bytes calldata encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes calldata approvalData, uint256 maxPossibleCharge ) external view returns (uint256, bytes memory); function preRelayedCall(bytes calldata context) external returns (bytes32); function postRelayedCall(bytes calldata context, bool success, uint actualCharge, bytes32 preRetVal) external; } /* * @dev Enables GSN support on `Context` contracts by recognizing calls from * RelayHub and extracting the actual sender and call data from the received * calldata. * * > This contract does not perform all required tasks to implement a GSN * recipient contract: end users should use `GSNRecipient` instead. */ contract GSNContext is Context { address internal _relayHub = 0xD216153c06E857cD7f72665E0aF1d7D82172F494; event RelayHubChanged(address indexed oldRelayHub, address indexed newRelayHub); constructor() internal { // solhint-disable-previous-line no-empty-blocks } function _upgradeRelayHub(address newRelayHub) internal { address currentRelayHub = _relayHub; require(newRelayHub != address(0), "GSNContext: new RelayHub is the zero address"); require(newRelayHub != currentRelayHub, "GSNContext: new RelayHub is the current one"); emit RelayHubChanged(currentRelayHub, newRelayHub); _relayHub = newRelayHub; } // Overrides for Context's functions: when called from RelayHub, sender and // data require some pre-processing: the actual sender is stored at the end // of the call data, which in turns means it needs to be removed from it // when handling said data. function _msgSender() internal view returns (address) { if (msg.sender != _relayHub) { return msg.sender; } else { return _getRelayedCallSender(); } } function _msgData() internal view returns (bytes memory) { if (msg.sender != _relayHub) { return msg.data; } else { return _getRelayedCallData(); } } function _getRelayedCallSender() private pure returns (address result) { // We need to read 20 bytes (an address) located at array index msg.data.length - 20. In memory, the array // is prefixed with a 32-byte length value, so we first add 32 to get the memory read index. However, doing // so would leave the address in the upper 20 bytes of the 32-byte word, which is inconvenient and would // require bit shifting. We therefore subtract 12 from the read index so the address lands on the lower 20 // bytes. This can always be done due to the 32-byte prefix. // The final memory read index is msg.data.length - 20 + 32 - 12 = msg.data.length. Using inline assembly is the // easiest/most-efficient way to perform this operation. // These fields are not accessible from assembly bytes memory array = msg.data; uint256 index = msg.data.length; // solhint-disable-next-line no-inline-assembly assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. result := and(mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff) } return result; } function _getRelayedCallData() private pure returns (bytes memory) { // RelayHub appends the sender address at the end of the calldata, so in order to retrieve the actual msg.data, // we must strip the last 20 bytes (length of an address type) from it. uint256 actualDataLength = msg.data.length - 20; bytes memory actualData = new bytes(actualDataLength); for (uint256 i = 0; i < actualDataLength; ++i) { actualData[i] = msg.data[i]; } return actualData; } } /* * @dev Base contract used to implement GSNBouncers. * * > This contract does not perform all required tasks to implement a GSN * recipient contract: end users should use `GSNRecipient` instead. */ contract GSNBouncerBase is IRelayRecipient { uint256 constant private RELAYED_CALL_ACCEPTED = 0; uint256 constant private RELAYED_CALL_REJECTED = 11; // How much gas is forwarded to postRelayedCall uint256 constant internal POST_RELAYED_CALL_MAX_GAS = 100000; // Base implementations for pre and post relayedCall: only RelayHub can invoke them, and data is forwarded to the // internal hook. /** * @dev See `IRelayRecipient.preRelayedCall`. * * This function should not be overriden directly, use `_preRelayedCall` instead. * * * Requirements: * * - the caller must be the `RelayHub` contract. */ function preRelayedCall(bytes calldata context) external returns (bytes32) { require(msg.sender == getHubAddr(), "GSNBouncerBase: caller is not RelayHub"); return _preRelayedCall(context); } /** * @dev See `IRelayRecipient.postRelayedCall`. * * This function should not be overriden directly, use `_postRelayedCall` instead. * * * Requirements: * * - the caller must be the `RelayHub` contract. */ function postRelayedCall(bytes calldata context, bool success, uint256 actualCharge, bytes32 preRetVal) external { require(msg.sender == getHubAddr(), "GSNBouncerBase: caller is not RelayHub"); _postRelayedCall(context, success, actualCharge, preRetVal); } /** * @dev Return this in acceptRelayedCall to proceed with the execution of a relayed call. Note that this contract * will be charged a fee by RelayHub */ function _approveRelayedCall() internal pure returns (uint256, bytes memory) { return _approveRelayedCall(""); } /** * @dev See `GSNBouncerBase._approveRelayedCall`. * * This overload forwards `context` to _preRelayedCall and _postRelayedCall. */ function _approveRelayedCall(bytes memory context) internal pure returns (uint256, bytes memory) { return (RELAYED_CALL_ACCEPTED, context); } /** * @dev Return this in acceptRelayedCall to impede execution of a relayed call. No fees will be charged. */ function _rejectRelayedCall(uint256 errorCode) internal pure returns (uint256, bytes memory) { return (RELAYED_CALL_REJECTED + errorCode, ""); } // Empty hooks for pre and post relayed call: users only have to define these if they actually use them. function _preRelayedCall(bytes memory) internal returns (bytes32) { // solhint-disable-previous-line no-empty-blocks } function _postRelayedCall(bytes memory, bool, uint256, bytes32) internal { // solhint-disable-previous-line no-empty-blocks } /* * @dev Calculates how much RelaHub will charge a recipient for using `gas` at a `gasPrice`, given a relayer's * `serviceFee`. */ function _computeCharge(uint256 gas, uint256 gasPrice, uint256 serviceFee) internal pure returns (uint256) { // The fee is expressed as a percentage. E.g. a value of 40 stands for a 40% fee, so the recipient will be // charged for 1.4 times the spent amount. return (gas * gasPrice * (100 + serviceFee)) / 100; } } contract IRelayHub { // Relay management // Add stake to a relay and sets its unstakeDelay. // If the relay does not exist, it is created, and the caller // of this function becomes its owner. If the relay already exists, only the owner can call this function. A relay // cannot be its own owner. // All Ether in this function call will be added to the relay's stake. // Its unstake delay will be assigned to unstakeDelay, but the new value must be greater or equal to the current one. // Emits a Staked event. function stake(address relayaddr, uint256 unstakeDelay) external payable; // Emited when a relay's stake or unstakeDelay are increased event Staked(address indexed relay, uint256 stake, uint256 unstakeDelay); // Registers the caller as a relay. // The relay must be staked for, and not be a contract (i.e. this function must be called directly from an EOA). // Emits a RelayAdded event. // This function can be called multiple times, emitting new RelayAdded events. Note that the received transactionFee // is not enforced by relayCall. function registerRelay(uint256 transactionFee, string memory url) public; // Emitted when a relay is registered or re-registerd. Looking at these events (and filtering out RelayRemoved // events) lets a client discover the list of available relays. event RelayAdded(address indexed relay, address indexed owner, uint256 transactionFee, uint256 stake, uint256 unstakeDelay, string url); // Removes (deregisters) a relay. Unregistered (but staked for) relays can also be removed. Can only be called by // the owner of the relay. After the relay's unstakeDelay has elapsed, unstake will be callable. // Emits a RelayRemoved event. function removeRelayByOwner(address relay) public; // Emitted when a relay is removed (deregistered). unstakeTime is the time when unstake will be callable. event RelayRemoved(address indexed relay, uint256 unstakeTime); // Deletes the relay from the system, and gives back its stake to the owner. Can only be called by the relay owner, // after unstakeDelay has elapsed since removeRelayByOwner was called. // Emits an Unstaked event. function unstake(address relay) public; // Emitted when a relay is unstaked for, including the returned stake. event Unstaked(address indexed relay, uint256 stake); // States a relay can be in enum RelayState { Unknown, // The relay is unknown to the system: it has never been staked for Staked, // The relay has been staked for, but it is not yet active Registered, // The relay has registered itself, and is active (can relay calls) Removed // The relay has been removed by its owner and can no longer relay calls. It must wait for its unstakeDelay to elapse before it can unstake } // Returns a relay's status. Note that relays can be deleted when unstaked or penalized. function getRelay(address relay) external view returns (uint256 totalStake, uint256 unstakeDelay, uint256 unstakeTime, address payable owner, RelayState state); // Balance management // Deposits ether for a contract, so that it can receive (and pay for) relayed transactions. Unused balance can only // be withdrawn by the contract itself, by callingn withdraw. // Emits a Deposited event. function depositFor(address target) public payable; // Emitted when depositFor is called, including the amount and account that was funded. event Deposited(address indexed recipient, address indexed from, uint256 amount); // Returns an account's deposits. These can be either a contnract's funds, or a relay owner's revenue. function balanceOf(address target) external view returns (uint256); // Withdraws from an account's balance, sending it back to it. Relay owners call this to retrieve their revenue, and // contracts can also use it to reduce their funding. // Emits a Withdrawn event. function withdraw(uint256 amount, address payable dest) public; // Emitted when an account withdraws funds from RelayHub. event Withdrawn(address indexed account, address indexed dest, uint256 amount); // Relaying // Check if the RelayHub will accept a relayed operation. Multiple things must be true for this to happen: // - all arguments must be signed for by the sender (from) // - the sender's nonce must be the current one // - the recipient must accept this transaction (via acceptRelayedCall) // Returns a PreconditionCheck value (OK when the transaction can be relayed), or a recipient-specific error code if // it returns one in acceptRelayedCall. function canRelay( address relay, address from, address to, bytes memory encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes memory signature, bytes memory approvalData ) public view returns (uint256 status, bytes memory recipientContext); // Preconditions for relaying, checked by canRelay and returned as the corresponding numeric values. enum PreconditionCheck { OK, // All checks passed, the call can be relayed WrongSignature, // The transaction to relay is not signed by requested sender WrongNonce, // The provided nonce has already been used by the sender AcceptRelayedCallReverted, // The recipient rejected this call via acceptRelayedCall InvalidRecipientStatusCode // The recipient returned an invalid (reserved) status code } // Relays a transaction. For this to suceed, multiple conditions must be met: // - canRelay must return PreconditionCheck.OK // - the sender must be a registered relay // - the transaction's gas price must be larger or equal to the one that was requested by the sender // - the transaction must have enough gas to not run out of gas if all internal transactions (calls to the // recipient) use all gas available to them // - the recipient must have enough balance to pay the relay for the worst-case scenario (i.e. when all gas is // spent) // // If all conditions are met, the call will be relayed and the recipient charged. preRelayedCall, the encoded // function and postRelayedCall will be called in order. // // Arguments: // - from: the client originating the request // - recipient: the target IRelayRecipient contract // - encodedFunction: the function call to relay, including data // - transactionFee: fee (%) the relay takes over actual gas cost // - gasPrice: gas price the client is willing to pay // - gasLimit: gas to forward when calling the encoded function // - nonce: client's nonce // - signature: client's signature over all previous params, plus the relay and RelayHub addresses // - approvalData: dapp-specific data forwared to acceptRelayedCall. This value is *not* verified by the Hub, but // it still can be used for e.g. a signature. // // Emits a TransactionRelayed event. function relayCall( address from, address to, bytes memory encodedFunction, uint256 transactionFee, uint256 gasPrice, uint256 gasLimit, uint256 nonce, bytes memory signature, bytes memory approvalData ) public; // Emitted when an attempt to relay a call failed. This can happen due to incorrect relayCall arguments, or the // recipient not accepting the relayed call. The actual relayed call was not executed, and the recipient not charged. // The reason field contains an error code: values 1-10 correspond to PreconditionCheck entries, and values over 10 // are custom recipient error codes returned from acceptRelayedCall. event CanRelayFailed(address indexed relay, address indexed from, address indexed to, bytes4 selector, uint256 reason); // Emitted when a transaction is relayed. Note that the actual encoded function might be reverted: this will be // indicated in the status field. // Useful when monitoring a relay's operation and relayed calls to a contract. // Charge is the ether value deducted from the recipient's balance, paid to the relay's owner. event TransactionRelayed(address indexed relay, address indexed from, address indexed to, bytes4 selector, RelayCallStatus status, uint256 charge); // Reason error codes for the TransactionRelayed event enum RelayCallStatus { OK, // The transaction was successfully relayed and execution successful - never included in the event RelayedCallFailed, // The transaction was relayed, but the relayed call failed PreRelayedFailed, // The transaction was not relayed due to preRelatedCall reverting PostRelayedFailed, // The transaction was relayed and reverted due to postRelatedCall reverting RecipientBalanceChanged // The transaction was relayed and reverted due to the recipient's balance changing } // Returns how much gas should be forwarded to a call to relayCall, in order to relay a transaction that will spend // up to relayedCallStipend gas. function requiredGas(uint256 relayedCallStipend) public view returns (uint256); // Returns the maximum recipient charge, given the amount of gas forwarded, gas price and relay fee. function maxPossibleCharge(uint256 relayedCallStipend, uint256 gasPrice, uint256 transactionFee) public view returns (uint256); // Relay penalization. Any account can penalize relays, removing them from the system immediately, and rewarding the // reporter with half of the relay's stake. The other half is burned so that, even if the relay penalizes itself, it // still loses half of its stake. // Penalize a relay that signed two transactions using the same nonce (making only the first one valid) and // different data (gas price, gas limit, etc. may be different). The (unsigned) transaction data and signature for // both transactions must be provided. function penalizeRepeatedNonce(bytes memory unsignedTx1, bytes memory signature1, bytes memory unsignedTx2, bytes memory signature2) public; // Penalize a relay that sent a transaction that didn't target RelayHub's registerRelay or relayCall. function penalizeIllegalTransaction(bytes memory unsignedTx, bytes memory signature) public; event Penalized(address indexed relay, address sender, uint256 amount); function getNonce(address from) external view returns (uint256); } /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); } /** * @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. * * NOTE: This is a feature of the next version of OpenZeppelin Contracts. * @dev Get it via `npm install @openzeppelin/contracts@next`. */ 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. * NOTE: This is a feature of the next version of OpenZeppelin Contracts. * @dev Get it via `npm install @openzeppelin/contracts@next`. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 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. * * NOTE: This is a feature of the next version of OpenZeppelin Contracts. * @dev Get it via `npm install @openzeppelin/contracts@next`. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing 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. */ 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. // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != 0x0 && codehash != accountHash); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * NOTE: This is a feature of the next version of OpenZeppelin Contracts. * @dev Get it via `npm install @openzeppelin/contracts@next`. */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } } contract IGasToken is IERC20 { function freeUpTo(uint256 value) external returns (uint256 freed); } contract IFulcrum is IERC20 { function tokenPrice() external view returns (uint256 price); function mint(address receiver, uint256 amount) external returns (uint256 minted); function burn(address receiver, uint256 amount) external returns (uint256 burned); } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20Mintable}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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`. */ function transfer(address recipient, uint256 amount) public returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public returns (bool) { _approve(_msgSender(), spender, value); 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 `value`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @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 returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][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 returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][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 { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @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. */ function _mint(address account, uint256 amount) internal { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @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. */ function _burn(address account, uint256 value) internal { require(account != address(0), "ERC20: burn from the zero address"); _balances[account] = _balances[account].sub(value, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(value); emit Transfer(account, address(0), value); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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. */ function _approve(address owner, address spender, uint256 value) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = value; emit Approval(owner, spender, value); } /** * @dev Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance")); } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _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 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /* * @dev Base GSN recipient contract, adding the recipient interface and enabling * GSN support. Not all interface methods are implemented, derived contracts * must do so themselves. */ contract GSNRecipient is IRelayRecipient, GSNContext, GSNBouncerBase { /** * @dev Returns the RelayHub address for this recipient contract. */ function getHubAddr() public view returns (address) { return _relayHub; } /** * @dev This function returns the version string of the RelayHub for which * this recipient implementation was built. It's not currently used, but * may be used by tooling. */ // This function is view for future-proofing, it may require reading from // storage in the future. function relayHubVersion() public view returns (string memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return "1.0.0"; } /** * @dev Triggers a withdraw of the recipient's deposits in RelayHub. Can * be used by derived contracts to expose the functionality in an external * interface. */ function _withdrawDeposits(uint256 amount, address payable payee) internal { IRelayHub(_relayHub).withdraw(amount, payee); } } /** * @dev Optional functions from the ERC20 standard. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of * these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ 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. * * 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}. */ function decimals() public view returns (uint8) { return _decimals; } } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } contract GasDiscounter { IGasToken public constant gasToken = IGasToken(0x0000000000b3F879cb30FE243b4Dfee438691c04); modifier gasDiscount() { uint256 initialGasLeft = gasleft(); _; _makeGasDiscount(initialGasLeft - gasleft()); } function _makeGasDiscount(uint256 gasSpent) internal { uint256 tokens = (gasSpent + 14154) / 41130; gasToken.freeUpTo(tokens); } } contract EarnedInterestERC20 is ERC20 { using SafeMath for uint256; IFulcrum private fulcrum = IFulcrum(0x14094949152EDDBFcd073717200DA82fEd8dC960); mapping(address => uint256) private priceOf; function earnedInterest(address user) public view returns (uint256) { if (priceOf[user] == 0) { return 0; } if (balanceOf(user) < 1e18) { return priceOf[user]; } return balanceOf(user).mul(fulcrum.tokenPrice().sub(priceOf[user])).div(1e18); } function _setEarnedInteres(address user, uint256 interest) internal { if (balanceOf(user) < 1e18) { priceOf[user] = interest; } priceOf[user] = fulcrum.tokenPrice().sub( interest.mul(1e18).div(balanceOf(user)) ); } } interface IKyber { function getExpectedRate(IERC20 src, IERC20 dest, uint srcQty) external view returns (uint expectedRate, uint slippageRate); function tradeWithHint( IERC20 src, uint srcAmount, IERC20 dest, address destAddress, uint maxDestAmount, uint minConversionRate, address walletId, bytes calldata hint ) external payable returns (uint); } contract gDAI is Ownable, EarnedInterestERC20, ERC20Detailed, GasDiscounter, GSNRecipient { using SafeMath for uint256; using SafeERC20 for IERC20; using SafeERC20 for IGasToken; address feeReceiver; IERC20 public eth = IERC20(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); IERC20 public dai = IERC20(0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359); IFulcrum public fulcrum = IFulcrum(0x14094949152EDDBFcd073717200DA82fEd8dC960); IKyber public kyber = IKyber(0x818E6FECD516Ecc3849DAf6845e3EC868087B755); modifier compensateGas { uint256 gasProvided = gasleft(); _; if (_msgSender() == msg.sender && tx.origin == msg.sender) { _makeGasDiscount(gasProvided.sub(gasleft())); } } constructor( address _feeReceiver ) public ERC20Detailed("Gasless DAI", "gDAI", 18) { feeReceiver = _feeReceiver; dai.approve(address(fulcrum), uint256(- 1)); } function setFeeReceiver(address _feeReceiver) public onlyOwner { feeReceiver = _feeReceiver; } function() external payable { // Allow get eth from subcalls only require(msg.sender != tx.origin); } function preRelayedCall(bytes calldata /*context*/) external returns (bytes32) { return ""; } function postRelayedCall( bytes calldata /*context*/, bool /*success*/, uint actualCharge, bytes32 /*preRetVal*/ ) external { (uint256 ethPrice,) = kyber.getExpectedRate(eth, dai, actualCharge); uint256 daiNeeded = actualCharge.mul(1e18).div(ethPrice); uint256 daiExtracted = _getFromFulcrum(daiNeeded); uint256 interest = earnedInterest(_msgSender()); if (daiExtracted < interest) { _setEarnedInteres(_msgSender(), interest.sub(daiExtracted)); } else { _setEarnedInteres(_msgSender(), 0); _burn(_msgSender(), daiExtracted.sub(interest)); } kyber.tradeWithHint( dai, daiExtracted, eth, address(this), 1 << 255, 1, feeReceiver, "" ); IRelayHub(getHubAddr()).depositFor.value(address(this).balance)(address(this)); } function deposit(uint256 amount) public compensateGas { uint256 earned = earnedInterest(_msgSender()); _mint(_msgSender(), amount); dai.safeTransferFrom(_msgSender(), address(this), amount); _putToFulcrum(); _setEarnedInteres(_msgSender(), earned); } function withdraw(uint256 amount) public compensateGas { uint256 earned = earnedInterest(_msgSender()); _burn(_msgSender(), amount); _getFromFulcrum(amount); // Get with extra dai.safeTransfer(_msgSender(), amount); _putToFulcrum(); // Return some extra _setEarnedInteres(_msgSender(), earned); } function transfer(address to, uint256 amount) public compensateGas returns (bool) { uint256 earnedFrom = earnedInterest(_msgSender()); uint256 earnedTo = earnedInterest(to); bool res = super.transfer(to, amount); _setEarnedInteres(_msgSender(), earnedFrom); _setEarnedInteres(to, earnedTo); return res; } function transferFrom(address from, address to, uint256 amount) public compensateGas returns (bool) { uint256 earnedFrom = earnedInterest(from); uint256 earnedTo = earnedInterest(to); bool res = super.transferFrom(from, to, amount); _setEarnedInteres(from, earnedFrom); _setEarnedInteres(to, earnedTo); return res; } function approve(address to, uint256 amount) public compensateGas returns (bool) { return super.approve(to, amount); } // Check user have enough balance for gas compensation and method is allowed (have modifiers) function acceptRelayedCall( address /*relay*/, address from, bytes calldata encodedFunction, uint256 /*transactionFee*/, uint256 /*gasPrice*/, uint256 /*gasLimit*/, uint256 /*nonce*/, bytes calldata /*approvalData*/, uint256 maxPossibleCharge ) external view returns (uint256, bytes memory) { address sender = from; // Avoid "Stack too deep" error (uint256 ethPrice,) = kyber.getExpectedRate(eth, dai, maxPossibleCharge); if (balanceOf(sender).add(earnedInterest(sender)) < maxPossibleCharge.mul(1e18).div(ethPrice)) { return (1, "Not enough gDAI to pay for Tx"); } if (!compareBytesWithSelector(encodedFunction, this.transfer.selector) && !compareBytesWithSelector(encodedFunction, this.transferFrom.selector) && !compareBytesWithSelector(encodedFunction, this.approve.selector) && !compareBytesWithSelector(encodedFunction, this.deposit.selector) && !compareBytesWithSelector(encodedFunction, this.withdraw.selector)) { return (2, "This gDAI function can't ba called via GSN"); } return (0, ""); } function withdrawFromRelayHub(uint256 amount) public onlyOwner { _withdrawDeposits(amount, msg.sender); } function withdrawGasToken(uint256 amount) public onlyOwner { gasToken.safeTransfer(msg.sender, amount); } function compareBytesWithSelector(bytes memory data, bytes4 sel) internal pure returns (bool) { return data[0] == sel[0] && data[1] == sel[1] && data[2] == sel[2] && data[3] == sel[3]; } function _putToFulcrum() internal { fulcrum.mint(address(this), dai.balanceOf(address(this))); } function _getFromFulcrum(uint256 amount) internal returns (uint256 actualAmount) { uint256 iDAIAmount = amount.add(1e16).mul(fulcrum.tokenPrice()).div(1e18); return fulcrum.burn(address(this), iDAIAmount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"fulcrum","outputs":[{"internalType":"contract IFulcrum","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"earnedInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawFromRelayHub","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getHubAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"preRelayedCall","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"bytes","name":"encodedFunction","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"maxPossibleCharge","type":"uint256"}],"name":"acceptRelayedCall","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"eth","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kyber","outputs":[{"internalType":"contract IKyber","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"relayHubVersion","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"gasToken","outputs":[{"internalType":"contract IGasToken","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"actualCharge","type":"uint256"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"postRelayedCall","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawGasToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_feeReceiver","type":"address"}],"name":"setFeeReceiver","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"dai","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_feeReceiver","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldRelayHub","type":"address"},{"indexed":true,"internalType":"address","name":"newRelayHub","type":"address"}],"name":"RelayHubChanged","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"},{"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
6080604052600480546001600160a01b03199081167314094949152eddbfcd073717200da82fed8dc9609081179092556008805474d216153c06e857cd7f72665e0af1d7d82172f49400610100600160a81b0319909116179055600a8054821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee179055600b805482167389d24a6b4ccb1b6faa2625fe562bdd9a23260359179055600c80548216909217909155600d805490911673818e6fecd516ecc3849daf6845e3ec868087b755179055348015620000cd57600080fd5b5060405162002d1b38038062002d1b83398181016040526020811015620000f357600080fd5b5051604080518082018252600b81527f4761736c657373204441490000000000000000000000000000000000000000006020828101919091528251808401909352600483527f674441490000000000000000000000000000000000000000000000000000000090830152906012620001736001600160e01b03620002be16565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38251620001d090600690602086019062000347565b508151620001e690600790602085019062000347565b506008805460ff191660ff929092169190911790555050600980546001600160a01b0319166001600160a01b0383811691909117909155600b54600c54604080517f095ea7b30000000000000000000000000000000000000000000000000000000081529184166004830152600019602483015251919092169163095ea7b39160448083019260209291908290030181600087803b1580156200028857600080fd5b505af11580156200029d573d6000803e3d6000fd5b505050506040513d6020811015620002b457600080fd5b50620003e9915050565b60085460009061010090046001600160a01b03163314620002e1575033620002f7565b620002f46001600160e01b03620002fa16565b90505b90565b600060606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031692915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200038a57805160ff1916838001178555620003ba565b82800160010185558215620003ba579182015b82811115620003ba5782518255916020019190600101906200039d565b50620003c8929150620003cc565b5090565b620002f791905b80821115620003c85760008155600101620003d3565b61292280620003f96000396000f3fe6080604052600436106101d85760003560e01c80638c7c9e0c11610102578063b6b55f2511610095578063ebd8651911610064578063ebd8651914610889578063efdcd974146108b3578063f2fde38b146108e6578063f4b9fa7514610919576101d8565b8063b6b55f2514610786578063c91d59fe146107b0578063dd62ed3e146107c5578063e06e0e2214610800576101d8565b8063a2d10ba5116100d1578063a2d10ba5146106ea578063a457c2d7146106ff578063a9059cbb14610738578063ad61ccd514610771576101d8565b80638c7c9e0c146106965780638da5cb5b146106ab5780638f32d59b146106c057806395d89b41146106d5576101d8565b806358782c211161017a578063715018a611610149578063715018a61461047757806374e861d61461048c57806380274db7146104a157806383947ea01461051c576101d8565b806358782c21146103b65780635d948c35146103e75780636e1539ba1461041a57806370a0823114610444576101d8565b806323b872dd116101b657806323b872dd146102e55780632e1a7d4d14610328578063313ce56714610352578063395093511461037d576101d8565b806306fdde03146101e7578063095ea7b31461027157806318160ddd146102be575b333214156101e557600080fd5b005b3480156101f357600080fd5b506101fc61092e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023657818101518382015260200161021e565b50505050905090810190601f1680156102635780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561027d57600080fd5b506102aa6004803603604081101561029457600080fd5b506001600160a01b0381351690602001356109c5565b604080519115158252519081900360200190f35b3480156102ca57600080fd5b506102d3610a1a565b60408051918252519081900360200190f35b3480156102f157600080fd5b506102aa6004803603606081101561030857600080fd5b506001600160a01b03813581169160208101359091169060400135610a20565b34801561033457600080fd5b506101e56004803603602081101561034b57600080fd5b5035610aa6565b34801561035e57600080fd5b50610367610b53565b6040805160ff9092168252519081900360200190f35b34801561038957600080fd5b506102aa600480360360408110156103a057600080fd5b506001600160a01b038135169060200135610b5c565b3480156103c257600080fd5b506103cb610bbf565b604080516001600160a01b039092168252519081900360200190f35b3480156103f357600080fd5b506102d36004803603602081101561040a57600080fd5b50356001600160a01b0316610bce565b34801561042657600080fd5b506101e56004803603602081101561043d57600080fd5b5035610d11565b34801561045057600080fd5b506102d36004803603602081101561046757600080fd5b50356001600160a01b0316610d65565b34801561048357600080fd5b506101e5610d80565b34801561049857600080fd5b506103cb610e11565b3480156104ad57600080fd5b506102d3600480360360208110156104c457600080fd5b810190602081018135600160201b8111156104de57600080fd5b8201836020820111156104f057600080fd5b803590602001918460018302840111600160201b8311171561051157600080fd5b509092509050610e25565b34801561052857600080fd5b50610617600480360361012081101561054057600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561057357600080fd5b82018360208201111561058557600080fd5b803590602001918460018302840111600160201b831117156105a657600080fd5b9193909282359260208101359260408201359260608301359260a081019060800135600160201b8111156105d957600080fd5b8201836020820111156105eb57600080fd5b803590602001918460018302840111600160201b8311171561060c57600080fd5b919350915035610e2d565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561065a578181015183820152602001610642565b50505050905090810190601f1680156106875780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b3480156106a257600080fd5b506103cb611182565b3480156106b757600080fd5b506103cb611191565b3480156106cc57600080fd5b506102aa6111a0565b3480156106e157600080fd5b506101fc6111c4565b3480156106f657600080fd5b506103cb611225565b34801561070b57600080fd5b506102aa6004803603604081101561072257600080fd5b506001600160a01b038135169060200135611234565b34801561074457600080fd5b506102aa6004803603604081101561075b57600080fd5b506001600160a01b0381351690602001356112a2565b34801561077d57600080fd5b506101fc6112fa565b34801561079257600080fd5b506101e5600480360360208110156107a957600080fd5b5035611319565b3480156107bc57600080fd5b506103cb611363565b3480156107d157600080fd5b506102d3600480360360408110156107e857600080fd5b506001600160a01b0381358116916020013516611376565b34801561080c57600080fd5b506101e56004803603608081101561082357600080fd5b810190602081018135600160201b81111561083d57600080fd5b82018360208201111561084f57600080fd5b803590602001918460018302840111600160201b8311171561087057600080fd5b91935091508035151590602081013590604001356113a1565b34801561089557600080fd5b506101e5600480360360208110156108ac57600080fd5b5035611620565b3480156108bf57600080fd5b506101e5600480360360208110156108d657600080fd5b50356001600160a01b0316611687565b3480156108f257600080fd5b506101e56004803603602081101561090957600080fd5b50356001600160a01b03166116f0565b34801561092557600080fd5b506103cb611740565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109ba5780601f1061098f576101008083540402835291602001916109ba565b820191906000526020600020905b81548152906001019060200180831161099d57829003601f168201915b505050505090505b90565b6000805a90506109d5848461174f565b9150336109e0611763565b6001600160a01b03161480156109f557503233145b15610a1357610a13610a0e5a839063ffffffff61179316565b6117dc565b5092915050565b60035490565b6000805a90506000610a3186610bce565b90506000610a3e86610bce565b90506000610a4d888888611864565b9050610a5988846118ec565b610a6387836118ec565b9350505033610a70611763565b6001600160a01b0316148015610a8557503233145b15610a9e57610a9e610a0e5a839063ffffffff61179316565b509392505050565b60005a90506000610abd610ab8611763565b610bce565b9050610ad0610aca611763565b846119a9565b610ad983611aa5565b50610afe610ae5611763565b600b546001600160a01b0316908563ffffffff611bd216565b610b06611c29565b610b17610b11611763565b826118ec565b5033610b21611763565b6001600160a01b0316148015610b3657503233145b15610b4f57610b4f610a0e5a839063ffffffff61179316565b5050565b60085460ff1690565b6000610bb5610b69611763565b84610bb08560026000610b7a611763565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611d2516565b611d7f565b5060015b92915050565b600c546001600160a01b031681565b6001600160a01b038116600090815260056020526040812054610bf357506000610d0c565b670de0b6b3a7640000610c0583610d65565b1015610c2a57506001600160a01b038116600090815260056020526040902054610d0c565b610d09670de0b6b3a7640000610cfd610ce860056000876001600160a01b03166001600160a01b0316815260200190815260200160002054600460009054906101000a90046001600160a01b03166001600160a01b0316637ff9b5966040518163ffffffff1660e01b815260040160206040518083038186803b158015610cb057600080fd5b505afa158015610cc4573d6000803e3d6000fd5b505050506040513d6020811015610cda57600080fd5b50519063ffffffff61179316565b610cf186610d65565b9063ffffffff611e6b16565b9063ffffffff611ec416565b90505b919050565b610d196111a0565b610d58576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b610d628133611f06565b50565b6001600160a01b031660009081526001602052604090205490565b610d886111a0565b610dc7576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60085461010090046001600160a01b031690565b600092915050565b6000606060008c90506000600d60009054906101000a90046001600160a01b03166001600160a01b031663809a9e55600a60009054906101000a90046001600160a01b0316600b60009054906101000a90046001600160a01b0316886040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050604080518083038186803b158015610eee57600080fd5b505afa158015610f02573d6000803e3d6000fd5b505050506040513d6040811015610f1857600080fd5b50519050610f3881610cfd87670de0b6b3a764000063ffffffff611e6b16565b610f59610f4484610bce565b610f4d85610d65565b9063ffffffff611d2516565b1015610fa057505060408051808201909152601d81527f4e6f7420656e6f756768206744414920746f2070617920666f722054780000006020820152600192509050611172565b610fe88d8d8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525063a9059cbb60e01b9250611f7b915050565b15801561103a57506110388d8d8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506323b872dd60e01b9250611f7b915050565b155b801561108b57506110898d8d8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525063095ea7b360e01b9250611f7b915050565b155b80156110dc57506110da8d8d8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525063b6b55f2560e01b9250611f7b915050565b155b801561112d575061112b8d8d8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250632e1a7d4d60e01b9250611f7b915050565b155b1561115b5760028090506040518060600160405280602a8152602001612712602a9139935093505050611172565b505060408051602081019091526000808252925090505b9b509b9950505050505050505050565b600a546001600160a01b031681565b6000546001600160a01b031690565b600080546001600160a01b03166111b5611763565b6001600160a01b031614905090565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109ba5780601f1061098f576101008083540402835291602001916109ba565b600d546001600160a01b031681565b6000610bb5611241611763565b84610bb0856040518060600160405280602581526020016128c9602591396002600061126b611763565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61205316565b6000805a905060006112b5610ab8611763565b905060006112c286610bce565b905060006112d087876120ea565b90506112e36112dd611763565b846118ec565b6112ed87836118ec565b93505050336109e0611763565b6040805180820190915260058152640312e302e360dc1b602082015290565b60005a9050600061132b610ab8611763565b905061133e611338611763565b846120fe565b610afe611349611763565b600b546001600160a01b031690308663ffffffff6121f016565b6eb3f879cb30fe243b4dfee438691c0481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600d54600a54600b546040805163809a9e5560e01b81526001600160a01b0393841660048201529183166024830152604482018690528051600094939093169263809a9e55926064808201939291829003018186803b15801561140357600080fd5b505afa158015611417573d6000803e3d6000fd5b505050506040513d604081101561142d57600080fd5b50519050600061144f82610cfd86670de0b6b3a764000063ffffffff611e6b16565b9050600061145c82611aa5565b9050600061146b610ab8611763565b90508082101561149a57611495611480611763565b611490838563ffffffff61179316565b6118ec565b6114cc565b6114ac6114a5611763565b60006118ec565b6114cc6114b7611763565b6114c7848463ffffffff61179316565b6119a9565b600d54600b54600a54600954604080516329589f6160e01b81526001600160a01b039485166004820152602481018890529284166044840152306064840152600160ff1b6084840152600160a484015290831660c483015261010060e483015260006101048301819052905192909316926329589f6192610144808401936020939083900390910190829087803b15801561156657600080fd5b505af115801561157a573d6000803e3d6000fd5b505050506040513d602081101561159057600080fd5b5061159b9050610e11565b6001600160a01b031663aa67c919306001600160a01b031631306040518363ffffffff1660e01b815260040180826001600160a01b03166001600160a01b031681526020019150506000604051808303818588803b1580156115fc57600080fd5b505af1158015611610573d6000803e3d6000fd5b5050505050505050505050505050565b6116286111a0565b611667576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b610d626eb3f879cb30fe243b4dfee438691c04338363ffffffff611bd216565b61168f6111a0565b6116ce576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6116f86111a0565b611737576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b610d628161224a565b600b546001600160a01b031681565b6000610bb561175c611763565b8484611d7f565b60085460009061010090046001600160a01b031633146117845750336109c2565b61178c6122ea565b90506109c2565b60006117d583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612053565b9392505050565b604080516331b35c9b60e11b815261a0aa61374a8401046004820181905291516eb3f879cb30fe243b4dfee438691c0491636366b9369160248083019260209291908290030181600087803b15801561183457600080fd5b505af1158015611848573d6000803e3d6000fd5b505050506040513d602081101561185e57600080fd5b50505050565b6000611871848484612337565b6118e28461187d611763565b610bb0856040518060600160405280602881526020016127ed602891396001600160a01b038a166000908152600260205260408120906118bb611763565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61205316565b5060019392505050565b670de0b6b3a76400006118fe83610d65565b1015611920576001600160a01b03821660009081526005602052604090208190555b61198961194761192f84610d65565b610cfd84670de0b6b3a764000063ffffffff611e6b16565b6004805460408051633ffcdacb60e11b815290516001600160a01b0390921692637ff9b596928282019260209290829003018186803b158015610cb057600080fd5b6001600160a01b0390921660009081526005602052604090209190915550565b6001600160a01b0382166119ee5760405162461bcd60e51b81526004018080602001828103825260218152602001806128356021913960400191505060405180910390fd5b611a318160405180606001604052806022815260200161273c602291396001600160a01b038516600090815260016020526040902054919063ffffffff61205316565b6001600160a01b038316600090815260016020526040902055600354611a5d908263ffffffff61179316565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600080611b48670de0b6b3a7640000610cfd600c60009054906101000a90046001600160a01b03166001600160a01b0316637ff9b5966040518163ffffffff1660e01b815260040160206040518083038186803b158015611b0557600080fd5b505afa158015611b19573d6000803e3d6000fd5b505050506040513d6020811015611b2f57600080fd5b5051610cf187662386f26fc1000063ffffffff611d2516565b600c5460408051632770a7eb60e21b81523060048201526024810184905290519293506001600160a01b0390911691639dc29fac916044808201926020929091908290030181600087803b158015611b9f57600080fd5b505af1158015611bb3573d6000803e3d6000fd5b505050506040513d6020811015611bc957600080fd5b50519392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611c24908490612495565b505050565b600c54600b54604080516370a0823160e01b8152306004820181905291516001600160a01b03948516946340c10f199416916370a08231916024808301926020929190829003018186803b158015611c8057600080fd5b505afa158015611c94573d6000803e3d6000fd5b505050506040513d6020811015611caa57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b158015611cfb57600080fd5b505af1158015611d0f573d6000803e3d6000fd5b505050506040513d6020811015610b4f57600080fd5b6000828201838110156117d5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038316611dc45760405162461bcd60e51b815260040180806020018281038252602481526020018061287b6024913960400191505060405180910390fd5b6001600160a01b038216611e095760405162461bcd60e51b81526004018080602001828103825260228152602001806127846022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082611e7a57506000610bb9565b82820282848281611e8757fe5b04146117d55760405162461bcd60e51b81526004018080602001828103825260218152602001806127cc6021913960400191505060405180910390fd5b60006117d583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061264d565b60085460408051627b8a6760e11b8152600481018590526001600160a01b03848116602483015291516101009093049091169162f714ce9160448082019260009290919082900301818387803b158015611f5f57600080fd5b505af1158015611f73573d6000803e3d6000fd5b505050505050565b600081811a60f81b6001600160f81b03191683600081518110611f9a57fe5b01602001516001600160f81b031916148015611fe057508160011a60f81b6001600160f81b03191683600181518110611fcf57fe5b01602001516001600160f81b031916145b801561201657508160021a60f81b6001600160f81b0319168360028151811061200557fe5b01602001516001600160f81b031916145b80156117d557508160031a60f81b6001600160f81b0319168360038151811061203b57fe5b01602001516001600160f81b03191614905092915050565b600081848411156120e25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156120a757818101518382015260200161208f565b50505050905090810190601f1680156120d45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610bb56120f7611763565b8484612337565b6001600160a01b038216612159576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60035461216c908263ffffffff611d2516565b6003556001600160a01b038216600090815260016020526040902054612198908263ffffffff611d2516565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261185e908590612495565b6001600160a01b03811661228f5760405162461bcd60e51b815260040180806020018281038252602681526020018061275e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600060606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031692915050565b6001600160a01b03831661237c5760405162461bcd60e51b81526004018080602001828103825260258152602001806128566025913960400191505060405180910390fd5b6001600160a01b0382166123c15760405162461bcd60e51b81526004018080602001828103825260238152602001806126ef6023913960400191505060405180910390fd5b612404816040518060600160405280602681526020016127a6602691396001600160a01b038616600090815260016020526040902054919063ffffffff61205316565b6001600160a01b038085166000908152600160205260408082209390935590841681522054612439908263ffffffff611d2516565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6124a7826001600160a01b03166126b2565b6124f8576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106125365780518252601f199092019160209182019101612517565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612598576040519150601f19603f3d011682016040523d82523d6000602084013e61259d565b606091505b5091509150816125f4576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561185e5780806020019051602081101561261057600080fd5b505161185e5760405162461bcd60e51b815260040180806020018281038252602a81526020018061289f602a913960400191505060405180910390fd5b6000818361269c5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156120a757818101518382015260200161208f565b5060008385816126a857fe5b0495945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906126e65750808214155b94935050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735468697320674441492066756e6374696f6e2063616e27742062612063616c6c6564207669612047534e45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a7231582008edf162b0fdeea79fe7829cef9a308c06a0a936260236b166e4738c160bd20e64736f6c634300050b00320000000000000000000000004d37f28d2db99e8d35a6c725a5f1749a085850a3
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80638c7c9e0c11610102578063b6b55f2511610095578063ebd8651911610064578063ebd8651914610889578063efdcd974146108b3578063f2fde38b146108e6578063f4b9fa7514610919576101d8565b8063b6b55f2514610786578063c91d59fe146107b0578063dd62ed3e146107c5578063e06e0e2214610800576101d8565b8063a2d10ba5116100d1578063a2d10ba5146106ea578063a457c2d7146106ff578063a9059cbb14610738578063ad61ccd514610771576101d8565b80638c7c9e0c146106965780638da5cb5b146106ab5780638f32d59b146106c057806395d89b41146106d5576101d8565b806358782c211161017a578063715018a611610149578063715018a61461047757806374e861d61461048c57806380274db7146104a157806383947ea01461051c576101d8565b806358782c21146103b65780635d948c35146103e75780636e1539ba1461041a57806370a0823114610444576101d8565b806323b872dd116101b657806323b872dd146102e55780632e1a7d4d14610328578063313ce56714610352578063395093511461037d576101d8565b806306fdde03146101e7578063095ea7b31461027157806318160ddd146102be575b333214156101e557600080fd5b005b3480156101f357600080fd5b506101fc61092e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023657818101518382015260200161021e565b50505050905090810190601f1680156102635780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561027d57600080fd5b506102aa6004803603604081101561029457600080fd5b506001600160a01b0381351690602001356109c5565b604080519115158252519081900360200190f35b3480156102ca57600080fd5b506102d3610a1a565b60408051918252519081900360200190f35b3480156102f157600080fd5b506102aa6004803603606081101561030857600080fd5b506001600160a01b03813581169160208101359091169060400135610a20565b34801561033457600080fd5b506101e56004803603602081101561034b57600080fd5b5035610aa6565b34801561035e57600080fd5b50610367610b53565b6040805160ff9092168252519081900360200190f35b34801561038957600080fd5b506102aa600480360360408110156103a057600080fd5b506001600160a01b038135169060200135610b5c565b3480156103c257600080fd5b506103cb610bbf565b604080516001600160a01b039092168252519081900360200190f35b3480156103f357600080fd5b506102d36004803603602081101561040a57600080fd5b50356001600160a01b0316610bce565b34801561042657600080fd5b506101e56004803603602081101561043d57600080fd5b5035610d11565b34801561045057600080fd5b506102d36004803603602081101561046757600080fd5b50356001600160a01b0316610d65565b34801561048357600080fd5b506101e5610d80565b34801561049857600080fd5b506103cb610e11565b3480156104ad57600080fd5b506102d3600480360360208110156104c457600080fd5b810190602081018135600160201b8111156104de57600080fd5b8201836020820111156104f057600080fd5b803590602001918460018302840111600160201b8311171561051157600080fd5b509092509050610e25565b34801561052857600080fd5b50610617600480360361012081101561054057600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b81111561057357600080fd5b82018360208201111561058557600080fd5b803590602001918460018302840111600160201b831117156105a657600080fd5b9193909282359260208101359260408201359260608301359260a081019060800135600160201b8111156105d957600080fd5b8201836020820111156105eb57600080fd5b803590602001918460018302840111600160201b8311171561060c57600080fd5b919350915035610e2d565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561065a578181015183820152602001610642565b50505050905090810190601f1680156106875780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b3480156106a257600080fd5b506103cb611182565b3480156106b757600080fd5b506103cb611191565b3480156106cc57600080fd5b506102aa6111a0565b3480156106e157600080fd5b506101fc6111c4565b3480156106f657600080fd5b506103cb611225565b34801561070b57600080fd5b506102aa6004803603604081101561072257600080fd5b506001600160a01b038135169060200135611234565b34801561074457600080fd5b506102aa6004803603604081101561075b57600080fd5b506001600160a01b0381351690602001356112a2565b34801561077d57600080fd5b506101fc6112fa565b34801561079257600080fd5b506101e5600480360360208110156107a957600080fd5b5035611319565b3480156107bc57600080fd5b506103cb611363565b3480156107d157600080fd5b506102d3600480360360408110156107e857600080fd5b506001600160a01b0381358116916020013516611376565b34801561080c57600080fd5b506101e56004803603608081101561082357600080fd5b810190602081018135600160201b81111561083d57600080fd5b82018360208201111561084f57600080fd5b803590602001918460018302840111600160201b8311171561087057600080fd5b91935091508035151590602081013590604001356113a1565b34801561089557600080fd5b506101e5600480360360208110156108ac57600080fd5b5035611620565b3480156108bf57600080fd5b506101e5600480360360208110156108d657600080fd5b50356001600160a01b0316611687565b3480156108f257600080fd5b506101e56004803603602081101561090957600080fd5b50356001600160a01b03166116f0565b34801561092557600080fd5b506103cb611740565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109ba5780601f1061098f576101008083540402835291602001916109ba565b820191906000526020600020905b81548152906001019060200180831161099d57829003601f168201915b505050505090505b90565b6000805a90506109d5848461174f565b9150336109e0611763565b6001600160a01b03161480156109f557503233145b15610a1357610a13610a0e5a839063ffffffff61179316565b6117dc565b5092915050565b60035490565b6000805a90506000610a3186610bce565b90506000610a3e86610bce565b90506000610a4d888888611864565b9050610a5988846118ec565b610a6387836118ec565b9350505033610a70611763565b6001600160a01b0316148015610a8557503233145b15610a9e57610a9e610a0e5a839063ffffffff61179316565b509392505050565b60005a90506000610abd610ab8611763565b610bce565b9050610ad0610aca611763565b846119a9565b610ad983611aa5565b50610afe610ae5611763565b600b546001600160a01b0316908563ffffffff611bd216565b610b06611c29565b610b17610b11611763565b826118ec565b5033610b21611763565b6001600160a01b0316148015610b3657503233145b15610b4f57610b4f610a0e5a839063ffffffff61179316565b5050565b60085460ff1690565b6000610bb5610b69611763565b84610bb08560026000610b7a611763565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611d2516565b611d7f565b5060015b92915050565b600c546001600160a01b031681565b6001600160a01b038116600090815260056020526040812054610bf357506000610d0c565b670de0b6b3a7640000610c0583610d65565b1015610c2a57506001600160a01b038116600090815260056020526040902054610d0c565b610d09670de0b6b3a7640000610cfd610ce860056000876001600160a01b03166001600160a01b0316815260200190815260200160002054600460009054906101000a90046001600160a01b03166001600160a01b0316637ff9b5966040518163ffffffff1660e01b815260040160206040518083038186803b158015610cb057600080fd5b505afa158015610cc4573d6000803e3d6000fd5b505050506040513d6020811015610cda57600080fd5b50519063ffffffff61179316565b610cf186610d65565b9063ffffffff611e6b16565b9063ffffffff611ec416565b90505b919050565b610d196111a0565b610d58576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b610d628133611f06565b50565b6001600160a01b031660009081526001602052604090205490565b610d886111a0565b610dc7576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60085461010090046001600160a01b031690565b600092915050565b6000606060008c90506000600d60009054906101000a90046001600160a01b03166001600160a01b031663809a9e55600a60009054906101000a90046001600160a01b0316600b60009054906101000a90046001600160a01b0316886040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050604080518083038186803b158015610eee57600080fd5b505afa158015610f02573d6000803e3d6000fd5b505050506040513d6040811015610f1857600080fd5b50519050610f3881610cfd87670de0b6b3a764000063ffffffff611e6b16565b610f59610f4484610bce565b610f4d85610d65565b9063ffffffff611d2516565b1015610fa057505060408051808201909152601d81527f4e6f7420656e6f756768206744414920746f2070617920666f722054780000006020820152600192509050611172565b610fe88d8d8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525063a9059cbb60e01b9250611f7b915050565b15801561103a57506110388d8d8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506323b872dd60e01b9250611f7b915050565b155b801561108b57506110898d8d8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525063095ea7b360e01b9250611f7b915050565b155b80156110dc57506110da8d8d8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525063b6b55f2560e01b9250611f7b915050565b155b801561112d575061112b8d8d8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250632e1a7d4d60e01b9250611f7b915050565b155b1561115b5760028090506040518060600160405280602a8152602001612712602a9139935093505050611172565b505060408051602081019091526000808252925090505b9b509b9950505050505050505050565b600a546001600160a01b031681565b6000546001600160a01b031690565b600080546001600160a01b03166111b5611763565b6001600160a01b031614905090565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109ba5780601f1061098f576101008083540402835291602001916109ba565b600d546001600160a01b031681565b6000610bb5611241611763565b84610bb0856040518060600160405280602581526020016128c9602591396002600061126b611763565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61205316565b6000805a905060006112b5610ab8611763565b905060006112c286610bce565b905060006112d087876120ea565b90506112e36112dd611763565b846118ec565b6112ed87836118ec565b93505050336109e0611763565b6040805180820190915260058152640312e302e360dc1b602082015290565b60005a9050600061132b610ab8611763565b905061133e611338611763565b846120fe565b610afe611349611763565b600b546001600160a01b031690308663ffffffff6121f016565b6eb3f879cb30fe243b4dfee438691c0481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600d54600a54600b546040805163809a9e5560e01b81526001600160a01b0393841660048201529183166024830152604482018690528051600094939093169263809a9e55926064808201939291829003018186803b15801561140357600080fd5b505afa158015611417573d6000803e3d6000fd5b505050506040513d604081101561142d57600080fd5b50519050600061144f82610cfd86670de0b6b3a764000063ffffffff611e6b16565b9050600061145c82611aa5565b9050600061146b610ab8611763565b90508082101561149a57611495611480611763565b611490838563ffffffff61179316565b6118ec565b6114cc565b6114ac6114a5611763565b60006118ec565b6114cc6114b7611763565b6114c7848463ffffffff61179316565b6119a9565b600d54600b54600a54600954604080516329589f6160e01b81526001600160a01b039485166004820152602481018890529284166044840152306064840152600160ff1b6084840152600160a484015290831660c483015261010060e483015260006101048301819052905192909316926329589f6192610144808401936020939083900390910190829087803b15801561156657600080fd5b505af115801561157a573d6000803e3d6000fd5b505050506040513d602081101561159057600080fd5b5061159b9050610e11565b6001600160a01b031663aa67c919306001600160a01b031631306040518363ffffffff1660e01b815260040180826001600160a01b03166001600160a01b031681526020019150506000604051808303818588803b1580156115fc57600080fd5b505af1158015611610573d6000803e3d6000fd5b5050505050505050505050505050565b6116286111a0565b611667576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b610d626eb3f879cb30fe243b4dfee438691c04338363ffffffff611bd216565b61168f6111a0565b6116ce576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6116f86111a0565b611737576040805162461bcd60e51b81526020600482018190526024820152600080516020612815833981519152604482015290519081900360640190fd5b610d628161224a565b600b546001600160a01b031681565b6000610bb561175c611763565b8484611d7f565b60085460009061010090046001600160a01b031633146117845750336109c2565b61178c6122ea565b90506109c2565b60006117d583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612053565b9392505050565b604080516331b35c9b60e11b815261a0aa61374a8401046004820181905291516eb3f879cb30fe243b4dfee438691c0491636366b9369160248083019260209291908290030181600087803b15801561183457600080fd5b505af1158015611848573d6000803e3d6000fd5b505050506040513d602081101561185e57600080fd5b50505050565b6000611871848484612337565b6118e28461187d611763565b610bb0856040518060600160405280602881526020016127ed602891396001600160a01b038a166000908152600260205260408120906118bb611763565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61205316565b5060019392505050565b670de0b6b3a76400006118fe83610d65565b1015611920576001600160a01b03821660009081526005602052604090208190555b61198961194761192f84610d65565b610cfd84670de0b6b3a764000063ffffffff611e6b16565b6004805460408051633ffcdacb60e11b815290516001600160a01b0390921692637ff9b596928282019260209290829003018186803b158015610cb057600080fd5b6001600160a01b0390921660009081526005602052604090209190915550565b6001600160a01b0382166119ee5760405162461bcd60e51b81526004018080602001828103825260218152602001806128356021913960400191505060405180910390fd5b611a318160405180606001604052806022815260200161273c602291396001600160a01b038516600090815260016020526040902054919063ffffffff61205316565b6001600160a01b038316600090815260016020526040902055600354611a5d908263ffffffff61179316565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600080611b48670de0b6b3a7640000610cfd600c60009054906101000a90046001600160a01b03166001600160a01b0316637ff9b5966040518163ffffffff1660e01b815260040160206040518083038186803b158015611b0557600080fd5b505afa158015611b19573d6000803e3d6000fd5b505050506040513d6020811015611b2f57600080fd5b5051610cf187662386f26fc1000063ffffffff611d2516565b600c5460408051632770a7eb60e21b81523060048201526024810184905290519293506001600160a01b0390911691639dc29fac916044808201926020929091908290030181600087803b158015611b9f57600080fd5b505af1158015611bb3573d6000803e3d6000fd5b505050506040513d6020811015611bc957600080fd5b50519392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611c24908490612495565b505050565b600c54600b54604080516370a0823160e01b8152306004820181905291516001600160a01b03948516946340c10f199416916370a08231916024808301926020929190829003018186803b158015611c8057600080fd5b505afa158015611c94573d6000803e3d6000fd5b505050506040513d6020811015611caa57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b158015611cfb57600080fd5b505af1158015611d0f573d6000803e3d6000fd5b505050506040513d6020811015610b4f57600080fd5b6000828201838110156117d5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038316611dc45760405162461bcd60e51b815260040180806020018281038252602481526020018061287b6024913960400191505060405180910390fd5b6001600160a01b038216611e095760405162461bcd60e51b81526004018080602001828103825260228152602001806127846022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082611e7a57506000610bb9565b82820282848281611e8757fe5b04146117d55760405162461bcd60e51b81526004018080602001828103825260218152602001806127cc6021913960400191505060405180910390fd5b60006117d583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061264d565b60085460408051627b8a6760e11b8152600481018590526001600160a01b03848116602483015291516101009093049091169162f714ce9160448082019260009290919082900301818387803b158015611f5f57600080fd5b505af1158015611f73573d6000803e3d6000fd5b505050505050565b600081811a60f81b6001600160f81b03191683600081518110611f9a57fe5b01602001516001600160f81b031916148015611fe057508160011a60f81b6001600160f81b03191683600181518110611fcf57fe5b01602001516001600160f81b031916145b801561201657508160021a60f81b6001600160f81b0319168360028151811061200557fe5b01602001516001600160f81b031916145b80156117d557508160031a60f81b6001600160f81b0319168360038151811061203b57fe5b01602001516001600160f81b03191614905092915050565b600081848411156120e25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156120a757818101518382015260200161208f565b50505050905090810190601f1680156120d45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610bb56120f7611763565b8484612337565b6001600160a01b038216612159576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60035461216c908263ffffffff611d2516565b6003556001600160a01b038216600090815260016020526040902054612198908263ffffffff611d2516565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261185e908590612495565b6001600160a01b03811661228f5760405162461bcd60e51b815260040180806020018281038252602681526020018061275e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600060606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031692915050565b6001600160a01b03831661237c5760405162461bcd60e51b81526004018080602001828103825260258152602001806128566025913960400191505060405180910390fd5b6001600160a01b0382166123c15760405162461bcd60e51b81526004018080602001828103825260238152602001806126ef6023913960400191505060405180910390fd5b612404816040518060600160405280602681526020016127a6602691396001600160a01b038616600090815260016020526040902054919063ffffffff61205316565b6001600160a01b038085166000908152600160205260408082209390935590841681522054612439908263ffffffff611d2516565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6124a7826001600160a01b03166126b2565b6124f8576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106125365780518252601f199092019160209182019101612517565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612598576040519150601f19603f3d011682016040523d82523d6000602084013e61259d565b606091505b5091509150816125f4576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561185e5780806020019051602081101561261057600080fd5b505161185e5760405162461bcd60e51b815260040180806020018281038252602a81526020018061289f602a913960400191505060405180910390fd5b6000818361269c5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156120a757818101518382015260200161208f565b5060008385816126a857fe5b0495945050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906126e65750808214155b94935050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735468697320674441492066756e6374696f6e2063616e27742062612063616c6c6564207669612047534e45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a7231582008edf162b0fdeea79fe7829cef9a308c06a0a936260236b166e4738c160bd20e64736f6c634300050b0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004d37f28d2db99e8d35a6c725a5f1749a085850a3
-----Decoded View---------------
Arg [0] : _feeReceiver (address): 0x4D37f28D2db99e8d35A6C725a5f1749A085850a3
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004d37f28d2db99e8d35a6c725a5f1749a085850a3
Deployed Bytecode Sourcemap
49792:6188:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50995:10;51009:9;50995:23;;50987:32;;;;;;49792:6188;43361:83;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43361:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;43361:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53618:134;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53618:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;53618:134:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;32283:91;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32283:91:0;;;:::i;:::-;;;;;;;;;;;;;;;;53227:383;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53227:383:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;53227:383:0;;;;;;;;;;;;;;;;;:::i;52481:361::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;52481:361:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52481:361:0;;:::i;44213:83::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44213:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34596:210;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34596:210:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;34596:210:0;;;;;;;;:::i;50177:78::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50177:78:0;;;:::i;:::-;;;;-1:-1:-1;;;;;50177:78:0;;;;;;;;;;;;;;48691:336;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48691:336:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48691:336:0;-1:-1:-1;;;;;48691:336:0;;:::i;55130:121::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55130:121:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55130:121:0;;:::i;32437:110::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32437:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32437:110:0;-1:-1:-1;;;;;32437:110:0;;:::i;40636:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40636:140:0;;;:::i;41751:87::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41751:87:0;;;:::i;51035:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51035:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;51035:109:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;51035:109:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;51035:109:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;51035:109:0;;-1:-1:-1;51035:109:0;-1:-1:-1;51035:109:0;:::i;53859:1263::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53859:1263:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;53859:1263:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;53859:1263:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;53859:1263:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;53859:1263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;53859:1263:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;53859:1263:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;53859:1263:0;;-1:-1:-1;53859:1263:0;-1:-1:-1;53859:1263:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;53859:1263:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50023:70;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50023:70:0;;;:::i;39825:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39825:79:0;;;:::i;40191:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40191:94:0;;;:::i;43563:87::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43563:87:0;;;:::i;50262:72::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50262:72:0;;;:::i;35309:261::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35309:261:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;35309:261:0;;;;;;;;:::i;52850:369::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;52850:369:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;52850:369:0;;;;;;;;:::i;42164:230::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42164:230:0;;;:::i;52167:306::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;52167:306:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52167:306:0;;:::i;48059:90::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48059:90:0;;;:::i;32981:134::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32981:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;32981:134:0;;;;;;;;;;:::i;51152:1007::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51152:1007:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;51152:1007:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;51152:1007:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;51152:1007:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;51152:1007:0;;-1:-1:-1;51152:1007:0;-1:-1:-1;51152:1007:0;;;;;;;;;;;;;;:::i;55259:121::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55259:121:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55259:121:0;;:::i;50783:110::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50783:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50783:110:0;-1:-1:-1;;;;;50783:110:0;;:::i;40931:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;40931:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40931:109:0;-1:-1:-1;;;;;40931:109:0;;:::i;50100:70::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50100:70:0;;;:::i;43361:83::-;43431:5;43424:12;;;;;;;;-1:-1:-1;;43424:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43398:13;;43424:12;;43431:5;;43424:12;;43431:5;43424:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43361:83;;:::o;53618:134::-;53693:4;50377:19;50399:9;50377:31;;53719:25;53733:2;53737:6;53719:13;:25::i;:::-;53712:32;;50451:10;50435:12;:10;:12::i;:::-;-1:-1:-1;;;;;50435:26:0;;:53;;;;-1:-1:-1;50465:9:0;50478:10;50465:23;50435:53;50431:130;;;50505:44;50522:26;50538:9;50522:11;;:26;:15;:26;:::i;:::-;50505:16;:44::i;:::-;53618:134;;;;;:::o;32283:91::-;32354:12;;32283:91;:::o;53227:383::-;53321:4;50377:19;50399:9;50377:31;;53340:18;53361:20;53376:4;53361:14;:20::i;:::-;53340:41;;53392:16;53411:18;53426:2;53411:14;:18::i;:::-;53392:37;;53442:8;53453:36;53472:4;53478:2;53482:6;53453:18;:36::i;:::-;53442:47;;53502:35;53520:4;53526:10;53502:17;:35::i;:::-;53548:31;53566:2;53570:8;53548:17;:31::i;:::-;53599:3;-1:-1:-1;;;50451:10:0;50435:12;:10;:12::i;:::-;-1:-1:-1;;;;;50435:26:0;;:53;;;;-1:-1:-1;50465:9:0;50478:10;50465:23;50435:53;50431:130;;;50505:44;50522:26;50538:9;50522:11;;:26;:15;:26;:::i;50505:44::-;53227:383;;;;;;:::o;52481:361::-;50377:19;50399:9;50377:31;;52549:14;52566:28;52581:12;:10;:12::i;:::-;52566:14;:28::i;:::-;52549:45;;52607:27;52613:12;:10;:12::i;:::-;52627:6;52607:5;:27::i;:::-;52645:23;52661:6;52645:15;:23::i;:::-;;52697:38;52714:12;:10;:12::i;:::-;52697:3;;-1:-1:-1;;;;;52697:3:0;;52728:6;52697:38;:16;:38;:::i;:::-;52746:15;:13;:15::i;:::-;52795:39;52813:12;:10;:12::i;:::-;52827:6;52795:17;:39::i;:::-;-1:-1:-1;50451:10:0;50435:12;:10;:12::i;:::-;-1:-1:-1;;;;;50435:26:0;;:53;;;;-1:-1:-1;50465:9:0;50478:10;50465:23;50435:53;50431:130;;;50505:44;50522:26;50538:9;50522:11;;:26;:15;:26;:::i;50505:44::-;52481:361;;:::o;44213:83::-;44279:9;;;;44213:83;:::o;34596:210::-;34676:4;34693:83;34702:12;:10;:12::i;:::-;34716:7;34725:50;34764:10;34725:11;:25;34737:12;:10;:12::i;:::-;-1:-1:-1;;;;;34725:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;34725:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;:::-;34693:8;:83::i;:::-;-1:-1:-1;34794:4:0;34596:210;;;;;:::o;50177:78::-;;;-1:-1:-1;;;;;50177:78:0;;:::o;48691:336::-;-1:-1:-1;;;;;48776:13:0;;48750:7;48776:13;;;:7;:13;;;;;;48772:61;;-1:-1:-1;48820:1:0;48813:8;;48772:61;48875:4;48857:15;48867:4;48857:9;:15::i;:::-;:22;48853:77;;;-1:-1:-1;;;;;;48905:13:0;;;;;;:7;:13;;;;;;48898:20;;48853:77;48949:70;49014:4;48949:60;48969:39;48994:7;:13;49002:4;-1:-1:-1;;;;;48994:13:0;-1:-1:-1;;;;;48994:13:0;;;;;;;;;;;;;48969:7;;;;;;;;;-1:-1:-1;;;;;48969:7:0;-1:-1:-1;;;;;48969:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48969:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48969:20:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48969:20:0;;:39;:24;:39;:::i;:::-;48949:15;48959:4;48949:9;:15::i;:::-;:19;:60;:19;:60;:::i;:::-;:64;:70;:64;:70;:::i;:::-;48942:77;;48691:336;;;;:::o;55130:121::-;40037:9;:7;:9::i;:::-;40029:54;;;;;-1:-1:-1;;;40029:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40029:54:0;;;;;;;;;;;;;;;55206:37;55224:6;55232:10;55206:17;:37::i;:::-;55130:121;:::o;32437:110::-;-1:-1:-1;;;;;32521:18:0;32494:7;32521:18;;;:9;:18;;;;;;;32437:110::o;40636:140::-;40037:9;:7;:9::i;:::-;40029:54;;;;;-1:-1:-1;;;40029:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40029:54:0;;;;;;;;;;;;;;;40735:1;40719:6;;40698:40;;-1:-1:-1;;;;;40719:6:0;;;;40698:40;;40735:1;;40698:40;40766:1;40749:19;;-1:-1:-1;;;;;;40749:19:0;;;40636:140::o;41751:87::-;41821:9;;;;;-1:-1:-1;;;;;41821:9:0;;41751:87::o;51035:109::-;51105:7;51035:109;;;;:::o;53859:1263::-;54228:7;54237:12;54269:14;54286:4;54269:21;;54343:16;54364:5;;;;;;;;;-1:-1:-1;;;;;54364:5:0;-1:-1:-1;;;;;54364:21:0;;54386:3;;;;;;;;;-1:-1:-1;;;;;54386:3:0;54391;;;;;;;;;-1:-1:-1;;;;;54391:3:0;54396:17;54364:50;;;;;;;;;;;;;-1:-1:-1;;;;;54364:50:0;-1:-1:-1;;;;;54364:50:0;;;;;;-1:-1:-1;;;;;54364:50:0;-1:-1:-1;;;;;54364:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;54364:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54364:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54364:50:0;;-1:-1:-1;54479:41:0;54364:50;54479:27;:17;54501:4;54479:27;:21;:27;:::i;:41::-;54431:45;54453:22;54468:6;54453:14;:22::i;:::-;54431:17;54441:6;54431:9;:17::i;:::-;:21;:45;:21;:45;:::i;:::-;:89;54427:167;;;-1:-1:-1;;54539:43:0;;;;;;;;;;;;;;;;;54547:1;;-1:-1:-1;54539:43:0;-1:-1:-1;54539:43:0;;54427:167;54611:65;54636:15;;54611:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;54653:22:0;-1:-1:-1;54611:24:0;;-1:-1:-1;;54611:65:0:i;:::-;54610:66;:149;;;;;54690:69;54715:15;;54690:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;54732:26:0;-1:-1:-1;54690:24:0;;-1:-1:-1;;54690:69:0:i;:::-;54689:70;54610:149;:227;;;;;54773:64;54798:15;;54773:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;54815:21:0;-1:-1:-1;54773:24:0;;-1:-1:-1;;54773:64:0:i;:::-;54772:65;54610:227;:305;;;;;54851:64;54876:15;;54851:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;54893:21:0;-1:-1:-1;54851:24:0;;-1:-1:-1;;54851:64:0:i;:::-;54850:65;54610:305;:384;;;;;54929:65;54954:15;;54929:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;54971:22:0;-1:-1:-1;54929:24:0;;-1:-1:-1;;54929:65:0:i;:::-;54928:66;54610:384;54606:482;;;55028:1;55020:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;54606:482;-1:-1:-1;;55100:14:0;;;;;;;;;55108:1;55100:14;;;55108:1;-1:-1:-1;55100:14:0;-1:-1:-1;53859:1263:0;;;;;;;;;;;;;;;:::o;50023:70::-;;;-1:-1:-1;;;;;50023:70:0;;:::o;39825:79::-;39863:7;39890:6;-1:-1:-1;;;;;39890:6:0;39825:79;:::o;40191:94::-;40231:4;40271:6;;-1:-1:-1;;;;;40271:6:0;40255:12;:10;:12::i;:::-;-1:-1:-1;;;;;40255:22:0;;40248:29;;40191:94;:::o;43563:87::-;43635:7;43628:14;;;;;;;;-1:-1:-1;;43628:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43602:13;;43628:14;;43635:7;;43628:14;;43635:7;43628:14;;;;;;;;;;;;;;;;;;;;;;;;50262:72;;;-1:-1:-1;;;;;50262:72:0;;:::o;35309:261::-;35394:4;35411:129;35420:12;:10;:12::i;:::-;35434:7;35443:96;35482:15;35443:96;;;;;;;;;;;;;;;;;:11;:25;35455:12;:10;:12::i;:::-;-1:-1:-1;;;;;35443:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;35443:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;52850:369::-;52926:4;50377:19;50399:9;50377:31;;52945:18;52966:28;52981:12;:10;:12::i;52966:28::-;52945:49;;53005:16;53024:18;53039:2;53024:14;:18::i;:::-;53005:37;;53055:8;53066:26;53081:2;53085:6;53066:14;:26::i;:::-;53055:37;;53103:43;53121:12;:10;:12::i;:::-;53135:10;53103:17;:43::i;:::-;53157:31;53175:2;53179:8;53157:17;:31::i;:::-;53208:3;-1:-1:-1;;;50451:10:0;50435:12;:10;:12::i;42164:230::-;42372:14;;;;;;;;;;;;-1:-1:-1;;;42372:14:0;;;;42164:230;:::o;52167:306::-;50377:19;50399:9;50377:31;;52234:14;52251:28;52266:12;:10;:12::i;52251:28::-;52234:45;;52292:27;52298:12;:10;:12::i;:::-;52312:6;52292:5;:27::i;:::-;52330:57;52351:12;:10;:12::i;:::-;52330:3;;-1:-1:-1;;;;;52330:3:0;;52373:4;52380:6;52330:57;:20;:57;:::i;48059:90::-;48106:42;48059:90;:::o;32981:134::-;-1:-1:-1;;;;;33080:18:0;;;33053:7;33080:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;32981:134::o;51152:1007::-;51352:5;;51374:3;;51379;;51352:45;;;-1:-1:-1;;;51352:45:0;;-1:-1:-1;;;;;51374:3:0;;;51352:45;;;;51379:3;;;51352:45;;;;;;;;;;;;51331:16;;51352:5;;;;;:21;;:45;;;;;;;;;;;;:5;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;51352:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51352:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51352:45:0;;-1:-1:-1;51408:17:0;51428:36;51352:45;51428:22;:12;51445:4;51428:22;:16;:22;:::i;:36::-;51408:56;;51477:20;51500:26;51516:9;51500:15;:26::i;:::-;51477:49;;51537:16;51556:28;51571:12;:10;:12::i;51556:28::-;51537:47;;51616:8;51601:12;:23;51597:248;;;51643:59;51661:12;:10;:12::i;:::-;51675:26;:8;51688:12;51675:26;:12;:26;:::i;:::-;51643:17;:59::i;:::-;51597:248;;;51737:34;51755:12;:10;:12::i;:::-;51769:1;51737:17;:34::i;:::-;51786:47;51792:12;:10;:12::i;:::-;51806:26;:12;51823:8;51806:26;:16;:26;:::i;:::-;51786:5;:47::i;:::-;51857:5;;51891:3;;51936;;52021:11;;51857:203;;;-1:-1:-1;;;51857:203:0;;-1:-1:-1;;;;;51891:3:0;;;51857:203;;;;;;;;;;51936:3;;;51857:203;;;;51962:4;51857:203;;;;-1:-1:-1;;;51857:203:0;;;;:5;:203;;;;52021:11;;;51857:203;;;;:5;:203;;;;:5;:203;;;;;;;;:5;;;;;:19;;:203;;;;;;;;;;;;;;;;;:5;:203;;;5:2:-1;;;;30:1;27;20:12;5:2;51857:203:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51857:203:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52083:12:0;;-1:-1:-1;52083:10:0;:12::i;:::-;-1:-1:-1;;;;;52073:34:0;;52122:4;-1:-1:-1;;;;;52114:21:0;;52145:4;52073:78;;;;;;;;;;;;;-1:-1:-1;;;;;52073:78:0;-1:-1:-1;;;;;52073:78:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;52073:78:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;52073:78:0;;;;;51152:1007;;;;;;;;;:::o;55259:121::-;40037:9;:7;:9::i;:::-;40029:54;;;;;-1:-1:-1;;;40029:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40029:54:0;;;;;;;;;;;;;;;55331:41;48106:42;55353:10;55365:6;55331:41;:21;:41;:::i;50783:110::-;40037:9;:7;:9::i;:::-;40029:54;;;;;-1:-1:-1;;;40029:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40029:54:0;;;;;;;;;;;;;;;50859:11;:26;;-1:-1:-1;;;;;;50859:26:0;-1:-1:-1;;;;;50859:26:0;;;;;;;;;;50783:110::o;40931:109::-;40037:9;:7;:9::i;:::-;40029:54;;;;;-1:-1:-1;;;40029:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;40029:54:0;;;;;;;;;;;;;;;41004:28;41023:8;41004:18;:28::i;50100:70::-;;;-1:-1:-1;;;;;50100:70:0;;:::o;33262:150::-;33327:4;33344:38;33353:12;:10;:12::i;:::-;33367:7;33376:5;33344:8;:38::i;3332:208::-;3415:9;;3377:7;;3415:9;;;-1:-1:-1;;;;;3415:9:0;3401:10;:23;3397:136;;-1:-1:-1;3448:10:0;3441:17;;3397:136;3498:23;:21;:23::i;:::-;3491:30;;;;24101:136;24159:7;24186:43;24190:1;24193;24186:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;24179:50;24101:136;-1:-1:-1;;;24101:136:0:o;48309:151::-;48427:25;;;-1:-1:-1;;;48427:25:0;;48411:5;48402;48391:16;;48390:26;48427:25;;;;;;;;48106:42;;48427:17;;:25;;;;;;;;;;;;;;48373:14;48106:42;48427:25;;;5:2:-1;;;;30:1;27;20:12;5:2;48427:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;48427:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;48309:151:0:o;33883:304::-;33972:4;33989:36;33999:6;34007:9;34018:6;33989:9;:36::i;:::-;34036:121;34045:6;34053:12;:10;:12::i;:::-;34067:89;34105:6;34067:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34067:19:0;;;;;;:11;:19;;;;;;34087:12;:10;:12::i;:::-;-1:-1:-1;;;;;34067:33:0;;;;;;;;;;;;-1:-1:-1;34067:33:0;;;:89;;:37;:89;:::i;34036:121::-;-1:-1:-1;34175:4:0;33883:304;;;;;:::o;49035:287::-;49138:4;49120:15;49130:4;49120:9;:15::i;:::-;:22;49116:81;;;-1:-1:-1;;;;;49161:13:0;;;;;;:7;:13;;;;;:24;;;49116:81;49225:89;49264:39;49287:15;49297:4;49287:9;:15::i;:::-;49264:18;:8;49277:4;49264:18;:12;:18;:::i;:39::-;49225:7;;;:20;;;-1:-1:-1;;;49225:20:0;;;;-1:-1:-1;;;;;49225:7:0;;;;:18;;:20;;;;;;;;;;;;:7;:20;;;5:2:-1;;;;30:1;27;20:12;49225:89:0;-1:-1:-1;;;;;49209:13:0;;;;;;;:7;:13;;;;;:105;;;;-1:-1:-1;49035:287:0:o;37453:344::-;-1:-1:-1;;;;;37528:21:0;;37520:67;;;;-1:-1:-1;;;37520:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37621;37644:5;37621:67;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37621:18:0;;;;;;:9;:18;;;;;;;:67;;:22;:67;:::i;:::-;-1:-1:-1;;;;;37600:18:0;;;;;;:9;:18;;;;;:88;37714:12;;:23;;37731:5;37714:23;:16;:23;:::i;:::-;37699:12;:38;37753:36;;;;;;;;37779:1;;-1:-1:-1;;;;;37753:36:0;;;;;;;;;;;;37453:344;;:::o;55745:232::-;55804:20;55839:18;55860:52;55907:4;55860:42;55881:7;;;;;;;;;-1:-1:-1;;;;;55881:7:0;-1:-1:-1;;;;;55881:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55881:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;55881:20:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55881:20:0;55860:16;:6;55871:4;55860:16;:10;:16;:::i;:52::-;55930:7;;:39;;;-1:-1:-1;;;55930:39:0;;55951:4;55930:39;;;;;;;;;;;;55839:73;;-1:-1:-1;;;;;;55930:7:0;;;;:12;;:39;;;;;;;;;;;;;;;:7;;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;55930:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;55930:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55930:39:0;;55745:232;-1:-1:-1;;;55745:232:0:o;44867:176::-;44976:58;;;-1:-1:-1;;;;;44976:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;44976:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;44950:85:0;;44969:5;;44950:18;:85::i;:::-;44867:176;;;:::o;55625:112::-;55672:7;;55700:3;;:28;;;-1:-1:-1;;;55700:28:0;;55693:4;55700:28;;;;;;;;-1:-1:-1;;;;;55672:7:0;;;;:12;;55700:3;;:13;;:28;;;;;;;;;;;;;;:3;:28;;;5:2:-1;;;;30:1;27;20:12;5:2;55700:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;55700:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55700:28:0;55672:57;;;-1:-1:-1;;;;;;55672:57:0;;;;;;;-1:-1:-1;;;;;55672:57:0;;;;;;;;;;;;;;;;;;;;55700:28;;55672:57;;;;;;;-1:-1:-1;55672:57:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;55672:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;55672:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;23645:181:0;23703:7;23735:5;;;23759:6;;;;23751:46;;;;;-1:-1:-1;;;23751:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;38237:335;-1:-1:-1;;;;;38330:19:0;;38322:68;;;;-1:-1:-1;;;38322:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38409:21:0;;38401:68;;;;-1:-1:-1;;;38401:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38482:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:35;;;38533:31;;;;;;;;;;;;;;;;;38237:335;;;:::o;25130:471::-;25188:7;25433:6;25429:47;;-1:-1:-1;25463:1:0;25456:8;;25429:47;25500:5;;;25504:1;25500;:5;:1;25524:5;;;;;:10;25516:56;;;;-1:-1:-1;;;25516:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26069:132;26127:7;26154:39;26158:1;26161;26154:39;;;;;;;;;;;;;;;;;:3;:39::i;42597:138::-;42693:9;;42683:44;;;-1:-1:-1;;;42683:44:0;;;;;;;;-1:-1:-1;;;;;42683:44:0;;;;;;;;;42693:9;;;;;;;;42683:29;;:44;;;;;-1:-1:-1;;42683:44:0;;;;;;;;-1:-1:-1;42693:9:0;42683:44;;;5:2:-1;;;;30:1;27;20:12;5:2;42683:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42683:44:0;;;;42597:138;;:::o;55388:229::-;55476:4;55513:3;55476:4;55513:6;;;-1:-1:-1;;;;;55502:17:0;;:4;55507:1;55502:7;;;;;;;;;;;;-1:-1:-1;;;;;;55502:7:0;:17;:47;;;;-1:-1:-1;55543:3:0;55547:1;55543:6;;;-1:-1:-1;;;;;55532:17:0;;:4;55537:1;55532:7;;;;;;;;;;;;-1:-1:-1;;;;;;55532:7:0;:17;55502:47;:77;;;;-1:-1:-1;55573:3:0;55577:1;55573:6;;;-1:-1:-1;;;;;55562:17:0;;:4;55567:1;55562:7;;;;;;;;;;;;-1:-1:-1;;;;;;55562:7:0;:17;55502:77;:107;;;;-1:-1:-1;55603:3:0;55607:1;55603:6;;;-1:-1:-1;;;;;55592:17:0;;:4;55597:1;55592:7;;;;;;;;;;;;-1:-1:-1;;;;;;55592:7:0;:17;55495:114;;55388:229;;;;:::o;24687:192::-;24773:7;24809:12;24801:6;;;;24793:29;;;;-1:-1:-1;;;24793:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;24793:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;24845:5:0;;;24687:192::o;32760:158::-;32829:4;32846:42;32856:12;:10;:12::i;:::-;32870:9;32881:6;32846:9;:42::i;36812:308::-;-1:-1:-1;;;;;36888:21:0;;36880:65;;;;;-1:-1:-1;;;36880:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36973:12;;:24;;36990:6;36973:24;:16;:24;:::i;:::-;36958:12;:39;-1:-1:-1;;;;;37029:18:0;;;;;;:9;:18;;;;;;:30;;37052:6;37029:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;37008:18:0;;;;;;:9;:18;;;;;;;;:51;;;;37075:37;;;;;;;37008:18;;;;37075:37;;;;;;;;;;36812:308;;:::o;45051:204::-;45178:68;;;-1:-1:-1;;;;;45178:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;45178:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;45152:95:0;;45171:5;;45152:18;:95::i;41146:229::-;-1:-1:-1;;;;;41220:22:0;;41212:73;;;;-1:-1:-1;;;41212:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41322:6;;;41301:38;;-1:-1:-1;;;;;41301:38:0;;;;41322:6;;;41301:38;;;41350:6;:17;;-1:-1:-1;;;;;;41350:17:0;-1:-1:-1;;;;;41350:17:0;;;;;;;;;;41146:229::o;3763:1262::-;3818:14;4628:18;4649:8;;4628:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;4684:8:0;4920:17;4914:24;-1:-1:-1;;;;;4910:73:0;;3763:1262;-1:-1:-1;;3763:1262:0:o;36060:471::-;-1:-1:-1;;;;;36158:20:0;;36150:70;;;;-1:-1:-1;;;36150:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36239:23:0;;36231:71;;;;-1:-1:-1;;;36231:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36335;36357:6;36335:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36335:17:0;;;;;;:9;:17;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;36315:17:0;;;;;;;:9;:17;;;;;;:91;;;;36440:20;;;;;;;:32;;36465:6;36440:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;36417:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;36488:35;;;;;;;36417:20;;36488:35;;;;;;;;;;;;;36060:471;;;:::o;46906:1114::-;47510:27;47518:5;-1:-1:-1;;;;;47510:25:0;;:27::i;:::-;47502:71;;;;;-1:-1:-1;;;47502:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;47647:12;47661:23;47696:5;-1:-1:-1;;;;;47688:19:0;47708:4;47688:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;47688:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;47646:67:0;;;;47732:7;47724:52;;;;;-1:-1:-1;;;47724:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47793:17;;:21;47789:224;;47935:10;47924:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47924:30:0;47916:85;;;;-1:-1:-1;;;47916:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26838:345;26924:7;27026:12;27019:5;27011:28;;;;-1:-1:-1;;;27011:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;27011:28:0;;27050:9;27066:1;27062;:5;;;;;;;26838:345;-1:-1:-1;;;;;26838:345:0:o;29124:818::-;29184:4;29851:20;;29694:66;29891:15;;;;;:42;;;29922:11;29910:8;:23;;29891:42;29883:51;29124:818;-1:-1:-1;;;;29124:818:0:o
Swarm Source
bzzr://08edf162b0fdeea79fe7829cef9a308c06a0a936260236b166e4738c160bd20e
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.