Transaction Hash:
Block:
18189400 at Sep-22-2023 05:46:35 AM +UTC
Transaction Fee:
0.003267160146541332 ETH
$12.35
Gas Used:
423,638 Gas / 7.712150814 Gwei
Emitted Events:
133 |
TWCloneFactory.ProxyDeployed( implementation=NFTStake, proxy=NFTStake, deployer=[Sender] 0x12c5f80dc11ec22be4645b690587157a978d3112 )
|
134 |
NFTStake.ContractURIUpdated( prevURI=, newURI=ipfs://Qmc8zY6uMfNR1qKGgh3DR9THXTy37bkE99EwjfjC2YERpm/0 )
|
135 |
NFTStake.RoleGranted( role=0000000000000000000000000000000000000000000000000000000000000000, account=[Sender] 0x12c5f80dc11ec22be4645b690587157a978d3112, sender=[Receiver] TWCloneFactory )
|
136 |
NFTStake.Initialized( version=1 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x12C5F80d...a978d3112 | (YOHO: Deployer) |
0.255113743356951522 Eth
Nonce: 2
|
0.25184658321041019 Eth
Nonce: 3
| 0.003267160146541332 | |
0x3b64216A...75Ab7ED67
Miner
| (Boba Builder) | 2.344109572420036108 Eth | 2.344151936220036108 Eth | 0.0000423638 | |
0x76F948E5...Bf524805E | |||||
0xAF5152bA...5990F70b2 |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
|
Execution Trace
TWCloneFactory.deployProxyByImplementation( _implementation=0x65Ef33fb28DF30B9B1787AD5fdd54A61a8d7b147, _data=0x6A5AB6E500000000000000000000000012C5F80DC11EC22BE4645B690587157A978D311200000000000000000000000000000000000000000000000000000000000000E00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000C8D1ACD9AC1116F8450B375BE2A3730F43E916D400000000000000000000000091B38DCBB99DC51125FC73F05217B235756131170000000000000000000000000000000000000000000000000000000000000E100000000000000000000000000000000000000000000000008AC7230489E800000000000000000000000000000000000000000000000000000000000000000037697066733A2F2F516D63387A5936754D664E5231714B4767683344523954485854793337626B45393945776A666A4332594552706D2F300000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000C82BBE41F2CF04E3A8EFA18F7032BDD7F6D98A8100000000000000000000000084A0856B038EAAD1CC7E297CF34A7E72685A8693, _salt=3138313839333938000000000000000000000000000000000000000000000000 ) => ( deployedProxy=0xAF5152bAdd838814279b965586510a45990F70b2 )
-
NFTStake.3d602d80( )
NFTStake.initialize( _defaultAdmin=0x12C5F80dc11eC22BE4645B690587157a978d3112, _contractURI=ipfs://Qmc8zY6uMfNR1qKGgh3DR9THXTy37bkE99EwjfjC2YERpm/0, _trustedForwarders=[0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81, 0x84a0856b038eaAd1cC7E297cF34A7e72685A8693], _rewardToken=0xc8d1acd9aC1116F8450b375be2A3730F43e916d4, _stakingToken=0x91B38DCBb99dc51125fC73F05217B23575613117, _timeUnit=3600, _rewardsPerUnitTime=10000000000000000000 )
-
NFTStake.initialize( _defaultAdmin=0x12C5F80dc11eC22BE4645B690587157a978d3112, _contractURI=ipfs://Qmc8zY6uMfNR1qKGgh3DR9THXTy37bkE99EwjfjC2YERpm/0, _trustedForwarders=[0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81, 0x84a0856b038eaAd1cC7E297cF34A7e72685A8693], _rewardToken=0xc8d1acd9aC1116F8450b375be2A3730F43e916d4, _stakingToken=0x91B38DCBb99dc51125fC73F05217B23575613117, _timeUnit=3600, _rewardsPerUnitTime=10000000000000000000 )
-
deployProxyByImplementation[TWCloneFactory (ln:21)]
_msgSender[TWCloneFactory (ln:26)]
_msgSender[TWCloneFactory (ln:35)]
isTrustedForwarder[ERC2771Context (ln:77)]
_msgSender[ERC2771Context (ln:84)]
cloneDeterministic[TWCloneFactory (ln:27)]
ProxyDeployed[TWCloneFactory (ln:28)]
_msgSender[TWCloneFactory (ln:28)]
_msgSender[TWCloneFactory (ln:35)]
isTrustedForwarder[ERC2771Context (ln:77)]
_msgSender[ERC2771Context (ln:84)]
functionCall[TWCloneFactory (ln:31)]
functionCall[Address (ln:256)]
File 1 of 3: TWCloneFactory
File 2 of 3: NFTStake
File 3 of 3: NFTStake
12345678910111213141516// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.11;/// @author thirdweb// $$\\ $$\\ $$\\ $$\\ $$\\// $$ | $$ | \\__| $$ | $$ |// $$$$$$\\ $$$$$$$\\ $$\\ $$$$$$\\ $$$$$$$ |$$\\ $$\\ $$\\ $$$$$$\\ $$$$$$$\\// \\_$$ _| $$ __$$\\ $$ |$$ __$$\\ $$ __$$ |$$ | $$ | $$ |$$ __$$\\ $$ __$$\\// $$ | $$ | $$ |$$ |$$ | \\__|$$ / $$ |$$ | $$ | $$ |$$$$$$$$ |$$ | $$ |// $$ |$$\\ $$ | $$ |$$ |$$ | $$ | $$ |$$ | $$ | $$ |$$ ____|$$ | $$ |// \\$$$$ |$$ | $$ |$$ |$$ | \\$$$$$$$ |\\$$$$$\\$$$$ |\\$$$$$$$\\ $$$$$$$ |// \\____/ \\__| \\__|\\__|\\__| \\_______| \\_____\\____/ \\_______|\\_______/import "./extension/interface/IContractFactory.sol";import "@openzeppelin/contracts/metatx/ERC2771Context.sol";import "@openzeppelin/contracts/utils/Multicall.sol";import "@openzeppelin/contracts/proxy/Clones.sol";contract TWCloneFactory is Multicall, ERC2771Context, IContractFactory {
File 2 of 3: NFTStake
12345678910111213141516// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/*** @title ERC20 interface* @dev see https://github.com/ethereum/EIPs/issues/20*/interface IERC20 {function totalSupply() external view returns (uint256);function balanceOf(address who) external view returns (uint256);function allowance(address owner, address spender) external view returns (uint256);function transfer(address to, uint256 value) external returns (bool);function approve(address spender, uint256 value) external returns (bool);function transferFrom(address from,address to,uint256 value
File 3 of 3: NFTStake
12345678910111213141516// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/*** @title ERC20 interface* @dev see https://github.com/ethereum/EIPs/issues/20*/interface IERC20 {function totalSupply() external view returns (uint256);function balanceOf(address who) external view returns (uint256);function allowance(address owner, address spender) external view returns (uint256);function transfer(address to, uint256 value) external returns (bool);function approve(address spender, uint256 value) external returns (bool);function transferFrom(address from,address to,uint256 value