Source Code
Overview
S Balance
Token Holdings
More Info
ContractCreator
Latest 8 from a total of 8 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deposit | 22031532 | 26 hrs ago | IN | 0 S | 0.00014083 | ||||
Deposit | 22031499 | 26 hrs ago | IN | 0 S | 0.00014083 | ||||
Start | 21782229 | 2 days ago | IN | 0 S | 0.00010699 | ||||
Send Premint | 21782226 | 2 days ago | IN | 0 S | 0.00011342 | ||||
Create Pool | 21782193 | 2 days ago | IN | 0 S | 0.0001139 | ||||
Create Pool | 21782193 | 2 days ago | IN | 0 S | 0.00011391 | ||||
Create Pool | 21782190 | 2 days ago | IN | 0 S | 0.00009201 | ||||
Set All | 21780781 | 2 days ago | IN | 0 S | 0.00011802 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xbC0a77d0...2920EFDF5 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Genesis
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 1000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.24; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "./interfaces/IToken.sol"; import "./interfaces/ILPManager.sol"; import "./interfaces/IManager.sol"; contract Genesis is ReentrancyGuard { IManager private Manager; IToken private Token; ILPManager private LPManager; address private Treasury; uint256 public rewardsLeft; uint256 public startAt; uint256 public endAt; uint256 private _duration = 1 days; uint256 public rewardsPerSec = 1 * 1e18; uint256 public _accRewardsGlobal; uint256 private _lastRewardUpdateTime; uint256 private _forTreasury = 40; uint256 private _forLP = 60; uint256 public lastId = 1; struct Pool { address token; uint256 poolShares; uint256 amountDeposited; uint256 depositFee; } struct User { uint256 deposited; uint256 rewardDebt; } mapping(uint256 => Pool) public pools; mapping(address => mapping(uint256 => User)) public userDetailsByPId; constructor(address _manager) { Manager = IManager(_manager); } modifier onlyOwner() { require(msg.sender == Manager.owner(), "Not Authorized"); _; } function setManager(address _manager) external onlyOwner { Manager = IManager(_manager); } function createPool( address token, uint256 shares, uint256 fee ) external onlyOwner { pools[lastId] = Pool(token, shares, 0, fee); lastId++; } function modifyPool( uint256 id, uint256 shares, uint256 fee ) external onlyOwner { Pool storage pool = pools[id]; pool.poolShares = shares; pool.depositFee = fee; } function setProportions(uint256 _tresury, uint256 _lp) external onlyOwner { _forTreasury = _tresury; _forLP = _lp; } function setRewardsPerSec(uint256 _rewardsPerSec) external onlyOwner { rewardsPerSec = _rewardsPerSec; } function setAll() external onlyOwner { Token = IToken(_getContract("Token")); LPManager = ILPManager(_getContract("LPManager")); Treasury = _getContract("Treasury"); } function sendPremint(uint256 amount) external onlyOwner { Token.transferFrom(msg.sender, address(this), amount); rewardsLeft += amount; } function start() external onlyOwner { _lastRewardUpdateTime = block.timestamp; startAt = block.timestamp; endAt = startAt + _duration; } function deposit(uint256 id, uint256 amount) external nonReentrant { require(block.timestamp >= startAt && block.timestamp < endAt, "genesis is closed"); _updateRewards(); Pool storage pool = pools[id]; User storage user = userDetailsByPId[msg.sender][id]; uint256 fee = (amount * pool.depositFee) / 100; uint256 amountAfterFee = amount - fee; pool.amountDeposited += amountAfterFee; user.deposited += amountAfterFee; _updateDebt(msg.sender, id); IToken(pool.token).transferFrom(msg.sender, address(this), amount); if (fee > 0) { uint256 feeTreasury = (fee * _forTreasury) / 100; uint256 feeLP = (fee * _forLP) / 100; IToken(pool.token).transfer(address(Treasury), feeTreasury); IToken(pool.token).transfer(address(LPManager), feeLP); // LPManager.addLiquidity(pool.token); } } function withdraw(uint256 id, uint256 amount) external nonReentrant { _updateRewards(); Pool storage pool = pools[id]; User storage user = userDetailsByPId[msg.sender][id]; require(user.deposited >= amount, "Not enough deposited"); unchecked { pool.amountDeposited -= amount; user.deposited -= amount; } _updateDebt(msg.sender, id); IToken(pool.token).transfer(msg.sender, amount); } function claim(uint256 id) external nonReentrant { _updateRewards(); uint256 rewards = _rewards(msg.sender, id); require(rewards > 0, "Nothing to claim"); rewards = rewardsLeft > rewards ? rewards : rewardsLeft; _updateDebt(msg.sender, id); if (rewardsLeft < rewards) { rewardsLeft = 0; } else { rewardsLeft -= rewards; } Token.transfer(msg.sender, rewards); } function claimAll() external nonReentrant { address sender = msg.sender; uint256 sum = 0; for (uint256 i = 1; i < lastId; i++) { sum += _rewards(sender, i); } _updateDebt(msg.sender, 0); if (rewardsLeft < sum) { sum = rewardsLeft; rewardsLeft = 0; } else { rewardsLeft -= sum; } Token.transfer(msg.sender, sum); } function _updateRewards() private { uint256 timePassed = block.timestamp - _lastRewardUpdateTime; if (timePassed == 0 || block.timestamp >= endAt) { return; } uint256 rewards = (timePassed * rewardsPerSec); _accRewardsGlobal += rewards; _lastRewardUpdateTime = block.timestamp; } function _updateDebt(address user, uint256 id) private { Pool storage pool = pools[id]; User storage userDetails = userDetailsByPId[user][id]; uint256 pending = _rewards(user, id); userDetails.rewardDebt = (userDetails.deposited * pool.poolShares * _accRewardsGlobal) / (100 * pool.amountDeposited) - pending; } function _rewards(address user, uint256 id) private view returns (uint256) { Pool storage pool = pools[id]; User storage userDetails = userDetailsByPId[user][id]; if (pool.amountDeposited == 0) { return 0; } return (userDetails.deposited * pool.poolShares * _accRewardsGlobal) / (100 * pool.amountDeposited) - userDetails.rewardDebt; } function _getContract( string memory contractName ) internal view returns (address) { return Manager.getContract(contractName); } function getTotalRewards(address user) external view returns (uint256) { uint256 sum = 0; for (uint256 i = 0; i < lastId; i++) { sum += _rewards(user, i); } return sum; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol) pragma solidity ^0.8.20; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at, * consider using {ReentrancyGuardTransient} instead. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant NOT_ENTERED = 1; uint256 private constant ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be NOT_ENTERED if (_status == ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == ENTERED; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.24; interface ILPManager { function addLiquidity(address token) external; }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; interface IManager { function getContract(string memory name) external view returns (address); function owner() external view returns (address); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ interface IToken { /** * @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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); function mint(address to, uint256 value) external; function burnFrom(address from, uint256 value) external; }
{ "optimizer": { "enabled": true, "runs": 1000 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"_accRewardsGlobal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"createPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getTotalRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"modifyPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pools","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"poolShares","type":"uint256"},{"internalType":"uint256","name":"amountDeposited","type":"uint256"},{"internalType":"uint256","name":"depositFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsPerSec","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sendPremint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tresury","type":"uint256"},{"internalType":"uint256","name":"_lp","type":"uint256"}],"name":"setProportions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsPerSec","type":"uint256"}],"name":"setRewardsPerSec","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userDetailsByPId","outputs":[{"internalType":"uint256","name":"deposited","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101765760003560e01c8063a8bc58f2116100d8578063c1292cc31161008c578063d0ebdbe711610066578063d0ebdbe71461031e578063d1058e5914610331578063e2bbb1581461033957600080fd5b8063c1292cc3146102c5578063c7446565146102ce578063ce0b6fd6146102d757600080fd5b8063b039ddf6116100bd578063b039ddf614610297578063bd2c0074146102aa578063be9a6555146102bd57600080fd5b8063a8bc58f214610225578063ac4afa381461022e57600080fd5b80633e7d15c01161012f578063497af9d011610114578063497af9d0146101f657806367a249f7146102095780637cc3ae8c1461021c57600080fd5b80633e7d15c0146101db578063441a3e70146101e357600080fd5b8063280df78511610160578063280df785146101ac5780632bcf161c146101b5578063379607f5146101c857600080fd5b80628934521461017b5780630407539914610197575b600080fd5b61018460095481565b6040519081526020015b60405180910390f35b6101aa6101a53660046114c8565b61034c565b005b610184600a5481565b6101846101c33660046114f6565b61041e565b6101aa6101d63660046114c8565b610452565b6101aa61058f565b6101aa6101f136600461151a565b610771565b6101aa61020436600461151a565b610897565b6101aa6102173660046114c8565b61096a565b61018460075481565b61018460055481565b61026d61023c3660046114c8565b600f6020526000908152604090208054600182015460028301546003909301546001600160a01b0390921692909184565b604080516001600160a01b039095168552602085019390935291830152606082015260800161018e565b6101aa6102a536600461153c565b610ac8565b6101aa6102b8366004611571565b610c12565b6101aa610cf7565b610184600e5481565b61018460065481565b6103096102e536600461159d565b60106020908152600092835260408084209091529082529020805460019091015482565b6040805192835260208301919091520161018e565b6101aa61032c3660046114f6565b610ddb565b6101aa610ec5565b6101aa61034736600461151a565b610fbc565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c391906115c9565b6001600160a01b0316336001600160a01b0316146104195760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b600955565b600080805b600e5481101561044b57610437848261127f565b61044190836115fc565b9150600101610423565b5092915050565b61045a611313565b610462611356565b600061046e338361127f565b9050600081116104c05760405162461bcd60e51b815260206004820152601060248201527f4e6f7468696e6720746f20636c61696d000000000000000000000000000000006044820152606401610410565b80600554116104d1576005546104d3565b805b90506104df33836113b0565b8060055410156104f357600060055561050b565b8060056000828254610505919061160f565b90915550505b60025460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af115801561055c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105809190611622565b505061058c6001600055565b50565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060691906115c9565b6001600160a01b0316336001600160a01b0316146106575760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610410565b6106956040518060400160405280600581526020017f546f6b656e00000000000000000000000000000000000000000000000000000081525061143d565b600280546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600981527f4c504d616e61676572000000000000000000000000000000000000000000000060208201526106f29061143d565b600380546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600881527f5472656173757279000000000000000000000000000000000000000000000000602082015261074f9061143d565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b610779611313565b610781611356565b6000828152600f602090815260408083203384526010835281842086855290925290912080548311156107f65760405162461bcd60e51b815260206004820152601460248201527f4e6f7420656e6f756768206465706f73697465640000000000000000000000006044820152606401610410565b60028201805484900390558054839003815561081233856113b0565b815460405163a9059cbb60e01b8152336004820152602481018590526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015610862573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108869190611622565b5050506108936001600055565b5050565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090e91906115c9565b6001600160a01b0316336001600160a01b03161461095f5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610410565b600c91909155600d55565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e191906115c9565b6001600160a01b0316336001600160a01b031614610a325760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610410565b6002546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af1158015610a89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aad9190611622565b508060056000828254610ac091906115fc565b909155505050565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3f91906115c9565b6001600160a01b0316336001600160a01b031614610b905760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610410565b604080516080810182526001600160a01b0385811682526020808301868152600084860181815260608601888152600e80548452600f909552968220955186546001600160a01b03191695169490941785559051600185015591516002840155925160039092019190915581549190610c0883611644565b9190505550505050565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8991906115c9565b6001600160a01b0316336001600160a01b031614610cda5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610410565b6000928352600f6020526040909220600181019190915560030155565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e91906115c9565b6001600160a01b0316336001600160a01b031614610dbf5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610410565b42600b8190556006819055600854610dd6916115fc565b600755565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5291906115c9565b6001600160a01b0316336001600160a01b031614610ea35760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610410565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610ecd611313565b33600060015b600e54811015610efb57610ee7838261127f565b610ef190836115fc565b9150600101610ed3565b50610f073360006113b0565b806005541015610f205750600580546000909155610f38565b8060056000828254610f32919061160f565b90915550505b60025460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af1158015610f89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fad9190611622565b505050610fba6001600055565b565b610fc4611313565b6006544210158015610fd7575060075442105b6110235760405162461bcd60e51b815260206004820152601160248201527f67656e6573697320697320636c6f7365640000000000000000000000000000006044820152606401610410565b61102b611356565b6000828152600f60209081526040808320338452601083528184208685529092528220600382015491929091606490611064908661165d565b61106e9190611674565b9050600061107c828661160f565b90508084600201600082825461109291906115fc565b90915550508254819084906000906110ab9084906115fc565b909155506110bb905033876113b0565b83546040516323b872dd60e01b8152336004820152306024820152604481018790526001600160a01b03909116906323b872dd906064016020604051808303816000875af1158015611111573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111359190611622565b5081156112715760006064600c548461114e919061165d565b6111589190611674565b905060006064600d548561116c919061165d565b6111769190611674565b86546004805460405163a9059cbb60e01b81526001600160a01b03918216928101929092526024820186905292935091169063a9059cbb906044016020604051808303816000875af11580156111d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f49190611622565b50855460035460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905291169063a9059cbb906044016020604051808303816000875af1158015611249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126d9190611622565b5050505b505050506108936001600055565b6000818152600f602090815260408083206001600160a01b0386168452601083528184208585529092528220600282015483036112c15760009250505061130d565b600181015460028301546112d690606461165d565b600a54600185015484546112ea919061165d565b6112f4919061165d565b6112fe9190611674565b611308919061160f565b925050505b92915050565b60026000540361134f576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600055565b6000600b5442611366919061160f565b905080158061137757506007544210155b1561137f5750565b60006009548261138f919061165d565b905080600a60008282546113a391906115fc565b909155505042600b555050565b6000818152600f602090815260408083206001600160a01b038616845260108352818420858552909252822090916113e8858561127f565b905080836002015460646113fc919061165d565b600a5460018601548554611410919061165d565b61141a919061165d565b6114249190611674565b61142e919061160f565b82600101819055505050505050565b6001546040517f358177730000000000000000000000000000000000000000000000000000000081526000916001600160a01b031690633581777390611487908590600401611696565b602060405180830381865afa1580156114a4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130d91906115c9565b6000602082840312156114da57600080fd5b5035919050565b6001600160a01b038116811461058c57600080fd5b60006020828403121561150857600080fd5b8135611513816114e1565b9392505050565b6000806040838503121561152d57600080fd5b50508035926020909101359150565b60008060006060848603121561155157600080fd5b833561155c816114e1565b95602085013595506040909401359392505050565b60008060006060848603121561158657600080fd5b505081359360208301359350604090920135919050565b600080604083850312156115b057600080fd5b82356115bb816114e1565b946020939093013593505050565b6000602082840312156115db57600080fd5b8151611513816114e1565b634e487b7160e01b600052601160045260246000fd5b8082018082111561130d5761130d6115e6565b8181038181111561130d5761130d6115e6565b60006020828403121561163457600080fd5b8151801515811461151357600080fd5b600060018201611656576116566115e6565b5060010190565b808202811582820484141761130d5761130d6115e6565b60008261169157634e487b7160e01b600052601260045260246000fd5b500490565b602081526000825180602084015260005b818110156116c457602081860181015160408684010152016116a7565b506000604082850101526040601f19601f8301168401019150509291505056fea26469706673582212207c92e8d395ffa5f043c3d108647ac8271e7047a2b3ba99940b82d88e62ee9b2a64736f6c634300081a0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.