Sourcify Logosourcify.eth

0xBfd5e88C7D0cc6a90163A8d69887f7C3eee06306

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
AirdropV2Implementation
Compilation Target
contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
Language
Solidity
Compiler
solc 0.8.4+commit.c7e474f2
EVM Version
istanbul
Verified At
2024-08-08 12:32:31 UTC
Deployer
Deployment Transaction
Block Number
Transaction Index

ABI

Expand to view

Source Code

Remix IDE LogoView on Remix IDE
  • contracts/airdropV2/interfaces/IAirdropV2.sol
  • contracts/airdropV2/AirdropV2Implementation.sol
  • contracts/airdropV2/interfaces/AirdropV2StorageV1.sol
  • @openzeppelin/contracts/utils/cryptography/MerkleProof.sol
  • @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol
  • @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol
  • @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol
  • @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol
  • @openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol
  • @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol
  • @openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol
  • @openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.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

0x608060405234801561001057600080fd5b5061100e806100206000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80635c975abb116100ad57806386cb625e1161007157806386cb625e1461023c5780638da5cb5b1461024f578063aaf29bad14610260578063d7aada8114610273578063f2fde38b1461028657600080fd5b80635c975abb14610203578063715018a614610219578063787a08a61461022157806378ae579e1461022a57806378e979251461023357600080fd5b80631db0df69116100f45780631db0df69146101965780632eb4a7ab146101a95780633b9a0176146101b25780634783f0ef146101dd57806355119df9146101f057600080fd5b8063015677391461012657806306bcf02f146101675780630d8e6e2c1461017c5780631a39d8ef1461018d575b600080fd5b61014d610134366004610d16565b60cf602052600090815260409020805460019091015482565b604080519283526020830191909152015b60405180910390f35b61017a610175366004610e1a565b610299565b005b60015b60405190815260200161015e565b61017f60cd5481565b61017a6101a4366004610e1a565b6102d1565b61017f60ca5481565b60c9546101c5906001600160a01b031681565b6040516001600160a01b03909116815260200161015e565b61017a6101eb366004610e1a565b610300565b61017a6101fe366004610e1a565b61032f565b60655460ff16604051901515815260200161015e565b61017a61035e565b61017f60ce5481565b61017f60cc5481565b61017f60cb5481565b61017a61024a366004610db1565b610394565b6033546001600160a01b03166101c5565b61017a61026e366004610e1a565b61049f565b61017a610281366004610d30565b6104ce565b61017a610294366004610d16565b610745565b6033546001600160a01b031633146102cc5760405162461bcd60e51b81526004016102c390610e81565b60405180910390fd5b60cb55565b6033546001600160a01b031633146102fb5760405162461bcd60e51b81526004016102c390610e81565b60cc55565b6033546001600160a01b0316331461032a5760405162461bcd60e51b81526004016102c390610e81565b60ca55565b6033546001600160a01b031633146103595760405162461bcd60e51b81526004016102c390610e81565b60ce55565b6033546001600160a01b031633146103885760405162461bcd60e51b81526004016102c390610e81565b61039260006107e0565b565b600054610100900460ff166103af5760005460ff16156103b3565b303b155b6104165760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102c3565b600054610100900460ff16158015610438576000805461ffff19166101011790555b610440610832565b610448610869565b6104506108a0565b60c980546001600160a01b0319166001600160a01b03891617905560cb86905560cc85905560cd84905560ce83905560ca8290558015610496576000805461ff00191690555b50505050505050565b6033546001600160a01b031633146104c95760405162461bcd60e51b81526004016102c390610e81565b60cd55565b4260cb5411156104f05760405162461bcd60e51b81526004016102c390610eb6565b6001600160a01b038316600090815260cf6020526040902080546105ef576040516bffffffffffffffffffffffff19606086901b1660208201526000906034016040516020818303038152906040528051906020012090506105898484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060ca5491508490506108cf565b6105ed5760405162461bcd60e51b815260206004820152602f60248201527f41697264726f705632496d706c656d656e746174696f6e3a3a636c61696d3a2060448201526e24b731b7b93932b1ba10383937b7b360891b60648201526084016102c3565b505b4260ce5482600101546106029190610f48565b11156106205760405162461bcd60e51b81526004016102c390610eb6565b60cd5481541061069a576040805162461bcd60e51b81526020600482015260248101919091527f41697264726f705632496d706c656d656e746174696f6e3a3a636c61696d3a2060448201527f42656e6566696369617279277320636c61696d656420616c6c20616d6f756e7460648201526084016102c3565b805460cd546000916106ab91610f60565b9050600060cc5482116106be57816106c2565b60cc545b9050808360000160008282546106d89190610f48565b909155505042600184015560c9546106fa906001600160a01b031687836108e7565b856001600160a01b03167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a8260405161073591815260200190565b60405180910390a2505050505050565b6033546001600160a01b0316331461076f5760405162461bcd60e51b81526004016102c390610e81565b6001600160a01b0381166107d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102c3565b6107dd816107e0565b50565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166108595760405162461bcd60e51b81526004016102c390610efd565b61086161093e565b610392610965565b600054610100900460ff166108905760405162461bcd60e51b81526004016102c390610efd565b61089861093e565b610392610995565b600054610100900460ff166108c75760405162461bcd60e51b81526004016102c390610efd565b6103926109c8565b6000826108dc85846109f6565b1490505b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610939908490610ab0565b505050565b600054610100900460ff166103925760405162461bcd60e51b81526004016102c390610efd565b600054610100900460ff1661098c5760405162461bcd60e51b81526004016102c390610efd565b610392336107e0565b600054610100900460ff166109bc5760405162461bcd60e51b81526004016102c390610efd565b6065805460ff19169055565b600054610100900460ff166109ef5760405162461bcd60e51b81526004016102c390610efd565b6001609755565b600081815b8451811015610aa8576000858281518110610a2657634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311610a68576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250610a95565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080610aa081610fa7565b9150506109fb565b509392505050565b6000610b05826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610b829092919063ffffffff16565b8051909150156109395780806020019051810190610b239190610dfa565b6109395760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102c3565b6060610b918484600085610b99565b949350505050565b606082471015610bfa5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102c3565b843b610c485760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102c3565b600080866001600160a01b03168587604051610c649190610e32565b60006040518083038185875af1925050503d8060008114610ca1576040519150601f19603f3d011682016040523d82523d6000602084013e610ca6565b606091505b5091509150610cb6828286610cc1565b979650505050505050565b60608315610cd05750816108e0565b825115610ce05782518084602001fd5b8160405162461bcd60e51b81526004016102c39190610e4e565b80356001600160a01b0381168114610d1157600080fd5b919050565b600060208284031215610d27578081fd5b6108e082610cfa565b600080600060408486031215610d44578182fd5b610d4d84610cfa565b9250602084013567ffffffffffffffff80821115610d69578384fd5b818601915086601f830112610d7c578384fd5b813581811115610d8a578485fd5b8760208260051b8501011115610d9e578485fd5b6020830194508093505050509250925092565b60008060008060008060c08789031215610dc9578182fd5b610dd287610cfa565b9860208801359850604088013597606081013597506080810135965060a00135945092505050565b600060208284031215610e0b578081fd5b815180151581146108e0578182fd5b600060208284031215610e2b578081fd5b5035919050565b60008251610e44818460208701610f77565b9190910192915050565b6020815260008251806020840152610e6d816040850160208701610f77565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f41697264726f705632496d706c656d656e746174696f6e3a3a636c61696d3a20604082015266139bdd081e595d60ca1b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60008219821115610f5b57610f5b610fc2565b500190565b600082821015610f7257610f72610fc2565b500390565b60005b83811015610f92578181015183820152602001610f7a565b83811115610fa1576000848401525b50505050565b6000600019821415610fbb57610fbb610fc2565b5060010190565b634e487b7160e01b600052601160045260246000fdfea264697066735822122083a337c8b289c4ea37ddb7095c532f1f457b8ceb456491edb4accfb20c0e093564736f6c63430008040033

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 LogoSolidity metadata.json IPFS hash: QmXCWU8vLFZAxArkkRxZKxebiqnhVnDX4WGWAJ1E8oUh4p
RawDecoded
Length: 53 bytes
0xa264697066735822122083a337c8b289c4ea37ddb7095c532f1f457b8ceb456491edb4accfb20c0e093564736f6c63430008040033

Runtime Bytecode

On-chain & Recompiled Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c80635c975abb116100ad57806386cb625e1161007157806386cb625e1461023c5780638da5cb5b1461024f578063aaf29bad14610260578063d7aada8114610273578063f2fde38b1461028657600080fd5b80635c975abb14610203578063715018a614610219578063787a08a61461022157806378ae579e1461022a57806378e979251461023357600080fd5b80631db0df69116100f45780631db0df69146101965780632eb4a7ab146101a95780633b9a0176146101b25780634783f0ef146101dd57806355119df9146101f057600080fd5b8063015677391461012657806306bcf02f146101675780630d8e6e2c1461017c5780631a39d8ef1461018d575b600080fd5b61014d610134366004610d16565b60cf602052600090815260409020805460019091015482565b604080519283526020830191909152015b60405180910390f35b61017a610175366004610e1a565b610299565b005b60015b60405190815260200161015e565b61017f60cd5481565b61017a6101a4366004610e1a565b6102d1565b61017f60ca5481565b60c9546101c5906001600160a01b031681565b6040516001600160a01b03909116815260200161015e565b61017a6101eb366004610e1a565b610300565b61017a6101fe366004610e1a565b61032f565b60655460ff16604051901515815260200161015e565b61017a61035e565b61017f60ce5481565b61017f60cc5481565b61017f60cb5481565b61017a61024a366004610db1565b610394565b6033546001600160a01b03166101c5565b61017a61026e366004610e1a565b61049f565b61017a610281366004610d30565b6104ce565b61017a610294366004610d16565b610745565b6033546001600160a01b031633146102cc5760405162461bcd60e51b81526004016102c390610e81565b60405180910390fd5b60cb55565b6033546001600160a01b031633146102fb5760405162461bcd60e51b81526004016102c390610e81565b60cc55565b6033546001600160a01b0316331461032a5760405162461bcd60e51b81526004016102c390610e81565b60ca55565b6033546001600160a01b031633146103595760405162461bcd60e51b81526004016102c390610e81565b60ce55565b6033546001600160a01b031633146103885760405162461bcd60e51b81526004016102c390610e81565b61039260006107e0565b565b600054610100900460ff166103af5760005460ff16156103b3565b303b155b6104165760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102c3565b600054610100900460ff16158015610438576000805461ffff19166101011790555b610440610832565b610448610869565b6104506108a0565b60c980546001600160a01b0319166001600160a01b03891617905560cb86905560cc85905560cd84905560ce83905560ca8290558015610496576000805461ff00191690555b50505050505050565b6033546001600160a01b031633146104c95760405162461bcd60e51b81526004016102c390610e81565b60cd55565b4260cb5411156104f05760405162461bcd60e51b81526004016102c390610eb6565b6001600160a01b038316600090815260cf6020526040902080546105ef576040516bffffffffffffffffffffffff19606086901b1660208201526000906034016040516020818303038152906040528051906020012090506105898484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060ca5491508490506108cf565b6105ed5760405162461bcd60e51b815260206004820152602f60248201527f41697264726f705632496d706c656d656e746174696f6e3a3a636c61696d3a2060448201526e24b731b7b93932b1ba10383937b7b360891b60648201526084016102c3565b505b4260ce5482600101546106029190610f48565b11156106205760405162461bcd60e51b81526004016102c390610eb6565b60cd5481541061069a576040805162461bcd60e51b81526020600482015260248101919091527f41697264726f705632496d706c656d656e746174696f6e3a3a636c61696d3a2060448201527f42656e6566696369617279277320636c61696d656420616c6c20616d6f756e7460648201526084016102c3565b805460cd546000916106ab91610f60565b9050600060cc5482116106be57816106c2565b60cc545b9050808360000160008282546106d89190610f48565b909155505042600184015560c9546106fa906001600160a01b031687836108e7565b856001600160a01b03167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a8260405161073591815260200190565b60405180910390a2505050505050565b6033546001600160a01b0316331461076f5760405162461bcd60e51b81526004016102c390610e81565b6001600160a01b0381166107d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102c3565b6107dd816107e0565b50565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166108595760405162461bcd60e51b81526004016102c390610efd565b61086161093e565b610392610965565b600054610100900460ff166108905760405162461bcd60e51b81526004016102c390610efd565b61089861093e565b610392610995565b600054610100900460ff166108c75760405162461bcd60e51b81526004016102c390610efd565b6103926109c8565b6000826108dc85846109f6565b1490505b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610939908490610ab0565b505050565b600054610100900460ff166103925760405162461bcd60e51b81526004016102c390610efd565b600054610100900460ff1661098c5760405162461bcd60e51b81526004016102c390610efd565b610392336107e0565b600054610100900460ff166109bc5760405162461bcd60e51b81526004016102c390610efd565b6065805460ff19169055565b600054610100900460ff166109ef5760405162461bcd60e51b81526004016102c390610efd565b6001609755565b600081815b8451811015610aa8576000858281518110610a2657634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311610a68576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250610a95565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080610aa081610fa7565b9150506109fb565b509392505050565b6000610b05826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610b829092919063ffffffff16565b8051909150156109395780806020019051810190610b239190610dfa565b6109395760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102c3565b6060610b918484600085610b99565b949350505050565b606082471015610bfa5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102c3565b843b610c485760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102c3565b600080866001600160a01b03168587604051610c649190610e32565b60006040518083038185875af1925050503d8060008114610ca1576040519150601f19603f3d011682016040523d82523d6000602084013e610ca6565b606091505b5091509150610cb6828286610cc1565b979650505050505050565b60608315610cd05750816108e0565b825115610ce05782518084602001fd5b8160405162461bcd60e51b81526004016102c39190610e4e565b80356001600160a01b0381168114610d1157600080fd5b919050565b600060208284031215610d27578081fd5b6108e082610cfa565b600080600060408486031215610d44578182fd5b610d4d84610cfa565b9250602084013567ffffffffffffffff80821115610d69578384fd5b818601915086601f830112610d7c578384fd5b813581811115610d8a578485fd5b8760208260051b8501011115610d9e578485fd5b6020830194508093505050509250925092565b60008060008060008060c08789031215610dc9578182fd5b610dd287610cfa565b9860208801359850604088013597606081013597506080810135965060a00135945092505050565b600060208284031215610e0b578081fd5b815180151581146108e0578182fd5b600060208284031215610e2b578081fd5b5035919050565b60008251610e44818460208701610f77565b9190910192915050565b6020815260008251806020840152610e6d816040850160208701610f77565b601f01601f19169190910160400192915050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f41697264726f705632496d706c656d656e746174696f6e3a3a636c61696d3a20604082015266139bdd081e595d60ca1b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60008219821115610f5b57610f5b610fc2565b500190565b600082821015610f7257610f72610fc2565b500390565b60005b83811015610f92578181015183820152602001610f7a565b83811115610fa1576000848401525b50505050565b6000600019821415610fbb57610fbb610fc2565b5060010190565b634e487b7160e01b600052601160045260246000fdfea264697066735822122083a337c8b289c4ea37ddb7095c532f1f457b8ceb456491edb4accfb20c0e093564736f6c63430008040033

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 LogoSolidity metadata.json IPFS hash: QmXCWU8vLFZAxArkkRxZKxebiqnhVnDX4WGWAJ1E8oUh4p
RawDecoded
Length: 53 bytes
0xa264697066735822122083a337c8b289c4ea37ddb7095c532f1f457b8ceb456491edb4accfb20c0e093564736f6c63430008040033

Storage Layout

SlotOffsetBytesLabelTypeContract
001_initializedboolcontracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
011_initializingboolcontracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
101600__gapuint256[50]contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
51020_owneraddresscontracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
5201568__gapuint256[49]contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
10101_pausedboolcontracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
10201568__gapuint256[49]contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
151032_statusuint256contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
15201568__gapuint256[49]contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
201020PACTcontract IERC20Upgradeablecontracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
202032merkleRootbytes32contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
203032startTimeuint256contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
204032trancheAmountuint256contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
205032totalAmountuint256contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
206032cooldownuint256contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation
207032beneficiariesmapping(address ⇒ struct IAirdropV2.Beneficiary)contracts/airdropV2/AirdropV2Implementation.sol:AirdropV2Implementation

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...
0xBfd5e88C7D0cc6a90163A8d69887f7C3eee06306 on Celo Alfajores Testnet (44787)