Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 417 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 21611238 | 3 hrs ago | IN | 0 ETH | 0.00065558 | ||||
Claim | 21602639 | 32 hrs ago | IN | 0 ETH | 0.00083815 | ||||
Claim | 21600277 | 40 hrs ago | IN | 0 ETH | 0.00047695 | ||||
Claim | 21600149 | 40 hrs ago | IN | 0 ETH | 0.00040182 | ||||
Claim | 21598194 | 47 hrs ago | IN | 0 ETH | 0.00078043 | ||||
Claim | 21598138 | 47 hrs ago | IN | 0 ETH | 0.00033098 | ||||
Claim | 21592398 | 2 days ago | IN | 0 ETH | 0.00072186 | ||||
Claim | 21590526 | 3 days ago | IN | 0 ETH | 0.00141556 | ||||
Claim | 21589978 | 3 days ago | IN | 0 ETH | 0.0022742 | ||||
Claim | 21584337 | 3 days ago | IN | 0 ETH | 0.00097652 | ||||
Claim | 21583179 | 4 days ago | IN | 0 ETH | 0.00111229 | ||||
Claim | 21583046 | 4 days ago | IN | 0 ETH | 0.00130703 | ||||
Claim | 21581897 | 4 days ago | IN | 0 ETH | 0.00115191 | ||||
Claim | 21579950 | 4 days ago | IN | 0 ETH | 0.00413748 | ||||
Claim | 21578305 | 4 days ago | IN | 0 ETH | 0.00092977 | ||||
Claim | 21577353 | 4 days ago | IN | 0 ETH | 0.00097326 | ||||
Claim | 21573323 | 5 days ago | IN | 0 ETH | 0.00152714 | ||||
Claim | 21572783 | 5 days ago | IN | 0 ETH | 0.00100248 | ||||
Claim | 21571961 | 5 days ago | IN | 0 ETH | 0.00121258 | ||||
Claim | 21571057 | 5 days ago | IN | 0 ETH | 0.00192388 | ||||
Claim | 21569010 | 6 days ago | IN | 0 ETH | 0.00332639 | ||||
Claim | 21557181 | 7 days ago | IN | 0 ETH | 0.0013077 | ||||
Claim | 21557175 | 7 days ago | IN | 0 ETH | 0.002232 | ||||
Claim | 21556570 | 7 days ago | IN | 0 ETH | 0.00123127 | ||||
Claim | 21550264 | 8 days ago | IN | 0 ETH | 0.00096265 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x24911DaD...7b979215b The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
IncentivesControllerV3
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; import './interfaces/IMultiFeeDistribution.sol'; import './interfaces/IOnwardIncentivesController.sol'; import './interfaces/IChefIncentivesController.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; /** * @title IncentivesControllerV3 * @author UwULend * @notice This contract distributes UwU emissions to reserve token holders. */ contract IncentivesControllerV3 is Ownable { using SafeMath for uint; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint amount; uint rewardDebt; } // Info of each pool. struct PoolInfo { uint totalSupply; uint allocPoint; // How many allocation points assigned to this pool. uint lastRewardTime; // Last second that reward distribution occurs. uint accRewardPerShare; // Accumulated rewards per share, times 1e12. See below. IOnwardIncentivesController onwardIncentives; } // Info about token emissions for a given time period. struct EmissionPoint { uint128 startTimeOffset; uint128 rewardsPerSecond; } /// @notice The mapping of addresses that can add new pools. mapping(address => bool) public isPoolConfigurator; /// @notice The address of the reward minter. IMultiFeeDistribution public rewardMinter; /// @notice The address of the incentives controller. IChefIncentivesController public immutable incentivesController; /// @notice The amount of tokens to be minted per second. uint public rewardsPerSecond; /// @notice The maximum amount of tokens that can be minted. uint public maxMintableTokens; /// @notice The amount of tokens that have been minted. uint public mintedTokens; /// @notice Info of each pool. address[] public registeredTokens; /// @notice Info of each pool. mapping(address => PoolInfo) public poolInfo; /// @notice blacklisted addresses that cannot set claim receiver. mapping(address => bool) public blacklisted; // Data about the future reward rates. emissionSchedule stored in reverse chronological order, // whenever the number of blocks since the start block exceeds the next block offset a new // reward rate is applied. EmissionPoint[] public emissionSchedule; // token => user => Info of each user that stakes LP tokens. mapping(address => mapping(address => UserInfo)) public userInfo; // user => base claimable balance mapping(address => uint) public userBaseClaimable; // Total allocation poitns. Must be the sum of all allocation points in all pools. uint public totalAllocPoint; // The block number when reward mining starts. uint public startTime; // account earning rewards => receiver of rewards for this account // if receiver is set to address(0), rewards are paid to the earner // this is used to aid 3rd party contract integrations mapping(address => address) public claimReceiver; bool private setuped; mapping(address => mapping(address => bool)) private userInfoInitiated; mapping(address => bool) private userBaseClaimableInitiated; /***** EVENTS *****/ event BalanceUpdated(address indexed token, address indexed user, uint balance, uint totalSupply); event PoolAdded(address indexed token, uint allocPoint); event AllocPointUpdated(address indexed token, uint allocPoint); event Blacklisted(address indexed account, bool indexed blacklisted); event OnwardIncentivesSet(address indexed tokeen, address indexed onwardIncentives); event PoolConfiguratorSet(address indexed configurator, bool indexed isConfigurator); event RewardMinterSet(address indexed rewardMinter); event ClaimReceiverSet(address indexed user, address indexed receiver); /***** CONSTRUCTOR *****/ constructor( address _poolConfigurator, IMultiFeeDistribution _rewardMinter, IChefIncentivesController _incentivesController ) { require(_poolConfigurator != address(0), 'pool configurator not set'); require(address(_rewardMinter) != address(0), 'reward minter not set'); require(address(_incentivesController) != address(0), 'incentives controller not set'); rewardMinter = _rewardMinter; incentivesController = _incentivesController; _setPoolConfigurator(_poolConfigurator, true); } /***** RESTRICTED *****/ /** * @notice Add a new lp to the pool. Can only be called by the poolConfigurators. * @param _token Address of the new pool token to add. * @param _allocPoint Initial allocation points for the new pool. */ function addPool(address _token, uint _allocPoint) external { require(_token != address(0), 'token cannot be zero address'); require(isPoolConfigurator[msg.sender], 'only pool configurator can add pools'); require(poolInfo[_token].lastRewardTime == 0, 'pool already registered'); _updateEmissions(); // If already called in `_updateEmissions()` // it won't `_updatePool()` twice as it will return early _massUpdatePools(); totalAllocPoint = totalAllocPoint.add(_allocPoint); registeredTokens.push(_token); poolInfo[_token] = PoolInfo({ totalSupply: 0, allocPoint: _allocPoint, lastRewardTime: block.timestamp, accRewardPerShare: 0, onwardIncentives: IOnwardIncentivesController(address(0)) }); emit PoolAdded(_token, _allocPoint); } /** * @notice Handle an action that has been triggered on a pool. (e.g. deposit/withdraw/borrow/repay) * @dev msg.sender is a token contract. * @param _user address of the user that triggered the action. * @param _balance balance of the user on the token contract. * @param _totalSupply total supply of the token contract. */ function handleAction(address _user, uint _balance, uint _totalSupply) external { _initiateUserInfo(_user, msg.sender); _initiateUserBaseClaimable(_user); PoolInfo storage pool = poolInfo[msg.sender]; require(pool.lastRewardTime != 0, 'pool not registered'); _updateEmissions(); _updatePool(pool, totalAllocPoint); UserInfo storage user = userInfo[msg.sender][_user]; uint256 amount = user.amount; uint256 accRewardPerShare = pool.accRewardPerShare; if (amount != 0) { uint256 pending = amount.mul(accRewardPerShare).div(1e12).sub(user.rewardDebt); if (pending != 0) { userBaseClaimable[_user] = userBaseClaimable[_user].add(pending); } } user.amount = _balance; user.rewardDebt = _balance.mul(accRewardPerShare).div(1e12); pool.totalSupply = _totalSupply; if (pool.onwardIncentives != IOnwardIncentivesController(address(0))) { pool.onwardIncentives.handleAction(msg.sender, _user, _balance, _totalSupply); } emit BalanceUpdated(msg.sender, _user, _balance, _totalSupply); } /***** ONLY OWNER *****/ /** * @notice Set the pool configurator status for an address. * @param _poolConfigurator Address of the pool configurator. * @param _isPoolConfigurator Bool if the address is a pool configurator. */ function setPoolConfigurator( address _poolConfigurator, bool _isPoolConfigurator ) external onlyOwner { _setPoolConfigurator(_poolConfigurator, _isPoolConfigurator); } /** * @notice Set the blacklisted status of an account. * @param _user Address of the user to blacklist from setting claimReceiver. * @param _isBlacklisted Bool if the user is blacklisted. */ function setBlacklist(address _user, bool _isBlacklisted) external onlyOwner { blacklisted[_user] = _isBlacklisted; emit Blacklisted(_user, _isBlacklisted); } /** * @notice Update pools allocation points. * @param _tokens Array of pool tokens to update. * @param _allocPoints Array of new allocation points. */ function batchUpdateAllocPoint( address[] calldata _tokens, uint[] calldata _allocPoints ) external onlyOwner { require(_tokens.length == _allocPoints.length, 'arrays not same length'); _massUpdatePools(); uint _totalAllocPoint = totalAllocPoint; for (uint i = 0; i < _tokens.length; i++) { PoolInfo storage pool = poolInfo[_tokens[i]]; require(pool.lastRewardTime != 0, 'pool not registered'); _totalAllocPoint = _totalAllocPoint.sub(pool.allocPoint).add(_allocPoints[i]); pool.allocPoint = _allocPoints[i]; emit AllocPointUpdated(_tokens[i], _allocPoints[i]); } totalAllocPoint = _totalAllocPoint; // If we ever zeroed all alloc points, it would prevent adding new ones // because of zero division in `_massUpdatePools()`. require(totalAllocPoint != 0, 'total points cannot be zero'); } /** * @notice Set the onward incentives controller for a pool. * @param _token Address of the pool token. * @param _incentives Address of the new onward incentives controller. */ function setOnwardIncentives( address _token, IOnwardIncentivesController _incentives ) external onlyOwner { require(poolInfo[_token].lastRewardTime != 0, 'pool not registered'); poolInfo[_token].onwardIncentives = _incentives; emit OnwardIncentivesSet(_token, address(_incentives)); } /** * @notice Set the reward minter contract. * @param _miner Address of the new reward minter. */ function setRewardMinter(IMultiFeeDistribution _miner) external onlyOwner { rewardMinter = _miner; emit RewardMinterSet(address(_miner)); } /** * @notice Setup the contract with the existing pools and emissions from previous * IncentivesController contract. * @dev Callable only once. */ function setup() external onlyOwner { require(!setuped, 'already setuped'); uint length = incentivesController.poolLength(); for (uint i = 0; i < length; i++) { address token = incentivesController.registeredTokens(i); IChefIncentivesController.PoolInfo memory oldInfo = incentivesController.poolInfo(token); poolInfo[token] = PoolInfo( oldInfo.totalSupply, oldInfo.allocPoint, oldInfo.lastRewardTime, oldInfo.accRewardPerShare, oldInfo.onwardIncentives ); registeredTokens.push(token); totalAllocPoint = totalAllocPoint.add(poolInfo[token].allocPoint); } _copyEmissionSchedule(); startTime = incentivesController.startTime(); rewardsPerSecond = incentivesController.rewardsPerSecond(); mintedTokens = incentivesController.mintedTokens(); maxMintableTokens = incentivesController.maxMintableTokens(); setuped = true; } /***** EXTERNAL *****/ /** * @notice Claim UwU emissions from one or more pools. * UwU tokens are vested in th `rewardMinter` contract. * @param _user Address of the user to claim rewards for. * @param _tokens Array of registered pool addresses to claim from. */ function claim(address _user, address[] calldata _tokens) external { for (uint i = 0; i < _tokens.length; i++) { _initiateUserInfo(_user, _tokens[i]); } _initiateUserBaseClaimable(_user); _updateEmissions(); uint256 pending = userBaseClaimable[_user]; userBaseClaimable[_user] = 0; for (uint i = 0; i < _tokens.length; i++) { PoolInfo storage pool = poolInfo[_tokens[i]]; require(pool.lastRewardTime != 0, 'pool not registered'); _updatePool(pool, totalAllocPoint); UserInfo storage user = userInfo[_tokens[i]][_user]; uint256 rewardDebt = user.amount.mul(pool.accRewardPerShare).div(1e12); pending = pending.add(rewardDebt.sub(user.rewardDebt)); user.rewardDebt = rewardDebt; } _mint(_user, pending); } /** * @notice Set the address that will receive claims for a given user. * If user is blacklisted he cannot set claim receiver. * @param _user Address of the user to set the claim receiver for. * @param _receiver Address of the receiver of the claims. */ function setClaimReceiver(address _user, address _receiver) external { require(!blacklisted[msg.sender], 'Account blacklisted'); require(msg.sender == _user || msg.sender == owner()); claimReceiver[_user] = _receiver; emit ClaimReceiverSet(_user, _receiver); } /***** VIEW *****/ /** * @notice View function to see pending UwU rewards for a user. */ function poolLength() external view returns (uint) { return registeredTokens.length; } /** * @notice View function to see claimable UwU rewards for a user from the pools. * @dev userBaseClaimable is not counted in this function. * @param _user Address of the user to claim rewards for. * @param _tokens Array of registered pool addresses to claim from. */ function claimableReward( address _user, address[] calldata _tokens ) external view returns (uint[] memory) { uint256[] memory claimable = new uint256[](_tokens.length); for (uint256 i = 0; i < _tokens.length; i++) { address token = _tokens[i]; PoolInfo memory pool = poolInfo[token]; UserInfo memory user; if (userInfoInitiated[token][_user]) { user = userInfo[token][_user]; } else { IChefIncentivesController.UserInfo memory userInfoPrev = incentivesController.userInfo( token, _user ); user = UserInfo({amount: userInfoPrev.amount, rewardDebt: userInfoPrev.rewardDebt}); } uint256 accRewardPerShare = pool.accRewardPerShare; uint256 lpSupply = pool.totalSupply; if (block.timestamp > pool.lastRewardTime && lpSupply != 0) { uint256 duration = block.timestamp.sub(pool.lastRewardTime); uint256 reward = duration.mul(rewardsPerSecond).mul(pool.allocPoint).div(totalAllocPoint); accRewardPerShare = accRewardPerShare.add(reward.mul(1e12).div(lpSupply)); } claimable[i] = user.amount.mul(accRewardPerShare).div(1e12).sub(user.rewardDebt); } return claimable; } /***** INTERNAL *****/ /// @dev Copy emissions schedule from previous incentives controller. function _copyEmissionSchedule() internal { uint256 idx; do { try incentivesController.emissionSchedule(idx) returns ( IChefIncentivesController.EmissionPoint memory _point ) { emissionSchedule.push(EmissionPoint(_point.startTimeOffset, _point.rewardsPerSecond)); idx++; } catch { break; } } while (true); } /// @dev Set the pool configurator status for an address. function _setPoolConfigurator(address _poolConfigurator, bool _isPoolConfigurator) internal { require(_poolConfigurator != address(0), 'pool configurator address zero'); isPoolConfigurator[_poolConfigurator] = _isPoolConfigurator; emit PoolConfiguratorSet(_poolConfigurator, _isPoolConfigurator); } /// @dev Update emission schedule and apply new reward rate if necessary. function _updateEmissions() internal { uint length = emissionSchedule.length; if (startTime != 0 && length != 0) { EmissionPoint memory e = emissionSchedule[length - 1]; if (block.timestamp.sub(startTime) > e.startTimeOffset) { _massUpdatePools(); rewardsPerSecond = uint(e.rewardsPerSecond); emissionSchedule.pop(); } } } /// @dev Update reward variables for all pools function _massUpdatePools() internal { uint totalAP = totalAllocPoint; uint length = registeredTokens.length; for (uint i = 0; i < length; ++i) { _updatePool(poolInfo[registeredTokens[i]], totalAP); } } /// @dev Update reward variables of the given pool to be up-to-date. function _updatePool(PoolInfo storage pool, uint _totalAllocPoint) internal { if (block.timestamp <= pool.lastRewardTime) { return; } uint lpSupply = pool.totalSupply; if (lpSupply == 0) { pool.lastRewardTime = block.timestamp; return; } uint duration = block.timestamp.sub(pool.lastRewardTime); uint reward = duration.mul(rewardsPerSecond).mul(pool.allocPoint).div(_totalAllocPoint); pool.accRewardPerShare = pool.accRewardPerShare.add(reward.mul(1e12).div(lpSupply)); pool.lastRewardTime = block.timestamp; } /// @dev Calls `mint()` on `rewardMinter` for sepcified user. function _mint(address _user, uint _amount) internal { uint minted = mintedTokens; if (minted.add(_amount) > maxMintableTokens) { _amount = maxMintableTokens.sub(minted); } if (_amount != 0) { mintedTokens = minted.add(_amount); address receiver = claimReceiver[_user]; if (receiver == address(0)) receiver = _user; rewardMinter.mint(receiver, _amount); } } /// @dev Initiates userBaseClaimable from previous incentives controller. function _initiateUserBaseClaimable(address user) internal { if (!userBaseClaimableInitiated[user]) { userBaseClaimable[user] = incentivesController.userBaseClaimable(user); userBaseClaimableInitiated[user] = true; } } /// @dev Initiates the user info for a given token from previous incentives controller. function _initiateUserInfo(address user, address token) internal { if (!userInfoInitiated[token][user]) { IChefIncentivesController.UserInfo memory userInfoPrev = incentivesController.userInfo( token, user ); userInfo[token][user] = UserInfo({ amount: userInfoPrev.amount, rewardDebt: userInfoPrev.rewardDebt }); userInfoInitiated[token][user] = true; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (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. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ 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]. * * CAUTION: See Security Considerations above. */ 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.3) (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. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ 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 (last updated v4.9.4) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// 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.8.0; import './IOnwardIncentivesController.sol'; interface IChefIncentivesController { struct UserInfo { uint amount; uint rewardDebt; } struct PoolInfo { uint totalSupply; uint allocPoint; // How many allocation points assigned to this pool. uint lastRewardTime; // Last second that reward distribution occurs. uint accRewardPerShare; // Accumulated rewards per share, times 1e12. See below. IOnwardIncentivesController onwardIncentives; } struct EmissionPoint { uint128 startTimeOffset; uint128 rewardsPerSecond; } function mintedTokens() external view returns (uint); function rewardsPerSecond() external view returns (uint); function startTime() external view returns (uint); function poolInfo(address token) external view returns (PoolInfo memory); function registeredTokens(uint idx) external view returns (address); function poolLength() external view returns (uint); function userInfo(address token, address user) external view returns (UserInfo memory); function userBaseClaimable(address user) external view returns (uint); function handleAction(address user, uint256 userBalance, uint256 totalSupply) external; function addPool(address _token, uint256 _allocPoint) external; function claim(address _user, address[] calldata _tokens) external; function setClaimReceiver(address _user, address _receiver) external; function emissionSchedule(uint256 index) external returns (EmissionPoint memory); function maxMintableTokens() external returns (uint); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IMultiFeeDistribution { function mint(address user, uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IOnwardIncentivesController { function handleAction( address _token, address _user, uint256 _balance, uint256 _totalSupply ) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "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":"_poolConfigurator","type":"address"},{"internalType":"contract IMultiFeeDistribution","name":"_rewardMinter","type":"address"},{"internalType":"contract IChefIncentivesController","name":"_incentivesController","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"AllocPointUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"BalanceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"blacklisted","type":"bool"}],"name":"Blacklisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"}],"name":"ClaimReceiverSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokeen","type":"address"},{"indexed":true,"internalType":"address","name":"onwardIncentives","type":"address"}],"name":"OnwardIncentivesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"}],"name":"PoolAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"configurator","type":"address"},{"indexed":true,"internalType":"bool","name":"isConfigurator","type":"bool"}],"name":"PoolConfiguratorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardMinter","type":"address"}],"name":"RewardMinterSet","type":"event"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"addPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"uint256[]","name":"_allocPoints","type":"uint256[]"}],"name":"batchUpdateAllocPoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"address[]","name":"_tokens","type":"address[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"address[]","name":"_tokens","type":"address[]"}],"name":"claimableReward","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"emissionSchedule","outputs":[{"internalType":"uint128","name":"startTimeOffset","type":"uint128"},{"internalType":"uint128","name":"rewardsPerSecond","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_balance","type":"uint256"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"handleAction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"incentivesController","outputs":[{"internalType":"contract IChefIncentivesController","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isPoolConfigurator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintableTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"poolInfo","outputs":[{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accRewardPerShare","type":"uint256"},{"internalType":"contract IOnwardIncentivesController","name":"onwardIncentives","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"registeredTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardMinter","outputs":[{"internalType":"contract IMultiFeeDistribution","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bool","name":"_isBlacklisted","type":"bool"}],"name":"setBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"setClaimReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"contract IOnwardIncentivesController","name":"_incentives","type":"address"}],"name":"setOnwardIncentives","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_poolConfigurator","type":"address"},{"internalType":"bool","name":"_isPoolConfigurator","type":"bool"}],"name":"setPoolConfigurator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMultiFeeDistribution","name":"_miner","type":"address"}],"name":"setRewardMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","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":"userBaseClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80638e2eba0911610104578063baf6e21d116100a2578063e20c5a8a11610071578063e20c5a8a146104b0578063e5b53498146104d9578063eacdaabc146104f9578063f2fde38b1461050257600080fd5b8063baf6e21d14610447578063bfccff451461045a578063cd1a4d861461047a578063dbac26e91461048d57600080fd5b80639b8e5563116100de5780639b8e5563146103f2578063a7a0b84a14610405578063af1df25514610418578063ba0bba401461043f57600080fd5b80638e2eba09146103555780639a0ba2ea146103685780639a7b5f111461037b57600080fd5b8063332875641161017c578063715018a61161014b578063715018a61461031657806378e979251461031e5780638d75fe05146103275780638da5cb5b1461033057600080fd5b8063332875641461028a578063334d0bbd1461029d57806334c54230146102d0578063599d4e67146102e357600080fd5b806317caf6f1116101b857806317caf6f1146102525780631a848e011461025b57806331873e2e1461026457806332a9caba1461027757600080fd5b8063081e3eda146101df5780630f208beb146101f6578063153b0d1e1461023d575b600080fd5b6006545b6040519081526020015b60405180910390f35b610228610204366004611f78565b600a6020908152600092835260408084209091529082529020805460019091015482565b604080519283526020830191909152016101ed565b61025061024b366004611fb1565b610515565b005b6101e3600c5481565b6101e360045481565b610250610272366004611fe4565b610571565b610250610285366004612019565b61076d565b610250610298366004611f78565b61099e565b6102b06102ab366004612045565b610a75565b604080516001600160801b039384168152929091166020830152016101ed565b6102506102de3660046120aa565b610aaa565b6103066102f1366004612116565b60016020526000908152604090205460ff1681565b60405190151581526020016101ed565b610250610cc6565b6101e3600d5481565b6101e360055481565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016101ed565b61025061036336600461213a565b610cda565b61033d610376366004612045565b610e95565b6103c1610389366004612116565b60076020526000908152604090208054600182015460028301546003840154600490940154929391929091906001600160a01b031685565b6040805195865260208601949094529284019190915260608301526001600160a01b0316608082015260a0016101ed565b60025461033d906001600160a01b031681565b610250610413366004612116565b610ebf565b61033d7f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a81565b610250610f11565b610250610455366004611fb1565b611429565b6101e3610468366004612116565b600b6020526000908152604090205481565b610250610488366004611f78565b61143f565b61030661049b366004612116565b60086020526000908152604090205460ff1681565b61033d6104be366004612116565b600e602052600090815260409020546001600160a01b031681565b6104ec6104e736600461213a565b6114db565b6040516101ed919061218f565b6101e360035481565b610250610510366004612116565b6117be565b61051d611837565b6001600160a01b038216600081815260086020526040808220805460ff191685151590811790915590519092917fcf3473b85df1594d47b6958f29a32bea0abff9dd68296f7bf33443646793cfd891a35050565b61057b8333611891565b610584836119bd565b33600090815260076020526040812060028101549091036105c05760405162461bcd60e51b81526004016105b7906121d3565b60405180910390fd5b6105c8611a99565b6105d481600c54611b63565b336000908152600a602090815260408083206001600160a01b0388168452909152902080546003830154811561067657600183015460009061062f9061062964e8d4a510006106238787611bfe565b90611c13565b90611c1f565b90508015610674576001600160a01b0388166000908152600b602052604090205461065a9082611c2b565b6001600160a01b0389166000908152600b60205260409020555b505b85835561068c64e8d4a510006106238884611bfe565b600184015584845560048401546001600160a01b03161561071e5760048481015460405163ae0b537160e01b815233928101929092526001600160a01b0389811660248401526044830189905260648301889052169063ae0b537190608401600060405180830381600087803b15801561070557600080fd5b505af1158015610719573d6000803e3d6000fd5b505050505b60408051878152602081018790526001600160a01b0389169133917f526824944047da5b81071fb6349412005c5da81380b336103fbe5dd34556c776910160405180910390a350505050505050565b6001600160a01b0382166107c35760405162461bcd60e51b815260206004820152601c60248201527f746f6b656e2063616e6e6f74206265207a65726f20616464726573730000000060448201526064016105b7565b3360009081526001602052604090205460ff1661082e5760405162461bcd60e51b8152602060048201526024808201527f6f6e6c7920706f6f6c20636f6e666967757261746f722063616e2061646420706044820152636f6f6c7360e01b60648201526084016105b7565b6001600160a01b038216600090815260076020526040902060020154156108975760405162461bcd60e51b815260206004820152601760248201527f706f6f6c20616c7265616479207265676973746572656400000000000000000060448201526064016105b7565b61089f611a99565b6108a7611c37565b600c546108b49082611c2b565b600c556006805460018082019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b038581166001600160a01b031992831681179093556040805160a081018252600080825260208083018981524284860190815260608501848152608086018581528a8652600785529487902095518655915199850199909955975160028401559651600383015551600490910180549190931693169290921790555183815290917f0c98febfffcec480c66a977e13f14bafdb5199ea9603591a0715b0cabe0c3ae2910160405180910390a25050565b3360009081526008602052604090205460ff16156109f45760405162461bcd60e51b81526020600482015260136024820152721058d8dbdd5b9d08189b1858dadb1a5cdd1959606a1b60448201526064016105b7565b336001600160a01b0383161480610a1557506000546001600160a01b031633145b610a1e57600080fd5b6001600160a01b038281166000818152600e602052604080822080546001600160a01b0319169486169485179055517f35fd02e529fcf3e65df2b09e96147f774685d119a268bc1695b2dbeb71abb2b29190a35050565b60098181548110610a8557600080fd5b6000918252602090912001546001600160801b038082169250600160801b9091041682565b610ab2611837565b828114610afa5760405162461bcd60e51b81526020600482015260166024820152750c2e4e4c2f2e640dcdee840e6c2daca40d8cadccee8d60531b60448201526064016105b7565b610b02611c37565b600c5460005b84811015610c6857600060076000888885818110610b2857610b28612200565b9050602002016020810190610b3d9190612116565b6001600160a01b03166001600160a01b0316815260200190815260200160002090508060020154600003610b835760405162461bcd60e51b81526004016105b7906121d3565b610bbc858584818110610b9857610b98612200565b90506020020135610bb6836001015486611c1f90919063ffffffff16565b90611c2b565b9250848483818110610bd057610bd0612200565b6020029190910135600183015550868683818110610bf057610bf0612200565b9050602002016020810190610c059190612116565b6001600160a01b03167f4309c618d7e82848d29c50ad234354d72c9f7a0d3cf09da1ae208599ae681d93868685818110610c4157610c41612200565b90506020020135604051610c5791815260200190565b60405180910390a250600101610b08565b50600c8190556000819003610cbf5760405162461bcd60e51b815260206004820152601b60248201527f746f74616c20706f696e74732063616e6e6f74206265207a65726f000000000060448201526064016105b7565b5050505050565b610cce611837565b610cd86000611c99565b565b60005b81811015610d1d57610d1584848484818110610cfb57610cfb612200565b9050602002016020810190610d109190612116565b611891565b600101610cdd565b50610d27836119bd565b610d2f611a99565b6001600160a01b0383166000908152600b60205260408120805490829055905b82811015610e8457600060076000868685818110610d6f57610d6f612200565b9050602002016020810190610d849190612116565b6001600160a01b03166001600160a01b0316815260200190815260200160002090508060020154600003610dca5760405162461bcd60e51b81526004016105b7906121d3565b610dd681600c54611b63565b6000600a6000878786818110610dee57610dee612200565b9050602002016020810190610e039190612116565b6001600160a01b03908116825260208083019390935260409182016000908120918b1681529252812060038401548154919350610e4b9164e8d4a51000916106239190611bfe565b9050610e6e610e67836001015483611c1f90919063ffffffff16565b8690611c2b565b6001928301919091559350919091019050610d4f565b50610e8f8482611ce9565b50505050565b60068181548110610ea557600080fd5b6000918252602090912001546001600160a01b0316905081565b610ec7611837565b600280546001600160a01b0319166001600160a01b0383169081179091556040517f2ad2d6dc5545aec43acc94f1b5c82f80a64f6c7ffae5eb863a8b3d02d1bf973e90600090a250565b610f19611837565b600f5460ff1615610f5e5760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e481cd95d1d5c1959608a1b60448201526064016105b7565b60007f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a6001600160a01b031663081e3eda6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe29190612216565b905060005b818110156111f157604051634d05d17560e11b8152600481018290526000907f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a6001600160a01b031690639a0ba2ea90602401602060405180830381865afa158015611057573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107b919061222f565b604051639a7b5f1160e01b81526001600160a01b0380831660048301529192506000917f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a1690639a7b5f119060240160a060405180830381865afa1580156110e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110b9190612299565b6040805160a08101825282518152602080840151818301908152838501518385019081526060808701519085019081526080808801516001600160a01b039081169187019182528a811660008181526007909752978620965187559351600180880191825593516002880155915160038701555160049095018054959093166001600160a01b0319958616179092556006805491820190557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805490931684179092559190915254600c549192506111e49190611c2b565b600c555050600101610fe7565b506111fa611db1565b7f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a6001600160a01b03166378e979256040518163ffffffff1660e01b8152600401602060405180830381865afa158015611258573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127c9190612216565b600d819055507f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a6001600160a01b031663eacdaabc6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113049190612216565b6003819055507f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a6001600160a01b0316638d75fe056040518163ffffffff1660e01b8152600401602060405180830381865afa158015611368573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138c9190612216565b6005819055507f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a6001600160a01b0316631a848e016040518163ffffffff1660e01b81526004016020604051808303816000875af11580156113f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114169190612216565b60045550600f805460ff19166001179055565b611431611837565b61143b8282611eb9565b5050565b611447611837565b6001600160a01b03821660009081526007602052604081206002015490036114815760405162461bcd60e51b81526004016105b7906121d3565b6001600160a01b0382811660008181526007602052604080822060040180546001600160a01b0319169486169485179055517f8e306be18d9077d2a268fe674df5798ae151e44dee80442b1f89be2987b3a1919190a35050565b606060008267ffffffffffffffff8111156114f8576114f861224c565b604051908082528060200260200182016040528015611521578160200160208202803683370190505b50905060005b838110156117b557600085858381811061154357611543612200565b90506020020160208101906115589190612116565b6001600160a01b038181166000818152600760209081526040808320815160a0810183528154815260018201548185015260028201548184015260038201546060820152600490910154861660808201528151808301835284815280840185905294845260108352818420958e16845294909152902054929350909160ff161561161e57506001600160a01b038083166000908152600a60209081526040808320938c1683529281529082902082518084019093528054835260010154908201526116d7565b604051630f208beb60e01b81526001600160a01b0384811660048301528a811660248301526000917f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a90911690630f208beb906044016040805180830381865afa158015611690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b4919061231d565b905060405180604001604052808260000151815260200182602001518152509150505b606082015182516040840151421180156116f057508015155b1561175f57600061170e856040015142611c1f90919063ffffffff16565b9050600061173b600c54610623886020015161173560035487611bfe90919063ffffffff16565b90611bfe565b905061175a611753846106238464e8d4a51000611bfe565b8590611c2b565b935050505b611787836020015161062964e8d4a51000610623868860000151611bfe90919063ffffffff16565b87878151811061179957611799612200565b6020908102919091010152505060019093019250611527915050565b50949350505050565b6117c6611837565b6001600160a01b03811661182b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105b7565b61183481611c99565b50565b6000546001600160a01b03163314610cd85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105b7565b6001600160a01b0380821660009081526010602090815260408083209386168352929052205460ff1661143b57604051630f208beb60e01b81526001600160a01b03828116600483015283811660248301526000917f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a90911690630f208beb906044016040805180830381865afa158015611930573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611954919061231d565b604080518082018252825181526020928301518382019081526001600160a01b038087166000818152600a8752858120928a168082529287528581209451855592516001948501558252601085528382209082529093529120805460ff19169091179055505050565b6001600160a01b03811660009081526011602052604090205460ff166118345760405163bfccff4560e01b81526001600160a01b0382811660048301527f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a169063bfccff4590602401602060405180830381865afa158015611a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a679190612216565b6001600160a01b0382166000908152600b60209081526040808320939093556011905220805460ff1916600117905550565b600954600d5415801590611aac57508015155b156118345760006009611ac0600184612365565b81548110611ad057611ad0612200565b6000918252602091829020604080518082019091529101546001600160801b03808216808452600160801b9092041692820192909252600d54909250611b17904290611c1f565b111561143b57611b25611c37565b60208101516001600160801b03166003556009805480611b4757611b47612378565b6000828152602081208201600019908101919091550190555050565b81600201544211611b72575050565b81546000819003611b8857505042600290910155565b6000611ba1846002015442611c1f90919063ffffffff16565b90506000611bc684610623876001015461173560035487611bfe90919063ffffffff16565b9050611be9611bde846106238464e8d4a51000611bfe565b600387015490611c2b565b60038601555050426002909301929092555050565b6000611c0a828461238e565b90505b92915050565b6000611c0a82846123a5565b6000611c0a8284612365565b6000611c0a82846123c7565b600c5460065460005b81811015611c9457611c8c6007600060068481548110611c6257611c62612200565b60009182526020808320909101546001600160a01b03168352820192909252604001902084611b63565b600101611c40565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600554600454611cf98284611c2b565b1115611d0f57600454611d0c9082611c1f565b91505b8115611c9457611d1f8183611c2b565b6005556001600160a01b038084166000908152600e60205260409020541680611d455750825b6002546040516340c10f1960e01b81526001600160a01b03838116600483015260248201869052909116906340c10f1990604401600060405180830381600087803b158015611d9357600080fd5b505af1158015611da7573d6000803e3d6000fd5b5050505050505050565b60005b60405163334d0bbd60e01b8152600481018290527f000000000000000000000000db5c23ae97f76dacc907f5f13bda54131c8e9e5a6001600160a01b03169063334d0bbd9060240160408051808303816000875af1925050508015611e36575060408051601f3d908101601f19168201909252611e33918101906123f6565b60015b15611834576040805180820190915281516001600160801b039081168252602080840151821690830190815260098054600181018255600091909152925190518216600160801b029116177f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af9091015581611eb081612433565b92505050611db4565b6001600160a01b038216611f0f5760405162461bcd60e51b815260206004820152601e60248201527f706f6f6c20636f6e666967757261746f722061646472657373207a65726f000060448201526064016105b7565b6001600160a01b038216600081815260016020526040808220805460ff191685151590811790915590519092917f231cb3fc7f6a4efcf08b312e787f431051ddc7572d47988a67e89fdf73d6db2d91a35050565b6001600160a01b038116811461183457600080fd5b60008060408385031215611f8b57600080fd5b8235611f9681611f63565b91506020830135611fa681611f63565b809150509250929050565b60008060408385031215611fc457600080fd5b8235611fcf81611f63565b915060208301358015158114611fa657600080fd5b600080600060608486031215611ff957600080fd5b833561200481611f63565b95602085013595506040909401359392505050565b6000806040838503121561202c57600080fd5b823561203781611f63565b946020939093013593505050565b60006020828403121561205757600080fd5b5035919050565b60008083601f84011261207057600080fd5b50813567ffffffffffffffff81111561208857600080fd5b6020830191508360208260051b85010111156120a357600080fd5b9250929050565b600080600080604085870312156120c057600080fd5b843567ffffffffffffffff808211156120d857600080fd5b6120e48883890161205e565b909650945060208701359150808211156120fd57600080fd5b5061210a8782880161205e565b95989497509550505050565b60006020828403121561212857600080fd5b813561213381611f63565b9392505050565b60008060006040848603121561214f57600080fd5b833561215a81611f63565b9250602084013567ffffffffffffffff81111561217657600080fd5b6121828682870161205e565b9497909650939450505050565b6020808252825182820181905260009190848201906040850190845b818110156121c7578351835292840192918401916001016121ab565b50909695505050505050565b6020808252601390820152721c1bdbdb081b9bdd081c9959da5cdd195c9959606a1b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561222857600080fd5b5051919050565b60006020828403121561224157600080fd5b815161213381611f63565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561229357634e487b7160e01b600052604160045260246000fd5b60405290565b600060a082840312156122ab57600080fd5b60405160a0810181811067ffffffffffffffff821117156122dc57634e487b7160e01b600052604160045260246000fd5b806040525082518152602083015160208201526040830151604082015260608301516060820152608083015161231181611f63565b60808201529392505050565b60006040828403121561232f57600080fd5b612337612262565b82518152602083015160208201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b81810381811115611c0d57611c0d61234f565b634e487b7160e01b600052603160045260246000fd5b8082028115828204841417611c0d57611c0d61234f565b6000826123c257634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115611c0d57611c0d61234f565b80516001600160801b03811681146123f157600080fd5b919050565b60006040828403121561240857600080fd5b612410612262565b612419836123da565b8152612427602084016123da565b60208201529392505050565b6000600182016124455761244561234f565b506001019056fea26469706673582212204cbe41f07c90afe31e391c34fc3831a7d6f2bb8235329e319c253ce0adfb6c5364736f6c63430008170033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.