More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,032 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 20082889 | 15 days ago | IN | 0 ETH | 0.00083413 | ||||
Claim Rewards | 20082886 | 15 days ago | IN | 0 ETH | 0.00088092 | ||||
Claim Rewards | 19925419 | 37 days ago | IN | 0 ETH | 0.0010299 | ||||
Claim Rewards | 19863435 | 46 days ago | IN | 0 ETH | 0.00084118 | ||||
Withdraw | 19863433 | 46 days ago | IN | 0 ETH | 0.00081761 | ||||
Claim Rewards | 19777607 | 58 days ago | IN | 0 ETH | 0.00076421 | ||||
Withdraw | 19777606 | 58 days ago | IN | 0 ETH | 0.00096188 | ||||
Withdraw | 19758304 | 61 days ago | IN | 0 ETH | 0.0003828 | ||||
Stake | 19736015 | 64 days ago | IN | 0 ETH | 0.0003378 | ||||
Stake | 19736015 | 64 days ago | IN | 0 ETH | 0.0002252 | ||||
Withdraw | 19704671 | 68 days ago | IN | 0 ETH | 0.00100356 | ||||
Withdraw | 19702852 | 69 days ago | IN | 0 ETH | 0.00059084 | ||||
Withdraw | 19702834 | 69 days ago | IN | 0 ETH | 0.00054958 | ||||
Withdraw | 19702828 | 69 days ago | IN | 0 ETH | 0.00073448 | ||||
Withdraw | 19688664 | 71 days ago | IN | 0 ETH | 0.0008687 | ||||
Claim Rewards | 19682347 | 71 days ago | IN | 0 ETH | 0.00093634 | ||||
Withdraw | 19682323 | 71 days ago | IN | 0 ETH | 0.00128529 | ||||
Withdraw | 19665899 | 74 days ago | IN | 0 ETH | 0.00039208 | ||||
Withdraw | 19665899 | 74 days ago | IN | 0 ETH | 0.00076252 | ||||
Withdraw | 19659790 | 75 days ago | IN | 0 ETH | 0.00084683 | ||||
Claim Rewards | 19659783 | 75 days ago | IN | 0 ETH | 0.00117499 | ||||
Withdraw | 19586019 | 85 days ago | IN | 0 ETH | 0.00150154 | ||||
Withdraw | 19571762 | 87 days ago | IN | 0 ETH | 0.00244362 | ||||
Withdraw | 19571752 | 87 days ago | IN | 0 ETH | 0.00241902 | ||||
Withdraw | 19571703 | 87 days ago | IN | 0 ETH | 0.00221726 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
StakingRewards
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; // import "openzeppelin-solidity-2.3.0/contracts/token/ERC20/ERC20Detailed.sol"; //TBAdded import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; // Inheritance import "./interfaces/IStakingRewards.sol"; import "./Owned.sol"; // https://docs.synthetix.io/contracts/source/contracts/stakingrewards contract StakingRewards is IStakingRewards, ReentrancyGuard, Pausable, Owned { using SafeMath for uint256; using SafeERC20 for IERC20; /* ========== STATE VARIABLES STAKING ========== */ IERC20 public stakingToken; /// @dev Timestamp of when the rewards finish uint256 public periodFinish; /// @dev Reward to be paid out per block uint256 public rewardRate; /// @dev Duration of rewards to be paid out (in seconds) uint256 public rewardsDuration = 180 days; /// @dev Minimum of last updated time and reward finish time uint256 public lastUpdateTime; /// @dev Sum of (reward rate * dt * 1e18 / total supply) over all updates since last update time uint256 public rewardPerTokenStored; /// @dev Number of tokens to be distributed with rewards uint256 public fixedRewardsAmount = 600000 * 10 ** 18; /// @dev User address => rewardPerTokenStored mapping(address => uint256) public userRewardPerTokenPaid; /// @dev User address => rewards to be claimed mapping(address => uint256) public rewards; uint256 private _totalSumStaked; mapping(address => uint256) private _balances; /// @dev Total stakers. uint256 public totalStakers; /// @dev Total amount of token claimed. uint256 private rewardTokenClaimed; /* ========== STATE VARIABLES PERMISSIONED ========== */ /// @dev of URIs for all the Merkle trees added to the contract. string[] public rootURIs; /// @dev URI mapping to IPFS storing whitelist data root => URI (IPFS) mapping(bytes32 => string) public mapRootURIs; /// @dev Root hash record of valid vesting trees Root hash => valid mapping(bytes32 => bool) public rootWhitelist; mapping(address => bool) private _admins; /* ========== CONSTRUCTOR ========== */ constructor(address _owner, address _stakingToken) Owned(_owner) { stakingToken = IERC20(_stakingToken); } /* ========== MODIFIERS ========== */ modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } /** * @dev Throws if root no valid **/ modifier validRoot(bytes32 _root) { require(rootWhitelist[_root], "Root no valid"); _; } /* ========== VIEWS ========== */ function totalStaked() external view returns (uint256) { return _totalSumStaked; } function balanceOf(address account) external view returns (uint256) { return _balances[account]; } function lastTimeRewardApplicable() public view returns (uint256) { return block.timestamp < periodFinish ? block.timestamp : periodFinish; } function getRewardTokenClaimed() external view returns (uint256) { return rewardTokenClaimed; } function rewardPerToken() public view returns (uint256) { if (_totalSumStaked == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(1e18) .div(_totalSumStaked) ); } function earned(address account) public view returns (uint256) { return _balances[account] .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } function getRewardForDuration() external view returns (uint256) { return rewardRate.mul(rewardsDuration); } /* ========== MUTATIVE FUNCTIONS ========== */ function stake( uint256 amount, bytes32 root_, bytes32[] calldata proof_ ) external nonReentrant whenNotPaused updateReward(msg.sender) { require(verifyProof(msg.sender, root_, proof_), "Not whitelisted"); require(amount > 0, "Cannot stake 0"); if (_balances[msg.sender] == 0) { totalStakers = totalStakers.add(1); } _totalSumStaked = _totalSumStaked.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); stakingToken.safeTransferFrom(msg.sender, address(this), amount); emit Staked(msg.sender, amount); } function withdraw( uint256 amount ) public nonReentrant updateReward(msg.sender) { require(amount > 0, "Cannot withdraw 0"); require( amount <= _balances[msg.sender], "Cannot withdraw more than staked" ); _totalSumStaked = _totalSumStaked.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); if (_balances[msg.sender] == 0) { totalStakers = totalStakers.sub(1); } stakingToken.safeTransfer(msg.sender, amount); emit Withdrawn(msg.sender, amount); } function exit() external { withdraw(_balances[msg.sender]); claimRewards(); } function claimRewards() public nonReentrant updateReward(msg.sender) { uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; rewardTokenClaimed.add(reward); stakingToken.safeTransferFrom(owner, msg.sender, reward); emit RewardPaid(msg.sender, reward); } } function claimRewardsAndStake() public nonReentrant updateReward(msg.sender) { uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; _totalSumStaked = _totalSumStaked.add(reward); _balances[msg.sender] = _balances[msg.sender].add(reward); rewardTokenClaimed.add(reward); stakingToken.safeTransferFrom(owner, address(this), reward); emit ClaimedAndStaked(msg.sender, reward); } } function verifyProof( address staker_, bytes32 root_, bytes32[] calldata proof_ ) public view validRoot(root_) returns (bool) { bytes32 _leaf = keccak256(abi.encodePacked(staker_)); return MerkleProof.verify(proof_, root_, _leaf); } /* ========== RESTRICTED FUNCTIONS ========== */ function addAdmin(address admin_) external onlyOwner { require(admin_ != address(0), "zero address"); _admins[admin_] = true; } function removeAdmin(address admin_) external onlyOwner { require(admin_ != address(0), "zero address"); _admins[admin_] = false; } function addRoot(bytes32 root_, string memory uriIPFS_) external { require(_admins[msg.sender], "Caller is not an admin"); require(!rootWhitelist[root_], "Root hash already exists"); rootURIs.push(uriIPFS_); rootWhitelist[root_] = true; mapRootURIs[root_] = uriIPFS_; emit AddedRoot(root_); } function notifyRewardAmount() external onlyOwner updateReward(address(0)) { uint256 reward = fixedRewardsAmount; if (block.timestamp >= periodFinish) { rewardRate = reward.div(rewardsDuration); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(rewardsDuration); } // Ensure the provided reward amount is not more than the balance in the contract. // This keeps the reward rate in the right range, preventing overflows due to // very high values of rewardRate in the earned and rewardsPerToken functions; // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow. require( rewardRate <= reward.div(rewardsDuration), "Provided reward too high" ); lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(rewardsDuration); emit RewardAdded(reward); } function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner { require( block.timestamp > periodFinish, "Previous rewards period must be complete before changing the duration for the new period" ); rewardsDuration = _rewardsDuration; emit RewardsDurationUpdated(rewardsDuration); } /* ========== EVENTS ========== */ event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event ClaimedAndStaked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); event RewardsDurationUpdated(uint256 newDuration); event Recovered(address token, uint256 amount); event AddedRoot(bytes32 indexed root); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) 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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @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; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ 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)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ 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"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to * 0 before setting it to a non-zero value. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @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"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @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). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // 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 cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) 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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) 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 subtraction 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; } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.4.24; // https://docs.synthetix.io/contracts/source/interfaces/istakingrewards interface IStakingRewards { // Views function balanceOf(address account) external view returns (uint256); function earned(address account) external view returns (uint256); function getRewardForDuration() external view returns (uint256); function lastTimeRewardApplicable() external view returns (uint256); function rewardPerToken() external view returns (uint256); function totalStaked() external view returns (uint256); // Mutative function exit() external; function stake( uint256 amount, bytes32 root_, bytes32[] calldata proof_ ) external; function withdraw(uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; // https://docs.synthetix.io/contracts/source/contracts/owned contract Owned { address public owner; address public nominatedOwner; constructor(address _owner) { require(_owner != address(0), "Owner address cannot be 0"); owner = _owner; emit OwnerChanged(address(0), _owner); } function nominateNewOwner(address _owner) external onlyOwner { nominatedOwner = _owner; emit OwnerNominated(_owner); } function acceptOwnership() external { require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership"); emit OwnerChanged(owner, nominatedOwner); owner = nominatedOwner; nominatedOwner = address(0); } modifier onlyOwner { _onlyOwner(); _; } function _onlyOwner() private view { require(msg.sender == owner, "Only the contract owner may perform this action"); } event OwnerNominated(address newOwner); event OwnerChanged(address oldOwner, address newOwner); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"AddedRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimedAndStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin_","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root_","type":"bytes32"},{"internalType":"string","name":"uriIPFS_","type":"string"}],"name":"addRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRewardsAndStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fixedRewardsAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardTokenClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"mapRootURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin_","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rootURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"rootWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"root_","type":"bytes32"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStakers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"staker_","type":"address"},{"internalType":"bytes32","name":"root_","type":"bytes32"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"verifyProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405262ed4e00600655697f0e10af47c1c70000006009553480156200002657600080fd5b5060405162003dfa38038062003dfa83398181016040528101906200004c919062000212565b8160016000819055506000600160006101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000e2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000d990620002ba565b60405180910390fd5b806001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c60008260405162000156929190620002ed565b60405180910390a15080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200031a565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001da82620001ad565b9050919050565b620001ec81620001cd565b8114620001f857600080fd5b50565b6000815190506200020c81620001e1565b92915050565b600080604083850312156200022c576200022b620001a8565b5b60006200023c85828601620001fb565b92505060206200024f85828601620001fb565b9150509250929050565b600082825260208201905092915050565b7f4f776e657220616464726573732063616e6e6f74206265203000000000000000600082015250565b6000620002a260198362000259565b9150620002af826200026a565b602082019050919050565b60006020820190508181036000830152620002d58162000293565b9050919050565b620002e781620001cd565b82525050565b6000604082019050620003046000830185620002dc565b620003136020830184620002dc565b9392505050565b613ad0806200032a6000396000f3fe608060405234801561001057600080fd5b506004361061021b5760003560e01c80637b0a47ee11610125578063b0ea84b4116100ad578063d5bebdec1161007c578063d5bebdec146105e4578063df136d6514610614578063e9fad8ee14610632578063ebe2b12b1461063c578063fefcaa491461065a5761021b565b8063b0ea84b41461056e578063c8f33c911461058c578063cc1a378f146105aa578063cd3daf9d146105c65761021b565b806386989038116100f457806386989038146104da5780638b876347146104f85780638da5cb5b1461052857806394f2adb214610546578063a0e6b72d146105645761021b565b80637b0a47ee1461045057806380faa57d1461046e578063817b1cd21461048c578063833d76ad146104aa5761021b565b806353a47bb7116101a857806369e57a601161017757806369e57a60146103c057806370480275146103dc57806370a08231146103f857806372f702f31461042857806379ba5097146104465761021b565b806353a47bb71461032457806354bc130a146103425780635c975abb1461037257806366f809ac146103905761021b565b80631785f53c116101ef5780631785f53c146102a65780631c1f78eb146102c25780632e1a7d4d146102e0578063372500ab146102fc578063386a9525146103065761021b565b80628cc262146102205780630700037d146102505780630c51dde4146102805780631627540c1461028a575b600080fd5b61023a600480360381019061023591906126e1565b610676565b6040516102479190612727565b60405180910390f35b61026a600480360381019061026591906126e1565b610794565b6040516102779190612727565b60405180910390f35b6102886107ac565b005b6102a4600480360381019061029f91906126e1565b6109e1565b005b6102c060048036038101906102bb91906126e1565b610a64565b005b6102ca610b36565b6040516102d79190612727565b60405180910390f35b6102fa60048036038101906102f5919061276e565b610b54565b005b610304610ec0565b005b61030e61111e565b60405161031b9190612727565b60405180910390f35b61032c611124565b60405161033991906127aa565b60405180910390f35b61035c60048036038101906103579190612860565b61114a565b60405161036991906128ef565b60405180910390f35b61037a611230565b60405161038791906128ef565b60405180910390f35b6103aa60048036038101906103a5919061290a565b611247565b6040516103b791906128ef565b60405180910390f35b6103da60048036038101906103d59190612a78565b611267565b005b6103f660048036038101906103f191906126e1565b611407565b005b610412600480360381019061040d91906126e1565b6114d9565b60405161041f9190612727565b60405180910390f35b610430611522565b60405161043d9190612b33565b60405180910390f35b61044e611548565b005b6104586116f9565b6040516104659190612727565b60405180910390f35b6104766116ff565b6040516104839190612727565b60405180910390f35b610494611719565b6040516104a19190612727565b60405180910390f35b6104c460048036038101906104bf919061290a565b611723565b6040516104d19190612bcd565b60405180910390f35b6104e26117c3565b6040516104ef9190612727565b60405180910390f35b610512600480360381019061050d91906126e1565b6117c9565b60405161051f9190612727565b60405180910390f35b6105306117e1565b60405161053d91906127aa565b60405180910390f35b61054e611805565b60405161055b9190612727565b60405180910390f35b61056c61180f565b005b610576611b1d565b6040516105839190612727565b60405180910390f35b610594611b23565b6040516105a19190612727565b60405180910390f35b6105c460048036038101906105bf919061276e565b611b29565b005b6105ce611bb8565b6040516105db9190612727565b60405180910390f35b6105fe60048036038101906105f9919061276e565b611c45565b60405161060b9190612bcd565b60405180910390f35b61061c611cf1565b6040516106299190612727565b60405180910390f35b61063a611cf7565b005b610644611d49565b6040516106519190612727565b60405180910390f35b610674600480360381019061066f9190612bef565b611d4f565b005b600061078d600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461077f670de0b6b3a7640000610771610723600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610715611bb8565b61209190919063ffffffff16565b600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120a790919063ffffffff16565b6120bd90919063ffffffff16565b6120d390919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b6107b46120e9565b60006107be611bb8565b6008819055506107cc6116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108995761080f81610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600954905060045442106108c9576108be600654826120bd90919063ffffffff16565b60058190555061092b565b60006108e04260045461209190919063ffffffff16565b905060006108f9600554836120a790919063ffffffff16565b905061092260065461091483866120d390919063ffffffff16565b6120bd90919063ffffffff16565b60058190555050505b610940600654826120bd90919063ffffffff16565b6005541115610984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097b90612caf565b60405180910390fd5b426007819055506109a0600654426120d390919063ffffffff16565b6004819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d816040516109d59190612727565b60405180910390a15050565b6109e96120e9565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce2281604051610a5991906127aa565b60405180910390a150565b610a6c6120e9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290612d1b565b60405180910390fd5b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000610b4f6006546005546120a790919063ffffffff16565b905090565b610b5c612179565b33610b65611bb8565b600881905550610b736116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4057610bb681610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a90612d87565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90612df3565b60405180910390fd5b610d1a82600c5461209190919063ffffffff16565b600c81905550610d7282600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461209190919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403610e1957610e126001600e5461209190919063ffffffff16565b600e819055505b610e663383600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121c89092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d583604051610eac9190612727565b60405180910390a250610ebd61224e565b50565b610ec8612179565b33610ed1611bb8565b600881905550610edf6116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fac57610f2281610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611112576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061105381600f546120d390919063ffffffff16565b506110c360018054906101000a900473ffffffffffffffffffffffffffffffffffffffff163383600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612258909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516111099190612727565b60405180910390a25b505061111c61224e565b565b60065481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000836012600082815260200190815260200160002060009054906101000a900460ff166111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a490612e5f565b60405180910390fd5b6000866040516020016111c09190612ec7565b604051602081830303815290604052805190602001209050611224858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505087836122e1565b92505050949350505050565b6000600160009054906101000a900460ff16905090565b60126020528060005260406000206000915054906101000a900460ff1681565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166112f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ea90612f2e565b60405180910390fd5b6012600083815260200190815260200160002060009054906101000a900460ff1615611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b90612f9a565b60405180910390fd5b60108190806001815401808255809150506001900390600052602060002001600090919091909150908161138891906131bc565b5060016012600084815260200190815260200160002060006101000a81548160ff021916908315150217905550806011600084815260200190815260200160002090816113d591906131bc565b50817f84b2306c1af1fc3a139e6c617f8f31cf5a55850bfb6f4536f64f8cf082f5269760405160405180910390a25050565b61140f6120e9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590612d1b565b60405180910390fd5b6001601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf90613300565b60405180910390fd5b7fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161164b929190613320565b60405180910390a1600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60055481565b6000600454421061171257600454611714565b425b905090565b6000600c54905090565b6011602052806000526040600020600091509050805461174290612fe9565b80601f016020809104026020016040519081016040528092919081815260200182805461176e90612fe9565b80156117bb5780601f10611790576101008083540402835291602001916117bb565b820191906000526020600020905b81548152906001019060200180831161179e57829003601f168201915b505050505081565b600e5481565b600a6020528060005260406000206000915090505481565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f54905090565b611817612179565b33611820611bb8565b60088190555061182e6116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118fb5761187181610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611b11576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119a281600c546120d390919063ffffffff16565b600c819055506119fa81600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120d390919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a5281600f546120d390919063ffffffff16565b50611ac260018054906101000a900473ffffffffffffffffffffffffffffffffffffffff163083600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612258909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe355416ef72a4ee51b15d2ca97670169b610e79b34df8e94673c08f045faf77d82604051611b089190612727565b60405180910390a25b5050611b1b61224e565b565b60095481565b60075481565b611b316120e9565b6004544211611b75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6c906133e1565b60405180910390fd5b806006819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d3600654604051611bad9190612727565b60405180910390a150565b600080600c5403611bcd576008549050611c42565b611c3f611c2e600c54611c20670de0b6b3a7640000611c12600554611c04600754611bf66116ff565b61209190919063ffffffff16565b6120a790919063ffffffff16565b6120a790919063ffffffff16565b6120bd90919063ffffffff16565b6008546120d390919063ffffffff16565b90505b90565b60108181548110611c5557600080fd5b906000526020600020016000915090508054611c7090612fe9565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9c90612fe9565b8015611ce95780601f10611cbe57610100808354040283529160200191611ce9565b820191906000526020600020905b815481529060010190602001808311611ccc57829003601f168201915b505050505081565b60085481565b611d3f600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b54565b611d47610ec0565b565b60045481565b611d57612179565b611d5f6122f8565b33611d68611bb8565b600881905550611d766116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e4357611db981610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b611e4f3385858561114a565b611e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e859061344d565b60405180910390fd5b60008511611ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec8906134b9565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403611f3557611f2e6001600e546120d390919063ffffffff16565b600e819055505b611f4a85600c546120d390919063ffffffff16565b600c81905550611fa285600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120d390919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612034333087600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612258909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d8660405161207a9190612727565b60405180910390a25061208b61224e565b50505050565b6000818361209f9190613508565b905092915050565b600081836120b5919061353c565b905092915050565b600081836120cb91906135ad565b905092915050565b600081836120e191906135de565b905092915050565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216e90613684565b60405180910390fd5b565b6002600054036121be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b5906136f0565b60405180910390fd5b6002600081905550565b6122498363a9059cbb60e01b84846040516024016121e7929190613710565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612342565b505050565b6001600081905550565b6122db846323b872dd60e01b85858560405160240161227993929190613739565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612342565b50505050565b6000826122ee858461240a565b1490509392505050565b612300611230565b15612340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612337906137bc565b60405180910390fd5b565b60006123a4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124609092919063ffffffff16565b90506000815114806123c65750808060200190518101906123c59190613808565b5b612405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fc906138a7565b60405180910390fd5b505050565b60008082905060005b84518110156124555761244082868381518110612433576124326138c7565b5b6020026020010151612478565b9150808061244d906138f6565b915050612413565b508091505092915050565b606061246f84846000856124a3565b90509392505050565b60008183106124905761248b8284612570565b61249b565b61249a8383612570565b5b905092915050565b6060824710156124e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124df906139b0565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125119190613a17565b60006040518083038185875af1925050503d806000811461254e576040519150601f19603f3d011682016040523d82523d6000602084013e612553565b606091505b509150915061256487838387612587565b92505050949350505050565b600082600052816020526040600020905092915050565b606083156125e95760008351036125e1576125a1856125fc565b6125e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d790613a7a565b60405180910390fd5b5b8290506125f4565b6125f3838361261f565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156126325781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126669190612bcd565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126ae82612683565b9050919050565b6126be816126a3565b81146126c957600080fd5b50565b6000813590506126db816126b5565b92915050565b6000602082840312156126f7576126f6612679565b5b6000612705848285016126cc565b91505092915050565b6000819050919050565b6127218161270e565b82525050565b600060208201905061273c6000830184612718565b92915050565b61274b8161270e565b811461275657600080fd5b50565b60008135905061276881612742565b92915050565b60006020828403121561278457612783612679565b5b600061279284828501612759565b91505092915050565b6127a4816126a3565b82525050565b60006020820190506127bf600083018461279b565b92915050565b6000819050919050565b6127d8816127c5565b81146127e357600080fd5b50565b6000813590506127f5816127cf565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126128205761281f6127fb565b5b8235905067ffffffffffffffff81111561283d5761283c612800565b5b60208301915083602082028301111561285957612858612805565b5b9250929050565b6000806000806060858703121561287a57612879612679565b5b6000612888878288016126cc565b9450506020612899878288016127e6565b935050604085013567ffffffffffffffff8111156128ba576128b961267e565b5b6128c68782880161280a565b925092505092959194509250565b60008115159050919050565b6128e9816128d4565b82525050565b600060208201905061290460008301846128e0565b92915050565b6000602082840312156129205761291f612679565b5b600061292e848285016127e6565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129858261293c565b810181811067ffffffffffffffff821117156129a4576129a361294d565b5b80604052505050565b60006129b761266f565b90506129c3828261297c565b919050565b600067ffffffffffffffff8211156129e3576129e261294d565b5b6129ec8261293c565b9050602081019050919050565b82818337600083830152505050565b6000612a1b612a16846129c8565b6129ad565b905082815260208101848484011115612a3757612a36612937565b5b612a428482856129f9565b509392505050565b600082601f830112612a5f57612a5e6127fb565b5b8135612a6f848260208601612a08565b91505092915050565b60008060408385031215612a8f57612a8e612679565b5b6000612a9d858286016127e6565b925050602083013567ffffffffffffffff811115612abe57612abd61267e565b5b612aca85828601612a4a565b9150509250929050565b6000819050919050565b6000612af9612af4612aef84612683565b612ad4565b612683565b9050919050565b6000612b0b82612ade565b9050919050565b6000612b1d82612b00565b9050919050565b612b2d81612b12565b82525050565b6000602082019050612b486000830184612b24565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b88578082015181840152602081019050612b6d565b60008484015250505050565b6000612b9f82612b4e565b612ba98185612b59565b9350612bb9818560208601612b6a565b612bc28161293c565b840191505092915050565b60006020820190508181036000830152612be78184612b94565b905092915050565b60008060008060608587031215612c0957612c08612679565b5b6000612c1787828801612759565b9450506020612c28878288016127e6565b935050604085013567ffffffffffffffff811115612c4957612c4861267e565b5b612c558782880161280a565b925092505092959194509250565b7f50726f76696465642072657761726420746f6f20686967680000000000000000600082015250565b6000612c99601883612b59565b9150612ca482612c63565b602082019050919050565b60006020820190508181036000830152612cc881612c8c565b9050919050565b7f7a65726f20616464726573730000000000000000000000000000000000000000600082015250565b6000612d05600c83612b59565b9150612d1082612ccf565b602082019050919050565b60006020820190508181036000830152612d3481612cf8565b9050919050565b7f43616e6e6f742077697468647261772030000000000000000000000000000000600082015250565b6000612d71601183612b59565b9150612d7c82612d3b565b602082019050919050565b60006020820190508181036000830152612da081612d64565b9050919050565b7f43616e6e6f74207769746864726177206d6f7265207468616e207374616b6564600082015250565b6000612ddd602083612b59565b9150612de882612da7565b602082019050919050565b60006020820190508181036000830152612e0c81612dd0565b9050919050565b7f526f6f74206e6f2076616c696400000000000000000000000000000000000000600082015250565b6000612e49600d83612b59565b9150612e5482612e13565b602082019050919050565b60006020820190508181036000830152612e7881612e3c565b9050919050565b60008160601b9050919050565b6000612e9782612e7f565b9050919050565b6000612ea982612e8c565b9050919050565b612ec1612ebc826126a3565b612e9e565b82525050565b6000612ed38284612eb0565b60148201915081905092915050565b7f43616c6c6572206973206e6f7420616e2061646d696e00000000000000000000600082015250565b6000612f18601683612b59565b9150612f2382612ee2565b602082019050919050565b60006020820190508181036000830152612f4781612f0b565b9050919050565b7f526f6f74206861736820616c7265616479206578697374730000000000000000600082015250565b6000612f84601883612b59565b9150612f8f82612f4e565b602082019050919050565b60006020820190508181036000830152612fb381612f77565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061300157607f821691505b60208210810361301457613013612fba565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261307c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261303f565b613086868361303f565b95508019841693508086168417925050509392505050565b60006130b96130b46130af8461270e565b612ad4565b61270e565b9050919050565b6000819050919050565b6130d38361309e565b6130e76130df826130c0565b84845461304c565b825550505050565b600090565b6130fc6130ef565b6131078184846130ca565b505050565b5b8181101561312b576131206000826130f4565b60018101905061310d565b5050565b601f821115613170576131418161301a565b61314a8461302f565b81016020851015613159578190505b61316d6131658561302f565b83018261310c565b50505b505050565b600082821c905092915050565b600061319360001984600802613175565b1980831691505092915050565b60006131ac8383613182565b9150826002028217905092915050565b6131c582612b4e565b67ffffffffffffffff8111156131de576131dd61294d565b5b6131e88254612fe9565b6131f382828561312f565b600060209050601f8311600181146132265760008415613214578287015190505b61321e85826131a0565b865550613286565b601f1984166132348661301a565b60005b8281101561325c57848901518255600182019150602085019450602081019050613237565b868310156132795784890151613275601f891682613182565b8355505b6001600288020188555050505b505050505050565b7f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560008201527f2063616e20616363657074206f776e6572736869700000000000000000000000602082015250565b60006132ea603583612b59565b91506132f58261328e565b604082019050919050565b60006020820190508181036000830152613319816132dd565b9050919050565b6000604082019050613335600083018561279b565b613342602083018461279b565b9392505050565b7f50726576696f7573207265776172647320706572696f64206d7573742062652060008201527f636f6d706c657465206265666f7265206368616e67696e67207468652064757260208201527f6174696f6e20666f7220746865206e657720706572696f640000000000000000604082015250565b60006133cb605883612b59565b91506133d682613349565b606082019050919050565b600060208201905081810360008301526133fa816133be565b9050919050565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b6000613437600f83612b59565b915061344282613401565b602082019050919050565b600060208201905081810360008301526134668161342a565b9050919050565b7f43616e6e6f74207374616b652030000000000000000000000000000000000000600082015250565b60006134a3600e83612b59565b91506134ae8261346d565b602082019050919050565b600060208201905081810360008301526134d281613496565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135138261270e565b915061351e8361270e565b9250828203905081811115613536576135356134d9565b5b92915050565b60006135478261270e565b91506135528361270e565b92508282026135608161270e565b91508282048414831517613577576135766134d9565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135b88261270e565b91506135c38361270e565b9250826135d3576135d261357e565b5b828204905092915050565b60006135e98261270e565b91506135f48361270e565b925082820190508082111561360c5761360b6134d9565b5b92915050565b7f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660008201527f6f726d207468697320616374696f6e0000000000000000000000000000000000602082015250565b600061366e602f83612b59565b915061367982613612565b604082019050919050565b6000602082019050818103600083015261369d81613661565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006136da601f83612b59565b91506136e5826136a4565b602082019050919050565b60006020820190508181036000830152613709816136cd565b9050919050565b6000604082019050613725600083018561279b565b6137326020830184612718565b9392505050565b600060608201905061374e600083018661279b565b61375b602083018561279b565b6137686040830184612718565b949350505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006137a6601083612b59565b91506137b182613770565b602082019050919050565b600060208201905081810360008301526137d581613799565b9050919050565b6137e5816128d4565b81146137f057600080fd5b50565b600081519050613802816137dc565b92915050565b60006020828403121561381e5761381d612679565b5b600061382c848285016137f3565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613891602a83612b59565b915061389c82613835565b604082019050919050565b600060208201905081810360008301526138c081613884565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006139018261270e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613933576139326134d9565b5b600182019050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061399a602683612b59565b91506139a58261393e565b604082019050919050565b600060208201905081810360008301526139c98161398d565b9050919050565b600081519050919050565b600081905092915050565b60006139f1826139d0565b6139fb81856139db565b9350613a0b818560208601612b6a565b80840191505092915050565b6000613a2382846139e6565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613a64601d83612b59565b9150613a6f82613a2e565b602082019050919050565b60006020820190508181036000830152613a9381613a57565b905091905056fea26469706673582212205d982d1ae1f9a4e0c8f828bd7f985a5dca5c37f1b33a77c1362c40da285b0e1364736f6c6343000813003300000000000000000000000030a7481b1b816e6c622c3a2d9cc85d8aeef58a17000000000000000000000000059956483753947536204e89bfad909e1a434cc6
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061021b5760003560e01c80637b0a47ee11610125578063b0ea84b4116100ad578063d5bebdec1161007c578063d5bebdec146105e4578063df136d6514610614578063e9fad8ee14610632578063ebe2b12b1461063c578063fefcaa491461065a5761021b565b8063b0ea84b41461056e578063c8f33c911461058c578063cc1a378f146105aa578063cd3daf9d146105c65761021b565b806386989038116100f457806386989038146104da5780638b876347146104f85780638da5cb5b1461052857806394f2adb214610546578063a0e6b72d146105645761021b565b80637b0a47ee1461045057806380faa57d1461046e578063817b1cd21461048c578063833d76ad146104aa5761021b565b806353a47bb7116101a857806369e57a601161017757806369e57a60146103c057806370480275146103dc57806370a08231146103f857806372f702f31461042857806379ba5097146104465761021b565b806353a47bb71461032457806354bc130a146103425780635c975abb1461037257806366f809ac146103905761021b565b80631785f53c116101ef5780631785f53c146102a65780631c1f78eb146102c25780632e1a7d4d146102e0578063372500ab146102fc578063386a9525146103065761021b565b80628cc262146102205780630700037d146102505780630c51dde4146102805780631627540c1461028a575b600080fd5b61023a600480360381019061023591906126e1565b610676565b6040516102479190612727565b60405180910390f35b61026a600480360381019061026591906126e1565b610794565b6040516102779190612727565b60405180910390f35b6102886107ac565b005b6102a4600480360381019061029f91906126e1565b6109e1565b005b6102c060048036038101906102bb91906126e1565b610a64565b005b6102ca610b36565b6040516102d79190612727565b60405180910390f35b6102fa60048036038101906102f5919061276e565b610b54565b005b610304610ec0565b005b61030e61111e565b60405161031b9190612727565b60405180910390f35b61032c611124565b60405161033991906127aa565b60405180910390f35b61035c60048036038101906103579190612860565b61114a565b60405161036991906128ef565b60405180910390f35b61037a611230565b60405161038791906128ef565b60405180910390f35b6103aa60048036038101906103a5919061290a565b611247565b6040516103b791906128ef565b60405180910390f35b6103da60048036038101906103d59190612a78565b611267565b005b6103f660048036038101906103f191906126e1565b611407565b005b610412600480360381019061040d91906126e1565b6114d9565b60405161041f9190612727565b60405180910390f35b610430611522565b60405161043d9190612b33565b60405180910390f35b61044e611548565b005b6104586116f9565b6040516104659190612727565b60405180910390f35b6104766116ff565b6040516104839190612727565b60405180910390f35b610494611719565b6040516104a19190612727565b60405180910390f35b6104c460048036038101906104bf919061290a565b611723565b6040516104d19190612bcd565b60405180910390f35b6104e26117c3565b6040516104ef9190612727565b60405180910390f35b610512600480360381019061050d91906126e1565b6117c9565b60405161051f9190612727565b60405180910390f35b6105306117e1565b60405161053d91906127aa565b60405180910390f35b61054e611805565b60405161055b9190612727565b60405180910390f35b61056c61180f565b005b610576611b1d565b6040516105839190612727565b60405180910390f35b610594611b23565b6040516105a19190612727565b60405180910390f35b6105c460048036038101906105bf919061276e565b611b29565b005b6105ce611bb8565b6040516105db9190612727565b60405180910390f35b6105fe60048036038101906105f9919061276e565b611c45565b60405161060b9190612bcd565b60405180910390f35b61061c611cf1565b6040516106299190612727565b60405180910390f35b61063a611cf7565b005b610644611d49565b6040516106519190612727565b60405180910390f35b610674600480360381019061066f9190612bef565b611d4f565b005b600061078d600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461077f670de0b6b3a7640000610771610723600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610715611bb8565b61209190919063ffffffff16565b600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120a790919063ffffffff16565b6120bd90919063ffffffff16565b6120d390919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b6107b46120e9565b60006107be611bb8565b6008819055506107cc6116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108995761080f81610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600954905060045442106108c9576108be600654826120bd90919063ffffffff16565b60058190555061092b565b60006108e04260045461209190919063ffffffff16565b905060006108f9600554836120a790919063ffffffff16565b905061092260065461091483866120d390919063ffffffff16565b6120bd90919063ffffffff16565b60058190555050505b610940600654826120bd90919063ffffffff16565b6005541115610984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097b90612caf565b60405180910390fd5b426007819055506109a0600654426120d390919063ffffffff16565b6004819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d816040516109d59190612727565b60405180910390a15050565b6109e96120e9565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce2281604051610a5991906127aa565b60405180910390a150565b610a6c6120e9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610adb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad290612d1b565b60405180910390fd5b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000610b4f6006546005546120a790919063ffffffff16565b905090565b610b5c612179565b33610b65611bb8565b600881905550610b736116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4057610bb681610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a90612d87565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054821115610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90612df3565b60405180910390fd5b610d1a82600c5461209190919063ffffffff16565b600c81905550610d7282600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461209190919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403610e1957610e126001600e5461209190919063ffffffff16565b600e819055505b610e663383600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166121c89092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d583604051610eac9190612727565b60405180910390a250610ebd61224e565b50565b610ec8612179565b33610ed1611bb8565b600881905550610edf6116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610fac57610f2281610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611112576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061105381600f546120d390919063ffffffff16565b506110c360018054906101000a900473ffffffffffffffffffffffffffffffffffffffff163383600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612258909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040516111099190612727565b60405180910390a25b505061111c61224e565b565b60065481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000836012600082815260200190815260200160002060009054906101000a900460ff166111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a490612e5f565b60405180910390fd5b6000866040516020016111c09190612ec7565b604051602081830303815290604052805190602001209050611224858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505087836122e1565b92505050949350505050565b6000600160009054906101000a900460ff16905090565b60126020528060005260406000206000915054906101000a900460ff1681565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166112f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ea90612f2e565b60405180910390fd5b6012600083815260200190815260200160002060009054906101000a900460ff1615611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b90612f9a565b60405180910390fd5b60108190806001815401808255809150506001900390600052602060002001600090919091909150908161138891906131bc565b5060016012600084815260200190815260200160002060006101000a81548160ff021916908315150217905550806011600084815260200190815260200160002090816113d591906131bc565b50817f84b2306c1af1fc3a139e6c617f8f31cf5a55850bfb6f4536f64f8cf082f5269760405160405180910390a25050565b61140f6120e9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590612d1b565b60405180910390fd5b6001601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf90613300565b60405180910390fd5b7fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161164b929190613320565b60405180910390a1600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60055481565b6000600454421061171257600454611714565b425b905090565b6000600c54905090565b6011602052806000526040600020600091509050805461174290612fe9565b80601f016020809104026020016040519081016040528092919081815260200182805461176e90612fe9565b80156117bb5780601f10611790576101008083540402835291602001916117bb565b820191906000526020600020905b81548152906001019060200180831161179e57829003601f168201915b505050505081565b600e5481565b600a6020528060005260406000206000915090505481565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600f54905090565b611817612179565b33611820611bb8565b60088190555061182e6116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118fb5761187181610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611b11576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506119a281600c546120d390919063ffffffff16565b600c819055506119fa81600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120d390919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611a5281600f546120d390919063ffffffff16565b50611ac260018054906101000a900473ffffffffffffffffffffffffffffffffffffffff163083600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612258909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe355416ef72a4ee51b15d2ca97670169b610e79b34df8e94673c08f045faf77d82604051611b089190612727565b60405180910390a25b5050611b1b61224e565b565b60095481565b60075481565b611b316120e9565b6004544211611b75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6c906133e1565b60405180910390fd5b806006819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d3600654604051611bad9190612727565b60405180910390a150565b600080600c5403611bcd576008549050611c42565b611c3f611c2e600c54611c20670de0b6b3a7640000611c12600554611c04600754611bf66116ff565b61209190919063ffffffff16565b6120a790919063ffffffff16565b6120a790919063ffffffff16565b6120bd90919063ffffffff16565b6008546120d390919063ffffffff16565b90505b90565b60108181548110611c5557600080fd5b906000526020600020016000915090508054611c7090612fe9565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9c90612fe9565b8015611ce95780601f10611cbe57610100808354040283529160200191611ce9565b820191906000526020600020905b815481529060010190602001808311611ccc57829003601f168201915b505050505081565b60085481565b611d3f600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610b54565b611d47610ec0565b565b60045481565b611d57612179565b611d5f6122f8565b33611d68611bb8565b600881905550611d766116ff565b600781905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e4357611db981610676565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600854600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b611e4f3385858561114a565b611e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e859061344d565b60405180910390fd5b60008511611ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec8906134b9565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403611f3557611f2e6001600e546120d390919063ffffffff16565b600e819055505b611f4a85600c546120d390919063ffffffff16565b600c81905550611fa285600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120d390919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612034333087600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612258909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d8660405161207a9190612727565b60405180910390a25061208b61224e565b50505050565b6000818361209f9190613508565b905092915050565b600081836120b5919061353c565b905092915050565b600081836120cb91906135ad565b905092915050565b600081836120e191906135de565b905092915050565b60018054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216e90613684565b60405180910390fd5b565b6002600054036121be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b5906136f0565b60405180910390fd5b6002600081905550565b6122498363a9059cbb60e01b84846040516024016121e7929190613710565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612342565b505050565b6001600081905550565b6122db846323b872dd60e01b85858560405160240161227993929190613739565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612342565b50505050565b6000826122ee858461240a565b1490509392505050565b612300611230565b15612340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612337906137bc565b60405180910390fd5b565b60006123a4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124609092919063ffffffff16565b90506000815114806123c65750808060200190518101906123c59190613808565b5b612405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fc906138a7565b60405180910390fd5b505050565b60008082905060005b84518110156124555761244082868381518110612433576124326138c7565b5b6020026020010151612478565b9150808061244d906138f6565b915050612413565b508091505092915050565b606061246f84846000856124a3565b90509392505050565b60008183106124905761248b8284612570565b61249b565b61249a8383612570565b5b905092915050565b6060824710156124e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124df906139b0565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516125119190613a17565b60006040518083038185875af1925050503d806000811461254e576040519150601f19603f3d011682016040523d82523d6000602084013e612553565b606091505b509150915061256487838387612587565b92505050949350505050565b600082600052816020526040600020905092915050565b606083156125e95760008351036125e1576125a1856125fc565b6125e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d790613a7a565b60405180910390fd5b5b8290506125f4565b6125f3838361261f565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156126325781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126669190612bcd565b60405180910390fd5b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126ae82612683565b9050919050565b6126be816126a3565b81146126c957600080fd5b50565b6000813590506126db816126b5565b92915050565b6000602082840312156126f7576126f6612679565b5b6000612705848285016126cc565b91505092915050565b6000819050919050565b6127218161270e565b82525050565b600060208201905061273c6000830184612718565b92915050565b61274b8161270e565b811461275657600080fd5b50565b60008135905061276881612742565b92915050565b60006020828403121561278457612783612679565b5b600061279284828501612759565b91505092915050565b6127a4816126a3565b82525050565b60006020820190506127bf600083018461279b565b92915050565b6000819050919050565b6127d8816127c5565b81146127e357600080fd5b50565b6000813590506127f5816127cf565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126128205761281f6127fb565b5b8235905067ffffffffffffffff81111561283d5761283c612800565b5b60208301915083602082028301111561285957612858612805565b5b9250929050565b6000806000806060858703121561287a57612879612679565b5b6000612888878288016126cc565b9450506020612899878288016127e6565b935050604085013567ffffffffffffffff8111156128ba576128b961267e565b5b6128c68782880161280a565b925092505092959194509250565b60008115159050919050565b6128e9816128d4565b82525050565b600060208201905061290460008301846128e0565b92915050565b6000602082840312156129205761291f612679565b5b600061292e848285016127e6565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129858261293c565b810181811067ffffffffffffffff821117156129a4576129a361294d565b5b80604052505050565b60006129b761266f565b90506129c3828261297c565b919050565b600067ffffffffffffffff8211156129e3576129e261294d565b5b6129ec8261293c565b9050602081019050919050565b82818337600083830152505050565b6000612a1b612a16846129c8565b6129ad565b905082815260208101848484011115612a3757612a36612937565b5b612a428482856129f9565b509392505050565b600082601f830112612a5f57612a5e6127fb565b5b8135612a6f848260208601612a08565b91505092915050565b60008060408385031215612a8f57612a8e612679565b5b6000612a9d858286016127e6565b925050602083013567ffffffffffffffff811115612abe57612abd61267e565b5b612aca85828601612a4a565b9150509250929050565b6000819050919050565b6000612af9612af4612aef84612683565b612ad4565b612683565b9050919050565b6000612b0b82612ade565b9050919050565b6000612b1d82612b00565b9050919050565b612b2d81612b12565b82525050565b6000602082019050612b486000830184612b24565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b88578082015181840152602081019050612b6d565b60008484015250505050565b6000612b9f82612b4e565b612ba98185612b59565b9350612bb9818560208601612b6a565b612bc28161293c565b840191505092915050565b60006020820190508181036000830152612be78184612b94565b905092915050565b60008060008060608587031215612c0957612c08612679565b5b6000612c1787828801612759565b9450506020612c28878288016127e6565b935050604085013567ffffffffffffffff811115612c4957612c4861267e565b5b612c558782880161280a565b925092505092959194509250565b7f50726f76696465642072657761726420746f6f20686967680000000000000000600082015250565b6000612c99601883612b59565b9150612ca482612c63565b602082019050919050565b60006020820190508181036000830152612cc881612c8c565b9050919050565b7f7a65726f20616464726573730000000000000000000000000000000000000000600082015250565b6000612d05600c83612b59565b9150612d1082612ccf565b602082019050919050565b60006020820190508181036000830152612d3481612cf8565b9050919050565b7f43616e6e6f742077697468647261772030000000000000000000000000000000600082015250565b6000612d71601183612b59565b9150612d7c82612d3b565b602082019050919050565b60006020820190508181036000830152612da081612d64565b9050919050565b7f43616e6e6f74207769746864726177206d6f7265207468616e207374616b6564600082015250565b6000612ddd602083612b59565b9150612de882612da7565b602082019050919050565b60006020820190508181036000830152612e0c81612dd0565b9050919050565b7f526f6f74206e6f2076616c696400000000000000000000000000000000000000600082015250565b6000612e49600d83612b59565b9150612e5482612e13565b602082019050919050565b60006020820190508181036000830152612e7881612e3c565b9050919050565b60008160601b9050919050565b6000612e9782612e7f565b9050919050565b6000612ea982612e8c565b9050919050565b612ec1612ebc826126a3565b612e9e565b82525050565b6000612ed38284612eb0565b60148201915081905092915050565b7f43616c6c6572206973206e6f7420616e2061646d696e00000000000000000000600082015250565b6000612f18601683612b59565b9150612f2382612ee2565b602082019050919050565b60006020820190508181036000830152612f4781612f0b565b9050919050565b7f526f6f74206861736820616c7265616479206578697374730000000000000000600082015250565b6000612f84601883612b59565b9150612f8f82612f4e565b602082019050919050565b60006020820190508181036000830152612fb381612f77565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061300157607f821691505b60208210810361301457613013612fba565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261307c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261303f565b613086868361303f565b95508019841693508086168417925050509392505050565b60006130b96130b46130af8461270e565b612ad4565b61270e565b9050919050565b6000819050919050565b6130d38361309e565b6130e76130df826130c0565b84845461304c565b825550505050565b600090565b6130fc6130ef565b6131078184846130ca565b505050565b5b8181101561312b576131206000826130f4565b60018101905061310d565b5050565b601f821115613170576131418161301a565b61314a8461302f565b81016020851015613159578190505b61316d6131658561302f565b83018261310c565b50505b505050565b600082821c905092915050565b600061319360001984600802613175565b1980831691505092915050565b60006131ac8383613182565b9150826002028217905092915050565b6131c582612b4e565b67ffffffffffffffff8111156131de576131dd61294d565b5b6131e88254612fe9565b6131f382828561312f565b600060209050601f8311600181146132265760008415613214578287015190505b61321e85826131a0565b865550613286565b601f1984166132348661301a565b60005b8281101561325c57848901518255600182019150602085019450602081019050613237565b868310156132795784890151613275601f891682613182565b8355505b6001600288020188555050505b505050505050565b7f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560008201527f2063616e20616363657074206f776e6572736869700000000000000000000000602082015250565b60006132ea603583612b59565b91506132f58261328e565b604082019050919050565b60006020820190508181036000830152613319816132dd565b9050919050565b6000604082019050613335600083018561279b565b613342602083018461279b565b9392505050565b7f50726576696f7573207265776172647320706572696f64206d7573742062652060008201527f636f6d706c657465206265666f7265206368616e67696e67207468652064757260208201527f6174696f6e20666f7220746865206e657720706572696f640000000000000000604082015250565b60006133cb605883612b59565b91506133d682613349565b606082019050919050565b600060208201905081810360008301526133fa816133be565b9050919050565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b6000613437600f83612b59565b915061344282613401565b602082019050919050565b600060208201905081810360008301526134668161342a565b9050919050565b7f43616e6e6f74207374616b652030000000000000000000000000000000000000600082015250565b60006134a3600e83612b59565b91506134ae8261346d565b602082019050919050565b600060208201905081810360008301526134d281613496565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135138261270e565b915061351e8361270e565b9250828203905081811115613536576135356134d9565b5b92915050565b60006135478261270e565b91506135528361270e565b92508282026135608161270e565b91508282048414831517613577576135766134d9565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135b88261270e565b91506135c38361270e565b9250826135d3576135d261357e565b5b828204905092915050565b60006135e98261270e565b91506135f48361270e565b925082820190508082111561360c5761360b6134d9565b5b92915050565b7f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660008201527f6f726d207468697320616374696f6e0000000000000000000000000000000000602082015250565b600061366e602f83612b59565b915061367982613612565b604082019050919050565b6000602082019050818103600083015261369d81613661565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006136da601f83612b59565b91506136e5826136a4565b602082019050919050565b60006020820190508181036000830152613709816136cd565b9050919050565b6000604082019050613725600083018561279b565b6137326020830184612718565b9392505050565b600060608201905061374e600083018661279b565b61375b602083018561279b565b6137686040830184612718565b949350505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006137a6601083612b59565b91506137b182613770565b602082019050919050565b600060208201905081810360008301526137d581613799565b9050919050565b6137e5816128d4565b81146137f057600080fd5b50565b600081519050613802816137dc565b92915050565b60006020828403121561381e5761381d612679565b5b600061382c848285016137f3565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000613891602a83612b59565b915061389c82613835565b604082019050919050565b600060208201905081810360008301526138c081613884565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006139018261270e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613933576139326134d9565b5b600182019050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061399a602683612b59565b91506139a58261393e565b604082019050919050565b600060208201905081810360008301526139c98161398d565b9050919050565b600081519050919050565b600081905092915050565b60006139f1826139d0565b6139fb81856139db565b9350613a0b818560208601612b6a565b80840191505092915050565b6000613a2382846139e6565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000613a64601d83612b59565b9150613a6f82613a2e565b602082019050919050565b60006020820190508181036000830152613a9381613a57565b905091905056fea26469706673582212205d982d1ae1f9a4e0c8f828bd7f985a5dca5c37f1b33a77c1362c40da285b0e1364736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000030a7481b1b816e6c622c3a2d9cc85d8aeef58a17000000000000000000000000059956483753947536204e89bfad909e1a434cc6
-----Decoded View---------------
Arg [0] : _owner (address): 0x30A7481b1B816E6c622C3a2d9cC85D8aEEF58a17
Arg [1] : _stakingToken (address): 0x059956483753947536204e89bfaD909E1a434Cc6
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000030a7481b1b816e6c622c3a2d9cc85d8aeef58a17
Arg [1] : 000000000000000000000000059956483753947536204e89bfad909e1a434cc6
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.142679 | 192,125.5208 | $27,412.33 |
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.