Sourcify Logosourcify.eth

0xE5b6ffEB590950A1831f6725F5212306FcA2Af43

on Celo Alfajores Testnet (44787)

Exact Match
Runtime Bytecode
Creation Bytecode
Warning: This contract is only matched with runtime bytecode. The constructor may be different from the original one, which could affect the contract's functionality.
Contract Name
TestAdmin
Compilation Target
contracts/TestAdmin.sol:TestAdmin
Language
Solidity
Compiler
solc 0.8.1+commit.df193b15
EVM Version
istanbul
Verified At
2024-08-08 12:34:14 UTC
Deployer
Deployment Transaction
Block Number
Transaction Index

ABI

Expand to view

Source Code

Remix IDE LogoView on Remix IDE
  • contracts/TestAdmin.sol
  • @openzeppelin/contracts/utils/Context.sol
  • @openzeppelin/contracts/access/Ownable.sol
  • @openzeppelin/contracts/utils/Counters.sol
  • @openzeppelin/contracts/token/ERC20/IERC20.sol
  • @openzeppelin/contracts/security/ReentrancyGuard.sol
Loading...

Compiler Settings

Loading...

Contract Metadata

Loading...
Contract couldn't be verified with the creation bytecode but with the runtime bytecode. Below is what was found at the time of verification.

Creation Bytecode

0x60a060405234801561001057600080fd5b50604051610cb5380380610cb583398101604081905261002f916100db565b61003f61003a610087565b61008b565b600180556001600160a01b0381166100725760405162461bcd60e51b815260040161006990610109565b60405180910390fd5b60601b6001600160601b031916608052610140565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ec578081fd5b81516001600160a01b0381168114610102578182fd5b9392505050565b6020808252601c908201527f5a65726f206164647265737320666f7220737461626c65746f6b656e00000000604082015260600190565b60805160601c610b5761015e60003960006103b10152610b576000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80630db8ff7414610067578063715018a61461007c5780638da5cb5b14610084578063d5907ad0146100a2578063de89dbbc146100b5578063f2fde38b146100c8575b600080fd5b61007a61007536600461070f565b6100db565b005b61007a610252565b61008c61029d565b6040516100999190610815565b60405180910390f35b61007a6100b03660046107ea565b6102ac565b61007a6100c3366004610767565b6104b4565b61007a6100d63660046106ee565b610601565b600260015414156101075760405162461bcd60e51b81526004016100fe90610ab0565b60405180910390fd5b60026001556001600160a01b0384166101325760405162461bcd60e51b81526004016100fe90610a80565b600083116101525760405162461bcd60e51b81526004016100fe906109dd565b600082116101725760405162461bcd60e51b81526004016100fe90610960565b600061017e6002610672565b6040805160a0810182526001600160a01b03888116825260208083018881528385018a81526000606086018181526080870182815289835260039586905297909120955186546001600160a01b0319169516949094178555905160018501555160028085019190915591519083015591516004909101559091506102019061067a565b81856001600160a01b03167ff08d9de3fd9b58105c7edf027bedafcd498784624a7ec29f214e9d23d09df25e83878760405161023f93929190610ae7565b60405180910390a3505060018055505050565b61025a610683565b6001600160a01b031661026b61029d565b6001600160a01b0316146102915760405162461bcd60e51b81526004016100fe90610a14565b61029b6000610687565b565b6000546001600160a01b031690565b600260015414156102cf5760405162461bcd60e51b81526004016100fe90610ab0565b60026001556000838152600360205260409020546001600160a01b03166103085760405162461bcd60e51b81526004016100fe906109a6565b600083815260036020526040902060028101546004820154111561033e5760405162461bcd60e51b81526004016100fe90610a49565b828160040160008282546103529190610afd565b909155505060028101546004820154111561037f5760405162461bcd60e51b81526004016100fe906108ba565b828160030160008282546103939190610afd565b909155505080546040516323b872dd60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116926323b872dd926103eb92339216908890600401610829565b602060405180830381600087803b15801561040557600080fd5b505af1158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190610747565b6104595760405162461bcd60e51b81526004016100fe90610937565b8054600382015460405184926001600160a01b03169187917f757e50e96cf121ae2ea308d2aca4afb350efa2e7fc62f7fe0efb71cbb9b566cd916104a291600191908a90610893565b60405180910390a45050600180555050565b600260015414156104d75760405162461bcd60e51b81526004016100fe90610ab0565b60026001556000858152600360205260409020546001600160a01b03166105105760405162461bcd60e51b81526004016100fe906109a6565b60008581526003602052604090206002810154600482015411156105465760405162461bcd60e51b81526004016100fe90610a49565b8481600401600082825461055a9190610afd565b90915550506002810154600482015411156105875760405162461bcd60e51b81526004016100fe906108ba565b8481600301600082825461059b9190610afd565b90915550508054600382015460405184926001600160a01b03169189917f757e50e96cf121ae2ea308d2aca4afb350efa2e7fc62f7fe0efb71cbb9b566cd916105ed91600091908c908c908c9061084d565b60405180910390a450506001805550505050565b610609610683565b6001600160a01b031661061a61029d565b6001600160a01b0316146106405760405162461bcd60e51b81526004016100fe90610a14565b6001600160a01b0381166106665760405162461bcd60e51b81526004016100fe906108f1565b61066f81610687565b50565b80545b919050565b80546001019055565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461067557600080fd5b6000602082840312156106ff578081fd5b610708826106d7565b9392505050565b60008060008060808587031215610724578283fd5b61072d856106d7565b966020860135965060408601359560600135945092505050565b600060208284031215610758578081fd5b81518015158114610708578182fd5b60008060008060006080868803121561077e578081fd5b8535945060208601359350604086013567ffffffffffffffff808211156107a3578283fd5b818801915088601f8301126107b6578283fd5b8135818111156107c4578384fd5b8960208285010111156107d5578384fd5b96999598505060200195606001359392505050565b6000806000606084860312156107fe578283fd5b505081359360208301359350604090920135919050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000861515825285602083015284604083015260806060830152826080830152828460a084013781830160a090810191909152601f909201601f19160101949350505050565b92151583526020830191909152604082015260806060820181905260009082015260a00190565b6020808252601d908201527f5061796f75742077696c6c206578636565642074686520627564676574000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b60208082526026908201527f4e756d626572206f66207472656573206d75737420626520677265617465722060408201526507468616e20360d41b606082015260800190565b6020808252601c908201527f4e6f20636f6d6d69747320657869737420666f72207468617420696400000000604082015260600190565b6020808252601d908201527f427564676574206d7573742062652067726561746572207468616e2030000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601b908201527f42756467657420686173206265656e2066756c6c79207370656e740000000000604082015260600190565b6020808252601690820152752d32b9379030b2323932b9b9903337b91037bbb732b960511b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b9283526020830191909152604082015260600190565b60008219821115610b1c57634e487b7160e01b81526011600452602481fd5b50019056fea2646970667358221220fc7c8f56014750b6e77f55113425c61f42c0483fcebc634a97a785457715a26c64736f6c63430008010033

CBOR Auxdata

These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.

CBOR Auxdata id: 1

View on IPFS Logo
Solidity metadata.json IPFS hash: QmfLFcNwLLMKPgbqCBix6XXxdXAG5WwFgZx9sEjtaWSqes
RawDecoded
Length: 53 bytes
0xa2646970667358221220fc7c8f56014750b6e77f55113425c61f42c0483fcebc634a97a785457715a26c64736f6c63430008010033

Runtime Bytecode

0x608060405234801561001057600080fd5b50600436106100625760003560e01c80630db8ff7414610067578063715018a61461007c5780638da5cb5b14610084578063d5907ad0146100a2578063de89dbbc146100b5578063f2fde38b146100c8575b600080fd5b61007a61007536600461070f565b6100db565b005b61007a610252565b61008c61029d565b6040516100999190610815565b60405180910390f35b61007a6100b03660046107ea565b6102ac565b61007a6100c3366004610767565b6104b4565b61007a6100d63660046106ee565b610601565b600260015414156101075760405162461bcd60e51b81526004016100fe90610ab0565b60405180910390fd5b60026001556001600160a01b0384166101325760405162461bcd60e51b81526004016100fe90610a80565b600083116101525760405162461bcd60e51b81526004016100fe906109dd565b600082116101725760405162461bcd60e51b81526004016100fe90610960565b600061017e6002610672565b6040805160a0810182526001600160a01b03888116825260208083018881528385018a81526000606086018181526080870182815289835260039586905297909120955186546001600160a01b0319169516949094178555905160018501555160028085019190915591519083015591516004909101559091506102019061067a565b81856001600160a01b03167ff08d9de3fd9b58105c7edf027bedafcd498784624a7ec29f214e9d23d09df25e83878760405161023f93929190610ae7565b60405180910390a3505060018055505050565b61025a610683565b6001600160a01b031661026b61029d565b6001600160a01b0316146102915760405162461bcd60e51b81526004016100fe90610a14565b61029b6000610687565b565b6000546001600160a01b031690565b600260015414156102cf5760405162461bcd60e51b81526004016100fe90610ab0565b60026001556000838152600360205260409020546001600160a01b03166103085760405162461bcd60e51b81526004016100fe906109a6565b600083815260036020526040902060028101546004820154111561033e5760405162461bcd60e51b81526004016100fe90610a49565b828160040160008282546103529190610afd565b909155505060028101546004820154111561037f5760405162461bcd60e51b81526004016100fe906108ba565b828160030160008282546103939190610afd565b909155505080546040516323b872dd60e01b81526001600160a01b037fimmutable000000000000000000000000874069fa1eb16d44d622f2e0ca25eea172369bc18116926323b872dd926103eb92339216908890600401610829565b602060405180830381600087803b15801561040557600080fd5b505af1158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190610747565b6104595760405162461bcd60e51b81526004016100fe90610937565b8054600382015460405184926001600160a01b03169187917f757e50e96cf121ae2ea308d2aca4afb350efa2e7fc62f7fe0efb71cbb9b566cd916104a291600191908a90610893565b60405180910390a45050600180555050565b600260015414156104d75760405162461bcd60e51b81526004016100fe90610ab0565b60026001556000858152600360205260409020546001600160a01b03166105105760405162461bcd60e51b81526004016100fe906109a6565b60008581526003602052604090206002810154600482015411156105465760405162461bcd60e51b81526004016100fe90610a49565b8481600401600082825461055a9190610afd565b90915550506002810154600482015411156105875760405162461bcd60e51b81526004016100fe906108ba565b8481600301600082825461059b9190610afd565b90915550508054600382015460405184926001600160a01b03169189917f757e50e96cf121ae2ea308d2aca4afb350efa2e7fc62f7fe0efb71cbb9b566cd916105ed91600091908c908c908c9061084d565b60405180910390a450506001805550505050565b610609610683565b6001600160a01b031661061a61029d565b6001600160a01b0316146106405760405162461bcd60e51b81526004016100fe90610a14565b6001600160a01b0381166106665760405162461bcd60e51b81526004016100fe906108f1565b61066f81610687565b50565b80545b919050565b80546001019055565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461067557600080fd5b6000602082840312156106ff578081fd5b610708826106d7565b9392505050565b60008060008060808587031215610724578283fd5b61072d856106d7565b966020860135965060408601359560600135945092505050565b600060208284031215610758578081fd5b81518015158114610708578182fd5b60008060008060006080868803121561077e578081fd5b8535945060208601359350604086013567ffffffffffffffff808211156107a3578283fd5b818801915088601f8301126107b6578283fd5b8135818111156107c4578384fd5b8960208285010111156107d5578384fd5b96999598505060200195606001359392505050565b6000806000606084860312156107fe578283fd5b505081359360208301359350604090920135919050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000861515825285602083015284604083015260806060830152826080830152828460a084013781830160a090810191909152601f909201601f19160101949350505050565b92151583526020830191909152604082015260806060820181905260009082015260a00190565b6020808252601d908201527f5061796f75742077696c6c206578636565642074686520627564676574000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b60208082526026908201527f4e756d626572206f66207472656573206d75737420626520677265617465722060408201526507468616e20360d41b606082015260800190565b6020808252601c908201527f4e6f20636f6d6d69747320657869737420666f72207468617420696400000000604082015260600190565b6020808252601d908201527f427564676574206d7573742062652067726561746572207468616e2030000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601b908201527f42756467657420686173206265656e2066756c6c79207370656e740000000000604082015260600190565b6020808252601690820152752d32b9379030b2323932b9b9903337b91037bbb732b960511b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b9283526020830191909152604082015260600190565b60008219821115610b1c57634e487b7160e01b81526011600452602481fd5b50019056fea2646970667358221220fc7c8f56014750b6e77f55113425c61f42c0483fcebc634a97a785457715a26c64736f6c63430008010033

CBOR Auxdata

These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.

CBOR Auxdata id: 1

View on IPFS Logo
Solidity metadata.json IPFS hash: QmfLFcNwLLMKPgbqCBix6XXxdXAG5WwFgZx9sEjtaWSqes
RawDecoded
Length: 53 bytes
0xa2646970667358221220fc7c8f56014750b6e77f55113425c61f42c0483fcebc634a97a785457715a26c64736f6c63430008010033

Transformations

Immutable Transformations

IDValueOffsets
3740x000000000000000000000000874069fa1eb16d44d622f2e0ca25eea172369bc1945

Storage Layout

SlotOffsetBytesLabelTypeContract
0020_owneraddresscontracts/TestAdmin.sol:TestAdmin
1032_statusuint256contracts/TestAdmin.sol:TestAdmin
2032_commitIdTrackerstruct Counters.Countercontracts/TestAdmin.sol:TestAdmin
3032_commitsmapping(uint256 ⇒ struct TestAdmin.Commit)contracts/TestAdmin.sol:TestAdmin

Standard JSON Input

This isn't the original compiler JSON data. Generated for compatibility.

Loading...

Standard JSON Output

This isn't the original compiler JSON data. Generated for compatibility.

Loading...
0xE5b6ffEB590950A1831f6725F5212306FcA2Af43 on Celo Alfajores Testnet (44787)