More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 13,173 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Refresh Reward | 20545302 | 123 days ago | IN | 0 ETH | 0.00011126 | ||||
Get Reward | 20545235 | 123 days ago | IN | 0 ETH | 0.00009797 | ||||
Get Reward | 20412674 | 141 days ago | IN | 0 ETH | 0.00046842 | ||||
Refresh Reward | 20406238 | 142 days ago | IN | 0 ETH | 0.0002226 | ||||
Get Reward | 19971679 | 203 days ago | IN | 0 ETH | 0.00086768 | ||||
Get Reward | 19971640 | 203 days ago | IN | 0 ETH | 0.00162421 | ||||
Withdraw | 19971631 | 203 days ago | IN | 0 ETH | 0.00094626 | ||||
Withdraw | 19971624 | 203 days ago | IN | 0 ETH | 0.001027 | ||||
Get Reward | 19855352 | 219 days ago | IN | 0 ETH | 0.0003871 | ||||
Get Reward | 19855326 | 219 days ago | IN | 0 ETH | 0.00025979 | ||||
Get Reward | 18631306 | 391 days ago | IN | 0 ETH | 0.00260096 | ||||
Get Reward | 18516577 | 407 days ago | IN | 0 ETH | 0.00271788 | ||||
Get Reward | 18440023 | 417 days ago | IN | 0 ETH | 0.0015388 | ||||
Get Reward | 18439969 | 417 days ago | IN | 0 ETH | 0.00100472 | ||||
Get Reward | 18378092 | 426 days ago | IN | 0 ETH | 0.00133594 | ||||
Get Reward | 18378074 | 426 days ago | IN | 0 ETH | 0.00069051 | ||||
Get Reward | 18372190 | 427 days ago | IN | 0 ETH | 0.00103271 | ||||
Get Reward | 18360972 | 428 days ago | IN | 0 ETH | 0.00042055 | ||||
Get Reward | 18287335 | 439 days ago | IN | 0 ETH | 0.00050226 | ||||
Get Reward | 18250895 | 444 days ago | IN | 0 ETH | 0.00028938 | ||||
Get Reward | 18250894 | 444 days ago | IN | 0 ETH | 0.00057646 | ||||
Get Reward | 18244103 | 445 days ago | IN | 0 ETH | 0.00047444 | ||||
Get Reward | 18242506 | 445 days ago | IN | 0 ETH | 0.00045641 | ||||
Get Reward | 18240987 | 445 days ago | IN | 0 ETH | 0.0005086 | ||||
Get Reward | 18240477 | 445 days ago | IN | 0 ETH | 0.00055692 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
LybraFund
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.17; /** * @title LybraFund is a derivative version of Synthetix StakingRewards.sol, distributing Protocol revenue to esLBR stakers. * Converting esLBR to LBR. * Differences from the original contract, * - Get `totalStaked` from totalSupply() in contract esLBR. * - Get `stakedOf(user)` from balanceOf(user) in contract esLBR. * - When an address esLBR balance changes, call the refreshReward method to update rewards to be claimed. */ import "./Ownable.sol"; import "./ERC20.sol"; import "./ILybra.sol"; import "./IesLBR.sol"; contract LybraFund is Ownable { ILybra public lybra; IesLBR public esLBR; IesLBR public LBR; // Sum of (reward rate * dt * 1e18 / total supply) uint public rewardPerTokenStored; // User address => rewardPerTokenStored mapping(address => uint) public userRewardPerTokenPaid; // User address => rewards to be claimed mapping(address => uint) public rewards; mapping(address => uint) public time2fullRedemption; mapping(address => uint) public unstakeRate; mapping(address => uint) public lastWithdrawTime; uint256 immutable exitCycle = 30 days; uint256 public claimAbleTime; constructor(address _lybra) { lybra = ILybra(_lybra); } function setLybra(address _lybra) external onlyOwner { lybra = ILybra(_lybra); } function setTokenAddress(address _eslbr, address _lbr) external onlyOwner { esLBR = IesLBR(_eslbr); LBR = IesLBR(_lbr); } function setClaimAbleTime(uint256 _time) external onlyOwner { claimAbleTime = _time; } // Total staked function totalStaked() internal view returns (uint256) { return esLBR.totalSupply(); } // User address => esLBR balance function stakedOf(address staker) internal view returns (uint256) { return esLBR.balanceOf(staker); } function stake(uint256 amount) external updateReward(msg.sender) { LBR.burn(msg.sender, amount); esLBR.mint(msg.sender, amount); } function unstake(uint256 amount) external updateReward(msg.sender) { require(block.timestamp >= claimAbleTime, "It is not yet time to claim."); esLBR.burn(msg.sender, amount); withdraw(msg.sender); uint256 total = amount; if(time2fullRedemption[msg.sender] > block.timestamp) { total += unstakeRate[msg.sender] * (time2fullRedemption[msg.sender] - block.timestamp); } unstakeRate[msg.sender] = total / exitCycle; time2fullRedemption[msg.sender] = block.timestamp + exitCycle; } function withdraw(address user) public { uint256 amount = getClaimAbleLBR(user); if(amount > 0) { LBR.mint(user, amount); } lastWithdrawTime[user] = block.timestamp; } function reStake() external updateReward(msg.sender) { esLBR.mint(msg.sender, getReservedLBRForVesting(msg.sender) + getClaimAbleLBR(msg.sender)); unstakeRate[msg.sender] = 0; time2fullRedemption[msg.sender] = 0; } function getClaimAbleLBR(address user) public view returns (uint256 amount) { if(time2fullRedemption[user] > lastWithdrawTime[user]) { amount = block.timestamp > time2fullRedemption[user] ? unstakeRate[user] * (time2fullRedemption[user] - lastWithdrawTime[user]) : unstakeRate[user] * (block.timestamp - lastWithdrawTime[user]); } } function getReservedLBRForVesting(address user) public view returns (uint256 amount) { if(time2fullRedemption[user] > block.timestamp) { amount = unstakeRate[user] * (time2fullRedemption[user] - block.timestamp); } } function earned(address _account) public view returns (uint) { return ((stakedOf(_account) * (rewardPerTokenStored - userRewardPerTokenPaid[_account])) / 1e18) + rewards[_account]; } function getClaimAbleUSD(address user) external view returns (uint256 amount) { amount = lybra.getMintedEUSDByShares(earned(user)); } /** * @dev Call this function when deposit or withdraw ETH on Lybra and update the status of corresponding user. */ modifier updateReward(address account) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; _; } function refreshReward(address _account) external updateReward(_account) {} function getReward() external updateReward(msg.sender) { uint reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; lybra.transferShares(msg.sender, reward); } } /** * @dev The amount of EUSD acquiered from the sender is euitably distributed to LBR stakers. * Calculate share by amount, and calculate the shares could claim by per unit of staked ETH. * Add into rewardPerTokenStored. */ function notifyRewardAmount(uint amount) external { require(msg.sender == address(lybra)); if (totalStaked() == 0) return; require(amount > 0, "amount = 0"); uint256 share = lybra.getSharesByMintedEUSD(amount); rewardPerTokenStored = rewardPerTokenStored + (share * 1e18) / totalStaked(); } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.17; interface IesLBR { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function mint(address user, uint256 amount) external returns(bool); function burn(address user, uint256 amount) external returns(bool); }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.17; interface ILybra { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function totalDepositedEther() external view returns (uint256); function safeCollateralRate() external view returns (uint256); function redemptionFee() external view returns (uint256); function keeperRate() external view returns (uint256); function depositedEther(address user) external view returns (uint256); function getBorrowedOf(address user) external view returns (uint256); function isRedemptionProvider(address user) external view returns (bool); function allowance(address owner, address spender) external view returns (uint256); function transferFrom( address from, address to, uint256 amount ) external returns (bool); function transferShares( address _recipient, uint256 _sharesAmount ) external returns (uint256); function getSharesByMintedEUSD( uint256 _EUSDAmount ) external view returns (uint256); function getMintedEUSDByShares( uint256 _sharesAmount ) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Context.sol"; contract ERC20 is Context, IERC20 { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "./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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_lybra","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"LBR","outputs":[{"internalType":"contract IesLBR","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimAbleTime","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":"esLBR","outputs":[{"internalType":"contract IesLBR","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getClaimAbleLBR","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getClaimAbleUSD","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getReservedLBRForVesting","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastWithdrawTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lybra","outputs":[{"internalType":"contract ILybra","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"refreshReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setClaimAbleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lybra","type":"address"}],"name":"setLybra","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_eslbr","type":"address"},{"internalType":"address","name":"_lbr","type":"address"}],"name":"setTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"time2fullRedemption","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"unstakeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405262278d006080908152503480156200001b57600080fd5b506040516200237f3803806200237f8339818101604052810190620000419190620001df565b6200006162000055620000a960201b60201c565b620000b160201b60201c565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000211565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001a7826200017a565b9050919050565b620001b9816200019a565b8114620001c557600080fd5b50565b600081519050620001d981620001ae565b92915050565b600060208284031215620001f857620001f762000175565b5b60006200020884828501620001c8565b91505092915050565b60805161214b62000234600039600081816108c40152610933015261214b6000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c8063715018a6116100f9578063a694fc3a11610097578063eba8a26611610071578063eba8a266146104cb578063f2fde38b146104d5578063fccabef3146104f1578063fce67e0d1461050f576101a8565b8063a694fc3a14610475578063c7afe9f214610491578063df136d65146104ad576101a8565b80638afe540c116100d35780638afe540c146103eb5780638b876347146104095780638da5cb5b146104395780639730875314610457576101a8565b8063715018a61461039557806373a2f2141461039f57806378a2ef6c146103cf576101a8565b806336a92453116101665780633d18b912116101405780633d18b91214610321578063402c10881461032b5780634e73294b1461034957806351cff8d914610379576101a8565b806336a92453146102b9578063387ad736146102d55780633c6b16ab14610305576101a8565b80628cc262146101ad5780630700037d146101dd5780631031ec311461020d578063189cffa61461023d5780632c365c5d1461026d5780632e17de781461029d575b600080fd5b6101c760048036038101906101c29190611b4b565b61052b565b6040516101d49190611b91565b60405180910390f35b6101f760048036038101906101f29190611b4b565b6105f1565b6040516102049190611b91565b60405180910390f35b61022760048036038101906102229190611b4b565b610609565b6040516102349190611b91565b60405180910390f35b61025760048036038101906102529190611b4b565b610621565b6040516102649190611b91565b60405180910390f35b61028760048036038101906102829190611b4b565b610639565b6040516102949190611b91565b60405180910390f35b6102b760048036038101906102b29190611bd8565b610651565b005b6102d360048036038101906102ce9190611b4b565b6109a5565b005b6102ef60048036038101906102ea9190611b4b565b6109f1565b6040516102fc9190611b91565b60405180910390f35b61031f600480360381019061031a9190611bd8565b610a9e565b005b610329610c29565b005b610333610df4565b6040516103409190611b91565b60405180910390f35b610363600480360381019061035e9190611b4b565b610dfa565b6040516103709190611b91565b60405180910390f35b610393600480360381019061038e9190611b4b565b610ee0565b005b61039d610fe0565b005b6103b960048036038101906103b49190611b4b565b610ff4565b6040516103c69190611b91565b60405180910390f35b6103e960048036038101906103e49190611bd8565b611239565b005b6103f361124b565b6040516104009190611c64565b60405180910390f35b610423600480360381019061041e9190611b4b565b611271565b6040516104309190611b91565b60405180910390f35b610441611289565b60405161044e9190611c8e565b60405180910390f35b61045f6112b2565b60405161046c9190611c64565b60405180910390f35b61048f600480360381019061048a9190611bd8565b6112d8565b005b6104ab60048036038101906104a69190611ca9565b6114b1565b005b6104b561153f565b6040516104c29190611b91565b60405180910390f35b6104d3611545565b005b6104ef60048036038101906104ea9190611b4b565b611721565b005b6104f96117a4565b6040516105069190611d0a565b60405180910390f35b61052960048036038101906105249190611b4b565b6117ca565b005b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054670de0b6b3a7640000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546004546105c39190611d54565b6105cc85611861565b6105d69190611d88565b6105e09190611df9565b6105ea9190611e2a565b9050919050565b60066020528060005260406000206000915090505481565b60096020528060005260406000206000915090505481565b60076020528060005260406000206000915090505481565b60086020528060005260406000206000915090505481565b3361065b8161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54421015610729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072090611ebb565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33846040518363ffffffff1660e01b8152600401610786929190611edb565b6020604051808303816000875af11580156107a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c99190611f3c565b506107d333610ee0565b600082905042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156108c25742600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461086a9190611d54565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108b49190611d88565b816108bf9190611e2a565b90505b7f0000000000000000000000000000000000000000000000000000000000000000816108ee9190611df9565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f00000000000000000000000000000000000000000000000000000000000000004261095d9190611e2a565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6109ad611906565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663baab9dab610a3a8461052b565b6040518263ffffffff1660e01b8152600401610a569190611b91565b602060405180830381865afa158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a979190611f7e565b9050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610af857600080fd5b6000610b02611984565b0315610c265760008111610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290611ff7565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b85364e5836040518263ffffffff1660e01b8152600401610ba89190611b91565b602060405180830381865afa158015610bc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be99190611f7e565b9050610bf3611984565b670de0b6b3a764000082610c079190611d88565b610c119190611df9565b600454610c1e9190611e2a565b600481905550505b50565b33610c338161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610df0576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638fcb4e5b33836040518363ffffffff1660e01b8152600401610dab929190611edb565b6020604051808303816000875af1158015610dca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dee9190611f7e565b505b5050565b600a5481565b600042600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610edb5742600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e8e9190611d54565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ed89190611d88565b90505b919050565b6000610eeb82610ff4565b90506000811115610f9857600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b8152600401610f53929190611edb565b6020604051808303816000875af1158015610f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f969190611f3c565b505b42600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b610fe8611906565b610ff26000611a1c565b565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561123457600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054421161115c57600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544261110d9190611d54565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111579190611d88565b611231565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111e69190611d54565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112309190611d88565b5b90505b919050565b611241611906565b80600a8190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b336112e28161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33846040518363ffffffff1660e01b81526004016113c8929190611edb565b6020604051808303816000875af11580156113e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140b9190611f3c565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933846040518363ffffffff1660e01b8152600401611469929190611edb565b6020604051808303816000875af1158015611488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ac9190611f3c565b505050565b6114b9611906565b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60045481565b3361154f8161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f193361162033610ff4565b61162933610dfa565b6116339190611e2a565b6040518363ffffffff1660e01b8152600401611650929190611edb565b6020604051808303816000875af115801561166f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116939190611f3c565b506000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611729611906565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f90612089565b60405180910390fd5b6117a181611a1c565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b806117d48161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016118be9190611c8e565b602060405180830381865afa1580156118db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ff9190611f7e565b9050919050565b61190e611ae0565b73ffffffffffffffffffffffffffffffffffffffff1661192c611289565b73ffffffffffffffffffffffffffffffffffffffff1614611982576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611979906120f5565b60405180910390fd5b565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a179190611f7e565b905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611b1882611aed565b9050919050565b611b2881611b0d565b8114611b3357600080fd5b50565b600081359050611b4581611b1f565b92915050565b600060208284031215611b6157611b60611ae8565b5b6000611b6f84828501611b36565b91505092915050565b6000819050919050565b611b8b81611b78565b82525050565b6000602082019050611ba66000830184611b82565b92915050565b611bb581611b78565b8114611bc057600080fd5b50565b600081359050611bd281611bac565b92915050565b600060208284031215611bee57611bed611ae8565b5b6000611bfc84828501611bc3565b91505092915050565b6000819050919050565b6000611c2a611c25611c2084611aed565b611c05565b611aed565b9050919050565b6000611c3c82611c0f565b9050919050565b6000611c4e82611c31565b9050919050565b611c5e81611c43565b82525050565b6000602082019050611c796000830184611c55565b92915050565b611c8881611b0d565b82525050565b6000602082019050611ca36000830184611c7f565b92915050565b60008060408385031215611cc057611cbf611ae8565b5b6000611cce85828601611b36565b9250506020611cdf85828601611b36565b9150509250929050565b6000611cf482611c31565b9050919050565b611d0481611ce9565b82525050565b6000602082019050611d1f6000830184611cfb565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611d5f82611b78565b9150611d6a83611b78565b9250828203905081811115611d8257611d81611d25565b5b92915050565b6000611d9382611b78565b9150611d9e83611b78565b9250828202611dac81611b78565b91508282048414831517611dc357611dc2611d25565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611e0482611b78565b9150611e0f83611b78565b925082611e1f57611e1e611dca565b5b828204905092915050565b6000611e3582611b78565b9150611e4083611b78565b9250828201905080821115611e5857611e57611d25565b5b92915050565b600082825260208201905092915050565b7f4974206973206e6f74207965742074696d6520746f20636c61696d2e00000000600082015250565b6000611ea5601c83611e5e565b9150611eb082611e6f565b602082019050919050565b60006020820190508181036000830152611ed481611e98565b9050919050565b6000604082019050611ef06000830185611c7f565b611efd6020830184611b82565b9392505050565b60008115159050919050565b611f1981611f04565b8114611f2457600080fd5b50565b600081519050611f3681611f10565b92915050565b600060208284031215611f5257611f51611ae8565b5b6000611f6084828501611f27565b91505092915050565b600081519050611f7881611bac565b92915050565b600060208284031215611f9457611f93611ae8565b5b6000611fa284828501611f69565b91505092915050565b7f616d6f756e74203d203000000000000000000000000000000000000000000000600082015250565b6000611fe1600a83611e5e565b9150611fec82611fab565b602082019050919050565b6000602082019050818103600083015261201081611fd4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612073602683611e5e565b915061207e82612017565b604082019050919050565b600060208201905081810360008301526120a281612066565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006120df602083611e5e565b91506120ea826120a9565b602082019050919050565b6000602082019050818103600083015261210e816120d2565b905091905056fea26469706673582212208d55d946a1c5e7079b015333e8b8b9f654b5b8cfecb7d5812dc22107d2fa092764736f6c6343000811003300000000000000000000000097de57ec338ab5d51557da3434828c5dbfada371
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a85760003560e01c8063715018a6116100f9578063a694fc3a11610097578063eba8a26611610071578063eba8a266146104cb578063f2fde38b146104d5578063fccabef3146104f1578063fce67e0d1461050f576101a8565b8063a694fc3a14610475578063c7afe9f214610491578063df136d65146104ad576101a8565b80638afe540c116100d35780638afe540c146103eb5780638b876347146104095780638da5cb5b146104395780639730875314610457576101a8565b8063715018a61461039557806373a2f2141461039f57806378a2ef6c146103cf576101a8565b806336a92453116101665780633d18b912116101405780633d18b91214610321578063402c10881461032b5780634e73294b1461034957806351cff8d914610379576101a8565b806336a92453146102b9578063387ad736146102d55780633c6b16ab14610305576101a8565b80628cc262146101ad5780630700037d146101dd5780631031ec311461020d578063189cffa61461023d5780632c365c5d1461026d5780632e17de781461029d575b600080fd5b6101c760048036038101906101c29190611b4b565b61052b565b6040516101d49190611b91565b60405180910390f35b6101f760048036038101906101f29190611b4b565b6105f1565b6040516102049190611b91565b60405180910390f35b61022760048036038101906102229190611b4b565b610609565b6040516102349190611b91565b60405180910390f35b61025760048036038101906102529190611b4b565b610621565b6040516102649190611b91565b60405180910390f35b61028760048036038101906102829190611b4b565b610639565b6040516102949190611b91565b60405180910390f35b6102b760048036038101906102b29190611bd8565b610651565b005b6102d360048036038101906102ce9190611b4b565b6109a5565b005b6102ef60048036038101906102ea9190611b4b565b6109f1565b6040516102fc9190611b91565b60405180910390f35b61031f600480360381019061031a9190611bd8565b610a9e565b005b610329610c29565b005b610333610df4565b6040516103409190611b91565b60405180910390f35b610363600480360381019061035e9190611b4b565b610dfa565b6040516103709190611b91565b60405180910390f35b610393600480360381019061038e9190611b4b565b610ee0565b005b61039d610fe0565b005b6103b960048036038101906103b49190611b4b565b610ff4565b6040516103c69190611b91565b60405180910390f35b6103e960048036038101906103e49190611bd8565b611239565b005b6103f361124b565b6040516104009190611c64565b60405180910390f35b610423600480360381019061041e9190611b4b565b611271565b6040516104309190611b91565b60405180910390f35b610441611289565b60405161044e9190611c8e565b60405180910390f35b61045f6112b2565b60405161046c9190611c64565b60405180910390f35b61048f600480360381019061048a9190611bd8565b6112d8565b005b6104ab60048036038101906104a69190611ca9565b6114b1565b005b6104b561153f565b6040516104c29190611b91565b60405180910390f35b6104d3611545565b005b6104ef60048036038101906104ea9190611b4b565b611721565b005b6104f96117a4565b6040516105069190611d0a565b60405180910390f35b61052960048036038101906105249190611b4b565b6117ca565b005b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054670de0b6b3a7640000600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546004546105c39190611d54565b6105cc85611861565b6105d69190611d88565b6105e09190611df9565b6105ea9190611e2a565b9050919050565b60066020528060005260406000206000915090505481565b60096020528060005260406000206000915090505481565b60076020528060005260406000206000915090505481565b60086020528060005260406000206000915090505481565b3361065b8161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54421015610729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072090611ebb565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33846040518363ffffffff1660e01b8152600401610786929190611edb565b6020604051808303816000875af11580156107a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c99190611f3c565b506107d333610ee0565b600082905042600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156108c25742600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461086a9190611d54565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108b49190611d88565b816108bf9190611e2a565b90505b7f0000000000000000000000000000000000000000000000000000000000278d00816108ee9190611df9565b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f0000000000000000000000000000000000000000000000000000000000278d004261095d9190611e2a565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050565b6109ad611906565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663baab9dab610a3a8461052b565b6040518263ffffffff1660e01b8152600401610a569190611b91565b602060405180830381865afa158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a979190611f7e565b9050919050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610af857600080fd5b6000610b02611984565b0315610c265760008111610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290611ff7565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b85364e5836040518263ffffffff1660e01b8152600401610ba89190611b91565b602060405180830381865afa158015610bc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be99190611f7e565b9050610bf3611984565b670de0b6b3a764000082610c079190611d88565b610c119190611df9565b600454610c1e9190611e2a565b600481905550505b50565b33610c338161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610df0576000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638fcb4e5b33836040518363ffffffff1660e01b8152600401610dab929190611edb565b6020604051808303816000875af1158015610dca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dee9190611f7e565b505b5050565b600a5481565b600042600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610edb5742600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e8e9190611d54565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ed89190611d88565b90505b919050565b6000610eeb82610ff4565b90506000811115610f9857600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b8152600401610f53929190611edb565b6020604051808303816000875af1158015610f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f969190611f3c565b505b42600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b610fe8611906565b610ff26000611a1c565b565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054111561123457600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054421161115c57600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544261110d9190611d54565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111579190611d88565b611231565b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111e69190611d54565b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112309190611d88565b5b90505b919050565b611241611906565b80600a8190555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60056020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b336112e28161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33846040518363ffffffff1660e01b81526004016113c8929190611edb565b6020604051808303816000875af11580156113e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140b9190611f3c565b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933846040518363ffffffff1660e01b8152600401611469929190611edb565b6020604051808303816000875af1158015611488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ac9190611f3c565b505050565b6114b9611906565b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60045481565b3361154f8161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f193361162033610ff4565b61162933610dfa565b6116339190611e2a565b6040518363ffffffff1660e01b8152600401611650929190611edb565b6020604051808303816000875af115801561166f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116939190611f3c565b506000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611729611906565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f90612089565b60405180910390fd5b6117a181611a1c565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b806117d48161052b565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600454600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016118be9190611c8e565b602060405180830381865afa1580156118db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ff9190611f7e565b9050919050565b61190e611ae0565b73ffffffffffffffffffffffffffffffffffffffff1661192c611289565b73ffffffffffffffffffffffffffffffffffffffff1614611982576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611979906120f5565b60405180910390fd5b565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a179190611f7e565b905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611b1882611aed565b9050919050565b611b2881611b0d565b8114611b3357600080fd5b50565b600081359050611b4581611b1f565b92915050565b600060208284031215611b6157611b60611ae8565b5b6000611b6f84828501611b36565b91505092915050565b6000819050919050565b611b8b81611b78565b82525050565b6000602082019050611ba66000830184611b82565b92915050565b611bb581611b78565b8114611bc057600080fd5b50565b600081359050611bd281611bac565b92915050565b600060208284031215611bee57611bed611ae8565b5b6000611bfc84828501611bc3565b91505092915050565b6000819050919050565b6000611c2a611c25611c2084611aed565b611c05565b611aed565b9050919050565b6000611c3c82611c0f565b9050919050565b6000611c4e82611c31565b9050919050565b611c5e81611c43565b82525050565b6000602082019050611c796000830184611c55565b92915050565b611c8881611b0d565b82525050565b6000602082019050611ca36000830184611c7f565b92915050565b60008060408385031215611cc057611cbf611ae8565b5b6000611cce85828601611b36565b9250506020611cdf85828601611b36565b9150509250929050565b6000611cf482611c31565b9050919050565b611d0481611ce9565b82525050565b6000602082019050611d1f6000830184611cfb565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611d5f82611b78565b9150611d6a83611b78565b9250828203905081811115611d8257611d81611d25565b5b92915050565b6000611d9382611b78565b9150611d9e83611b78565b9250828202611dac81611b78565b91508282048414831517611dc357611dc2611d25565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611e0482611b78565b9150611e0f83611b78565b925082611e1f57611e1e611dca565b5b828204905092915050565b6000611e3582611b78565b9150611e4083611b78565b9250828201905080821115611e5857611e57611d25565b5b92915050565b600082825260208201905092915050565b7f4974206973206e6f74207965742074696d6520746f20636c61696d2e00000000600082015250565b6000611ea5601c83611e5e565b9150611eb082611e6f565b602082019050919050565b60006020820190508181036000830152611ed481611e98565b9050919050565b6000604082019050611ef06000830185611c7f565b611efd6020830184611b82565b9392505050565b60008115159050919050565b611f1981611f04565b8114611f2457600080fd5b50565b600081519050611f3681611f10565b92915050565b600060208284031215611f5257611f51611ae8565b5b6000611f6084828501611f27565b91505092915050565b600081519050611f7881611bac565b92915050565b600060208284031215611f9457611f93611ae8565b5b6000611fa284828501611f69565b91505092915050565b7f616d6f756e74203d203000000000000000000000000000000000000000000000600082015250565b6000611fe1600a83611e5e565b9150611fec82611fab565b602082019050919050565b6000602082019050818103600083015261201081611fd4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612073602683611e5e565b915061207e82612017565b604082019050919050565b600060208201905081810360008301526120a281612066565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006120df602083611e5e565b91506120ea826120a9565b602082019050919050565b6000602082019050818103600083015261210e816120d2565b905091905056fea26469706673582212208d55d946a1c5e7079b015333e8b8b9f654b5b8cfecb7d5812dc22107d2fa092764736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000097de57ec338ab5d51557da3434828c5dbfada371
-----Decoded View---------------
Arg [0] : _lybra (address): 0x97de57eC338AB5d51557DA3434828C5DbFaDA371
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000097de57ec338ab5d51557da3434828c5dbfada371
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.939335 | 51,165.9026 | $48,061.92 |
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.