More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 173 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Stake | 57117976 | 15 hrs ago | IN | 0 AVAX | 0.00015667 | ||||
Withdraw | 57083304 | 32 hrs ago | IN | 0 AVAX | 0.00014083 | ||||
Withdraw | 57076453 | 35 hrs ago | IN | 0 AVAX | 0.00017191 | ||||
Stake | 57067925 | 39 hrs ago | IN | 0 AVAX | 0.00018101 | ||||
Withdraw | 57067902 | 39 hrs ago | IN | 0 AVAX | 0.00021152 | ||||
Get Reward | 57067898 | 39 hrs ago | IN | 0 AVAX | 0.00010733 | ||||
Stake | 57067812 | 39 hrs ago | IN | 0 AVAX | 0.00018344 | ||||
Withdraw | 57067788 | 39 hrs ago | IN | 0 AVAX | 0.00018723 | ||||
Stake | 57038712 | 2 days ago | IN | 0 AVAX | 0.00023825 | ||||
Withdraw | 57038682 | 2 days ago | IN | 0 AVAX | 0.00031082 | ||||
Stake | 57038665 | 2 days ago | IN | 0 AVAX | 0.00020433 | ||||
Stake | 56919202 | 4 days ago | IN | 0 AVAX | 0.00031082 | ||||
Get Reward | 56913960 | 4 days ago | IN | 0 AVAX | 0.00016262 | ||||
Stake | 56850796 | 6 days ago | IN | 0 AVAX | 0.00018407 | ||||
Stake | 56841658 | 6 days ago | IN | 0 AVAX | 0.00040512 | ||||
Stake | 56822401 | 6 days ago | IN | 0 AVAX | 0.0001403 | ||||
Get Reward | 56815606 | 6 days ago | IN | 0 AVAX | 0.00007417 | ||||
Stake | 56815593 | 6 days ago | IN | 0 AVAX | 0.0001524 | ||||
Get Reward | 56815341 | 6 days ago | IN | 0 AVAX | 0.00015985 | ||||
Get Reward | 56795528 | 7 days ago | IN | 0 AVAX | 0.00016335 | ||||
Stake | 56786336 | 7 days ago | IN | 0 AVAX | 0.00019209 | ||||
Withdraw | 56738401 | 8 days ago | IN | 0 AVAX | 0.00038049 | ||||
Stake | 56672668 | 9 days ago | IN | 0 AVAX | 0.00029375 | ||||
Get Reward | 56672611 | 9 days ago | IN | 0 AVAX | 0.00015985 | ||||
Stake | 56662046 | 9 days ago | IN | 0 AVAX | 0.0003312 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
57067898 | 39 hrs ago | 0.00134634 AVAX | ||||
56913960 | 4 days ago | 0.00007287 AVAX | ||||
56881514 | 5 days ago | 0.00000054 AVAX | ||||
56815606 | 6 days ago | 0.03467822 AVAX | ||||
56815341 | 6 days ago | 0.05038756 AVAX | ||||
56795528 | 7 days ago | 0.32663019 AVAX | ||||
56672611 | 9 days ago | 0.00626294 AVAX | ||||
56518409 | 12 days ago | 0.03545047 AVAX | ||||
56462916 | 13 days ago | 0.01975063 AVAX | ||||
56452438 | 14 days ago | 0.24912404 AVAX | ||||
56373644 | 15 days ago | 0.10551041 AVAX | ||||
56367456 | 15 days ago | 0.01493906 AVAX | ||||
56299271 | 17 days ago | 0.01589643 AVAX | ||||
56222130 | 19 days ago | 0.02496381 AVAX | ||||
56210587 | 19 days ago | 500 AVAX | ||||
56210541 | 19 days ago | 1 AVAX | ||||
56145862 | 20 days ago | 0.01501379 AVAX | ||||
56088291 | 21 days ago | 9.17912054 AVAX | ||||
56026761 | 22 days ago | 0.01447838 AVAX | ||||
55911065 | 25 days ago | 0.01630199 AVAX | ||||
55903620 | 25 days ago | 0 AVAX | ||||
55899407 | 25 days ago | 0.00000945 AVAX | ||||
55856796 | 26 days ago | 0.00002395 AVAX | ||||
55800693 | 27 days ago | 0.01329766 AVAX | ||||
55789529 | 27 days ago | 0.00000021 AVAX |
Loading...
Loading
Contract Name:
RewardDistributor
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
shanghai EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.19; import {LightweightOwnable} from "../core/LightweightOwnable.sol"; import {IERC20} from "../../lib/open-zeppelin/token/ERC20/IERC20.sol"; import {SafeERC20} from "../../lib/open-zeppelin/token/ERC20/utils/SafeERC20.sol"; /** * @title Contract for distributing ETH rewards for incentivized August Pools. */ contract RewardDistributor is LightweightOwnable { using SafeERC20 for IERC20; uint256 private constant PRECISION_FACTOR = 1e18; IERC20 public immutable stakingToken; uint256 public rewardsPerSecond; uint256 public totalStaked; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; mapping(address => uint256) public balanceOf; event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); event RewardRateUpdated(uint256 newRate); event Received(address indexed sender, uint256 value); /** * @notice Constructor. * @param ownerAddr The address of the owner. * @param _rewardsPerSecond The amount of ETH rewards to distribute per second. * @param _stakingToken The address of the ERC20 token used for staking. */ constructor( address ownerAddr, uint256 _rewardsPerSecond, IERC20 _stakingToken ) { rewardsPerSecond = _rewardsPerSecond; lastUpdateTime = block.timestamp; stakingToken = _stakingToken; _transferOwnership(ownerAddr); } /** * @notice Allow the contract to receive ETH. */ receive() external payable { emit Received(msg.sender, msg.value); } /** * @notice Update the reward rate. */ function setRewardRate(uint256 _rewardsPerSecond) external onlyOwner { rewardsPerSecond = _rewardsPerSecond; emit RewardRateUpdated(_rewardsPerSecond); } /** * @notice Stake tokens. */ function stake(uint256 amount) external nonReentrant { require(amount > 0, "Amount cannot be zero"); _updateReward(msg.sender); totalStaked += amount; balanceOf[msg.sender] += amount; stakingToken.safeTransferFrom(msg.sender, address(this), amount); emit Staked(msg.sender, amount); } /** * @notice Withdraw staked tokens. */ function withdraw(uint256 amount) external nonReentrant { require(amount > 0, "Amount cannot be zero"); require(balanceOf[msg.sender] >= amount, "Amount mismatch"); _updateReward(msg.sender); totalStaked -= amount; balanceOf[msg.sender] -= amount; stakingToken.safeTransfer(msg.sender, amount); emit Withdrawn(msg.sender, amount); } /** * @notice Emergency withdraw of avax from the contract. */ function emergencyWithdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "ETH transfer failed"); } /** * @notice Claim rewards. */ function getReward() external nonReentrant { _updateReward(msg.sender); uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; (bool success, ) = msg.sender.call{value: reward}(""); require(success, "ETH transfer failed"); emit RewardPaid(msg.sender, reward); } } /** * @notice Calculate the earned rewards for an account. */ function earned(address account) public view returns (uint256) { return ((balanceOf[account] * (_rewardPerToken() - userRewardPerTokenPaid[account])) / PRECISION_FACTOR) + rewards[account]; } /** * @notice Update reward state for an account. */ function _updateReward(address account) private { rewardPerTokenStored = _rewardPerToken(); lastUpdateTime = block.timestamp; if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } } /** * @notice Calculate the reward per token. */ function _rewardPerToken() private view returns (uint256) { if (totalStaked == 0) { return rewardPerTokenStored; } return rewardPerTokenStored + (((block.timestamp - lastUpdateTime) * rewardsPerSecond * PRECISION_FACTOR) / totalStaked); } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.19; import "./interfaces/IOwnable.sol"; import {BaseReentrancyGuard} from "../core/BaseReentrancyGuard.sol"; import {BaseOwnable} from "../core/BaseOwnable.sol"; /** * @title Lightweight version of the ownership contract. This contract has a reentrancy guard. */ abstract contract LightweightOwnable is IOwnable, BaseReentrancyGuard, BaseOwnable { /** * @notice Transfers ownership of the contract to the account specified. * @param newOwner The address of the new owner. */ function transferOwnership(address newOwner) external virtual nonReentrant onlyOwner { _transferOwnership(newOwner); } /** * @notice Gets the owner of the contract. * @return address The address who owns the contract. */ function owner() external view virtual returns (address) { return _owner; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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.8.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; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } 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"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.19; interface IOwnable { function transferOwnership(address newOwner) external; function owner() external view returns (address); }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.19; /** * @title Base reentrancy guard. This is constructor-less implementation for both proxies and standalone contracts. */ abstract contract BaseReentrancyGuard { error ReentrantCall(); uint256 internal constant _REENTRANCY_NOT_ENTERED = 1; uint256 internal constant _REENTRANCY_ENTERED = 2; uint256 internal _reentrancyStatus; /** * @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 if (_reentrancyStatus == _REENTRANCY_ENTERED) revert ReentrantCall(); // Any calls to nonReentrant after this point will fail _reentrancyStatus = _REENTRANCY_ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _reentrancyStatus = _REENTRANCY_NOT_ENTERED; } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.19; abstract contract BaseOwnable { error OwnerOnly(); address internal _owner; /** * @notice Triggers when contract ownership changes. * @param previousOwner The previous owner of the contract. * @param newOwner The new owner of the contract. */ event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { if (msg.sender != _owner) revert OwnerOnly(); _; } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.8.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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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); } } }
{ "remappings": [ "forge-std/=lib/forge-std/src/", "ds-test/=lib/forge-std/lib/ds-test/src/", "murky/=lib/murky/", "open-zeppelin/=lib/open-zeppelin/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "shanghai", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"ownerAddr","type":"address"},{"internalType":"uint256","name":"_rewardsPerSecond","type":"uint256"},{"internalType":"contract IERC20","name":"_stakingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"OwnerOnly","type":"error"},{"inputs":[],"name":"ReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Received","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":"newRate","type":"uint256"}],"name":"RewardRateUpdated","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":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","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":"rewardsPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsPerSecond","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a060405234801561000f575f80fd5b50604051610f42380380610f4283398101604081905261002e916100bd565b6002829055426004556001600160a01b03811660805261004d83610055565b5050506100fd565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03811681146100ba575f80fd5b50565b5f805f606084860312156100cf575f80fd5b83516100da816100a6565b6020850151604086015191945092506100f2816100a6565b809150509250925092565b608051610e1f6101235f395f81816101ff015281816104b501526107260152610e1f5ff3fe6080604052600436106100f1575f3560e01c80638da5cb5b11610087578063db2e21bc11610057578063db2e21bc146102e9578063df136d65146102fd578063eacdaabc14610312578063f2fde38b14610327575f80fd5b80638da5cb5b146102795780639e447fc614610296578063a694fc3a146102b5578063c8f33c91146102d4575f80fd5b806370a08231116100c257806370a08231146101c357806372f702f3146101ee578063817b1cd2146102395780638b8763471461024e575f80fd5b80628cc262146101315780630700037d146101635780632e1a7d4d1461018e5780633d18b912146101af575f80fd5b3661012d5760405134815233907f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258749060200160405180910390a2005b5f80fd5b34801561013c575f80fd5b5061015061014b366004610ca7565b610346565b6040519081526020015b60405180910390f35b34801561016e575f80fd5b5061015061017d366004610ca7565b60076020525f908152604090205481565b348015610199575f80fd5b506101ad6101a8366004610cd4565b6103c1565b005b3480156101ba575f80fd5b506101ad61051e565b3480156101ce575f80fd5b506101506101dd366004610ca7565b60086020525f908152604090205481565b3480156101f9575f80fd5b506102217f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161015a565b348015610244575f80fd5b5061015060035481565b348015610259575f80fd5b50610150610268366004610ca7565b60066020525f908152604090205481565b348015610284575f80fd5b506001546001600160a01b0316610221565b3480156102a1575f80fd5b506101ad6102b0366004610cd4565b610621565b3480156102c0575f80fd5b506101ad6102cf366004610cd4565b610687565b3480156102df575f80fd5b5061015060045481565b3480156102f4575f80fd5b506101ad610780565b348015610308575f80fd5b5061015060055481565b34801561031d575f80fd5b5061015060025481565b348015610332575f80fd5b506101ad610341366004610ca7565b610836565b6001600160a01b0381165f908152600760209081526040808320546006909252822054670de0b6b3a76400009061037b61087b565b6103859190610cff565b6001600160a01b0385165f908152600860205260409020546103a79190610d12565b6103b19190610d29565b6103bb9190610d48565b92915050565b6103c96108d9565b5f81116104155760405162461bcd60e51b8152602060048201526015602482015274416d6f756e742063616e6e6f74206265207a65726f60581b60448201526064015b60405180910390fd5b335f908152600860205260409020548111156104655760405162461bcd60e51b815260206004820152600f60248201526e082dadeeadce840dad2e6dac2e8c6d608b1b604482015260640161040c565b61046e33610901565b8060035f82825461047f9190610cff565b9091555050335f90815260086020526040812080548392906104a2908490610cff565b909155506104dc90506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163383610955565b60405181815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a261051b60015f55565b50565b6105266108d9565b61052f33610901565b335f90815260076020526040902054801561061557335f818152600760205260408082208290555190919083908381818185875af1925050503d805f8114610592576040519150601f19603f3d011682016040523d82523d5f602084013e610597565b606091505b50509050806105de5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b604482015260640161040c565b60405182815233907fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04869060200160405180910390a2505b5061061f60015f55565b565b6001546001600160a01b0316331461064c57604051630b2db9b760e31b815260040160405180910390fd5b60028190556040518181527f41d466ebd06fb97e7786086ac8b69b7eb7da798592036251291d34e9791cde019060200160405180910390a150565b61068f6108d9565b5f81116106d65760405162461bcd60e51b8152602060048201526015602482015274416d6f756e742063616e6e6f74206265207a65726f60581b604482015260640161040c565b6106df33610901565b8060035f8282546106f09190610d48565b9091555050335f9081526008602052604081208054839290610713908490610d48565b9091555061074e90506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163330846109bd565b60405181815233907f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d9060200161050a565b6001546001600160a01b031633146107ab57604051630b2db9b760e31b815260040160405180910390fd5b6040515f90339047908381818185875af1925050503d805f81146107ea576040519150601f19603f3d011682016040523d82523d5f602084013e6107ef565b606091505b505090508061051b5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b604482015260640161040c565b61083e6108d9565b6001546001600160a01b0316331461086957604051630b2db9b760e31b815260040160405180910390fd5b610872816109fb565b61051b60015f55565b5f6003545f0361088c575060055490565b600354670de0b6b3a7640000600254600454426108a99190610cff565b6108b39190610d12565b6108bd9190610d12565b6108c79190610d29565b6005546108d49190610d48565b905090565b60025f54036108fb576040516306fda65d60e31b815260040160405180910390fd5b60025f55565b61090961087b565b600555426004556001600160a01b0381161561051b5761092881610346565b6001600160a01b0382165f9081526007602090815260408083209390935560055460069091529190205550565b6040516001600160a01b0383166024820152604481018290526109b890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610a4c565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526109f59085906323b872dd60e01b90608401610981565b50505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f610aa0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610b1d9092919063ffffffff16565b8051909150156109b85780806020019051810190610abe9190610d5b565b6109b85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161040c565b6060610b2b84845f85610b33565b949350505050565b606082471015610b945760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161040c565b5f80866001600160a01b03168587604051610baf9190610d9c565b5f6040518083038185875af1925050503d805f8114610be9576040519150601f19603f3d011682016040523d82523d5f602084013e610bee565b606091505b5091509150610bff87838387610c0a565b979650505050505050565b60608315610c785782515f03610c71576001600160a01b0385163b610c715760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161040c565b5081610b2b565b610b2b8383815115610c8d5781518083602001fd5b8060405162461bcd60e51b815260040161040c9190610db7565b5f60208284031215610cb7575f80fd5b81356001600160a01b0381168114610ccd575f80fd5b9392505050565b5f60208284031215610ce4575f80fd5b5035919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103bb576103bb610ceb565b80820281158282048414176103bb576103bb610ceb565b5f82610d4357634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156103bb576103bb610ceb565b5f60208284031215610d6b575f80fd5b81518015158114610ccd575f80fd5b5f5b83811015610d94578181015183820152602001610d7c565b50505f910152565b5f8251610dad818460208701610d7a565b9190910192915050565b602081525f8251806020840152610dd5816040850160208701610d7a565b601f01601f1916919091016040019291505056fea2646970667358221220901bc28d2de36e936c06f0ae9022fd4eab442a87874bc4f5104f664779cc0ebc64736f6c63430008140033000000000000000000000000926d01e50467539071bbe90694ca73f7a7df355e00000000000000000000000000000000000000000000000000009016fbe88580000000000000000000000000b2bfb52cfc40584ac4e9e2b36a5b8d6554a56e0b
Deployed Bytecode
0x6080604052600436106100f1575f3560e01c80638da5cb5b11610087578063db2e21bc11610057578063db2e21bc146102e9578063df136d65146102fd578063eacdaabc14610312578063f2fde38b14610327575f80fd5b80638da5cb5b146102795780639e447fc614610296578063a694fc3a146102b5578063c8f33c91146102d4575f80fd5b806370a08231116100c257806370a08231146101c357806372f702f3146101ee578063817b1cd2146102395780638b8763471461024e575f80fd5b80628cc262146101315780630700037d146101635780632e1a7d4d1461018e5780633d18b912146101af575f80fd5b3661012d5760405134815233907f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258749060200160405180910390a2005b5f80fd5b34801561013c575f80fd5b5061015061014b366004610ca7565b610346565b6040519081526020015b60405180910390f35b34801561016e575f80fd5b5061015061017d366004610ca7565b60076020525f908152604090205481565b348015610199575f80fd5b506101ad6101a8366004610cd4565b6103c1565b005b3480156101ba575f80fd5b506101ad61051e565b3480156101ce575f80fd5b506101506101dd366004610ca7565b60086020525f908152604090205481565b3480156101f9575f80fd5b506102217f000000000000000000000000b2bfb52cfc40584ac4e9e2b36a5b8d6554a56e0b81565b6040516001600160a01b03909116815260200161015a565b348015610244575f80fd5b5061015060035481565b348015610259575f80fd5b50610150610268366004610ca7565b60066020525f908152604090205481565b348015610284575f80fd5b506001546001600160a01b0316610221565b3480156102a1575f80fd5b506101ad6102b0366004610cd4565b610621565b3480156102c0575f80fd5b506101ad6102cf366004610cd4565b610687565b3480156102df575f80fd5b5061015060045481565b3480156102f4575f80fd5b506101ad610780565b348015610308575f80fd5b5061015060055481565b34801561031d575f80fd5b5061015060025481565b348015610332575f80fd5b506101ad610341366004610ca7565b610836565b6001600160a01b0381165f908152600760209081526040808320546006909252822054670de0b6b3a76400009061037b61087b565b6103859190610cff565b6001600160a01b0385165f908152600860205260409020546103a79190610d12565b6103b19190610d29565b6103bb9190610d48565b92915050565b6103c96108d9565b5f81116104155760405162461bcd60e51b8152602060048201526015602482015274416d6f756e742063616e6e6f74206265207a65726f60581b60448201526064015b60405180910390fd5b335f908152600860205260409020548111156104655760405162461bcd60e51b815260206004820152600f60248201526e082dadeeadce840dad2e6dac2e8c6d608b1b604482015260640161040c565b61046e33610901565b8060035f82825461047f9190610cff565b9091555050335f90815260086020526040812080548392906104a2908490610cff565b909155506104dc90506001600160a01b037f000000000000000000000000b2bfb52cfc40584ac4e9e2b36a5b8d6554a56e0b163383610955565b60405181815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5906020015b60405180910390a261051b60015f55565b50565b6105266108d9565b61052f33610901565b335f90815260076020526040902054801561061557335f818152600760205260408082208290555190919083908381818185875af1925050503d805f8114610592576040519150601f19603f3d011682016040523d82523d5f602084013e610597565b606091505b50509050806105de5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b604482015260640161040c565b60405182815233907fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04869060200160405180910390a2505b5061061f60015f55565b565b6001546001600160a01b0316331461064c57604051630b2db9b760e31b815260040160405180910390fd5b60028190556040518181527f41d466ebd06fb97e7786086ac8b69b7eb7da798592036251291d34e9791cde019060200160405180910390a150565b61068f6108d9565b5f81116106d65760405162461bcd60e51b8152602060048201526015602482015274416d6f756e742063616e6e6f74206265207a65726f60581b604482015260640161040c565b6106df33610901565b8060035f8282546106f09190610d48565b9091555050335f9081526008602052604081208054839290610713908490610d48565b9091555061074e90506001600160a01b037f000000000000000000000000b2bfb52cfc40584ac4e9e2b36a5b8d6554a56e0b163330846109bd565b60405181815233907f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d9060200161050a565b6001546001600160a01b031633146107ab57604051630b2db9b760e31b815260040160405180910390fd5b6040515f90339047908381818185875af1925050503d805f81146107ea576040519150601f19603f3d011682016040523d82523d5f602084013e6107ef565b606091505b505090508061051b5760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b604482015260640161040c565b61083e6108d9565b6001546001600160a01b0316331461086957604051630b2db9b760e31b815260040160405180910390fd5b610872816109fb565b61051b60015f55565b5f6003545f0361088c575060055490565b600354670de0b6b3a7640000600254600454426108a99190610cff565b6108b39190610d12565b6108bd9190610d12565b6108c79190610d29565b6005546108d49190610d48565b905090565b60025f54036108fb576040516306fda65d60e31b815260040160405180910390fd5b60025f55565b61090961087b565b600555426004556001600160a01b0381161561051b5761092881610346565b6001600160a01b0382165f9081526007602090815260408083209390935560055460069091529190205550565b6040516001600160a01b0383166024820152604481018290526109b890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610a4c565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526109f59085906323b872dd60e01b90608401610981565b50505050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f610aa0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610b1d9092919063ffffffff16565b8051909150156109b85780806020019051810190610abe9190610d5b565b6109b85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161040c565b6060610b2b84845f85610b33565b949350505050565b606082471015610b945760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161040c565b5f80866001600160a01b03168587604051610baf9190610d9c565b5f6040518083038185875af1925050503d805f8114610be9576040519150601f19603f3d011682016040523d82523d5f602084013e610bee565b606091505b5091509150610bff87838387610c0a565b979650505050505050565b60608315610c785782515f03610c71576001600160a01b0385163b610c715760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161040c565b5081610b2b565b610b2b8383815115610c8d5781518083602001fd5b8060405162461bcd60e51b815260040161040c9190610db7565b5f60208284031215610cb7575f80fd5b81356001600160a01b0381168114610ccd575f80fd5b9392505050565b5f60208284031215610ce4575f80fd5b5035919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156103bb576103bb610ceb565b80820281158282048414176103bb576103bb610ceb565b5f82610d4357634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156103bb576103bb610ceb565b5f60208284031215610d6b575f80fd5b81518015158114610ccd575f80fd5b5f5b83811015610d94578181015183820152602001610d7c565b50505f910152565b5f8251610dad818460208701610d7a565b9190910192915050565b602081525f8251806020840152610dd5816040850160208701610d7a565b601f01601f1916919091016040019291505056fea2646970667358221220901bc28d2de36e936c06f0ae9022fd4eab442a87874bc4f5104f664779cc0ebc64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000926d01e50467539071bbe90694ca73f7a7df355e00000000000000000000000000000000000000000000000000009016fbe88580000000000000000000000000b2bfb52cfc40584ac4e9e2b36a5b8d6554a56e0b
-----Decoded View---------------
Arg [0] : ownerAddr (address): 0x926D01e50467539071bbe90694cA73f7A7dF355e
Arg [1] : _rewardsPerSecond (uint256): 158428390000000
Arg [2] : _stakingToken (address): 0xB2bFb52cfc40584AC4e9e2B36a5B8d6554A56e0b
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000926d01e50467539071bbe90694ca73f7a7df355e
Arg [1] : 00000000000000000000000000000000000000000000000000009016fbe88580
Arg [2] : 000000000000000000000000b2bfb52cfc40584ac4e9e2b36a5b8d6554a56e0b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
AVAX | 100.00% | $26.55 | 590.7923 | $15,688.31 |
[ Download: CSV Export ]
[ 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.