Transaction Hash:
Block:
18174508 at Sep-20-2023 03:45:11 AM +UTC
Transaction Fee:
0.008718225544290672 ETH
$36.63
Gas Used:
701,238 Gas / 12.432619944 Gwei
Emitted Events:
321 |
TWCloneFactory.ProxyDeployed( implementation=TokenERC20, proxy=TokenERC20, deployer=[Sender] 0x5da365fe4c36656b7eb8913a220412f6fbad8d3a )
|
322 |
TokenERC20.RoleGranted( role=0000000000000000000000000000000000000000000000000000000000000000, account=[Sender] 0x5da365fe4c36656b7eb8913a220412f6fbad8d3a, sender=[Receiver] TWCloneFactory )
|
323 |
TokenERC20.RoleGranted( role=8502233096D909BEFBDA0999BB8EA2F3A6BE3C138B9FBF003752A4C8BCE86F6C, account=[Sender] 0x5da365fe4c36656b7eb8913a220412f6fbad8d3a, sender=[Receiver] TWCloneFactory )
|
324 |
TokenERC20.RoleGranted( role=9F2DF0FED2C77648DE5860A4CC508CD0818C85B8B8A1AB4CEEEF8D981C8956A6, account=[Sender] 0x5da365fe4c36656b7eb8913a220412f6fbad8d3a, sender=[Receiver] TWCloneFactory )
|
325 |
TokenERC20.RoleGranted( role=8502233096D909BEFBDA0999BB8EA2F3A6BE3C138B9FBF003752A4C8BCE86F6C, account=0x00000000...000000000, sender=[Receiver] TWCloneFactory )
|
326 |
TokenERC20.Initialized( version=1 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1f9090aa...8e676c326
Miner
| 2.006001570747608698 Eth | 2.006071694547608698 Eth | 0.0000701238 | ||
0x5da365FE...6fbAd8D3a |
0.379246056876791111 Eth
Nonce: 5
|
0.370527831332500439 Eth
Nonce: 6
| 0.008718225544290672 | ||
0x76F948E5...Bf524805E | |||||
0xda499862...02486D823 |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
|
Execution Trace
TWCloneFactory.deployProxyByImplementation( _implementation=0xaE5be6d490C47c7417e91B7911d3A0Ce3553438d, _data=0xDFAD80A60000000000000000000000005DA365FE4C36656B7EB8913A220412F6FBAD8D3A00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001E00000000000000000000000005DA365FE4C36656B7EB8913A220412F6FBAD8D3A0000000000000000000000005DA365FE4C36656B7EB8913A220412F6FBAD8D3A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008417374726F507570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524415055500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037697066733A2F2F516D58444178375964486868506F75443556533644647A344D484A574370737A63615856437A45554B5A586F717A2F300000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000C82BBE41F2CF04E3A8EFA18F7032BDD7F6D98A8100000000000000000000000084A0856B038EAAD1CC7E297CF34A7E72685A8693, _salt=3138313734353036000000000000000000000000000000000000000000000000 ) => ( deployedProxy=0xda49986258b77274e3893CEae6515D902486D823 )
-
TokenERC20.3d602d80( )
TokenERC20.initialize( _defaultAdmin=0x5da365FE4C36656b7eb8913a220412f6fbAd8D3a, _name=AstroPup, _symbol=$APUP, _contractURI=ipfs://QmXDAx7YdHhhPouD5VS6Ddz4MHJWCpszcaXVCzEUKZXoqz/0, _trustedForwarders=[0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81, 0x84a0856b038eaAd1cC7E297cF34A7e72685A8693], _primarySaleRecipient=0x5da365FE4C36656b7eb8913a220412f6fbAd8D3a, _platformFeeRecipient=0x5da365FE4C36656b7eb8913a220412f6fbAd8D3a, _platformFeeBps=0 )
-
TokenERC20.initialize( _defaultAdmin=0x5da365FE4C36656b7eb8913a220412f6fbAd8D3a, _name=AstroPup, _symbol=$APUP, _contractURI=ipfs://QmXDAx7YdHhhPouD5VS6Ddz4MHJWCpszcaXVCzEUKZXoqz/0, _trustedForwarders=[0xc82BbE41f2cF04e3a8efA18F7032BDD7f6d98a81, 0x84a0856b038eaAd1cC7E297cF34A7e72685A8693], _primarySaleRecipient=0x5da365FE4C36656b7eb8913a220412f6fbAd8D3a, _platformFeeRecipient=0x5da365FE4C36656b7eb8913a220412f6fbAd8D3a, _platformFeeBps=0 )
-
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: TokenERC20
File 3 of 3: TokenERC20
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: TokenERC20
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: TokenERC20
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