More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,399 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Unstake Token | 17224870 | 418 days ago | IN | 0 ETH | 0.00597944 | ||||
Unstake Token | 17224827 | 418 days ago | IN | 0 ETH | 0.00923293 | ||||
Set Reward Rate | 17167795 | 426 days ago | IN | 0 ETH | 0.00214375 | ||||
Unstake Token | 17132330 | 431 days ago | IN | 0 ETH | 0.00349822 | ||||
Unstake Token | 17127153 | 432 days ago | IN | 0 ETH | 0.00323504 | ||||
Claim | 17126404 | 432 days ago | IN | 0 ETH | 0.01069367 | ||||
Claim | 17123839 | 432 days ago | IN | 0 ETH | 0.01210843 | ||||
Claim | 17120262 | 433 days ago | IN | 0 ETH | 0.00418176 | ||||
Unstake Token | 17120155 | 433 days ago | IN | 0 ETH | 0.00322517 | ||||
Claim | 17119990 | 433 days ago | IN | 0 ETH | 0.00876095 | ||||
Claim | 17117164 | 433 days ago | IN | 0 ETH | 0.0063105 | ||||
Unstake Token | 17117157 | 433 days ago | IN | 0 ETH | 0.0044075 | ||||
Claim | 17117152 | 433 days ago | IN | 0 ETH | 0.0064177 | ||||
Unstake Token | 17117148 | 433 days ago | IN | 0 ETH | 0.00443744 | ||||
Claim | 17117141 | 433 days ago | IN | 0 ETH | 0.00679876 | ||||
Claim | 17117122 | 433 days ago | IN | 0 ETH | 0.01363119 | ||||
Unstake Token | 17117119 | 433 days ago | IN | 0 ETH | 0.00328395 | ||||
Claim | 17111883 | 434 days ago | IN | 0 ETH | 0.00487941 | ||||
Claim | 17109678 | 434 days ago | IN | 0 ETH | 0.00579419 | ||||
Unstake Token | 17109673 | 434 days ago | IN | 0 ETH | 0.0025474 | ||||
Unstake Token | 17109667 | 434 days ago | IN | 0 ETH | 0.00275811 | ||||
Unstake Token | 17109639 | 434 days ago | IN | 0 ETH | 0.00404424 | ||||
Claim | 17109398 | 434 days ago | IN | 0 ETH | 0.00407513 | ||||
Claim | 17106529 | 435 days ago | IN | 0 ETH | 0.00803726 | ||||
Unstake Token | 17106527 | 435 days ago | IN | 0 ETH | 0.00200542 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MKongStaking
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-03 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity 0.8.7; /** * @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 should not be accessed in such a direct * manner, since when dealing with 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. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] pragma solidity ^0.8.0; /** * @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. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * 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. */ abstract 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() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "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); } } // File @openzeppelin/contracts/security/[email protected] pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File @openzeppelin/contracts/utils/math/[email protected] pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ 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) { unchecked { 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) { unchecked { 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) { unchecked { // 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) { unchecked { 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) { unchecked { 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) { return a + b; } /** * @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 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) { return a * b; } /** * @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. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { 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) { 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) { unchecked { 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. * * 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) { unchecked { 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) { unchecked { require(b > 0, errorMessage); return a % b; } } } pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ 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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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"); (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"); (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"); (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"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/token/ERC20/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, 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); } // File @openzeppelin/contracts/token/ERC20/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } pragma solidity ^0.8.0; /** * @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 {ERC20PresetMinterPauser}. * * 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 Contracts guidelines: functions revert * instead 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, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 this function is * overridden; * * 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 override returns (uint8) { return 18; } /** * @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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); 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) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + 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) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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: * * - `account` 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 += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(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 Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File @openzeppelin/contracts/token/ERC20/utils/[email protected] /** * @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 IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { 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' 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) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _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 require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } contract MKongStaking is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; struct UserInfo { uint256 stakedAmount; // How many MKONG tokens the user has provided. uint256 rewardDebt; // number of reward token user will get got. it is cleared when user stake or unstake token. uint256 lastDepositTime; // time when user deposited uint256 unstakeStartTime; // time when when user clicked unstake btn. uint256 pendingAmount; // # of tokens that is pending of 9 days. } event TokenStaked(address user, uint256 amount); event TokenWithdraw(address user, uint256 amount); event ClaimToken(address user, uint256 receiveAmount); event RewardRateSet(uint256 value); event RewardReceived(address receiver, uint256 rewardAmount); address public mkongToken; mapping (address => UserInfo) public userInfos; uint256 public totalStakedAmount; uint256 public rewardRate; uint256 public UNSTAKE_TIMEOFF = 9 days; constructor(address _token) { require(_token != address(0), "Zero address: Token"); mkongToken = _token; totalStakedAmount = 0; rewardRate = 18; // User will get 18% reward after lockup time. } function setRewardRate(uint256 _newRate) public onlyOwner { require(_newRate != 0, "rate should be over 1"); rewardRate = _newRate; emit RewardRateSet(_newRate); } function stakeToken(uint256 _amount) external nonReentrant updateReward(msg.sender) { require(_amount > 0, "invalid deposit amount"); userInfos[msg.sender].stakedAmount = userInfos[msg.sender].stakedAmount.add(_amount); userInfos[msg.sender].lastDepositTime = block.timestamp; IERC20(mkongToken).safeTransferFrom(msg.sender, address(this), _amount); totalStakedAmount = totalStakedAmount.add(_amount); emit TokenStaked(msg.sender, _amount); } /** 9 days Timer will start **/ function unstakeToken(uint256 _amount, bool isEmergency) external nonReentrant updateReward(msg.sender) { require(_amount > 0, "invalid deposit amount"); require( userInfos[msg.sender].stakedAmount >= _amount, "unstake amount is bigger than you staked" ); uint256 outAmount = _amount + userInfos[msg.sender].rewardDebt; if ( isEmergency == true) { outAmount = outAmount.mul(91).div(100); } userInfos[msg.sender].stakedAmount = userInfos[msg.sender].stakedAmount.sub(_amount); userInfos[msg.sender].rewardDebt = 0; userInfos[msg.sender].lastDepositTime = block.timestamp; if ( isEmergency == true) { // send token to msg.sender. IERC20(mkongToken).safeTransfer(msg.sender, outAmount); emit ClaimToken(msg.sender, outAmount); return; } userInfos[msg.sender].unstakeStartTime = block.timestamp; userInfos[msg.sender].pendingAmount = userInfos[msg.sender].pendingAmount + outAmount; emit TokenWithdraw(msg.sender, outAmount); } // this function will be called after 9 days. actual token transfer happens here. function claim() external nonReentrant { require((block.timestamp - userInfos[msg.sender].unstakeStartTime) >= UNSTAKE_TIMEOFF, "invalid time: must be greater than 9 days"); uint256 receiveAmount = userInfos[msg.sender].pendingAmount; require( receiveAmount > 0, "no available amount" ); require(IERC20(mkongToken).balanceOf(address(this)) >= receiveAmount, "staking contract has not enough mkong token"); IERC20(mkongToken).safeTransfer(msg.sender, receiveAmount); totalStakedAmount = IERC20(mkongToken).balanceOf(address(this)).sub(receiveAmount); userInfos[msg.sender].pendingAmount = 0; userInfos[msg.sender].unstakeStartTime = block.timestamp; emit ClaimToken(msg.sender, receiveAmount); } function isClaimable(address user) external view returns (bool){ if (userInfos[user].unstakeStartTime == 0) return false; return (block.timestamp - userInfos[user].unstakeStartTime > UNSTAKE_TIMEOFF)? true : false; } function timeDiffForClaim(address user) external view returns (uint256) { return (userInfos[user].unstakeStartTime + UNSTAKE_TIMEOFF > block.timestamp) ? userInfos[user].unstakeStartTime + UNSTAKE_TIMEOFF - block.timestamp : 0 ; } function setUnstakeTimeoff(uint256 time_) external onlyOwner { UNSTAKE_TIMEOFF = time_; } function calcReward(address account) public view returns (uint256) { uint256 rewardVal = (block.timestamp - userInfos[account].lastDepositTime).mul(userInfos[account].stakedAmount).mul(rewardRate).div(365 days); return rewardVal.div(100).add(userInfos[account].rewardDebt); } modifier updateReward(address account) { if (account != address(0)) { if (userInfos[account].lastDepositTime == 0) { userInfos[account].lastDepositTime = block.timestamp; userInfos[account].rewardDebt = 0; }else { userInfos[account].rewardDebt = calcReward(account); } } _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"receiveAmount","type":"uint256"}],"name":"ClaimToken","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"RewardRateSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"name":"RewardReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenWithdraw","type":"event"},{"inputs":[],"name":"UNSTAKE_TIMEOFF","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"calcReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"isClaimable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mkongToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newRate","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"time_","type":"uint256"}],"name":"setUnstakeTimeoff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stakeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"timeDiffForClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"isEmergency","type":"bool"}],"name":"unstakeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfos","outputs":[{"internalType":"uint256","name":"stakedAmount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"lastDepositTime","type":"uint256"},{"internalType":"uint256","name":"unstakeStartTime","type":"uint256"},{"internalType":"uint256","name":"pendingAmount","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052620bdd8060065534801561001757600080fd5b506040516113e23803806113e28339810160408190526100369161011c565b61003f336100cc565b600180556001600160a01b03811661009d5760405162461bcd60e51b815260206004820152601360248201527f5a65726f20616464726573733a20546f6b656e00000000000000000000000000604482015260640160405180910390fd5b600280546001600160a01b0319166001600160a01b03929092169190911790556000600455601260055561014c565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561012e57600080fd5b81516001600160a01b038116811461014557600080fd5b9392505050565b6112878061015b6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80636e74f7ff116100975780639e447fc6116100665780639e447fc614610243578063beae159914610256578063cda6b84714610269578063f2fde38b1461027c57600080fd5b80636e74f7ff1461020e578063715018a6146102215780637b0a47ee146102295780638da5cb5b1461023257600080fd5b8063477d2baf116100d3578063477d2baf146101df5780634e71d92d146101e8578063567e98f9146101f257806358ffa963146101fb57600080fd5b8063156fde3914610105578063292fec04146101355780633a61738d1461015857806343b0215f14610179575b600080fd5b600254610118906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61014861014336600461102e565b61028f565b604051901515815260200161012c565b61016b61016636600461102e565b6102f6565b60405190815260200161012c565b6101b761018736600461102e565b60036020819052600091825260409091208054600182015460028301549383015460049093015491939092909185565b604080519586526020860194909452928401919091526060830152608082015260a00161012c565b61016b60065481565b6101f0610380565b005b61016b60045481565b6101f0610209366004611074565b610667565b6101f061021c3660046110a6565b610696565b6101f061094a565b61016b60055481565b6000546001600160a01b0316610118565b6101f0610251366004611074565b610980565b61016b61026436600461102e565b610a2a565b6101f0610277366004611074565b610a98565b6101f061028a36600461102e565b610c1a565b6001600160a01b0381166000908152600360208190526040822001546102b757506000919050565b6006546001600160a01b038316600090815260036020819052604090912001546102e190426111ea565b116102ed5760006102f0565b60015b92915050565b6005546001600160a01b0382166000908152600360205260408120805460029091015491928392610345926301e133809261033f929091610339918290426111ea565b90610cb5565b90610cc1565b6001600160a01b03841660009081526003602052604090206001015490915061037990610373836064610cc1565b90610ccd565b9392505050565b600260015414156103ac5760405162461bcd60e51b81526004016103a39061115a565b60405180910390fd5b600260015560065433600090815260036020819052604090912001546103d290426111ea565b10156104325760405162461bcd60e51b815260206004820152602960248201527f696e76616c69642074696d653a206d7573742062652067726561746572207468604482015268616e2039206461797360b81b60648201526084016103a3565b33600090815260036020526040902060040154806104885760405162461bcd60e51b81526020600482015260136024820152721b9bc8185d985a5b18589b1948185b5bdd5b9d606a1b60448201526064016103a3565b6002546040516370a0823160e01b815230600482015282916001600160a01b0316906370a082319060240160206040518083038186803b1580156104cb57600080fd5b505afa1580156104df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610503919061108d565b10156105655760405162461bcd60e51b815260206004820152602b60248201527f7374616b696e6720636f6e747261637420686173206e6f7420656e6f7567682060448201526a36b5b7b733903a37b5b2b760a91b60648201526084016103a3565b60025461057c906001600160a01b03163383610cd9565b6002546040516370a0823160e01b81523060048201526106039183916001600160a01b03909116906370a082319060240160206040518083038186803b1580156105c557600080fd5b505afa1580156105d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fd919061108d565b90610d41565b60049081553360008181526003602081815260408084209586019390935542949091019390935580519182529181018390527f5d425a3a6a3d5a60fbf147dc6659ce3dfeb701fc44fe90058c32783b8807c574910160405180910390a15060018055565b6000546001600160a01b031633146106915760405162461bcd60e51b81526004016103a390611125565b600655565b600260015414156106b95760405162461bcd60e51b81526004016103a39061115a565b6002600155338015610732576001600160a01b03811660009081526003602052604090206002015461070c576001600160a01b038116600090815260036020526040812042600282015560010155610732565b610715816102f6565b6001600160a01b0382166000908152600360205260409020600101555b6000831161077b5760405162461bcd60e51b81526020600482015260166024820152751a5b9d985b1a590819195c1bdcda5d08185b5bdd5b9d60521b60448201526064016103a3565b336000908152600360205260409020548311156107eb5760405162461bcd60e51b815260206004820152602860248201527f756e7374616b6520616d6f756e7420697320626967676572207468616e20796f6044820152671d481cdd185ad95960c21b60648201526084016103a3565b336000908152600360205260408120600101546108089085611191565b90506001831515141561082857610825606461033f83605b610cb5565b90505b336000908152600360205260409020546108429085610d41565b3360009081526003602052604081209182556001808301919091554260029092019190915583151514156108c657600254610887906001600160a01b03163383610cd9565b60408051338152602081018390527f5d425a3a6a3d5a60fbf147dc6659ce3dfeb701fc44fe90058c32783b8807c574910160405180910390a150610941565b3360009081526003602081905260409091204291810191909155600401546108ef908290611191565b336000818152600360209081526040918290206004019390935580519182529181018390527f68577e4d693c1b056a60bc4e39438810239a0bfe64869c4eb7e3baebb5f65634910160405180910390a1505b50506001805550565b6000546001600160a01b031633146109745760405162461bcd60e51b81526004016103a390611125565b61097e6000610d4d565b565b6000546001600160a01b031633146109aa5760405162461bcd60e51b81526004016103a390611125565b806109ef5760405162461bcd60e51b8152602060048201526015602482015274726174652073686f756c64206265206f766572203160581b60448201526064016103a3565b60058190556040518181527f8cbfafc8e0d9c5c81401c4b9c6e7d201198adc7eb8f8f1556c195ecd4c0a0e7b9060200160405180910390a150565b6006546001600160a01b03821660009081526003602081905260408220015490914291610a579190611191565b11610a635760006102f0565b6006546001600160a01b038316600090815260036020819052604090912001544291610a8e91611191565b6102f091906111ea565b60026001541415610abb5760405162461bcd60e51b81526004016103a39061115a565b6002600155338015610b34576001600160a01b038116600090815260036020526040902060020154610b0e576001600160a01b038116600090815260036020526040812042600282015560010155610b34565b610b17816102f6565b6001600160a01b0382166000908152600360205260409020600101555b60008211610b7d5760405162461bcd60e51b81526020600482015260166024820152751a5b9d985b1a590819195c1bdcda5d08185b5bdd5b9d60521b60448201526064016103a3565b33600090815260036020526040902054610b979083610ccd565b336000818152600360205260409020918255426002928301559054610bc9916001600160a01b03909116903085610d9d565b600454610bd69083610ccd565b60045560408051338152602081018490527f1fdab8a8457aaf782e4b6217d6ffa6f5006eda7e50922dd092b2e1524275d774910160405180910390a1505060018055565b6000546001600160a01b03163314610c445760405162461bcd60e51b81526004016103a390611125565b6001600160a01b038116610ca95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103a3565b610cb281610d4d565b50565b600061037982846111cb565b600061037982846111a9565b60006103798284611191565b6040516001600160a01b038316602482015260448101829052610d3c90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610ddb565b505050565b600061037982846111ea565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052610dd59085906323b872dd60e01b90608401610d05565b50505050565b6000610e30826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ead9092919063ffffffff16565b805190915015610d3c5780806020019051810190610e4e9190611057565b610d3c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103a3565b6060610ebc8484600085610ec4565b949350505050565b606082471015610f255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103a3565b6001600160a01b0385163b610f7c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103a3565b600080866001600160a01b03168587604051610f9891906110d6565b60006040518083038185875af1925050503d8060008114610fd5576040519150601f19603f3d011682016040523d82523d6000602084013e610fda565b606091505b5091509150610fea828286610ff5565b979650505050505050565b60608315611004575081610379565b8251156110145782518084602001fd5b8160405162461bcd60e51b81526004016103a391906110f2565b60006020828403121561104057600080fd5b81356001600160a01b038116811461037957600080fd5b60006020828403121561106957600080fd5b815161037981611243565b60006020828403121561108657600080fd5b5035919050565b60006020828403121561109f57600080fd5b5051919050565b600080604083850312156110b957600080fd5b8235915060208301356110cb81611243565b809150509250929050565b600082516110e8818460208701611201565b9190910192915050565b6020815260008251806020840152611111816040850160208701611201565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b600082198211156111a4576111a461122d565b500190565b6000826111c657634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156111e5576111e561122d565b500290565b6000828210156111fc576111fc61122d565b500390565b60005b8381101561121c578181015183820152602001611204565b83811115610dd55750506000910152565b634e487b7160e01b600052601160045260246000fd5b8015158114610cb257600080fdfea264697066735822122057c432f5fdb7b05431f7110f9945b191771947d08110b14b9ccaf3b616c1ebab64736f6c63430008070033000000000000000000000000ee6b9cf11d968e0bac7bfff547577b8ae35b8065
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c80636e74f7ff116100975780639e447fc6116100665780639e447fc614610243578063beae159914610256578063cda6b84714610269578063f2fde38b1461027c57600080fd5b80636e74f7ff1461020e578063715018a6146102215780637b0a47ee146102295780638da5cb5b1461023257600080fd5b8063477d2baf116100d3578063477d2baf146101df5780634e71d92d146101e8578063567e98f9146101f257806358ffa963146101fb57600080fd5b8063156fde3914610105578063292fec04146101355780633a61738d1461015857806343b0215f14610179575b600080fd5b600254610118906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61014861014336600461102e565b61028f565b604051901515815260200161012c565b61016b61016636600461102e565b6102f6565b60405190815260200161012c565b6101b761018736600461102e565b60036020819052600091825260409091208054600182015460028301549383015460049093015491939092909185565b604080519586526020860194909452928401919091526060830152608082015260a00161012c565b61016b60065481565b6101f0610380565b005b61016b60045481565b6101f0610209366004611074565b610667565b6101f061021c3660046110a6565b610696565b6101f061094a565b61016b60055481565b6000546001600160a01b0316610118565b6101f0610251366004611074565b610980565b61016b61026436600461102e565b610a2a565b6101f0610277366004611074565b610a98565b6101f061028a36600461102e565b610c1a565b6001600160a01b0381166000908152600360208190526040822001546102b757506000919050565b6006546001600160a01b038316600090815260036020819052604090912001546102e190426111ea565b116102ed5760006102f0565b60015b92915050565b6005546001600160a01b0382166000908152600360205260408120805460029091015491928392610345926301e133809261033f929091610339918290426111ea565b90610cb5565b90610cc1565b6001600160a01b03841660009081526003602052604090206001015490915061037990610373836064610cc1565b90610ccd565b9392505050565b600260015414156103ac5760405162461bcd60e51b81526004016103a39061115a565b60405180910390fd5b600260015560065433600090815260036020819052604090912001546103d290426111ea565b10156104325760405162461bcd60e51b815260206004820152602960248201527f696e76616c69642074696d653a206d7573742062652067726561746572207468604482015268616e2039206461797360b81b60648201526084016103a3565b33600090815260036020526040902060040154806104885760405162461bcd60e51b81526020600482015260136024820152721b9bc8185d985a5b18589b1948185b5bdd5b9d606a1b60448201526064016103a3565b6002546040516370a0823160e01b815230600482015282916001600160a01b0316906370a082319060240160206040518083038186803b1580156104cb57600080fd5b505afa1580156104df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610503919061108d565b10156105655760405162461bcd60e51b815260206004820152602b60248201527f7374616b696e6720636f6e747261637420686173206e6f7420656e6f7567682060448201526a36b5b7b733903a37b5b2b760a91b60648201526084016103a3565b60025461057c906001600160a01b03163383610cd9565b6002546040516370a0823160e01b81523060048201526106039183916001600160a01b03909116906370a082319060240160206040518083038186803b1580156105c557600080fd5b505afa1580156105d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fd919061108d565b90610d41565b60049081553360008181526003602081815260408084209586019390935542949091019390935580519182529181018390527f5d425a3a6a3d5a60fbf147dc6659ce3dfeb701fc44fe90058c32783b8807c574910160405180910390a15060018055565b6000546001600160a01b031633146106915760405162461bcd60e51b81526004016103a390611125565b600655565b600260015414156106b95760405162461bcd60e51b81526004016103a39061115a565b6002600155338015610732576001600160a01b03811660009081526003602052604090206002015461070c576001600160a01b038116600090815260036020526040812042600282015560010155610732565b610715816102f6565b6001600160a01b0382166000908152600360205260409020600101555b6000831161077b5760405162461bcd60e51b81526020600482015260166024820152751a5b9d985b1a590819195c1bdcda5d08185b5bdd5b9d60521b60448201526064016103a3565b336000908152600360205260409020548311156107eb5760405162461bcd60e51b815260206004820152602860248201527f756e7374616b6520616d6f756e7420697320626967676572207468616e20796f6044820152671d481cdd185ad95960c21b60648201526084016103a3565b336000908152600360205260408120600101546108089085611191565b90506001831515141561082857610825606461033f83605b610cb5565b90505b336000908152600360205260409020546108429085610d41565b3360009081526003602052604081209182556001808301919091554260029092019190915583151514156108c657600254610887906001600160a01b03163383610cd9565b60408051338152602081018390527f5d425a3a6a3d5a60fbf147dc6659ce3dfeb701fc44fe90058c32783b8807c574910160405180910390a150610941565b3360009081526003602081905260409091204291810191909155600401546108ef908290611191565b336000818152600360209081526040918290206004019390935580519182529181018390527f68577e4d693c1b056a60bc4e39438810239a0bfe64869c4eb7e3baebb5f65634910160405180910390a1505b50506001805550565b6000546001600160a01b031633146109745760405162461bcd60e51b81526004016103a390611125565b61097e6000610d4d565b565b6000546001600160a01b031633146109aa5760405162461bcd60e51b81526004016103a390611125565b806109ef5760405162461bcd60e51b8152602060048201526015602482015274726174652073686f756c64206265206f766572203160581b60448201526064016103a3565b60058190556040518181527f8cbfafc8e0d9c5c81401c4b9c6e7d201198adc7eb8f8f1556c195ecd4c0a0e7b9060200160405180910390a150565b6006546001600160a01b03821660009081526003602081905260408220015490914291610a579190611191565b11610a635760006102f0565b6006546001600160a01b038316600090815260036020819052604090912001544291610a8e91611191565b6102f091906111ea565b60026001541415610abb5760405162461bcd60e51b81526004016103a39061115a565b6002600155338015610b34576001600160a01b038116600090815260036020526040902060020154610b0e576001600160a01b038116600090815260036020526040812042600282015560010155610b34565b610b17816102f6565b6001600160a01b0382166000908152600360205260409020600101555b60008211610b7d5760405162461bcd60e51b81526020600482015260166024820152751a5b9d985b1a590819195c1bdcda5d08185b5bdd5b9d60521b60448201526064016103a3565b33600090815260036020526040902054610b979083610ccd565b336000818152600360205260409020918255426002928301559054610bc9916001600160a01b03909116903085610d9d565b600454610bd69083610ccd565b60045560408051338152602081018490527f1fdab8a8457aaf782e4b6217d6ffa6f5006eda7e50922dd092b2e1524275d774910160405180910390a1505060018055565b6000546001600160a01b03163314610c445760405162461bcd60e51b81526004016103a390611125565b6001600160a01b038116610ca95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103a3565b610cb281610d4d565b50565b600061037982846111cb565b600061037982846111a9565b60006103798284611191565b6040516001600160a01b038316602482015260448101829052610d3c90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610ddb565b505050565b600061037982846111ea565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0380851660248301528316604482015260648101829052610dd59085906323b872dd60e01b90608401610d05565b50505050565b6000610e30826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ead9092919063ffffffff16565b805190915015610d3c5780806020019051810190610e4e9190611057565b610d3c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103a3565b6060610ebc8484600085610ec4565b949350505050565b606082471015610f255760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103a3565b6001600160a01b0385163b610f7c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103a3565b600080866001600160a01b03168587604051610f9891906110d6565b60006040518083038185875af1925050503d8060008114610fd5576040519150601f19603f3d011682016040523d82523d6000602084013e610fda565b606091505b5091509150610fea828286610ff5565b979650505050505050565b60608315611004575081610379565b8251156110145782518084602001fd5b8160405162461bcd60e51b81526004016103a391906110f2565b60006020828403121561104057600080fd5b81356001600160a01b038116811461037957600080fd5b60006020828403121561106957600080fd5b815161037981611243565b60006020828403121561108657600080fd5b5035919050565b60006020828403121561109f57600080fd5b5051919050565b600080604083850312156110b957600080fd5b8235915060208301356110cb81611243565b809150509250929050565b600082516110e8818460208701611201565b9190910192915050565b6020815260008251806020840152611111816040850160208701611201565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b600082198211156111a4576111a461122d565b500190565b6000826111c657634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156111e5576111e561122d565b500290565b6000828210156111fc576111fc61122d565b500390565b60005b8381101561121c578181015183820152602001611204565b83811115610dd55750506000910152565b634e487b7160e01b600052601160045260246000fd5b8015158114610cb257600080fdfea264697066735822122057c432f5fdb7b05431f7110f9945b191771947d08110b14b9ccaf3b616c1ebab64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ee6b9cf11d968e0bac7bfff547577b8ae35b8065
-----Decoded View---------------
Arg [0] : _token (address): 0xeE6b9CF11D968E0bAc7BFfF547577B8AE35B8065
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ee6b9cf11d968e0bac7bfff547577b8ae35b8065
Deployed Bytecode Sourcemap
41707:5141:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42534:25;;;;;-1:-1:-1;;;;;42534:25:0;;;;;;-1:-1:-1;;;;;1686:32:1;;;1668:51;;1656:2;1641:18;42534:25:0;;;;;;;;45580:253;;;;;;:::i;:::-;;:::i;:::-;;;2554:14:1;;2547:22;2529:41;;2517:2;2502:18;45580:253:0;2389:187:1;46190:288:0;;;;;;:::i;:::-;;:::i;:::-;;;7699:25:1;;;7687:2;7672:18;46190:288:0;7553:177:1;42564:46:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7994:25:1;;;8050:2;8035:18;;8028:34;;;;8078:18;;;8071:34;;;;8136:2;8121:18;;8114:34;8179:3;8164:19;;8157:35;7981:3;7966:19;42564:46:0;7735:463:1;42684:39:0;;;;;;44814:760;;;:::i;:::-;;42617:32;;;;;;46085:99;;;;;;:::i;:::-;;:::i;43667:1054::-;;;;;;:::i;:::-;;:::i;2529:103::-;;;:::i;42654:25::-;;;;;;1878:87;1924:7;1951:6;-1:-1:-1;;;;;1951:6:0;1878:87;;42954:181;;;;;;:::i;:::-;;:::i;45839:240::-;;;;;;:::i;:::-;;:::i;43141:479::-;;;;;;:::i;:::-;;:::i;2787:201::-;;;;;;:::i;:::-;;:::i;45580:253::-;-1:-1:-1;;;;;45656:15:0;;45638:4;45656:15;;;:9;:15;;;;;;;:32;;45652:64;;-1:-1:-1;45711:5:0;;45580:253;-1:-1:-1;45580:253:0:o;45652:64::-;45797:15;;-1:-1:-1;;;;;45761:15:0;;;;;;:9;:15;;;;;;;;:32;;45743:50;;:15;:50;:::i;:::-;:69;45742:85;;45822:5;45742:85;;;45815:4;45742:85;45735:92;45580:253;-1:-1:-1;;45580:253:0:o;46190:288::-;46380:10;;-1:-1:-1;;;;;46343:18:0;;46248:7;46343:18;;;:9;:18;;;;;:31;;46303:34;;;;;46248:7;;;;46284:121;;46396:8;;46284:107;;46380:10;;46284:91;;;;46285:15;:52;:::i;:::-;46284:58;;:91::i;:107::-;:111;;:121::i;:::-;-1:-1:-1;;;;;46442:18:0;;;;;;:9;:18;;;;;:29;;;46264:141;;-1:-1:-1;46419:53:0;;:18;46264:141;46433:3;46419:13;:18::i;:::-;:22;;:53::i;:::-;46412:60;46190:288;-1:-1:-1;;;46190:288:0:o;44814:760::-;5095:1;5693:7;;:19;;5685:63;;;;-1:-1:-1;;;5685:63:0;;;;;;;:::i;:::-;;;;;;;;;5095:1;5826:7;:18;44940:15:::1;::::0;44907:10:::1;44897:21;::::0;;;:9:::1;:21;::::0;;;;;;;:38:::1;::::0;44879:56:::1;::::0;:15:::1;:56;:::i;:::-;44878:77;;44870:131;;;::::0;-1:-1:-1;;;44870:131:0;;5865:2:1;44870:131:0::1;::::0;::::1;5847:21:1::0;5904:2;5884:18;;;5877:30;5943:34;5923:18;;;5916:62;-1:-1:-1;;;5994:18:1;;;5987:39;6043:19;;44870:131:0::1;5663:405:1::0;44870:131:0::1;45042:10;45008:21;45032::::0;;;:9:::1;:21;::::0;;;;:35:::1;;::::0;45083:17;45074:51:::1;;;::::0;-1:-1:-1;;;45074:51:0;;5517:2:1;45074:51:0::1;::::0;::::1;5499:21:1::0;5556:2;5536:18;;;5529:30;-1:-1:-1;;;5575:18:1;;;5568:49;5634:18;;45074:51:0::1;5315:343:1::0;45074:51:0::1;45147:10;::::0;45140:43:::1;::::0;-1:-1:-1;;;45140:43:0;;45177:4:::1;45140:43;::::0;::::1;1668:51:1::0;45187:13:0;;-1:-1:-1;;;;;45147:10:0::1;::::0;45140:28:::1;::::0;1641:18:1;;45140:43:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;;45132:116;;;::::0;-1:-1:-1;;;45132:116:0;;4744:2:1;45132:116:0::1;::::0;::::1;4726:21:1::0;4783:2;4763:18;;;4756:30;4822:34;4802:18;;;4795:62;-1:-1:-1;;;4873:18:1;;;4866:41;4924:19;;45132:116:0::1;4542:407:1::0;45132:116:0::1;45264:10;::::0;45257:58:::1;::::0;-1:-1:-1;;;;;45264:10:0::1;45289;45301:13:::0;45257:31:::1;:58::i;:::-;45349:10;::::0;45342:43:::1;::::0;-1:-1:-1;;;45342:43:0;;45379:4:::1;45342:43;::::0;::::1;1668:51:1::0;45342:62:0::1;::::0;45390:13;;-1:-1:-1;;;;;45349:10:0;;::::1;::::0;45342:28:::1;::::0;1641:18:1;;45342:43:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47:::0;::::1;:62::i;:::-;45322:17;:82:::0;;;45421:10:::1;45449:1;45411:21:::0;;;:9:::1;:21;::::0;;;;;;;:35;;::::1;:39:::0;;;;45498:15:::1;45457:38:::0;;;::::1;:56:::0;;;;45531:37;;2284:51:1;;;2351:18;;;2344:34;;;45531:37:0::1;::::0;2257:18:1;45531:37:0::1;;;;;;;-1:-1:-1::0;5051:1:0;6005:22;;44814:760::o;46085:99::-;1924:7;1951:6;-1:-1:-1;;;;;1951:6:0;735:10;2098:23;2090:68;;;;-1:-1:-1;;;2090:68:0;;;;;;;:::i;:::-;46155:15:::1;:23:::0;46085:99::o;43667:1054::-;5095:1;5693:7;;:19;;5685:63;;;;-1:-1:-1;;;5685:63:0;;;;;;;:::i;:::-;5095:1;5826:7;:18;43759:10:::1;46536:21:::0;;46532:298:::1;;-1:-1:-1::0;;;;;46574:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:34:::1;;::::0;46570:251:::1;;-1:-1:-1::0;;;;;46628:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;46665:15:::1;46628:34;::::0;::::1;:52:::0;46693:29:::1;;:33:::0;46570:251:::1;;;46788:19;46799:7;46788:10;:19::i;:::-;-1:-1:-1::0;;;;;46756:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:29:::1;;:51:::0;46570:251:::1;43796:1:::2;43786:7;:11;43778:46;;;::::0;-1:-1:-1;;;43778:46:0;;7404:2:1;43778:46:0::2;::::0;::::2;7386:21:1::0;7443:2;7423:18;;;7416:30;-1:-1:-1;;;7462:18:1;;;7455:52;7524:18;;43778:46:0::2;7202:346:1::0;43778:46:0::2;43850:10;43840:21;::::0;;;:9:::2;:21;::::0;;;;:34;:45;-1:-1:-1;43840:45:0::2;43831:100;;;::::0;-1:-1:-1;;;43831:100:0;;4335:2:1;43831:100:0::2;::::0;::::2;4317:21:1::0;4374:2;4354:18;;;4347:30;4413:34;4393:18;;;4386:62;-1:-1:-1;;;4464:18:1;;;4457:38;4512:19;;43831:100:0::2;4133:404:1::0;43831:100:0::2;43980:10;43940:17;43970:21:::0;;;:9:::2;:21;::::0;;;;:32:::2;;::::0;43960:42:::2;::::0;:7;:42:::2;:::i;:::-;43940:62:::0;-1:-1:-1;44035:4:0::2;44020:19:::0;::::2;;;44015:81;;;44062:26;44084:3;44062:17;:9:::0;44076:2:::2;44062:13;:17::i;:26::-;44050:38;;44015:81;44155:10;44145:21;::::0;;;:9:::2;:21;::::0;;;;:34;:47:::2;::::0;44184:7;44145:38:::2;:47::i;:::-;44118:10;44108:21;::::0;;;:9:::2;:21;::::0;;;;:84;;;44199:32:::2;::::0;;::::2;:36:::0;;;;44282:15:::2;44242:37;::::0;;::::2;:55:::0;;;;44311:19;::::2;;;44306:203;;;44388:10;::::0;44381:54:::2;::::0;-1:-1:-1;;;;;44388:10:0::2;44413;44425:9:::0;44381:31:::2;:54::i;:::-;44451:33;::::0;;44462:10:::2;2284:51:1::0;;2366:2;2351:18;;2344:34;;;44451:33:0::2;::::0;2257:18:1;44451:33:0::2;;;;;;;44495:7;;;44306:203;44527:10;44517:21;::::0;;;:9:::2;:21;::::0;;;;;;;44558:15:::2;44517:38:::0;;::::2;:56:::0;;;;44618:35:::2;;::::0;:47:::2;::::0;44656:9;;44618:47:::2;:::i;:::-;44590:10;44580:21;::::0;;;:9:::2;:21;::::0;;;;;;;;:35:::2;;:85:::0;;;;44679:36;;2284:51:1;;;2351:18;;;2344:34;;;44679:36:0::2;::::0;2257:18:1;44679:36:0::2;;;;;;;43771:950;46838:1;-1:-1:-1::0;;5051:1:0;6005:22;;-1:-1:-1;43667:1054:0:o;2529:103::-;1924:7;1951:6;-1:-1:-1;;;;;1951:6:0;735:10;2098:23;2090:68;;;;-1:-1:-1;;;2090:68:0;;;;;;;:::i;:::-;2594:30:::1;2621:1;2594:18;:30::i;:::-;2529:103::o:0;42954:181::-;1924:7;1951:6;-1:-1:-1;;;;;1951:6:0;735:10;2098:23;2090:68;;;;-1:-1:-1;;;2090:68:0;;;;;;;:::i;:::-;43027:13;43019:47:::1;;;::::0;-1:-1:-1;;;43019:47:0;;3171:2:1;43019:47:0::1;::::0;::::1;3153:21:1::0;3210:2;3190:18;;;3183:30;-1:-1:-1;;;3229:18:1;;;3222:51;3290:18;;43019:47:0::1;2969:345:1::0;43019:47:0::1;43073:10;:21:::0;;;43106:23:::1;::::0;7699:25:1;;;43106:23:0::1;::::0;7687:2:1;7672:18;43106:23:0::1;;;;;;;42954:181:::0;:::o;45839:240::-;45963:15;;-1:-1:-1;;;;;45928:15:0;;45902:7;45928:15;;;:9;:15;;;;;;;:32;;45902:7;;45981:15;;45928:50;;45963:15;45928:50;:::i;:::-;:68;45927:145;;46071:1;45927:145;;;46035:15;;-1:-1:-1;;;;;46000:15:0;;;;;;:9;:15;;;;;;;;:32;;46053:15;;46000:50;;;:::i;:::-;:68;;;;:::i;43141:479::-;5095:1;5693:7;;:19;;5685:63;;;;-1:-1:-1;;;5685:63:0;;;;;;;:::i;:::-;5095:1;5826:7;:18;43213:10:::1;46536:21:::0;;46532:298:::1;;-1:-1:-1::0;;;;;46574:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:34:::1;;::::0;46570:251:::1;;-1:-1:-1::0;;;;;46628:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;46665:15:::1;46628:34;::::0;::::1;:52:::0;46693:29:::1;;:33:::0;46570:251:::1;;;46788:19;46799:7;46788:10;:19::i;:::-;-1:-1:-1::0;;;;;46756:18:0;::::1;;::::0;;;:9:::1;:18;::::0;;;;:29:::1;;:51:::0;46570:251:::1;43252:1:::2;43242:7;:11;43234:46;;;::::0;-1:-1:-1;;;43234:46:0;;7404:2:1;43234:46:0::2;::::0;::::2;7386:21:1::0;7443:2;7423:18;;;7416:30;-1:-1:-1;;;7462:18:1;;;7455:52;7524:18;;43234:46:0::2;7202:346:1::0;43234:46:0::2;43336:10;43326:21;::::0;;;:9:::2;:21;::::0;;;;:34;:47:::2;::::0;43365:7;43326:38:::2;:47::i;:::-;43299:10;43289:21;::::0;;;:9:::2;:21;::::0;;;;:84;;;43420:15:::2;43380:37;::::0;;::::2;:55:::0;43449:10;;43442:71:::2;::::0;-1:-1:-1;;;;;43449:10:0;;::::2;::::0;43498:4:::2;43505:7:::0;43442:35:::2;:71::i;:::-;43540:17;::::0;:30:::2;::::0;43562:7;43540:21:::2;:30::i;:::-;43520:17;:50:::0;43582:32:::2;::::0;;43594:10:::2;2284:51:1::0;;2366:2;2351:18;;2344:34;;;43582:32:0::2;::::0;2257:18:1;43582:32:0::2;;;;;;;-1:-1:-1::0;;5051:1:0;6005:22;;43141:479::o;2787:201::-;1924:7;1951:6;-1:-1:-1;;;;;1951:6:0;735:10;2098:23;2090:68;;;;-1:-1:-1;;;2090:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2876:22:0;::::1;2868:73;;;::::0;-1:-1:-1;;;2868:73:0;;3521:2:1;2868:73:0::1;::::0;::::1;3503:21:1::0;3560:2;3540:18;;;3533:30;3599:34;3579:18;;;3572:62;-1:-1:-1;;;3650:18:1;;;3643:36;3696:19;;2868:73:0::1;3319:402:1::0;2868:73:0::1;2952:28;2971:8;2952:18;:28::i;:::-;2787:201:::0;:::o;9584:98::-;9642:7;9669:5;9673:1;9669;:5;:::i;9983:98::-;10041:7;10068:5;10072:1;10068;:5;:::i;8846:98::-;8904:7;8931:5;8935:1;8931;:5;:::i;38411:211::-;38555:58;;-1:-1:-1;;;;;2302:32:1;;38555:58:0;;;2284:51:1;2351:18;;;2344:34;;;38528:86:0;;38548:5;;-1:-1:-1;;;38578:23:0;2257:18:1;;38555:58:0;;;;-1:-1:-1;;38555:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;38555:58:0;-1:-1:-1;;;;;;38555:58:0;;;;;;;;;;38528:19;:86::i;:::-;38411:211;;;:::o;9227:98::-;9285:7;9312:5;9316:1;9312;:5;:::i;3148:191::-;3222:16;3241:6;;-1:-1:-1;;;;;3258:17:0;;;-1:-1:-1;;;;;;3258:17:0;;;;;;3291:40;;3241:6;;;;;;;3291:40;;3222:16;3291:40;3211:128;3148:191;:::o;38630:248::-;38801:68;;-1:-1:-1;;;;;1988:15:1;;;38801:68:0;;;1970:34:1;2040:15;;2020:18;;;2013:43;2072:18;;;2065:34;;;38774:96:0;;38794:5;;-1:-1:-1;;;38824:27:0;1905:18:1;;38801:68:0;1730:375:1;38774:96:0;38630:248;;;;:::o;40984:716::-;41408:23;41434:69;41462:4;41434:69;;;;;;;;;;;;;;;;;41442:5;-1:-1:-1;;;;;41434:27:0;;;:69;;;;;:::i;:::-;41518:17;;41408:95;;-1:-1:-1;41518:21:0;41514:179;;41615:10;41604:30;;;;;;;;;;;;:::i;:::-;41596:85;;;;-1:-1:-1;;;41596:85:0;;6633:2:1;41596:85:0;;;6615:21:1;6672:2;6652:18;;;6645:30;6711:34;6691:18;;;6684:62;-1:-1:-1;;;6762:18:1;;;6755:40;6812:19;;41596:85:0;6431:406:1;16862:229:0;16999:12;17031:52;17053:6;17061:4;17067:1;17070:12;17031:21;:52::i;:::-;17024:59;16862:229;-1:-1:-1;;;;16862:229:0:o;17982:510::-;18152:12;18210:5;18185:21;:30;;18177:81;;;;-1:-1:-1;;;18177:81:0;;3928:2:1;18177:81:0;;;3910:21:1;3967:2;3947:18;;;3940:30;4006:34;3986:18;;;3979:62;-1:-1:-1;;;4057:18:1;;;4050:36;4103:19;;18177:81:0;3726:402:1;18177:81:0;-1:-1:-1;;;;;14412:19:0;;;18269:60;;;;-1:-1:-1;;;18269:60:0;;6275:2:1;18269:60:0;;;6257:21:1;6314:2;6294:18;;;6287:30;6353:31;6333:18;;;6326:59;6402:18;;18269:60:0;6073:353:1;18269:60:0;18343:12;18357:23;18384:6;-1:-1:-1;;;;;18384:11:0;18403:5;18410:4;18384:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18342:73;;;;18433:51;18450:7;18459:10;18471:12;18433:16;:51::i;:::-;18426:58;17982:510;-1:-1:-1;;;;;;;17982:510:0:o;20668:712::-;20818:12;20847:7;20843:530;;;-1:-1:-1;20878:10:0;20871:17;;20843:530;20992:17;;:21;20988:374;;21190:10;21184:17;21251:15;21238:10;21234:2;21230:19;21223:44;20988:374;21333:12;21326:20;;-1:-1:-1;;;21326:20:0;;;;;;;;:::i;14:286:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:1;;210:42;;200:70;;266:1;263;256:12;305:245;372:6;425:2;413:9;404:7;400:23;396:32;393:52;;;441:1;438;431:12;393:52;473:9;467:16;492:28;514:5;492:28;:::i;555:180::-;614:6;667:2;655:9;646:7;642:23;638:32;635:52;;;683:1;680;673:12;635:52;-1:-1:-1;706:23:1;;555:180;-1:-1:-1;555:180:1:o;740:184::-;810:6;863:2;851:9;842:7;838:23;834:32;831:52;;;879:1;876;869:12;831:52;-1:-1:-1;902:16:1;;740:184;-1:-1:-1;740:184:1:o;929:309::-;994:6;1002;1055:2;1043:9;1034:7;1030:23;1026:32;1023:52;;;1071:1;1068;1061:12;1023:52;1107:9;1094:23;1084:33;;1167:2;1156:9;1152:18;1139:32;1180:28;1202:5;1180:28;:::i;:::-;1227:5;1217:15;;;929:309;;;;;:::o;1243:274::-;1372:3;1410:6;1404:13;1426:53;1472:6;1467:3;1460:4;1452:6;1448:17;1426:53;:::i;:::-;1495:16;;;;;1243:274;-1:-1:-1;;1243:274:1:o;2581:383::-;2730:2;2719:9;2712:21;2693:4;2762:6;2756:13;2805:6;2800:2;2789:9;2785:18;2778:34;2821:66;2880:6;2875:2;2864:9;2860:18;2855:2;2847:6;2843:15;2821:66;:::i;:::-;2948:2;2927:15;-1:-1:-1;;2923:29:1;2908:45;;;;2955:2;2904:54;;2581:383;-1:-1:-1;;2581:383:1:o;4954:356::-;5156:2;5138:21;;;5175:18;;;5168:30;5234:34;5229:2;5214:18;;5207:62;5301:2;5286:18;;4954:356::o;6842:355::-;7044:2;7026:21;;;7083:2;7063:18;;;7056:30;7122:33;7117:2;7102:18;;7095:61;7188:2;7173:18;;6842:355::o;8203:128::-;8243:3;8274:1;8270:6;8267:1;8264:13;8261:39;;;8280:18;;:::i;:::-;-1:-1:-1;8316:9:1;;8203:128::o;8336:217::-;8376:1;8402;8392:132;;8446:10;8441:3;8437:20;8434:1;8427:31;8481:4;8478:1;8471:15;8509:4;8506:1;8499:15;8392:132;-1:-1:-1;8538:9:1;;8336:217::o;8558:168::-;8598:7;8664:1;8660;8656:6;8652:14;8649:1;8646:21;8641:1;8634:9;8627:17;8623:45;8620:71;;;8671:18;;:::i;:::-;-1:-1:-1;8711:9:1;;8558:168::o;8731:125::-;8771:4;8799:1;8796;8793:8;8790:34;;;8804:18;;:::i;:::-;-1:-1:-1;8841:9:1;;8731:125::o;8861:258::-;8933:1;8943:113;8957:6;8954:1;8951:13;8943:113;;;9033:11;;;9027:18;9014:11;;;9007:39;8979:2;8972:10;8943:113;;;9074:6;9071:1;9068:13;9065:48;;;-1:-1:-1;;9109:1:1;9091:16;;9084:27;8861:258::o;9124:127::-;9185:10;9180:3;9176:20;9173:1;9166:31;9216:4;9213:1;9206:15;9240:4;9237:1;9230:15;9256:118;9342:5;9335:13;9328:21;9321:5;9318:32;9308:60;;9364:1;9361;9354:12
Swarm Source
ipfs://57c432f5fdb7b05431f7110f9945b191771947d08110b14b9ccaf3b616c1ebab
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.