Verified contractPartialMIT
ScandinavianTrailerTrash
Address0x8b3fac9cfb404e676dce5fb8cdcbc845d4e7aa29
- Balance
0 ETH
- Transactions
101
- Compiler
solc 0.8.17
- Same code
Only this contract
Details
- Compiler
- solc 0.8.17+commit.8df45f5f
- Language
- solidity
- Optimization
- No
- EVM version
- london
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 17,011,907
- Creation transaction
- 0xb48c9c3459…e552af4cd5
Read23
- OPERATOR_FILTER_REGISTRY() → (address)
- balanceOf(address) → (uint256)
- baseURI() → (string)
- getApproved(uint256) → (address)
- getSpawns(address) → (uint256,uint256,bool)
- getWhitelistSpawingPrice() → (uint256)
- isApprovedForAll(address,address) → (bool)
- isSpawning() → (bool)
- isWhitelistSpawning() → (bool)
- maxTrashSupply() → (uint16)
- name() → (string)
- owner() → (address)
- ownerOf(uint256) → (address)
- reserveTrash() → (uint16)
- royaltyInfo(uint256,uint256) → (address,uint256)
- spawnLimit() → (uint16)
- spawnPrice() → (uint256)
- supportsInterface(bytes4) → (bool)
- symbol() → (string)
- tokenURI(uint256) → (string)
- totalSupply() → (uint256)
- trashTaxCollector() → (address)
- whitelistSpawnLimit() → (uint16)
Write20
- approve(address,uint256)
- renounceOwnership()
- safeTransferFrom(address,address,uint256)
- safeTransferFrom(address,address,uint256,bytes)
- setApprovalForAll(address,bool)
- setBaseURI(string)
- setMerkleRoot(bytes32)
- setSpawnLimit(uint16)
- setSpawnPrice(uint256)
- setTrashTax(uint16)
- setTrashTaxReceiver(address)
- setWhitelistSpawnLimit(uint16)
- spawn(uint16)
- spawnFromReserve(address,uint16)
- toggleSpawningStatus()
- toggleWhitelistSpawningStatus()
- transferFrom(address,address,uint256)
- transferOwnership(address)
- whitelistSpawn(uint16,bytes32[])
- withdraw()
Events5
- Approval(address,address,uint256)
- ApprovalForAll(address,address,bool)
- ConsecutiveTransfer(uint256,uint256,address,address)
- OwnershipTransferred(address,address)
- Transfer(address,address,uint256)
Errors21
- ApprovalCallerNotOwnerNorApproved()
- ApprovalQueryForNonexistentToken()
- BalanceQueryForZeroAddress()
- InvalidWhitelistProof()
- LowPrice()
- MintERC2309QuantityExceedsLimit()
- MintToZeroAddress()
- MintZeroQuantity()
- OperatorNotAllowed(address)
- OwnerQueryForNonexistentToken()
- OwnershipNotInitializedForExtraData()
- ReservedTrashExceeded()
- SpawnLimitExceeded()
- SpawningIsPaused()
- TransferCallerNotOwnerNorApproved()
- TransferFromIncorrectOwner()
- TransferToNonERC721ReceiverImplementer()
- TransferToZeroAddress()
- TrashExceeded()
- URIQueryForNonexistentToken()
- ZeroTokensSpawn()
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_uri",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "nonpayable"
},
{
"name": "ApprovalCallerNotOwnerNorApproved",
"type": "error",
"inputs": []
},
{
"name": "ApprovalQueryForNonexistentToken",
"type": "error",
"inputs": []
},
{
"name": "BalanceQueryForZeroAddress",
"type": "error",
"inputs": []
},
{
"name": "InvalidWhitelistProof",
"type": "error",
"inputs": []
},
{
"name": "LowPrice",
"type": "error",
"inputs": []
},
{
"name": "MintERC2309QuantityExceedsLimit",
"type": "error",
"inputs": []
},
{
"name": "MintToZeroAddress",
"type": "error",
"inputs": []
},
{
"name": "MintZeroQuantity",
"type": "error",
"inputs": []
},
{
"name": "OperatorNotAllowed",
"type": "error",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
}
]
},
{
"name": "OwnerQueryForNonexistentToken",
"type": "error",
"inputs": []
},
{
"name": "OwnershipNotInitializedForExtraData",
"type": "error",
"inputs": []
},
{
"name": "ReservedTrashExceeded",
"type": "error",
"inputs": []
},
{
"name": "SpawnLimitExceeded",
"type": "error",
"inputs": []
},
{
"name": "SpawningIsPaused",
"type": "error",
"inputs": []
},
{
"name": "TransferCallerNotOwnerNorApproved",
"type": "error",
"inputs": []
},
{
"name": "TransferFromIncorrectOwner",
"type": "error",
"inputs": []
},
{
"name": "TransferToNonERC721ReceiverImplementer",
"type": "error",
"inputs": []
},
{
"name": "TransferToZeroAddress",
"type": "error",
"inputs": []
},
{
"name": "TrashExceeded",
"type": "error",
"inputs": []
},
{
"name": "URIQueryForNonexistentToken",
"type": "error",
"inputs": []
},
{
"name": "ZeroTokensSpawn",
"type": "error",
"inputs": []
},
{
"name": "Approval",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "ApprovalForAll",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "ConsecutiveTransfer",
"type": "event",
"inputs": [
{
"name": "fromTokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "toTokenId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "Transfer",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "OPERATOR_FILTER_REGISTRY",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IOperatorFilterRegistry"
}
],
"stateMutability": "view"
},
{
"name": "approve",
"type": "function",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "baseURI",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "getApproved",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "getSpawns",
"type": "function",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "publicSpawn",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "whitelistSpwan",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "whitelistClaimed",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "getWhitelistSpawingPrice",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "isApprovedForAll",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "isSpawning",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "isWhitelistSpawning",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "maxTrashSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"name": "name",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "ownerOf",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "reserveTrash",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"name": "royaltyInfo",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_salePrice",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "receiver",
"type": "address",
"internalType": "address"
},
{
"name": "royaltyAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "safeTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "safeTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "setApprovalForAll",
"type": "function",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setBaseURI",
"type": "function",
"inputs": [
{
"name": "_uri",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setMerkleRoot",
"type": "function",
"inputs": [
{
"name": "merkleRoot_",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setSpawnLimit",
"type": "function",
"inputs": [
{
"name": "_spawnLimit",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setSpawnPrice",
"type": "function",
"inputs": [
{
"name": "_spawnPrice",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setTrashTax",
"type": "function",
"inputs": [
{
"name": "trashTax_",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setTrashTaxReceiver",
"type": "function",
"inputs": [
{
"name": "_trashTaxCollector",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setWhitelistSpawnLimit",
"type": "function",
"inputs": [
{
"name": "_whitelistSpawnLimit",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "spawn",
"type": "function",
"inputs": [
{
"name": "volume",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "spawnFromReserve",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "volume",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "spawnLimit",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"name": "spawnPrice",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "supportsInterface",
"type": "function",
"inputs": [
{
"name": "_interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "symbol",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "toggleSpawningStatus",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "toggleWhitelistSpawningStatus",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "tokenURI",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "transferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "trashTaxCollector",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "whitelistSpawn",
"type": "function",
"inputs": [
{
"name": "volume",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_merkleProof",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "whitelistSpawnLimit",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"name": "withdraw",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.