Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 47 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Migrate | 20630007 | 86 days ago | IN | 0 ETH | 0.00016666 | ||||
Migrate | 19854908 | 195 days ago | IN | 0 ETH | 0.00055587 | ||||
Migrate | 19843530 | 196 days ago | IN | 0 ETH | 0.00060575 | ||||
Migrate | 19825075 | 199 days ago | IN | 0 ETH | 0.00093903 | ||||
Migrate | 19800482 | 202 days ago | IN | 0 ETH | 0.00065508 | ||||
Migrate | 19791766 | 203 days ago | IN | 0 ETH | 0.00172572 | ||||
Migrate | 19789966 | 204 days ago | IN | 0 ETH | 0.00463024 | ||||
Migrate | 19783397 | 205 days ago | IN | 0 ETH | 0.00306154 | ||||
Migrate | 19783042 | 205 days ago | IN | 0 ETH | 0.00134854 | ||||
Migrate | 19779581 | 205 days ago | IN | 0 ETH | 0.00062713 | ||||
Migrate | 19779126 | 205 days ago | IN | 0 ETH | 0.00055895 | ||||
Migrate | 19771358 | 206 days ago | IN | 0 ETH | 0.00063364 | ||||
Migrate | 19762964 | 207 days ago | IN | 0 ETH | 0.00126799 | ||||
Migrate | 19762089 | 207 days ago | IN | 0 ETH | 0.00208974 | ||||
Migrate | 19762015 | 207 days ago | IN | 0 ETH | 0.00109779 | ||||
Migrate | 19761323 | 208 days ago | IN | 0 ETH | 0.00189631 | ||||
Migrate | 19758908 | 208 days ago | IN | 0 ETH | 0.0010031 | ||||
Migrate | 19757628 | 208 days ago | IN | 0 ETH | 0.00054533 | ||||
Migrate | 19756904 | 208 days ago | IN | 0 ETH | 0.00070189 | ||||
Migrate | 19755951 | 208 days ago | IN | 0 ETH | 0.00115759 | ||||
Migrate | 19755590 | 208 days ago | IN | 0 ETH | 0.00673122 | ||||
Migrate | 19755572 | 208 days ago | IN | 0 ETH | 0.00093326 | ||||
Migrate | 19754984 | 208 days ago | IN | 0 ETH | 0.00143674 | ||||
Migrate | 19754980 | 208 days ago | IN | 0 ETH | 0.00191232 | ||||
Migrate | 19753492 | 209 days ago | IN | 0 ETH | 0.00097032 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TitanMigration
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 7777 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; import "./IERC721Burnable.sol"; import "./ITitanV2.sol"; contract TitanMigration { IERC721Burnable public titanV1; ITitanV2 public titanV2; event Migrated(address indexed from, uint256 tokenId); constructor(address _titanV1, address _titanV2) { titanV1 = IERC721Burnable(_titanV1); titanV2 = ITitanV2(_titanV2); } function migrate(uint256[] calldata _tokenIds) external { uint256 i = 0; for (i = 0; i < _tokenIds.length; i++) { uint256 tokenId = _tokenIds[i]; require(titanV1.ownerOf(tokenId) == msg.sender, "Not owner"); titanV1.burn(tokenId); titanV2.migrateMint(msg.sender, tokenId); emit Migrated(msg.sender, tokenId); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; interface IERC721Burnable { function burn(uint256 tokenId) external; function ownerOf(uint256 tokenId) external view returns (address owner); function setApprovalForAll(address operator, bool approved) external; function balanceOf(address owner) external view returns (uint256 balance); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; interface ITitanV2 { function migrateMint(address _to, uint256 _tokenId) external; }
{ "optimizer": { "enabled": true, "runs": 7777 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_titanV1","type":"address"},{"internalType":"address","name":"_titanV2","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Migrated","type":"event"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"titanV1","outputs":[{"internalType":"contract IERC721Burnable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"titanV2","outputs":[{"internalType":"contract ITitanV2","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161059438038061059483398101604081905261002f9161007c565b600080546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556100af565b80516001600160a01b038116811461007757600080fd5b919050565b6000806040838503121561008f57600080fd5b61009883610060565b91506100a660208401610060565b90509250929050565b6104d6806100be6000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806316c5740314610046578063721c4e3f1461008f578063d93bf4fe146100af575b600080fd5b6001546100669073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100669073ffffffffffffffffffffffffffffffffffffffff1681565b6100c26100bd366004610360565b6100c4565b005b60005b8181101561035b5760008383838181106100e3576100e36103d5565b6000546040517f6352211e0000000000000000000000000000000000000000000000000000000081526020929092029390930135600482018190529350339273ffffffffffffffffffffffffffffffffffffffff169150636352211e90602401602060405180830381865afa158015610160573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101849190610404565b73ffffffffffffffffffffffffffffffffffffffff1614610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640160405180910390fd5b6000546040517f42966c680000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff909116906342966c6890602401600060405180830381600087803b15801561027157600080fd5b505af1158015610285573d6000803e3d6000fd5b50506001546040517fd2cb01000000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff909116925063d2cb01009150604401600060405180830381600087803b1580156102fb57600080fd5b505af115801561030f573d6000803e3d6000fd5b50506040518381523392507f8b80bd19aea7b735bc6d75db8d6adbe18b28c30d62b3555245eb67b2340caedc915060200160405180910390a2508061035381610441565b9150506100c7565b505050565b6000806020838503121561037357600080fd5b823567ffffffffffffffff8082111561038b57600080fd5b818501915085601f83011261039f57600080fd5b8135818111156103ae57600080fd5b8660208260051b85010111156103c357600080fd5b60209290920196919550909350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561041657600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461043a57600080fd5b9392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610499577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212203b4f52315e42f6c33cbc6e7940f3e73bce2b5385f310a08a94ce700cf26d828664736f6c634300081300330000000000000000000000008e8a34ddc87bbdf846680598aa3ab55b533a6e250000000000000000000000008595829cc23d2cc2661019400eb730a9530f8229
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c806316c5740314610046578063721c4e3f1461008f578063d93bf4fe146100af575b600080fd5b6001546100669073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100669073ffffffffffffffffffffffffffffffffffffffff1681565b6100c26100bd366004610360565b6100c4565b005b60005b8181101561035b5760008383838181106100e3576100e36103d5565b6000546040517f6352211e0000000000000000000000000000000000000000000000000000000081526020929092029390930135600482018190529350339273ffffffffffffffffffffffffffffffffffffffff169150636352211e90602401602060405180830381865afa158015610160573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101849190610404565b73ffffffffffffffffffffffffffffffffffffffff1614610205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e65720000000000000000000000000000000000000000000000604482015260640160405180910390fd5b6000546040517f42966c680000000000000000000000000000000000000000000000000000000081526004810183905273ffffffffffffffffffffffffffffffffffffffff909116906342966c6890602401600060405180830381600087803b15801561027157600080fd5b505af1158015610285573d6000803e3d6000fd5b50506001546040517fd2cb01000000000000000000000000000000000000000000000000000000000081523360048201526024810185905273ffffffffffffffffffffffffffffffffffffffff909116925063d2cb01009150604401600060405180830381600087803b1580156102fb57600080fd5b505af115801561030f573d6000803e3d6000fd5b50506040518381523392507f8b80bd19aea7b735bc6d75db8d6adbe18b28c30d62b3555245eb67b2340caedc915060200160405180910390a2508061035381610441565b9150506100c7565b505050565b6000806020838503121561037357600080fd5b823567ffffffffffffffff8082111561038b57600080fd5b818501915085601f83011261039f57600080fd5b8135818111156103ae57600080fd5b8660208260051b85010111156103c357600080fd5b60209290920196919550909350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561041657600080fd5b815173ffffffffffffffffffffffffffffffffffffffff8116811461043a57600080fd5b9392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610499577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea26469706673582212203b4f52315e42f6c33cbc6e7940f3e73bce2b5385f310a08a94ce700cf26d828664736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008e8a34ddc87bbdf846680598aa3ab55b533a6e250000000000000000000000008595829cc23d2cc2661019400eb730a9530f8229
-----Decoded View---------------
Arg [0] : _titanV1 (address): 0x8e8A34DdC87bBdF846680598Aa3ab55B533a6e25
Arg [1] : _titanV2 (address): 0x8595829cC23D2cC2661019400eb730a9530f8229
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008e8a34ddc87bbdf846680598aa3ab55b533a6e25
Arg [1] : 0000000000000000000000008595829cc23d2cc2661019400eb730a9530f8229
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.