More Info
Private Name Tags
ContractCreator
Latest 13 from a total of 13 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Access Game Feat... | 11007092 | 4 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 11003416 | 4 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 11003095 | 4 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 11002859 | 5 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 11000564 | 5 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 11000348 | 5 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 10999210 | 5 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 10996467 | 5 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 10993117 | 6 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 10990457 | 6 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 10987599 | 6 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 10872461 | 19 hrs ago | IN | 0 S | 0.00296543 | ||||
Access Game Feat... | 10797484 | 27 hrs ago | IN | 0 S | 0.00390593 |
Loading...
Loading
Contract Name:
OnlineGameTokenContract
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract OnlineGameTokenContract is Ownable { IERC20 public token = IERC20(0x41211648C51AcB9A5F39A93C657e894A0bdB88e4); uint256 public TOKEN_PRICE = 0.002 ether; // Assuming the custom token has 18 decimals event GameFeatureAccessed(address indexed user, uint256 amount); event FundsWithdrawn(address indexed owner, uint256 amount); event TokenPriceChanged(uint256 newPrice); constructor() Ownable(msg.sender) {} function getTokenPrice() external view returns (uint256) { return TOKEN_PRICE; } function setTokenPrice(uint256 newPrice) external onlyOwner { TOKEN_PRICE = newPrice; emit TokenPriceChanged(newPrice); } function accessGameFeature() external { require( token.balanceOf(msg.sender) >= TOKEN_PRICE, "Insufficient token balance" ); require( token.transferFrom(msg.sender, address(this), TOKEN_PRICE), "Token transfer failed" ); emit GameFeatureAccessed(msg.sender, TOKEN_PRICE); } function withdrawFunds() external onlyOwner { uint256 balance = token.balanceOf(address(this)); require(balance > 0, "No funds to withdraw"); address dead = 0x000000000000000000000000000000000000dEaD; uint256 halfBalance = balance / 2; uint256 otherHalfBalance = balance - halfBalance; require( token.transfer(owner(), halfBalance), "Withdrawal to owner failed" ); require(token.transfer(dead, otherHalfBalance), "Token burn failed"); emit FundsWithdrawn(owner(), halfBalance); } function retrieveAccidentalEther() external onlyOwner { require(address(this).balance > 0, "No Ether to retrieve"); payable(owner()).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated 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.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"GameFeatureAccessed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"TokenPriceChanged","type":"event"},{"inputs":[],"name":"TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accessGameFeature","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retrieveAccidentalEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040527341211648c51acb9a5f39a93c657e894a0bdb88e4600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555066071afd498d000060025534801561007057600080fd5b5033600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036100e45760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016100db91906101fe565b60405180910390fd5b6100f3816100f960201b60201c565b50610219565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006101e8826101bd565b9050919050565b6101f8816101dd565b82525050565b600060208201905061021360008301846101ef565b92915050565b61104d806102286000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b146100fb578063d2d8cb6714610119578063d5ddbf6714610137578063f2fde38b14610141578063fc0c546a1461015d5761009e565b806324600fc3146100a35780634b94f50e146100ad5780635716f556146100cb5780636a61e5fc146100d5578063715018a6146100f1575b600080fd5b6100ab61017b565b005b6100b56104ae565b6040516100c29190610a0c565b60405180910390f35b6100d36104b8565b005b6100ef60048036038101906100ea9190610a58565b610553565b005b6100f961059c565b005b6101036105b0565b6040516101109190610ac6565b60405180910390f35b6101216105d9565b60405161012e9190610a0c565b60405180910390f35b61013f6105df565b005b61015b60048036038101906101569190610b0d565b6107f4565b005b61016561087a565b6040516101729190610b99565b60405180910390f35b6101836108a0565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016101e09190610ac6565b602060405180830381865afa1580156101fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102219190610bc9565b905060008111610266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025d90610c53565b60405180910390fd5b600061dead9050600060028361027c9190610cd1565b90506000818461028c9190610d02565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6102d46105b0565b846040518363ffffffff1660e01b81526004016102f2929190610d36565b6020604051808303816000875af1158015610311573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103359190610d97565b610374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036b90610e10565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b81526004016103d1929190610d36565b6020604051808303816000875af11580156103f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104149190610d97565b610453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044a90610e7c565b60405180910390fd5b61045b6105b0565b73ffffffffffffffffffffffffffffffffffffffff167feaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d836040516104a09190610a0c565b60405180910390a250505050565b6000600254905090565b6104c06108a0565b60004711610503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fa90610ee8565b60405180910390fd5b61050b6105b0565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610550573d6000803e3d6000fd5b50565b61055b6108a0565b806002819055507fac21bacd333b316c6640fca5086322638b0a7aa4367179afd5dfcbe0a5427bc7816040516105919190610a0c565b60405180910390a150565b6105a46108a0565b6105ae6000610927565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b600254600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161063d9190610ac6565b602060405180830381865afa15801561065a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067e9190610bc9565b10156106bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b690610f54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306002546040518463ffffffff1660e01b815260040161072093929190610f74565b6020604051808303816000875af115801561073f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107639190610d97565b6107a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079990610ff7565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f159dbc875bbc77b943b5ca1baf696558bffc8078720adf71b3a65a6175117dac6002546040516107ea9190610a0c565b60405180910390a2565b6107fc6108a0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361086e5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016108659190610ac6565b60405180910390fd5b61087781610927565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6108a86109eb565b73ffffffffffffffffffffffffffffffffffffffff166108c66105b0565b73ffffffffffffffffffffffffffffffffffffffff1614610925576108e96109eb565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161091c9190610ac6565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000819050919050565b610a06816109f3565b82525050565b6000602082019050610a2160008301846109fd565b92915050565b600080fd5b610a35816109f3565b8114610a4057600080fd5b50565b600081359050610a5281610a2c565b92915050565b600060208284031215610a6e57610a6d610a27565b5b6000610a7c84828501610a43565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ab082610a85565b9050919050565b610ac081610aa5565b82525050565b6000602082019050610adb6000830184610ab7565b92915050565b610aea81610aa5565b8114610af557600080fd5b50565b600081359050610b0781610ae1565b92915050565b600060208284031215610b2357610b22610a27565b5b6000610b3184828501610af8565b91505092915050565b6000819050919050565b6000610b5f610b5a610b5584610a85565b610b3a565b610a85565b9050919050565b6000610b7182610b44565b9050919050565b6000610b8382610b66565b9050919050565b610b9381610b78565b82525050565b6000602082019050610bae6000830184610b8a565b92915050565b600081519050610bc381610a2c565b92915050565b600060208284031215610bdf57610bde610a27565b5b6000610bed84828501610bb4565b91505092915050565b600082825260208201905092915050565b7f4e6f2066756e647320746f207769746864726177000000000000000000000000600082015250565b6000610c3d601483610bf6565b9150610c4882610c07565b602082019050919050565b60006020820190508181036000830152610c6c81610c30565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610cdc826109f3565b9150610ce7836109f3565b925082610cf757610cf6610c73565b5b828204905092915050565b6000610d0d826109f3565b9150610d18836109f3565b9250828203905081811115610d3057610d2f610ca2565b5b92915050565b6000604082019050610d4b6000830185610ab7565b610d5860208301846109fd565b9392505050565b60008115159050919050565b610d7481610d5f565b8114610d7f57600080fd5b50565b600081519050610d9181610d6b565b92915050565b600060208284031215610dad57610dac610a27565b5b6000610dbb84828501610d82565b91505092915050565b7f5769746864726177616c20746f206f776e6572206661696c6564000000000000600082015250565b6000610dfa601a83610bf6565b9150610e0582610dc4565b602082019050919050565b60006020820190508181036000830152610e2981610ded565b9050919050565b7f546f6b656e206275726e206661696c6564000000000000000000000000000000600082015250565b6000610e66601183610bf6565b9150610e7182610e30565b602082019050919050565b60006020820190508181036000830152610e9581610e59565b9050919050565b7f4e6f20457468657220746f207265747269657665000000000000000000000000600082015250565b6000610ed2601483610bf6565b9150610edd82610e9c565b602082019050919050565b60006020820190508181036000830152610f0181610ec5565b9050919050565b7f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000600082015250565b6000610f3e601a83610bf6565b9150610f4982610f08565b602082019050919050565b60006020820190508181036000830152610f6d81610f31565b9050919050565b6000606082019050610f896000830186610ab7565b610f966020830185610ab7565b610fa360408301846109fd565b949350505050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000610fe1601583610bf6565b9150610fec82610fab565b602082019050919050565b6000602082019050818103600083015261101081610fd4565b905091905056fea264697066735822122083de197ca655a47618df057fab3ece5fa783798afda1b41792f0d776c4bd6dce64736f6c63430008140033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b146100fb578063d2d8cb6714610119578063d5ddbf6714610137578063f2fde38b14610141578063fc0c546a1461015d5761009e565b806324600fc3146100a35780634b94f50e146100ad5780635716f556146100cb5780636a61e5fc146100d5578063715018a6146100f1575b600080fd5b6100ab61017b565b005b6100b56104ae565b6040516100c29190610a0c565b60405180910390f35b6100d36104b8565b005b6100ef60048036038101906100ea9190610a58565b610553565b005b6100f961059c565b005b6101036105b0565b6040516101109190610ac6565b60405180910390f35b6101216105d9565b60405161012e9190610a0c565b60405180910390f35b61013f6105df565b005b61015b60048036038101906101569190610b0d565b6107f4565b005b61016561087a565b6040516101729190610b99565b60405180910390f35b6101836108a0565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016101e09190610ac6565b602060405180830381865afa1580156101fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102219190610bc9565b905060008111610266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025d90610c53565b60405180910390fd5b600061dead9050600060028361027c9190610cd1565b90506000818461028c9190610d02565b9050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6102d46105b0565b846040518363ffffffff1660e01b81526004016102f2929190610d36565b6020604051808303816000875af1158015610311573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103359190610d97565b610374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036b90610e10565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b81526004016103d1929190610d36565b6020604051808303816000875af11580156103f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104149190610d97565b610453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044a90610e7c565b60405180910390fd5b61045b6105b0565b73ffffffffffffffffffffffffffffffffffffffff167feaff4b37086828766ad3268786972c0cd24259d4c87a80f9d3963a3c3d999b0d836040516104a09190610a0c565b60405180910390a250505050565b6000600254905090565b6104c06108a0565b60004711610503576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104fa90610ee8565b60405180910390fd5b61050b6105b0565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610550573d6000803e3d6000fd5b50565b61055b6108a0565b806002819055507fac21bacd333b316c6640fca5086322638b0a7aa4367179afd5dfcbe0a5427bc7816040516105919190610a0c565b60405180910390a150565b6105a46108a0565b6105ae6000610927565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b600254600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161063d9190610ac6565b602060405180830381865afa15801561065a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067e9190610bc9565b10156106bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b690610f54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33306002546040518463ffffffff1660e01b815260040161072093929190610f74565b6020604051808303816000875af115801561073f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107639190610d97565b6107a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079990610ff7565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f159dbc875bbc77b943b5ca1baf696558bffc8078720adf71b3a65a6175117dac6002546040516107ea9190610a0c565b60405180910390a2565b6107fc6108a0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361086e5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016108659190610ac6565b60405180910390fd5b61087781610927565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6108a86109eb565b73ffffffffffffffffffffffffffffffffffffffff166108c66105b0565b73ffffffffffffffffffffffffffffffffffffffff1614610925576108e96109eb565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161091c9190610ac6565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000819050919050565b610a06816109f3565b82525050565b6000602082019050610a2160008301846109fd565b92915050565b600080fd5b610a35816109f3565b8114610a4057600080fd5b50565b600081359050610a5281610a2c565b92915050565b600060208284031215610a6e57610a6d610a27565b5b6000610a7c84828501610a43565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610ab082610a85565b9050919050565b610ac081610aa5565b82525050565b6000602082019050610adb6000830184610ab7565b92915050565b610aea81610aa5565b8114610af557600080fd5b50565b600081359050610b0781610ae1565b92915050565b600060208284031215610b2357610b22610a27565b5b6000610b3184828501610af8565b91505092915050565b6000819050919050565b6000610b5f610b5a610b5584610a85565b610b3a565b610a85565b9050919050565b6000610b7182610b44565b9050919050565b6000610b8382610b66565b9050919050565b610b9381610b78565b82525050565b6000602082019050610bae6000830184610b8a565b92915050565b600081519050610bc381610a2c565b92915050565b600060208284031215610bdf57610bde610a27565b5b6000610bed84828501610bb4565b91505092915050565b600082825260208201905092915050565b7f4e6f2066756e647320746f207769746864726177000000000000000000000000600082015250565b6000610c3d601483610bf6565b9150610c4882610c07565b602082019050919050565b60006020820190508181036000830152610c6c81610c30565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610cdc826109f3565b9150610ce7836109f3565b925082610cf757610cf6610c73565b5b828204905092915050565b6000610d0d826109f3565b9150610d18836109f3565b9250828203905081811115610d3057610d2f610ca2565b5b92915050565b6000604082019050610d4b6000830185610ab7565b610d5860208301846109fd565b9392505050565b60008115159050919050565b610d7481610d5f565b8114610d7f57600080fd5b50565b600081519050610d9181610d6b565b92915050565b600060208284031215610dad57610dac610a27565b5b6000610dbb84828501610d82565b91505092915050565b7f5769746864726177616c20746f206f776e6572206661696c6564000000000000600082015250565b6000610dfa601a83610bf6565b9150610e0582610dc4565b602082019050919050565b60006020820190508181036000830152610e2981610ded565b9050919050565b7f546f6b656e206275726e206661696c6564000000000000000000000000000000600082015250565b6000610e66601183610bf6565b9150610e7182610e30565b602082019050919050565b60006020820190508181036000830152610e9581610e59565b9050919050565b7f4e6f20457468657220746f207265747269657665000000000000000000000000600082015250565b6000610ed2601483610bf6565b9150610edd82610e9c565b602082019050919050565b60006020820190508181036000830152610f0181610ec5565b9050919050565b7f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000600082015250565b6000610f3e601a83610bf6565b9150610f4982610f08565b602082019050919050565b60006020820190508181036000830152610f6d81610f31565b9050919050565b6000606082019050610f896000830186610ab7565b610f966020830185610ab7565b610fa360408301846109fd565b949350505050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b6000610fe1601583610bf6565b9150610fec82610fab565b602082019050919050565b6000602082019050818103600083015261101081610fd4565b905091905056fea264697066735822122083de197ca655a47618df057fab3ece5fa783798afda1b41792f0d776c4bd6dce64736f6c63430008140033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.