Sourcify Logosourcify.eth

0xc775B47E2C1D6b8826AC0453a6d9f0aC452267C2

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
KolorMarketplace
Compilation Target
project:/contracts/KolorMarketplace.sol:KolorMarketplace
Language
Solidity
Compiler
solc 0.8.17+commit.8df45f5f
EVM Version
london
Verified At
2024-08-08 12:36:27 UTC
Deployer
Deployment Transaction
Block Number
Transaction Index

ABI

Expand to view

Source Code

Remix IDE LogoView on Remix IDE
  • project:/contracts/KolorLandNFT.sol
  • project:/contracts/IKolorLandNFT.sol
  • project:/contracts/KolorLandToken.sol
  • project:/contracts/KolorMarketplace.sol
  • @openzeppelin/contracts/utils/Address.sol
  • @openzeppelin/contracts/utils/Context.sol
  • @openzeppelin/contracts/utils/Strings.sol
  • @openzeppelin/contracts/access/Ownable.sol
  • @openzeppelin/contracts/utils/Counters.sol
  • @openzeppelin/contracts/token/ERC20/ERC20.sol
  • @openzeppelin/contracts/token/ERC20/IERC20.sol
  • @openzeppelin/contracts/token/ERC721/ERC721.sol
  • @openzeppelin/contracts/token/ERC721/IERC721.sol
  • @openzeppelin/contracts/security/ReentrancyGuard.sol
  • @openzeppelin/contracts/utils/introspection/ERC165.sol
  • @openzeppelin/contracts/utils/introspection/IERC165.sol
  • @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
  • @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol
  • @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.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

0x6080604052670de0b6b3a764000060065534801561001c57600080fd5b506100263361005e565b6001808055336000818152600760205260409020805460ff1916909217909155600580546001600160a01b03191690911790556100ae565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f05806100bd6000396000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c80638da5cb5b116100b2578063c812fe4b11610081578063eb313eb711610066578063eb313eb714610296578063f2fde38b146102a9578063fe9fbb80146102bc57600080fd5b8063c812fe4b14610270578063caddb4211461028357600080fd5b80638da5cb5b14610226578063b2688d3414610237578063b6a5d7de1461024a578063bd03e5121461025d57600080fd5b80633ff574b6116100ee5780633ff574b6146101e557806369d03738146101f8578063715018a61461020b57806377d90c661461021357600080fd5b8063150b7a021461012057806337ab83bb1461018e57806337ffeffa146101b95780633a6e1dfb146101d0575b600080fd5b61015861012e366004610d1c565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b6003546101a1906001600160a01b031681565b6040516001600160a01b039091168152602001610185565b6101c260065481565b604051908152602001610185565b6101e36101de366004610dbb565b6102ef565b005b6004546101a1906001600160a01b031681565b6101e3610206366004610dbb565b610348565b6101e3610420565b6101e3610221366004610ddf565b610434565b6000546001600160a01b03166101a1565b6005546101a1906001600160a01b031681565b6101e3610258366004610dbb565b61063d565b6101e361026b366004610dbb565b61066e565b6002546101a1906001600160a01b031681565b6101e3610291366004610df8565b6106c4565b6101e36102a4366004610dbb565b610b7a565b6101e36102b7366004610dbb565b610bd0565b6102df6102ca366004610dbb565b60076020526000908152604090205460ff1681565b6040519015158152602001610185565b6102f7610c5d565b6004546001600160a01b0382811691161461034557600454610321906001600160a01b031661063d565b600480546001600160a01b0319166001600160a01b0383161790556103458161063d565b50565b610350610c5d565b60025481906001600160a01b0380831691161461041c5760025461037c906001600160a01b031661063d565b600280546001600160a01b0319166001600160a01b0384161790556103a08261063d565b6040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301526001602483015282169063a22cb46590604401600060405180830381600087803b15801561040357600080fd5b505af1158015610417573d6000803e3d6000fd5b505050505b5050565b610428610c5d565b6104326000610cb7565b565b3360009081526007602052604090205460ff166104be5760405162461bcd60e51b815260206004820152602b60248201527f4b4d61726b6574706c6163653a20596f75277265206e6f7420616c6c6f77656460448201527f20746f20646f207468617400000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6002600154036105105760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104b5565b60026001819055546001600160a01b031680806342842e0e3061053b6000546001600160a01b031690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101869052606401600060405180830381600087803b1580156105a257600080fd5b505af11580156105b6573d6000803e3d6000fd5b50506040517f4f69ab8c0000000000000000000000000000000000000000000000000000000081526001600160a01b0385169250634f69ab8c9150610602908690600190600401610e1a565b600060405180830381600087803b15801561061c57600080fd5b505af1158015610630573d6000803e3d6000fd5b5050600180555050505050565b610645610c5d565b6001600160a01b03166000908152600760205260409020805460ff19811660ff90911615179055565b610676610c5d565b6003546001600160a01b03828116911614610345576003546106a0906001600160a01b031661063d565b600380546001600160a01b0319166001600160a01b0383161790556103458161063d565b6002600154036107165760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104b5565b60026001819055546040517f7b156fb5000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116908190637b156fb590602401602060405180830381865afa15801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a39190610e4c565b6108155760405162461bcd60e51b815260206004820152602860248201527f4b4d61726b6574706c6163653a204c616e64206973206e6f74207075626c697360448201527f686564207965742100000000000000000000000000000000000000000000000060648201526084016104b5565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810184905230906001600160a01b03831690636352211e90602401602060405180830381865afa158015610875573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108999190610e6e565b6001600160a01b0316146109155760405162461bcd60e51b815260206004820152603d60248201527f4b4d61726b6574706c6163653a204c616e64206973206e6f7420617661696c6160448201527f626c6520286d61726b6574706c616365206e6f74206f776e696e67292100000060648201526084016104b5565b600480546003546040517fb9186d7d0000000000000000000000000000000000000000000000000000000081529283018690526001600160a01b0391821692911690600090829063b9186d7d90602401602060405180830381865afa158015610982573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a69190610e8b565b90506000836001600160a01b03166323b872dd33600560009054906101000a90046001600160a01b0316600654868b6109df9190610ea4565b6109e99190610ea4565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af1158015610a55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a799190610e4c565b905080610aed5760405162461bcd60e51b8152602060048201526024808201527f4b4d61726b6574706c6163653a206e6f7420656e6f756768206355534420667560448201527f6e6473210000000000000000000000000000000000000000000000000000000060648201526084016104b5565b6040517f7a415e6900000000000000000000000000000000000000000000000000000000815233600482015260248101889052604481018790526001600160a01b03841690637a415e6990606401600060405180830381600087803b158015610b5557600080fd5b505af1158015610b69573d6000803e3d6000fd5b505060018055505050505050505050565b610b82610c5d565b6005546001600160a01b0382811691161461034557600554610bac906001600160a01b031661063d565b600580546001600160a01b0319166001600160a01b0383161790556103458161063d565b610bd8610c5d565b6001600160a01b038116610c545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104b5565b61034581610cb7565b6000546001600160a01b031633146104325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461034557600080fd5b600080600080600060808688031215610d3457600080fd5b8535610d3f81610d07565b94506020860135610d4f81610d07565b935060408601359250606086013567ffffffffffffffff80821115610d7357600080fd5b818801915088601f830112610d8757600080fd5b813581811115610d9657600080fd5b896020828501011115610da857600080fd5b9699959850939650602001949392505050565b600060208284031215610dcd57600080fd5b8135610dd881610d07565b9392505050565b600060208284031215610df157600080fd5b5035919050565b60008060408385031215610e0b57600080fd5b50508035926020909101359150565b8281526040810160048310610e3f57634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b600060208284031215610e5e57600080fd5b81518015158114610dd857600080fd5b600060208284031215610e8057600080fd5b8151610dd881610d07565b600060208284031215610e9d57600080fd5b5051919050565b8082028115828204841417610ec957634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220dd591744fdb48f2e86509b8f51cb74666980a2d9ada50040db1c9dc552cb3a7d64736f6c63430008110033

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: QmdEhbwMzcE6v59hqdcfa5GhEtfTy2snwTvMLPAGRF3zEQ
RawDecoded
Length: 53 bytes
0xa2646970667358221220dd591744fdb48f2e86509b8f51cb74666980a2d9ada50040db1c9dc552cb3a7d64736f6c63430008110033

Runtime Bytecode

On-chain & Recompiled Bytecode
0x608060405234801561001057600080fd5b506004361061011b5760003560e01c80638da5cb5b116100b2578063c812fe4b11610081578063eb313eb711610066578063eb313eb714610296578063f2fde38b146102a9578063fe9fbb80146102bc57600080fd5b8063c812fe4b14610270578063caddb4211461028357600080fd5b80638da5cb5b14610226578063b2688d3414610237578063b6a5d7de1461024a578063bd03e5121461025d57600080fd5b80633ff574b6116100ee5780633ff574b6146101e557806369d03738146101f8578063715018a61461020b57806377d90c661461021357600080fd5b8063150b7a021461012057806337ab83bb1461018e57806337ffeffa146101b95780633a6e1dfb146101d0575b600080fd5b61015861012e366004610d1c565b7f150b7a020000000000000000000000000000000000000000000000000000000095945050505050565b6040517fffffffff0000000000000000000000000000000000000000000000000000000090911681526020015b60405180910390f35b6003546101a1906001600160a01b031681565b6040516001600160a01b039091168152602001610185565b6101c260065481565b604051908152602001610185565b6101e36101de366004610dbb565b6102ef565b005b6004546101a1906001600160a01b031681565b6101e3610206366004610dbb565b610348565b6101e3610420565b6101e3610221366004610ddf565b610434565b6000546001600160a01b03166101a1565b6005546101a1906001600160a01b031681565b6101e3610258366004610dbb565b61063d565b6101e361026b366004610dbb565b61066e565b6002546101a1906001600160a01b031681565b6101e3610291366004610df8565b6106c4565b6101e36102a4366004610dbb565b610b7a565b6101e36102b7366004610dbb565b610bd0565b6102df6102ca366004610dbb565b60076020526000908152604090205460ff1681565b6040519015158152602001610185565b6102f7610c5d565b6004546001600160a01b0382811691161461034557600454610321906001600160a01b031661063d565b600480546001600160a01b0319166001600160a01b0383161790556103458161063d565b50565b610350610c5d565b60025481906001600160a01b0380831691161461041c5760025461037c906001600160a01b031661063d565b600280546001600160a01b0319166001600160a01b0384161790556103a08261063d565b6040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301526001602483015282169063a22cb46590604401600060405180830381600087803b15801561040357600080fd5b505af1158015610417573d6000803e3d6000fd5b505050505b5050565b610428610c5d565b6104326000610cb7565b565b3360009081526007602052604090205460ff166104be5760405162461bcd60e51b815260206004820152602b60248201527f4b4d61726b6574706c6163653a20596f75277265206e6f7420616c6c6f77656460448201527f20746f20646f207468617400000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6002600154036105105760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104b5565b60026001819055546001600160a01b031680806342842e0e3061053b6000546001600160a01b031690565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101869052606401600060405180830381600087803b1580156105a257600080fd5b505af11580156105b6573d6000803e3d6000fd5b50506040517f4f69ab8c0000000000000000000000000000000000000000000000000000000081526001600160a01b0385169250634f69ab8c9150610602908690600190600401610e1a565b600060405180830381600087803b15801561061c57600080fd5b505af1158015610630573d6000803e3d6000fd5b5050600180555050505050565b610645610c5d565b6001600160a01b03166000908152600760205260409020805460ff19811660ff90911615179055565b610676610c5d565b6003546001600160a01b03828116911614610345576003546106a0906001600160a01b031661063d565b600380546001600160a01b0319166001600160a01b0383161790556103458161063d565b6002600154036107165760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104b5565b60026001819055546040517f7b156fb5000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03909116908190637b156fb590602401602060405180830381865afa15801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a39190610e4c565b6108155760405162461bcd60e51b815260206004820152602860248201527f4b4d61726b6574706c6163653a204c616e64206973206e6f74207075626c697360448201527f686564207965742100000000000000000000000000000000000000000000000060648201526084016104b5565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810184905230906001600160a01b03831690636352211e90602401602060405180830381865afa158015610875573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108999190610e6e565b6001600160a01b0316146109155760405162461bcd60e51b815260206004820152603d60248201527f4b4d61726b6574706c6163653a204c616e64206973206e6f7420617661696c6160448201527f626c6520286d61726b6574706c616365206e6f74206f776e696e67292100000060648201526084016104b5565b600480546003546040517fb9186d7d0000000000000000000000000000000000000000000000000000000081529283018690526001600160a01b0391821692911690600090829063b9186d7d90602401602060405180830381865afa158015610982573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a69190610e8b565b90506000836001600160a01b03166323b872dd33600560009054906101000a90046001600160a01b0316600654868b6109df9190610ea4565b6109e99190610ea4565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af1158015610a55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a799190610e4c565b905080610aed5760405162461bcd60e51b8152602060048201526024808201527f4b4d61726b6574706c6163653a206e6f7420656e6f756768206355534420667560448201527f6e6473210000000000000000000000000000000000000000000000000000000060648201526084016104b5565b6040517f7a415e6900000000000000000000000000000000000000000000000000000000815233600482015260248101889052604481018790526001600160a01b03841690637a415e6990606401600060405180830381600087803b158015610b5557600080fd5b505af1158015610b69573d6000803e3d6000fd5b505060018055505050505050505050565b610b82610c5d565b6005546001600160a01b0382811691161461034557600554610bac906001600160a01b031661063d565b600580546001600160a01b0319166001600160a01b0383161790556103458161063d565b610bd8610c5d565b6001600160a01b038116610c545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104b5565b61034581610cb7565b6000546001600160a01b031633146104325760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461034557600080fd5b600080600080600060808688031215610d3457600080fd5b8535610d3f81610d07565b94506020860135610d4f81610d07565b935060408601359250606086013567ffffffffffffffff80821115610d7357600080fd5b818801915088601f830112610d8757600080fd5b813581811115610d9657600080fd5b896020828501011115610da857600080fd5b9699959850939650602001949392505050565b600060208284031215610dcd57600080fd5b8135610dd881610d07565b9392505050565b600060208284031215610df157600080fd5b5035919050565b60008060408385031215610e0b57600080fd5b50508035926020909101359150565b8281526040810160048310610e3f57634e487b7160e01b600052602160045260246000fd5b8260208301529392505050565b600060208284031215610e5e57600080fd5b81518015158114610dd857600080fd5b600060208284031215610e8057600080fd5b8151610dd881610d07565b600060208284031215610e9d57600080fd5b5051919050565b8082028115828204841417610ec957634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220dd591744fdb48f2e86509b8f51cb74666980a2d9ada50040db1c9dc552cb3a7d64736f6c63430008110033

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: QmdEhbwMzcE6v59hqdcfa5GhEtfTy2snwTvMLPAGRF3zEQ
RawDecoded
Length: 53 bytes
0xa2646970667358221220dd591744fdb48f2e86509b8f51cb74666980a2d9ada50040db1c9dc552cb3a7d64736f6c63430008110033

Storage Layout

SlotOffsetBytesLabelTypeContract
0020_owneraddressproject:/contracts/KolorMarketplace.sol:KolorMarketplace
1032_statusuint256project:/contracts/KolorMarketplace.sol:KolorMarketplace
2020KolorLandNFTAddressaddressproject:/contracts/KolorMarketplace.sol:KolorMarketplace
3020KolorLandTokenAddressaddressproject:/contracts/KolorMarketplace.sol:KolorMarketplace
4020cUSDAddressaddressproject:/contracts/KolorMarketplace.sol:KolorMarketplace
5020kolorAddressaddressproject:/contracts/KolorMarketplace.sol:KolorMarketplace
6032oneETHuint256project:/contracts/KolorMarketplace.sol:KolorMarketplace
7032isAuthorizedmapping(address ⇒ bool)project:/contracts/KolorMarketplace.sol:KolorMarketplace

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