Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 72 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Reward | 20973681 | 139 days ago | IN | 0 ETH | 0.00136654 | ||||
Add Distribute A... | 20973676 | 139 days ago | IN | 0 ETH | 0.00078234 | ||||
New Reward Distr... | 20973673 | 139 days ago | IN | 0 ETH | 0.00192825 | ||||
Claim Reward | 18604221 | 471 days ago | IN | 0 ETH | 0.00127649 | ||||
Claim Reward | 18597255 | 472 days ago | IN | 0 ETH | 0.00170198 | ||||
Claim Reward | 18590473 | 473 days ago | IN | 0 ETH | 0.00191715 | ||||
Claim Reward | 18589782 | 473 days ago | IN | 0 ETH | 0.00171762 | ||||
Claim Reward | 18589184 | 473 days ago | IN | 0 ETH | 0.00164923 | ||||
Claim Reward | 18589105 | 473 days ago | IN | 0 ETH | 0.00180651 | ||||
Claim Reward | 18587233 | 473 days ago | IN | 0 ETH | 0.00251728 | ||||
Claim Reward | 18585028 | 474 days ago | IN | 0 ETH | 0.00263209 | ||||
Claim Reward | 18584998 | 474 days ago | IN | 0 ETH | 0.00279716 | ||||
Claim Reward | 18583346 | 474 days ago | IN | 0 ETH | 0.0020494 | ||||
Claim Reward | 18582693 | 474 days ago | IN | 0 ETH | 0.00200644 | ||||
Claim Reward | 18582690 | 474 days ago | IN | 0 ETH | 0.00191171 | ||||
Claim Reward | 18582688 | 474 days ago | IN | 0 ETH | 0.00179127 | ||||
Claim Reward | 18582686 | 474 days ago | IN | 0 ETH | 0.00196295 | ||||
Claim Reward | 18582684 | 474 days ago | IN | 0 ETH | 0.0019355 | ||||
Claim Reward | 18582683 | 474 days ago | IN | 0 ETH | 0.00186445 | ||||
Claim Reward | 18582681 | 474 days ago | IN | 0 ETH | 0.00192608 | ||||
Claim Reward | 18582679 | 474 days ago | IN | 0 ETH | 0.00189818 | ||||
Claim Reward | 18582677 | 474 days ago | IN | 0 ETH | 0.00198793 | ||||
Claim Reward | 18582675 | 474 days ago | IN | 0 ETH | 0.00197712 | ||||
Claim Reward | 18576474 | 475 days ago | IN | 0 ETH | 0.00202335 | ||||
Claim Reward | 18575723 | 475 days ago | IN | 0 ETH | 0.00212669 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
DistributeReward
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-11-12 */ // SPDX-License-Identifier: MIT pragma solidity >=0.7.6; library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override 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 virtual 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 virtual 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 virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _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 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } 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)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ 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. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "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"); } } } library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } abstract contract Ownable is Context { address private _owner; mapping(address => bool) public addressAdmin; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } function addAdmin(address _address) external onlyOwner { addressAdmin[_address] = true; } function removeAdmin(address _address) external onlyOwner { addressAdmin[_address] = false; } modifier admin() { require( addressAdmin[msg.sender] == true || owner() == _msgSender(), "You do not have auth to do this" ); _; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } // modifier onlyOwner() { // require(owner() == _msgSender() || addressAdmin[msg.sender] == true, "Ownable: caller is not the owner"); // _; // } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } contract DistributeReward is ERC20, Ownable { using SafeERC20 for ERC20; uint256 public initialTotalSupply; mapping(uint => Reward) public rewards; mapping(address => mapping(uint => uint256)) public userRewards; struct Reward { uint256 rewardId; address rewardTokenAddress; uint256 rewardAmount; uint256 claimDueDate; } constructor() ERC20("Distribute Reward", "DR") { initialTotalSupply = 0; } //Add distribute address and distribute amount function addDistributeAddress( uint256 reward_id, address[] memory address_list, uint[] memory amount_list ) external admin { // 1. Check the lengths of address_list and amount_list require( address_list.length == amount_list.length, "Address list and amount list must have the same length" ); // 2. Record each reward for each address for (uint i = 0; i < address_list.length; i++) { address user = address_list[i]; uint256 amount = amount_list[i]; userRewards[user][reward_id] = amount; // Record the reward amount for the user and rewardId } } //For user to check how much rewards in their account of exact reward id function getRewardAmount( address user, uint rewardId ) external view returns (uint256) { return userRewards[user][rewardId]; } //New reward distribution function newRewardDistribution( uint256 reward_id, address token_address, uint256 reward_amount, uint256 claim_due_date ) external admin { // Ensure that the reward_id is unique and hasn't been used before require(rewards[reward_id].rewardId == 0, "Reward ID already exists"); // Construct a new Reward struct with the provided data Reward memory newReward = Reward({ rewardId: reward_id, rewardTokenAddress: token_address, rewardAmount: reward_amount, claimDueDate: claim_due_date }); // Store the newReward in the rewards mapping rewards[reward_id] = newReward; } //claim reward function claimReward(uint256 reward_id) external { // Ensure the reward exists require(rewards[reward_id].rewardId != 0, "Reward does not exist"); // Check the reward's due time require( rewards[reward_id].claimDueDate > block.timestamp, "Claim period has ended" ); // Get the reward amount for the user uint256 rewardAmount = userRewards[msg.sender][reward_id]; // Get the balance of the reward token in this contract uint256 contractBalance = IERC20(rewards[reward_id].rewardTokenAddress) .balanceOf(address(this)); require(rewardAmount > 0, "No reward to claim for this user"); require( rewardAmount <= contractBalance, "Contract's reward balance is not enough" ); require( rewardAmount <= rewards[reward_id].rewardAmount, "Exceed this reward's max limitation" ); require( rewards[reward_id].rewardAmount > 0, "This reward has been claimed out" ); // Reset the user's reward to 0 to prevent double claiming userRewards[msg.sender][reward_id] = 0; rewards[reward_id].rewardAmount -= rewardAmount; // Transfer the token to the user's address ERC20(rewards[reward_id].rewardTokenAddress).safeTransfer( msg.sender, rewardAmount ); } //Release unclaimed reward function releaseUnclaimedReward(uint256 reward_id) external onlyOwner { // Ensure the reward exists require(rewards[reward_id].rewardId != 0, "Reward does not exist"); // Check that the reward's claimDueDate has passed require( rewards[reward_id].claimDueDate < block.timestamp, "Claim period not ended yet" ); // Get the balance of the reward token in this contract uint256 contractBalance = IERC20(rewards[reward_id].rewardTokenAddress) .balanceOf(address(this)); require( rewards[reward_id].rewardAmount <= contractBalance, "Contract's balance is not enough" ); // Transfer the token to the user's address ERC20(rewards[reward_id].rewardTokenAddress).safeTransfer( msg.sender, rewards[reward_id].rewardAmount ); } function withdrawTokens( address tokenAddress, uint256 amount ) external onlyOwner { ERC20 token = ERC20(tokenAddress); require( token.balanceOf(address(this)) >= amount, "Insufficient token balance" ); token.safeTransfer( owner(), amount ); } function withdraw() external onlyOwner { payable(owner()).transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward_id","type":"uint256"},{"internalType":"address[]","name":"address_list","type":"address[]"},{"internalType":"uint256[]","name":"amount_list","type":"uint256[]"}],"name":"addDistributeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward_id","type":"uint256"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"rewardId","type":"uint256"}],"name":"getRewardAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward_id","type":"uint256"},{"internalType":"address","name":"token_address","type":"address"},{"internalType":"uint256","name":"reward_amount","type":"uint256"},{"internalType":"uint256","name":"claim_due_date","type":"uint256"}],"name":"newRewardDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward_id","type":"uint256"}],"name":"releaseUnclaimedReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"rewardId","type":"uint256"},{"internalType":"address","name":"rewardTokenAddress","type":"address"},{"internalType":"uint256","name":"rewardAmount","type":"uint256"},{"internalType":"uint256","name":"claimDueDate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040805180820182526011815270111a5cdd1c9a589d5d194814995dd85c99607a1b602080830191825283518085019094526002845261222960f11b908401528151919291620000659160039162000108565b5080516200007b90600490602084019062000108565b50506005805460ff19166012179055506200009f62000099620000aa565b620000ae565b6000600755620001b4565b3390565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200014057600085556200018b565b82601f106200015b57805160ff19168380011785556200018b565b828001600101855582156200018b579182015b828111156200018b5782518255916020019190600101906200016e565b50620001999291506200019d565b5090565b5b808211156200019957600081556001016200019e565b611ef180620001c46000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806363c2a20a116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e14610642578063f2fde38b14610670578063f301af4214610696578063f795be64146106e1576101a9565b8063a9059cbb146105cd578063ae169a50146105f9578063da4e855614610616576101a9565b8063715018a6116100d3578063715018a61461056d5780638da5cb5b1461057557806395d89b4114610599578063a457c2d7146105a1576101a9565b806363c2a20a146104f5578063704802751461052157806370a0823114610547576101a9565b806326502306116101665780633950935111610140578063395093511461035b5780633ccfd60b146103875780634e7f93b21461038f578063541b2adf146103c7576101a9565b8063265023061461030f578063311028af14610335578063313ce5671461033d576101a9565b806306b091f9146101ae57806306fdde03146101dc578063095ea7b3146102595780631785f53c1461029957806318160ddd146102bf57806323b872dd146102d9575b600080fd5b6101da600480360360408110156101c457600080fd5b506001600160a01b0381351690602001356106fe565b005b6101e461084a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561021e578181015183820152602001610206565b50505050905090810190601f16801561024b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102856004803603604081101561026f57600080fd5b506001600160a01b0381351690602001356108e0565b604080519115158252519081900360200190f35b6101da600480360360208110156102af57600080fd5b50356001600160a01b03166108fd565b6102c7610980565b60408051918252519081900360200190f35b610285600480360360608110156102ef57600080fd5b506001600160a01b03813581169160208101359091169060400135610986565b6102856004803603602081101561032557600080fd5b50356001600160a01b0316610a0e565b6102c7610a23565b610345610a29565b6040805160ff9092168252519081900360200190f35b6102856004803603604081101561037157600080fd5b506001600160a01b038135169060200135610a32565b6101da610a80565b6101da600480360360808110156103a557600080fd5b508035906001600160a01b036020820135169060408101359060600135610b25565b6101da600480360360608110156103dd57600080fd5b813591908101906040810160208201356401000000008111156103ff57600080fd5b82018360208201111561041157600080fd5b8035906020019184602083028401116401000000008311171561043357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561048357600080fd5b82018360208201111561049557600080fd5b803590602001918460208302840111640100000000831117156104b757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610c7f945050505050565b6102c76004803603604081101561050b57600080fd5b506001600160a01b038135169060200135610dc3565b6101da6004803603602081101561053757600080fd5b50356001600160a01b0316610de0565b6102c76004803603602081101561055d57600080fd5b50356001600160a01b0316610e66565b6101da610e81565b61057d610eef565b604080516001600160a01b039092168252519081900360200190f35b6101e4610f03565b610285600480360360408110156105b757600080fd5b506001600160a01b038135169060200135610f64565b610285600480360360408110156105e357600080fd5b506001600160a01b038135169060200135610fcc565b6101da6004803603602081101561060f57600080fd5b5035610fe0565b6102c76004803603604081101561062c57600080fd5b506001600160a01b0381351690602001356112bb565b6102c76004803603604081101561065857600080fd5b506001600160a01b03813581169160200135166112e3565b6101da6004803603602081101561068657600080fd5b50356001600160a01b031661130e565b6106b3600480360360208110156106ac57600080fd5b50356113be565b604080519485526001600160a01b039093166020850152838301919091526060830152519081900360800190f35b6101da600480360360208110156106f757600080fd5b50356113ef565b61070661162d565b6001600160a01b0316610717610eef565b6001600160a01b031614610760576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b604080516370a0823160e01b81523060048201529051839183916001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156107aa57600080fd5b505afa1580156107be573d6000803e3d6000fd5b505050506040513d60208110156107d457600080fd5b50511015610829576040805162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000604482015290519081900360640190fd5b610845610834610eef565b6001600160a01b0383169084611631565b505050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108d65780601f106108ab576101008083540402835291602001916108d6565b820191906000526020600020905b8154815290600101906020018083116108b957829003601f168201915b5050505050905090565b60006108f46108ed61162d565b8484611683565b50600192915050565b61090561162d565b6001600160a01b0316610916610eef565b6001600160a01b03161461095f576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b60025490565b600061099384848461176f565b610a038461099f61162d565b6109fe85604051806060016040528060288152602001611ddc602891396001600160a01b038a166000908152600160205260408120906109dd61162d565b6001600160a01b0316815260208101919091526040016000205491906118ca565b611683565b5060015b9392505050565b60066020526000908152604090205460ff1681565b60075481565b60055460ff1690565b60006108f4610a3f61162d565b846109fe8560016000610a5061162d565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611961565b610a8861162d565b6001600160a01b0316610a99610eef565b6001600160a01b031614610ae2576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b610aea610eef565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610b22573d6000803e3d6000fd5b50565b3360009081526006602052604090205460ff16151560011480610b675750610b4b61162d565b6001600160a01b0316610b5c610eef565b6001600160a01b0316145b610bb8576040805162461bcd60e51b815260206004820152601f60248201527f596f7520646f206e6f742068617665206175746820746f20646f207468697300604482015290519081900360640190fd5b60008481526008602052604090205415610c19576040805162461bcd60e51b815260206004820152601860248201527f52657761726420494420616c7265616479206578697374730000000000000000604482015290519081900360640190fd5b604080516080810182528581526001600160a01b039485166020808301918252828401958652606083019485526000978852600890529190952094518555516001850180546001600160a01b031916919094161790925551600283015551600390910155565b3360009081526006602052604090205460ff16151560011480610cc15750610ca561162d565b6001600160a01b0316610cb6610eef565b6001600160a01b0316145b610d12576040805162461bcd60e51b815260206004820152601f60248201527f596f7520646f206e6f742068617665206175746820746f20646f207468697300604482015290519081900360640190fd5b8051825114610d525760405162461bcd60e51b8152600401808060200182810382526036815260200180611d106036913960400191505060405180910390fd5b60005b8251811015610dbd576000838281518110610d6c57fe5b602002602001015190506000838381518110610d8457fe5b6020908102919091018101516001600160a01b039093166000908152600982526040808220898352909252209190915550600101610d55565b50505050565b600960209081526000928352604080842090915290825290205481565b610de861162d565b6001600160a01b0316610df9610eef565b6001600160a01b031614610e42576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6001600160a01b031660009081526020819052604090205490565b610e8961162d565b6001600160a01b0316610e9a610eef565b6001600160a01b031614610ee3576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b610eed60006119bb565b565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108d65780601f106108ab576101008083540402835291602001916108d6565b60006108f4610f7161162d565b846109fe85604051806060016040528060258152602001611e976025913960016000610f9b61162d565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906118ca565b60006108f4610fd961162d565b848461176f565b600081815260086020526040902054611038576040805162461bcd60e51b815260206004820152601560248201527414995dd85c9908191bd95cc81b9bdd08195e1a5cdd605a1b604482015290519081900360640190fd5b6000818152600860205260409020600301544210611096576040805162461bcd60e51b815260206004820152601660248201527510db185a5b481c195c9a5bd9081a185cc8195b99195960521b604482015290519081900360640190fd5b336000908152600960209081526040808320848452825280832054600883528184206001015482516370a0823160e01b815230600482015292519194936001600160a01b03909116926370a082319260248083019392829003018186803b15801561110057600080fd5b505afa158015611114573d6000803e3d6000fd5b505050506040513d602081101561112a57600080fd5b5051905081611180576040805162461bcd60e51b815260206004820181905260248201527f4e6f2072657761726420746f20636c61696d20666f7220746869732075736572604482015290519081900360640190fd5b808211156111bf5760405162461bcd60e51b8152600401808060200182810382526027815260200180611db56027913960400191505060405180910390fd5b60008381526008602052604090206002015482111561120f5760405162461bcd60e51b8152600401808060200182810382526023815260200180611d466023913960400191505060405180910390fd5b600083815260086020526040902060020154611272576040805162461bcd60e51b815260206004820181905260248201527f546869732072657761726420686173206265656e20636c61696d6564206f7574604482015290519081900360640190fd5b336000818152600960209081526040808320878452825280832083905560089091529020600281018054859003905560010154610845916001600160a01b039091169084611631565b6001600160a01b03919091166000908152600960209081526040808320938352929052205490565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61131661162d565b6001600160a01b0316611327610eef565b6001600160a01b031614611370576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b6001600160a01b0381166113b55760405162461bcd60e51b8152600401808060200182810382526026815260200180611cc86026913960400191505060405180910390fd5b610b22816119bb565b600860205260009081526040902080546001820154600283015460039093015491926001600160a01b039091169184565b6113f761162d565b6001600160a01b0316611408610eef565b6001600160a01b031614611451576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b6000818152600860205260409020546114a9576040805162461bcd60e51b815260206004820152601560248201527414995dd85c9908191bd95cc81b9bdd08195e1a5cdd605a1b604482015290519081900360640190fd5b600081815260086020526040902060030154421161150e576040805162461bcd60e51b815260206004820152601a60248201527f436c61696d20706572696f64206e6f7420656e64656420796574000000000000604482015290519081900360640190fd5b60008181526008602090815260408083206001015481516370a0823160e01b815230600482015291516001600160a01b03909116926370a082319260248082019391829003018186803b15801561156457600080fd5b505afa158015611578573d6000803e3d6000fd5b505050506040513d602081101561158e57600080fd5b50516000838152600860205260409020600201549091508110156115f9576040805162461bcd60e51b815260206004820181905260248201527f436f6e747261637427732062616c616e6365206973206e6f7420656e6f756768604482015290519081900360640190fd5b60008281526008602052604090206002810154600190910154611629916001600160a01b03909116903390611631565b5050565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610845908490611a15565b6001600160a01b0383166116c85760405162461bcd60e51b8152600401808060200182810382526024815260200180611e496024913960400191505060405180910390fd5b6001600160a01b03821661170d5760405162461bcd60e51b8152600401808060200182810382526022815260200180611cee6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166117b45760405162461bcd60e51b8152600401808060200182810382526025815260200180611e246025913960400191505060405180910390fd5b6001600160a01b0382166117f95760405162461bcd60e51b8152600401808060200182810382526023815260200180611ca56023913960400191505060405180910390fd5b611804838383610845565b61184181604051806060016040528060268152602001611d69602691396001600160a01b03861660009081526020819052604090205491906118ca565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546118709082611961565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156119595760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561191e578181015183820152602001611906565b50505050905090810190601f16801561194b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610a07576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611a6a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611ac69092919063ffffffff16565b80519091501561084557808060200190516020811015611a8957600080fd5b50516108455760405162461bcd60e51b815260040180806020018281038252602a815260200180611e6d602a913960400191505060405180910390fd5b6060611ad58484600085611add565b949350505050565b606082471015611b1e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611d8f6026913960400191505060405180910390fd5b611b2785611c38565b611b78576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310611bb65780518252601f199092019160209182019101611b97565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611c18576040519150601f19603f3d011682016040523d82523d6000602084013e611c1d565b606091505b5091509150611c2d828286611c3e565b979650505050505050565b3b151590565b60608315611c4d575081610a07565b825115611c5d5782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561191e57818101518382015260200161190656fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737341646472657373206c69737420616e6420616d6f756e74206c697374206d7573742068617665207468652073616d65206c656e6774684578636565642074686973207265776172642773206d6178206c696d69746174696f6e45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c436f6e74726163742773207265776172642062616c616e6365206973206e6f7420656e6f75676845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f5e98ffbcb9e80deac089e597d1ba643a1dbc75ead4a6b95d005eb95881a870764736f6c63430007060033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806363c2a20a116100f9578063a9059cbb11610097578063dd62ed3e11610071578063dd62ed3e14610642578063f2fde38b14610670578063f301af4214610696578063f795be64146106e1576101a9565b8063a9059cbb146105cd578063ae169a50146105f9578063da4e855614610616576101a9565b8063715018a6116100d3578063715018a61461056d5780638da5cb5b1461057557806395d89b4114610599578063a457c2d7146105a1576101a9565b806363c2a20a146104f5578063704802751461052157806370a0823114610547576101a9565b806326502306116101665780633950935111610140578063395093511461035b5780633ccfd60b146103875780634e7f93b21461038f578063541b2adf146103c7576101a9565b8063265023061461030f578063311028af14610335578063313ce5671461033d576101a9565b806306b091f9146101ae57806306fdde03146101dc578063095ea7b3146102595780631785f53c1461029957806318160ddd146102bf57806323b872dd146102d9575b600080fd5b6101da600480360360408110156101c457600080fd5b506001600160a01b0381351690602001356106fe565b005b6101e461084a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561021e578181015183820152602001610206565b50505050905090810190601f16801561024b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102856004803603604081101561026f57600080fd5b506001600160a01b0381351690602001356108e0565b604080519115158252519081900360200190f35b6101da600480360360208110156102af57600080fd5b50356001600160a01b03166108fd565b6102c7610980565b60408051918252519081900360200190f35b610285600480360360608110156102ef57600080fd5b506001600160a01b03813581169160208101359091169060400135610986565b6102856004803603602081101561032557600080fd5b50356001600160a01b0316610a0e565b6102c7610a23565b610345610a29565b6040805160ff9092168252519081900360200190f35b6102856004803603604081101561037157600080fd5b506001600160a01b038135169060200135610a32565b6101da610a80565b6101da600480360360808110156103a557600080fd5b508035906001600160a01b036020820135169060408101359060600135610b25565b6101da600480360360608110156103dd57600080fd5b813591908101906040810160208201356401000000008111156103ff57600080fd5b82018360208201111561041157600080fd5b8035906020019184602083028401116401000000008311171561043357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561048357600080fd5b82018360208201111561049557600080fd5b803590602001918460208302840111640100000000831117156104b757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610c7f945050505050565b6102c76004803603604081101561050b57600080fd5b506001600160a01b038135169060200135610dc3565b6101da6004803603602081101561053757600080fd5b50356001600160a01b0316610de0565b6102c76004803603602081101561055d57600080fd5b50356001600160a01b0316610e66565b6101da610e81565b61057d610eef565b604080516001600160a01b039092168252519081900360200190f35b6101e4610f03565b610285600480360360408110156105b757600080fd5b506001600160a01b038135169060200135610f64565b610285600480360360408110156105e357600080fd5b506001600160a01b038135169060200135610fcc565b6101da6004803603602081101561060f57600080fd5b5035610fe0565b6102c76004803603604081101561062c57600080fd5b506001600160a01b0381351690602001356112bb565b6102c76004803603604081101561065857600080fd5b506001600160a01b03813581169160200135166112e3565b6101da6004803603602081101561068657600080fd5b50356001600160a01b031661130e565b6106b3600480360360208110156106ac57600080fd5b50356113be565b604080519485526001600160a01b039093166020850152838301919091526060830152519081900360800190f35b6101da600480360360208110156106f757600080fd5b50356113ef565b61070661162d565b6001600160a01b0316610717610eef565b6001600160a01b031614610760576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b604080516370a0823160e01b81523060048201529051839183916001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156107aa57600080fd5b505afa1580156107be573d6000803e3d6000fd5b505050506040513d60208110156107d457600080fd5b50511015610829576040805162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000604482015290519081900360640190fd5b610845610834610eef565b6001600160a01b0383169084611631565b505050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108d65780601f106108ab576101008083540402835291602001916108d6565b820191906000526020600020905b8154815290600101906020018083116108b957829003601f168201915b5050505050905090565b60006108f46108ed61162d565b8484611683565b50600192915050565b61090561162d565b6001600160a01b0316610916610eef565b6001600160a01b03161461095f576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b60025490565b600061099384848461176f565b610a038461099f61162d565b6109fe85604051806060016040528060288152602001611ddc602891396001600160a01b038a166000908152600160205260408120906109dd61162d565b6001600160a01b0316815260208101919091526040016000205491906118ca565b611683565b5060015b9392505050565b60066020526000908152604090205460ff1681565b60075481565b60055460ff1690565b60006108f4610a3f61162d565b846109fe8560016000610a5061162d565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611961565b610a8861162d565b6001600160a01b0316610a99610eef565b6001600160a01b031614610ae2576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b610aea610eef565b6001600160a01b03166108fc479081150290604051600060405180830381858888f19350505050158015610b22573d6000803e3d6000fd5b50565b3360009081526006602052604090205460ff16151560011480610b675750610b4b61162d565b6001600160a01b0316610b5c610eef565b6001600160a01b0316145b610bb8576040805162461bcd60e51b815260206004820152601f60248201527f596f7520646f206e6f742068617665206175746820746f20646f207468697300604482015290519081900360640190fd5b60008481526008602052604090205415610c19576040805162461bcd60e51b815260206004820152601860248201527f52657761726420494420616c7265616479206578697374730000000000000000604482015290519081900360640190fd5b604080516080810182528581526001600160a01b039485166020808301918252828401958652606083019485526000978852600890529190952094518555516001850180546001600160a01b031916919094161790925551600283015551600390910155565b3360009081526006602052604090205460ff16151560011480610cc15750610ca561162d565b6001600160a01b0316610cb6610eef565b6001600160a01b0316145b610d12576040805162461bcd60e51b815260206004820152601f60248201527f596f7520646f206e6f742068617665206175746820746f20646f207468697300604482015290519081900360640190fd5b8051825114610d525760405162461bcd60e51b8152600401808060200182810382526036815260200180611d106036913960400191505060405180910390fd5b60005b8251811015610dbd576000838281518110610d6c57fe5b602002602001015190506000838381518110610d8457fe5b6020908102919091018101516001600160a01b039093166000908152600982526040808220898352909252209190915550600101610d55565b50505050565b600960209081526000928352604080842090915290825290205481565b610de861162d565b6001600160a01b0316610df9610eef565b6001600160a01b031614610e42576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b6001600160a01b031660009081526020819052604090205490565b610e8961162d565b6001600160a01b0316610e9a610eef565b6001600160a01b031614610ee3576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b610eed60006119bb565b565b60055461010090046001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108d65780601f106108ab576101008083540402835291602001916108d6565b60006108f4610f7161162d565b846109fe85604051806060016040528060258152602001611e976025913960016000610f9b61162d565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906118ca565b60006108f4610fd961162d565b848461176f565b600081815260086020526040902054611038576040805162461bcd60e51b815260206004820152601560248201527414995dd85c9908191bd95cc81b9bdd08195e1a5cdd605a1b604482015290519081900360640190fd5b6000818152600860205260409020600301544210611096576040805162461bcd60e51b815260206004820152601660248201527510db185a5b481c195c9a5bd9081a185cc8195b99195960521b604482015290519081900360640190fd5b336000908152600960209081526040808320848452825280832054600883528184206001015482516370a0823160e01b815230600482015292519194936001600160a01b03909116926370a082319260248083019392829003018186803b15801561110057600080fd5b505afa158015611114573d6000803e3d6000fd5b505050506040513d602081101561112a57600080fd5b5051905081611180576040805162461bcd60e51b815260206004820181905260248201527f4e6f2072657761726420746f20636c61696d20666f7220746869732075736572604482015290519081900360640190fd5b808211156111bf5760405162461bcd60e51b8152600401808060200182810382526027815260200180611db56027913960400191505060405180910390fd5b60008381526008602052604090206002015482111561120f5760405162461bcd60e51b8152600401808060200182810382526023815260200180611d466023913960400191505060405180910390fd5b600083815260086020526040902060020154611272576040805162461bcd60e51b815260206004820181905260248201527f546869732072657761726420686173206265656e20636c61696d6564206f7574604482015290519081900360640190fd5b336000818152600960209081526040808320878452825280832083905560089091529020600281018054859003905560010154610845916001600160a01b039091169084611631565b6001600160a01b03919091166000908152600960209081526040808320938352929052205490565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61131661162d565b6001600160a01b0316611327610eef565b6001600160a01b031614611370576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b6001600160a01b0381166113b55760405162461bcd60e51b8152600401808060200182810382526026815260200180611cc86026913960400191505060405180910390fd5b610b22816119bb565b600860205260009081526040902080546001820154600283015460039093015491926001600160a01b039091169184565b6113f761162d565b6001600160a01b0316611408610eef565b6001600160a01b031614611451576040805162461bcd60e51b81526020600482018190526024820152600080516020611e04833981519152604482015290519081900360640190fd5b6000818152600860205260409020546114a9576040805162461bcd60e51b815260206004820152601560248201527414995dd85c9908191bd95cc81b9bdd08195e1a5cdd605a1b604482015290519081900360640190fd5b600081815260086020526040902060030154421161150e576040805162461bcd60e51b815260206004820152601a60248201527f436c61696d20706572696f64206e6f7420656e64656420796574000000000000604482015290519081900360640190fd5b60008181526008602090815260408083206001015481516370a0823160e01b815230600482015291516001600160a01b03909116926370a082319260248082019391829003018186803b15801561156457600080fd5b505afa158015611578573d6000803e3d6000fd5b505050506040513d602081101561158e57600080fd5b50516000838152600860205260409020600201549091508110156115f9576040805162461bcd60e51b815260206004820181905260248201527f436f6e747261637427732062616c616e6365206973206e6f7420656e6f756768604482015290519081900360640190fd5b60008281526008602052604090206002810154600190910154611629916001600160a01b03909116903390611631565b5050565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610845908490611a15565b6001600160a01b0383166116c85760405162461bcd60e51b8152600401808060200182810382526024815260200180611e496024913960400191505060405180910390fd5b6001600160a01b03821661170d5760405162461bcd60e51b8152600401808060200182810382526022815260200180611cee6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166117b45760405162461bcd60e51b8152600401808060200182810382526025815260200180611e246025913960400191505060405180910390fd5b6001600160a01b0382166117f95760405162461bcd60e51b8152600401808060200182810382526023815260200180611ca56023913960400191505060405180910390fd5b611804838383610845565b61184181604051806060016040528060268152602001611d69602691396001600160a01b03861660009081526020819052604090205491906118ca565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546118709082611961565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156119595760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561191e578181015183820152602001611906565b50505050905090810190601f16801561194b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610a07576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000611a6a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611ac69092919063ffffffff16565b80519091501561084557808060200190516020811015611a8957600080fd5b50516108455760405162461bcd60e51b815260040180806020018281038252602a815260200180611e6d602a913960400191505060405180910390fd5b6060611ad58484600085611add565b949350505050565b606082471015611b1e5760405162461bcd60e51b8152600401808060200182810382526026815260200180611d8f6026913960400191505060405180910390fd5b611b2785611c38565b611b78576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310611bb65780518252601f199092019160209182019101611b97565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611c18576040519150601f19603f3d011682016040523d82523d6000602084013e611c1d565b606091505b5091509150611c2d828286611c3e565b979650505050505050565b3b151590565b60608315611c4d575081610a07565b825115611c5d5782518084602001fd5b60405162461bcd60e51b815260206004820181815284516024840152845185939192839260440191908501908083836000831561191e57818101518382015260200161190656fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737341646472657373206c69737420616e6420616d6f756e74206c697374206d7573742068617665207468652073616d65206c656e6774684578636565642074686973207265776172642773206d6178206c696d69746174696f6e45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c436f6e74726163742773207265776172642062616c616e6365206973206e6f7420656e6f75676845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f5e98ffbcb9e80deac089e597d1ba643a1dbc75ead4a6b95d005eb95881a870764736f6c63430007060033
Deployed Bytecode Sourcemap
33330:5245:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38090:368;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38090:368:0;;;;;;;;:::i;:::-;;10828:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12974:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12974:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;31433:107;;;;;;;;;;;;;;;;-1:-1:-1;31433:107:0;-1:-1:-1;;;;;31433:107:0;;:::i;11927:108::-;;;:::i;:::-;;;;;;;;;;;;;;;;13625:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13625:321:0;;;;;;;;;;;;;;;;;:::i;30812:44::-;;;;;;;;;;;;;;;;-1:-1:-1;30812:44:0;-1:-1:-1;;;;;30812:44:0;;:::i;33413:33::-;;;:::i;11771:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14355:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14355:218:0;;;;;;;;:::i;38466:106::-;;;:::i;34873:730::-;;;;;;;;;;;;;;;;-1:-1:-1;34873:730:0;;;-1:-1:-1;;;;;34873:730:0;;;;;;;;;;;;;;;:::i;33880:704::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33880:704:0;;;;;;;;-1:-1:-1;33880:704:0;;-1:-1:-1;;33880:704:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33880:704:0;;-1:-1:-1;33880:704:0;;-1:-1:-1;;;;;33880:704:0:i;33498:63::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33498:63:0;;;;;;;;:::i;31322:103::-;;;;;;;;;;;;;;;;-1:-1:-1;31322:103:0;-1:-1:-1;;;;;31322:103:0;;:::i;12098:127::-;;;;;;;;;;;;;;;;-1:-1:-1;12098:127:0;-1:-1:-1;;;;;12098:127:0;;:::i;32476:103::-;;;:::i;31227:87::-;;;:::i;:::-;;;;-1:-1:-1;;;;;31227:87:0;;;;;;;;;;;;;;11038:95;;;:::i;15076:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15076:269:0;;;;;;;;:::i;12438:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12438:175:0;;;;;;;;:::i;35631:1483::-;;;;;;;;;;;;;;;;-1:-1:-1;35631:1483:0;;:::i;34670:164::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34670:164:0;;;;;;;;:::i;12676:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12676:151:0;;;;;;;;;;:::i;32734:238::-;;;;;;;;;;;;;;;;-1:-1:-1;32734:238:0;-1:-1:-1;;;;;32734:238:0;;:::i;33453:38::-;;;;;;;;;;;;;;;;-1:-1:-1;33453:38:0;;:::i;:::-;;;;;;;-1:-1:-1;;;;;33453:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;37154:928;;;;;;;;;;;;;;;;-1:-1:-1;37154:928:0;;:::i;38090:368::-;31880:12;:10;:12::i;:::-;-1:-1:-1;;;;;31869:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31869:23:0;;31861:68;;;;;-1:-1:-1;;;31861:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31861:68:0;;;;;;;;;;;;;;;38273:30:::1;::::0;;-1:-1:-1;;;38273:30:0;;38297:4:::1;38273:30;::::0;::::1;::::0;;;38227:12;;38307:6;;-1:-1:-1;;;;;38273:15:0;::::1;::::0;::::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:15;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;38273:30:0;:40:::1;;38251:116;;;::::0;;-1:-1:-1;;;38251:116:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;38378:72;38411:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;38378:18:0;::::1;::::0;38433:6;38378:18:::1;:72::i;:::-;31940:1;38090:368:::0;;:::o;10828:91::-;10906:5;10899:12;;;;;;;;-1:-1:-1;;10899:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10873:13;;10899:12;;10906:5;;10899:12;;10906:5;10899:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10828:91;:::o;12974:169::-;13057:4;13074:39;13083:12;:10;:12::i;:::-;13097:7;13106:6;13074:8;:39::i;:::-;-1:-1:-1;13131:4:0;12974:169;;;;:::o;31433:107::-;31880:12;:10;:12::i;:::-;-1:-1:-1;;;;;31869:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31869:23:0;;31861:68;;;;;-1:-1:-1;;;31861:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31861:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31502:22:0::1;31527:5;31502:22:::0;;;:12:::1;:22;::::0;;;;:30;;-1:-1:-1;;31502:30:0::1;::::0;;31433:107::o;11927:108::-;12015:12;;11927:108;:::o;13625:321::-;13731:4;13748:36;13758:6;13766:9;13777:6;13748:9;:36::i;:::-;13795:121;13804:6;13812:12;:10;:12::i;:::-;13826:89;13864:6;13826:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;13826:19:0;;;;;;:11;:19;;;;;;13846:12;:10;:12::i;:::-;-1:-1:-1;;;;;13826:33:0;;;;;;;;;;;;-1:-1:-1;13826:33:0;;;:89;:37;:89::i;:::-;13795:8;:121::i;:::-;-1:-1:-1;13934:4:0;13625:321;;;;;;:::o;30812:44::-;;;;;;;;;;;;;;;:::o;33413:33::-;;;;:::o;11771:91::-;11845:9;;;;11771:91;:::o;14355:218::-;14443:4;14460:83;14469:12;:10;:12::i;:::-;14483:7;14492:50;14531:10;14492:11;:25;14504:12;:10;:12::i;:::-;-1:-1:-1;;;;;14492:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;14492:25:0;;;:34;;;;;;;;;;;:38;:50::i;38466:106::-;31880:12;:10;:12::i;:::-;-1:-1:-1;;;;;31869:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31869:23:0;;31861:68;;;;;-1:-1:-1;;;31861:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31861:68:0;;;;;;;;;;;;;;;38524:7:::1;:5;:7::i;:::-;-1:-1:-1::0;;;;;38516:25:0::1;:48;38542:21;38516:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;38466:106::o:0;34873:730::-;31611:10;31598:24;;;;:12;:24;;;;;;;;:32;;:24;:32;;:59;;;31645:12;:10;:12::i;:::-;-1:-1:-1;;;;;31634:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31634:23:0;;31598:59;31576:140;;;;;-1:-1:-1;;;31576:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35146:18:::1;::::0;;;:7:::1;:18;::::0;;;;:27;:32;35138:69:::1;;;::::0;;-1:-1:-1;;;35138:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;35311:186;::::0;;::::1;::::0;::::1;::::0;;;;;-1:-1:-1;;;;;35311:186:0;;::::1;;::::0;;::::1;::::0;;;;;;;;;;;;;;;-1:-1:-1;35565:18:0;;;:7:::1;:18:::0;;;;;;:30;;;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;;35565:30:0::1;::::0;;;::::1;;::::0;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;34873:730::o;33880:704::-;31611:10;31598:24;;;;:12;:24;;;;;;;;:32;;:24;:32;;:59;;;31645:12;:10;:12::i;:::-;-1:-1:-1;;;;;31634:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31634:23:0;;31598:59;31576:140;;;;;-1:-1:-1;;;31576:140:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34157:11:::1;:18;34134:12;:19;:41;34112:145;;;;-1:-1:-1::0;;;34112:145:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34326:6;34321:256;34342:12;:19;34338:1;:23;34321:256;;;34383:12;34398;34411:1;34398:15;;;;;;;;;;;;;;34383:30;;34428:14;34445:11;34457:1;34445:14;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;34474:17:0;;::::1;;::::0;;;:11:::1;:17:::0;;;;;;:28;;;;;;;:37;;;;-1:-1:-1;34363:3:0::1;;34321:256;;;;33880:704:::0;;;:::o;33498:63::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;31322:103::-;31880:12;:10;:12::i;:::-;-1:-1:-1;;;;;31869:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31869:23:0;;31861:68;;;;;-1:-1:-1;;;31861:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31861:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31388:22:0::1;;::::0;;;:12:::1;:22;::::0;;;;:29;;-1:-1:-1;;31388:29:0::1;31413:4;31388:29;::::0;;31322:103::o;12098:127::-;-1:-1:-1;;;;;12199:18:0;12172:7;12199:18;;;;;;;;;;;;12098:127::o;32476:103::-;31880:12;:10;:12::i;:::-;-1:-1:-1;;;;;31869:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31869:23:0;;31861:68;;;;;-1:-1:-1;;;31861:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31861:68:0;;;;;;;;;;;;;;;32541:30:::1;32568:1;32541:18;:30::i;:::-;32476:103::o:0;31227:87::-;31300:6;;;;;-1:-1:-1;;;;;31300:6:0;;31227:87::o;11038:95::-;11118:7;11111:14;;;;;;;;-1:-1:-1;;11111:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11085:13;;11111:14;;11118:7;;11111:14;;11118:7;11111:14;;;;;;;;;;;;;;;;;;;;;;;;15076:269;15169:4;15186:129;15195:12;:10;:12::i;:::-;15209:7;15218:96;15257:15;15218:96;;;;;;;;;;;;;;;;;:11;:25;15230:12;:10;:12::i;:::-;-1:-1:-1;;;;;15218:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;15218:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;12438:175::-;12524:4;12541:42;12551:12;:10;:12::i;:::-;12565:9;12576:6;12541:9;:42::i;35631:1483::-;35736:18;;;;:7;:18;;;;;:27;35728:66;;;;;-1:-1:-1;;;35728:66:0;;;;;;;;;;;;-1:-1:-1;;;35728:66:0;;;;;;;;;;;;;;;35869:18;;;;:7;:18;;;;;:31;;;35903:15;-1:-1:-1;35847:121:0;;;;;-1:-1:-1;;;35847:121:0;;;;;;;;;;;;-1:-1:-1;;;35847:121:0;;;;;;;;;;;;;;;36063:10;36028:20;36051:23;;;:11;:23;;;;;;;;:34;;;;;;;;;36194:7;:18;;;;;:37;;;36187:84;;-1:-1:-1;;;36187:84:0;;36265:4;36187:84;;;;;;36051:34;;36028:20;-1:-1:-1;;;;;36194:37:0;;;;36187:69;;:84;;;;;36051:23;36187:84;;;;;36194:37;36187:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36187:84:0;;-1:-1:-1;36290:16:0;36282:61;;;;;-1:-1:-1;;;36282:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36392:15;36376:12;:31;;36354:120;;;;-1:-1:-1;;;36354:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36523:18;;;;:7;:18;;;;;:31;;;36507:47;;;36485:132;;;;-1:-1:-1;;;36485:132:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36684:1;36650:18;;;:7;:18;;;;;:31;;;36628:117;;;;;-1:-1:-1;;;36628:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36838:10;36863:1;36826:23;;;:11;:23;;;;;;;;:34;;;;;;;;:38;;;36875:7;:18;;;;;:31;;;:47;;;;;;;-1:-1:-1;36992:37:0;;36986:120;;-1:-1:-1;;;;;36992:37:0;;;;36875:47;36986:57;:120::i;34670:164::-;-1:-1:-1;;;;;34799:17:0;;;;34772:7;34799:17;;;:11;:17;;;;;;;;:27;;;;;;;;;34670:164::o;12676:151::-;-1:-1:-1;;;;;12792:18:0;;;12765:7;12792:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;12676:151::o;32734:238::-;31880:12;:10;:12::i;:::-;-1:-1:-1;;;;;31869:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31869:23:0;;31861:68;;;;;-1:-1:-1;;;31861:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31861:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;32837:22:0;::::1;32815:110;;;;-1:-1:-1::0;;;32815:110:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32936:28;32955:8;32936:18;:28::i;33453:38::-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33453:38:0;;;;;:::o;37154:928::-;31880:12;:10;:12::i;:::-;-1:-1:-1;;;;;31869:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;31869:23:0;;31861:68;;;;;-1:-1:-1;;;31861:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31861:68:0;;;;;;;;;;;;;;;37280:18:::1;::::0;;;:7:::1;:18;::::0;;;;:27;37272:66:::1;;;::::0;;-1:-1:-1;;;37272:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;37272:66:0;;;;;;;;;;;;;::::1;;37433:18;::::0;;;:7:::1;:18;::::0;;;;:31:::1;;::::0;37467:15:::1;-1:-1:-1::0;37411:125:0::1;;;::::0;;-1:-1:-1;;;37411:125:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;37614:23;37647:18:::0;;;:7:::1;:18;::::0;;;;;;;:37:::1;;::::0;37640:84;;-1:-1:-1;;;37640:84:0;;37718:4:::1;37640:84;::::0;::::1;::::0;;;-1:-1:-1;;;;;37647:37:0;;::::1;::::0;37640:69:::1;::::0;:84;;;;;;;;;;;37647:37;37640:84;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;37640:84:0;37759:18:::1;::::0;;;:7:::1;37640:84;37759:18:::0;;;;:31:::1;;::::0;37640:84;;-1:-1:-1;37759:50:0;-1:-1:-1;37759:50:0::1;37737:132;;;::::0;;-1:-1:-1;;;37737:132:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;38032:18;::::0;;;:7:::1;:18;::::0;;;;:31:::1;::::0;::::1;::::0;37941:37:::1;::::0;;::::1;::::0;37935:139:::1;::::0;-1:-1:-1;;;;;37941:37:0;;::::1;::::0;38007:10:::1;::::0;37935:57:::1;:139::i;:::-;31940:1;37154:928:::0;:::o;9603:106::-;9691:10;9603:106;:::o;19793:177::-;19903:58;;;-1:-1:-1;;;;;19903:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19903:58:0;-1:-1:-1;;;19903:58:0;;;19876:86;;19896:5;;19876:19;:86::i;18223:346::-;-1:-1:-1;;;;;18325:19:0;;18317:68;;;;-1:-1:-1;;;18317:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18404:21:0;;18396:68;;;;-1:-1:-1;;;18396:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18477:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18529:32;;;;;;;;;;;;;;;;;18223:346;;;:::o;15835:539::-;-1:-1:-1;;;;;15941:20:0;;15933:70;;;;-1:-1:-1;;;15933:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16022:23:0;;16014:71;;;;-1:-1:-1;;;16014:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16098:47;16119:6;16127:9;16138:6;16098:20;:47::i;:::-;16178:71;16200:6;16178:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16178:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;16158:17:0;;;:9;:17;;;;;;;;;;;:91;;;;16283:20;;;;;;;:32;;16308:6;16283:24;:32::i;:::-;-1:-1:-1;;;;;16260:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;16331:35;;;;;;;16260:20;;16331:35;;;;;;;;;;;;;15835:539;;;:::o;5017:166::-;5103:7;5139:12;5131:6;;;;5123:29;;;;-1:-1:-1;;;5123:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5170:5:0;;;5017:166::o;2190:179::-;2248:7;2280:5;;;2304:6;;;;2296:46;;;;;-1:-1:-1;;;2296:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;33132:191;33225:6;;;-1:-1:-1;;;;;33242:17:0;;;33225:6;33242:17;;;-1:-1:-1;;;;;;33242:17:0;;;;;;33275:40;;33225:6;;;;;;;;33275:40;;33206:16;;33275:40;33132:191;;:::o;22098:761::-;22522:23;22548:69;22576:4;22548:69;;;;;;;;;;;;;;;;;22556:5;-1:-1:-1;;;;;22548:27:0;;;:69;;;;;:::i;:::-;22632:17;;22522:95;;-1:-1:-1;22632:21:0;22628:224;;22774:10;22763:30;;;;;;;;;;;;;;;-1:-1:-1;22763:30:0;22755:85;;;;-1:-1:-1;;;22755:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26394:195;26497:12;26529:52;26551:6;26559:4;26565:1;26568:12;26529:21;:52::i;:::-;26522:59;26394:195;-1:-1:-1;;;;26394:195:0:o;27446:530::-;27573:12;27631:5;27606:21;:30;;27598:81;;;;-1:-1:-1;;;27598:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27698:18;27709:6;27698:10;:18::i;:::-;27690:60;;;;;-1:-1:-1;;;27690:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27824:12;27838:23;27865:6;-1:-1:-1;;;;;27865:11:0;27885:5;27893:4;27865:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27865:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27823:75;;;;27916:52;27934:7;27943:10;27955:12;27916:17;:52::i;:::-;27909:59;27446:530;-1:-1:-1;;;;;;;27446:530:0:o;23476:422::-;23843:20;23882:8;;;23476:422::o;29986:742::-;30101:12;30130:7;30126:595;;;-1:-1:-1;30161:10:0;30154:17;;30126:595;30275:17;;:21;30271:439;;30538:10;30532:17;30599:15;30586:10;30582:2;30578:19;30571:44;30486:148;30674:20;;-1:-1:-1;;;30674:20:0;;;;;;;;;;;;;;;;;30681:12;;30674:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://f5e98ffbcb9e80deac089e597d1ba643a1dbc75ead4a6b95d005eb95881a8707
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.