Source Code
Overview
S Balance
Token Holdings
More Info
ContractCreator
Latest 13 from a total of 13 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Catch End Price | 22042984 | 38 hrs ago | IN | 0 S | 0.00019236 | ||||
Vote | 22042525 | 38 hrs ago | IN | 0 S | 0.00008017 | ||||
Set Current Pric... | 22042503 | 38 hrs ago | IN | 0 S | 0.00003737 | ||||
Catch End Price | 22042460 | 38 hrs ago | IN | 0 S | 0.00019236 | ||||
Claim | 22042073 | 38 hrs ago | IN | 0 S | 0.00005051 | ||||
Claim | 22041470 | 39 hrs ago | IN | 0 S | 0.00005051 | ||||
Catch End Price | 22041329 | 39 hrs ago | IN | 0 S | 0.00019235 | ||||
Set Current Pric... | 22040925 | 39 hrs ago | IN | 0 S | 0.00003737 | ||||
Vote | 22040862 | 39 hrs ago | IN | 0 S | 0.00008017 | ||||
Start Rounds | 22040807 | 39 hrs ago | IN | 0 S | 0.00014609 | ||||
Deposit | 22040754 | 39 hrs ago | IN | 0 S | 0.0001274 | ||||
Set Round Durati... | 22040473 | 39 hrs ago | IN | 0 S | 0.00003743 | ||||
Update Tomb Plus | 22039544 | 39 hrs ago | IN | 0 S | 0.00008926 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x7B8b335a...10579d6B4 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Locker
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 500 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.26; import {AggregatorV3Interface} from "@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "./interfaces/IManager.sol"; import "./interfaces/ITsharePlus.sol"; import "./interfaces/IOTombPlus.sol"; contract Locker is ReentrancyGuard { IManager private Manager; ITSharePlus private Share; IOTombPlus private OTomb; struct UserGlobal { uint256 deposited; uint256 lastRoundClaimed; } mapping(address => UserGlobal) public userGlobalDetails; struct UserRound { uint256 engaged; uint8 position; // 0 = unknown, 1 = long, 2 = short } mapping(address => mapping(uint256 => UserRound)) public userRoundsDetails; uint256 public lastRoundId = 1; uint256 public roundDuration = 1 hours; uint256 private _bonus = 50; // 0.5% struct Round { uint256 startPrice; uint256 endPrice; uint256 startTime; uint256 endTime; uint256 bonus; uint8 winningPosition; // 0 = unknown, 1 = long, 2 = short } mapping(uint256 => Round) public rounds; uint256 private _deviationThreshold = 50; // 0.05% AggregatorV3Interface internal dataFeed; constructor(address _manager) { Manager = IManager(_manager); dataFeed = AggregatorV3Interface( 0xc76dFb89fF298145b417d221B2c747d84952e01d ); } modifier onlyOwner() { require(msg.sender == Manager.owner(), "Not Authorized"); _; } function setManager(address _manager) external onlyOwner { Manager = IManager(_manager); } function setRoundDuration(uint256 _roundDuration) external onlyOwner { roundDuration = _roundDuration; } function setBonus(uint256 __bonus) external onlyOwner { _bonus = __bonus; } function updateTombPlus() external onlyOwner { Share = ITSharePlus(_getContract("Share")); OTomb = IOTombPlus(_getContract("OTomb")); } // TESTNET bool public testnet = true; uint256 public currentPrice = 100; function setTestnet(bool _testnet) external onlyOwner { testnet = _testnet; } function setCurrentPrice(uint256 _currentPrice) external onlyOwner { currentPrice = _currentPrice; } // END TESTNET function startRounds() external onlyOwner { rounds[lastRoundId] = Round({ startPrice: testnet ? currentPrice : uint256(getChainlinkDataFeedLatestAnswer()), endPrice: 0, startTime: block.timestamp, endTime: block.timestamp + roundDuration, bonus: _bonus, winningPosition: 0 }); } function catchEndPrice() external { uint256 roundId = lastRoundId; Round storage round = rounds[roundId]; require(round.endPrice == 0, "round already ended"); require(block.timestamp >= round.endTime, "round not ended yet"); round.endPrice = testnet ? currentPrice : uint256(getChainlinkDataFeedLatestAnswer()); round.winningPosition = round.endPrice > round.startPrice ? 1 : 2; lastRoundId++; Round storage nextRound = rounds[lastRoundId]; nextRound.startPrice = round.endPrice; nextRound.startTime = round.endTime; nextRound.endTime = block.timestamp + roundDuration; nextRound.bonus = _bonus; nextRound.winningPosition = 0; } function deposit(uint256 amount) external nonReentrant { UserGlobal storage userGlobal = userGlobalDetails[msg.sender]; userGlobal.deposited += amount; userGlobal.lastRoundClaimed = lastRoundId; Share.transferFrom(msg.sender, address(this), amount); } function withdraw(uint256 amount) external nonReentrant { UserGlobal storage userGlobal = userGlobalDetails[msg.sender]; require(userGlobal.deposited >= amount, "Not enough deposited"); unchecked { userGlobal.deposited -= amount; } Share.transfer(msg.sender, amount); } function vote(uint8 position) external nonReentrant { UserRound storage user = userRoundsDetails[msg.sender][lastRoundId]; require(user.position == 0, "user already engaged"); user.engaged = userGlobalDetails[msg.sender].deposited; user.position = position; } function claim() external nonReentrant { uint256 rewards = _rewardsAccByUser(msg.sender); if(rewards > 0) { return; } userGlobalDetails[msg.sender].lastRoundClaimed = lastRoundId - 1; OTomb.mint(msg.sender, rewards); } function getChainlinkDataFeedLatestAnswer() public view returns (int) { // prettier-ignore ( /* uint80 roundID */, int answer, /*uint startedAt*/, /*uint timeStamp*/, /*uint80 answeredInRound*/ ) = dataFeed.latestRoundData(); return answer; } function _rewardsAccByUser(address user) private view returns (uint256) { uint256 _currentRoundId = lastRoundId; uint256 _lastRoundClaimed = userGlobalDetails[user].lastRoundClaimed; if (_currentRoundId == _lastRoundClaimed) { return 0; } uint256 sum = 0; for (uint256 i = _lastRoundClaimed; i < _currentRoundId; i++) { UserRound memory _user = userRoundsDetails[user][i]; Round memory round = rounds[i]; if (_user.position == round.winningPosition) { sum += (_user.engaged * round.bonus) / 10000; } } return sum; } function getPendingRewards(address user) external view returns (uint256) { return _rewardsAccByUser(user); } function _getContract( string memory contractName ) internal view returns (address) { return Manager.getContract(contractName); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // solhint-disable-next-line interface-starts-with-i interface AggregatorV3Interface { function decimals() external view returns (uint8); function description() external view returns (string memory); function version() external view returns (uint256); function getRoundData( uint80 _roundId ) external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound); function latestRoundData() external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ 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 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); }
// 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.26; interface IManager { function getContract(string memory name) external view returns (address); function owner() external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.26; interface IOTombPlus { function mint(address, uint256) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.26; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface ITSharePlus is IERC20 { function WLMint(uint256 amount, address _to) external; function burnFrom(address account, uint256 amount) external; }
{ "optimizer": { "enabled": true, "runs": 500 }, "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":"catchEndPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getChainlinkDataFeedLatestAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getPendingRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRoundId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"roundDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rounds","outputs":[{"internalType":"uint256","name":"startPrice","type":"uint256"},{"internalType":"uint256","name":"endPrice","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"bonus","type":"uint256"},{"internalType":"uint8","name":"winningPosition","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"__bonus","type":"uint256"}],"name":"setBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_currentPrice","type":"uint256"}],"name":"setCurrentPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_roundDuration","type":"uint256"}],"name":"setRoundDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_testnet","type":"bool"}],"name":"setTestnet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startRounds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"testnet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"updateTombPlus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userGlobalDetails","outputs":[{"internalType":"uint256","name":"deposited","type":"uint256"},{"internalType":"uint256","name":"lastRoundClaimed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userRoundsDetails","outputs":[{"internalType":"uint256","name":"engaged","type":"uint256"},{"internalType":"uint8","name":"position","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"position","type":"uint8"}],"name":"vote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101475760003560e01c80638c65c81f116100c8578063cca5fc101161008c578063ef43d65f11610066578063ef43d65f14610319578063f6ed201714610355578063f7cb789a1461036857600080fd5b8063cca5fc10146102f6578063d0ebdbe7146102fe578063e06c25f81461031157600080fd5b80638c65c81f146102495780639d1b464a146102bf578063b3f98adc146102c8578063b6b55f25146102db578063bea4dfb5146102ee57600080fd5b8063388ca80f1161010f578063388ca80f146101c35780634e71d92d146101da5780635e7a8dec146101e257806362cc26a0146101ea57806386d31cbc1461023657600080fd5b80630b48b6781461014c5780630b98f9751461017557806318b200711461018a5780632e1a7d4d1461019d57806336c92c3f146101b0575b600080fd5b600b5461016090600160a01b900460ff1681565b60405190151581526020015b60405180910390f35b6101886101833660046110fa565b610371565b005b6101886101983660046110fa565b610443565b6101886101ab3660046110fa565b610510565b6101886101be3660046110fa565b610604565b6101cc60065481565b60405190815260200161016c565b6101886106d1565b61018861078b565b61021f6101f8366004611128565b60056020908152600092835260408084209091529082529020805460019091015460ff1682565b6040805192835260ff90911660208301520161016c565b610188610244366004611162565b6108f2565b61028f6102573660046110fa565b600960205260009081526040902080546001820154600283015460038401546004850154600590950154939492939192909160ff1686565b604080519687526020870195909552938501929092526060840152608083015260ff1660a082015260c00161016c565b6101cc600c5481565b6101886102d6366004611186565b6109d8565b6101886102e93660046110fa565b610a79565b6101cc610aee565b610188610b73565b61018861030c3660046111a9565b610cf7565b610188610de1565b6103406103273660046111a9565b6004602052600090815260409020805460019091015482565b6040805192835260208301919091520161016c565b6101cc6103633660046111a9565b610f36565b6101cc60075481565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e891906111c6565b6001600160a01b0316336001600160a01b03161461043e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064015b60405180910390fd5b600855565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ba91906111c6565b6001600160a01b0316336001600160a01b03161461050b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610435565b600c55565b610518610f47565b33600090815260046020526040902080548211156105785760405162461bcd60e51b815260206004820152601460248201527f4e6f7420656e6f756768206465706f73697465640000000000000000000000006044820152606401610435565b8054829003815560025460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb906044015b6020604051808303816000875af11580156105d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f591906111e3565b50506106016001600055565b50565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610657573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067b91906111c6565b6001600160a01b0316336001600160a01b0316146106cc5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610435565b600755565b6106d9610f47565b60006106e433610f71565b905080156106f2575061077f565b60016006546107019190611216565b336000818152600460208190526040918290206001019390935560035490516340c10f1960e01b815292830191909152602482018390526001600160a01b0316906340c10f1990604401600060405180830381600087803b15801561076557600080fd5b505af1158015610779573d6000803e3d6000fd5b50505050505b6107896001600055565b565b60065460008181526009602052604090206001810154156107ee5760405162461bcd60e51b815260206004820152601360248201527f726f756e6420616c726561647920656e646564000000000000000000000000006044820152606401610435565b80600301544210156108425760405162461bcd60e51b815260206004820152601360248201527f726f756e64206e6f7420656e64656420796574000000000000000000000000006044820152606401610435565b600b54600160a01b900460ff166108605761085b610aee565b610864565b600c545b6001820181905581541061087957600261087c565b60015b60058201805460ff191660ff92909216919091179055600680549060006108a283611229565b9091555050600654600090815260096020526040902060018201548155600382015460028201556007546108d69042611242565b60038201556008546004820155600501805460ff191690555050565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610945573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096991906111c6565b6001600160a01b0316336001600160a01b0316146109ba5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610435565b600b8054911515600160a01b0260ff60a01b19909216919091179055565b6109e0610f47565b33600090815260056020908152604080832060065484529091529020600181015460ff1615610a515760405162461bcd60e51b815260206004820152601460248201527f7573657220616c726561647920656e67616765640000000000000000000000006044820152606401610435565b3360009081526004602052604081205482556001918201805460ff191660ff85161790555550565b610a81610f47565b336000908152600460205260408120805490918391839190610aa4908490611242565b909155505060065460018201556002546040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b03909116906323b872dd906064016105b2565b600080600b60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610b44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b689190611274565b509195945050505050565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bea91906111c6565b6001600160a01b0316336001600160a01b031614610c3b5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610435565b6040518060c00160405280600b60149054906101000a900460ff16610c6757610c62610aee565b610c6b565b600c545b81526020016000815260200142815260200160075442610c8b9190611242565b81526008546020808301919091526000604092830181905260065481526009825282902083518155908301516001820155908201516002820155606082015160038201556080820151600482015560a0909101516005909101805460ff191660ff909216919091179055565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e91906111c6565b6001600160a01b0316336001600160a01b031614610dbf5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610435565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600160009054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906111c6565b6001600160a01b0316336001600160a01b031614610ea95760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b6044820152606401610435565b610ecf60405180604001604052806005815260200164536861726560d81b815250611088565b600280546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600581526427aa37b6b160d91b6020820152610f1490611088565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000610f4182610f71565b92915050565b600260005403610f6a57604051633ee5aeb560e01b815260040160405180910390fd5b6002600055565b6006546001600160a01b038216600090815260046020526040812060010154909190808203610fa4575060009392505050565b6000815b8381101561107f576001600160a01b03861660009081526005602081815260408084208585528252808420815180830183528154815260019182015460ff9081168286019081528888526009865296849020845160c08101865281548152938101549584019590955260028501549383019390935260038401546060830152600484015460808301529290930154811660a084018190529351919391160361107557608081015182516127109161105e916112c6565b61106891906112dd565b6110729085611242565b93505b5050600101610fa8565b50949350505050565b600154604051633581777360e01b81526000916001600160a01b0316906335817773906110b99085906004016112ff565b602060405180830381865afa1580156110d6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4191906111c6565b60006020828403121561110c57600080fd5b5035919050565b6001600160a01b038116811461060157600080fd5b6000806040838503121561113b57600080fd5b823561114681611113565b946020939093013593505050565b801515811461060157600080fd5b60006020828403121561117457600080fd5b813561117f81611154565b9392505050565b60006020828403121561119857600080fd5b813560ff8116811461117f57600080fd5b6000602082840312156111bb57600080fd5b813561117f81611113565b6000602082840312156111d857600080fd5b815161117f81611113565b6000602082840312156111f557600080fd5b815161117f81611154565b634e487b7160e01b600052601160045260246000fd5b81810381811115610f4157610f41611200565b60006001820161123b5761123b611200565b5060010190565b80820180821115610f4157610f41611200565b805169ffffffffffffffffffff8116811461126f57600080fd5b919050565b600080600080600060a0868803121561128c57600080fd5b61129586611255565b602087015160408801516060890151929750909550935091506112ba60808701611255565b90509295509295909350565b8082028115828204841417610f4157610f41611200565b6000826112fa57634e487b7160e01b600052601260045260246000fd5b500490565b602081526000825180602084015260005b8181101561132d5760208186018101516040868401015201611310565b506000604082850101526040601f19601f8301168401019150509291505056fea2646970667358221220fb243ddc72a56573461be3d3027ff1e948a5a89348eede377248b5ffd7a4c8c364736f6c634300081a0033
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.