Verified contractExactMIT
HUGMembershipPass
Address0xfa2dbc4eb68ca6e20be05c8a3d0a6ebeaedc169d
- Balance
0 ETH
- Transactions
8,930
- Compiler
solc 0.8.9
- Same code
1 more contract
Details
- Compiler
- solc 0.8.9+commit.e5eed63a
- Language
- solidity
- Optimization
- Yes, 1,000 runs
- EVM version
- london
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 14,588,993
- Creation transaction
- 0x26e28d9303…94ad9fa131
Read16
- balanceOf(address) → (uint256)
- getApproved(uint256) → (address)
- hugCost() → (uint256)
- hugsMinted(address) → (uint256)
- isApprovedForAll(address,address) → (bool)
- maxMints() → (uint256)
- maxMintsCurators() → (uint256)
- mintMaxSupply() → (uint256)
- name() → (string)
- owner() → (address)
- ownerOf(uint256) → (address)
- payableWallet() → (address)
- supportsInterface(bytes4) → (bool)
- symbol() → (string)
- tokenURI(uint256) → (string)
- totalSupply() → (uint256)
Write16
- airDropMint(address[],uint256[])
- airDropReserved(address[],uint256[])
- approve(address,uint256)
- mintHUG(uint256,bytes,bool,bool)
- renounceOwnership()
- reserveHugs(uint256)
- safeTransferFrom(address,address,uint256)
- safeTransferFrom(address,address,uint256,bytes)
- setApprovalForAll(address,bool)
- setBaseURI(string)
- setHugApprovalSigner(address)
- setMintEnabled(bool)
- setPayableWallet(address)
- transferFrom(address,address,uint256)
- transferOwnership(address)
- withdraw()
Events4
- Approval(address,address,uint256)
- ApprovalForAll(address,address,bool)
- OwnershipTransferred(address,address)
- Transfer(address,address,uint256)
Errors17
- ApprovalCallerNotOwnerNorApproved()
- ApprovalQueryForNonexistentToken()
- ApprovalToCurrentOwner()
- ApproveToCaller()
- BalanceQueryForZeroAddress()
- InsufficientFunds()
- InvalidApproval()
- MaxMintsExceeded()
- MintCapacityExceeded()
- MintNotEnabled()
- MintToZeroAddress()
- MintZeroQuantity()
- OwnerQueryForNonexistentToken()
- TransferCallerNotOwnerNorApproved()
- TransferFromIncorrectOwner()
- TransferToNonERC721ReceiverImplementer()
- TransferToZeroAddress()
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_baseURI",
"type": "string",
"internalType": "string"
},
{
"name": "_hugApprovalSigner",
"type": "address",
"internalType": "address"
},
{
"name": "_payableWallet",
"type": "address",
"internalType": "address payable"
}
],
"stateMutability": "nonpayable"
},
{
"name": "ApprovalCallerNotOwnerNorApproved",
"type": "error",
"inputs": []
},
{
"name": "ApprovalQueryForNonexistentToken",
"type": "error",
"inputs": []
},
{
"name": "ApprovalToCurrentOwner",
"type": "error",
"inputs": []
},
{
"name": "ApproveToCaller",
"type": "error",
"inputs": []
},
{
"name": "BalanceQueryForZeroAddress",
"type": "error",
"inputs": []
},
{
"name": "InsufficientFunds",
"type": "error",
"inputs": []
},
{
"name": "InvalidApproval",
"type": "error",
"inputs": []
},
{
"name": "MaxMintsExceeded",
"type": "error",
"inputs": []
},
{
"name": "MintCapacityExceeded",
"type": "error",
"inputs": []
},
{
"name": "MintNotEnabled",
"type": "error",
"inputs": []
},
{
"name": "MintToZeroAddress",
"type": "error",
"inputs": []
},
{
"name": "MintZeroQuantity",
"type": "error",
"inputs": []
},
{
"name": "OwnerQueryForNonexistentToken",
"type": "error",
"inputs": []
},
{
"name": "TransferCallerNotOwnerNorApproved",
"type": "error",
"inputs": []
},
{
"name": "TransferFromIncorrectOwner",
"type": "error",
"inputs": []
},
{
"name": "TransferToNonERC721ReceiverImplementer",
"type": "error",
"inputs": []
},
{
"name": "TransferToZeroAddress",
"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": "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": "airDropMint",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "count",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "airDropReserved",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address[]",
"internalType": "address[]"
},
{
"name": "tokenIds",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "approve",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "getApproved",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "hugCost",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "hugsMinted",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
],
"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": "maxMints",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "maxMintsCurators",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "mintHUG",
"type": "function",
"inputs": [
{
"name": "count",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "isCurator",
"type": "bool",
"internalType": "bool"
},
{
"name": "oneFree",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "mintMaxSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"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": "payableWallet",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address payable"
}
],
"stateMutability": "view"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "reserveHugs",
"type": "function",
"inputs": [
{
"name": "count",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"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": "nonpayable"
},
{
"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": "nonpayable"
},
{
"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": "_baseURI",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setHugApprovalSigner",
"type": "function",
"inputs": [
{
"name": "_hugApprovalSigner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setMintEnabled",
"type": "function",
"inputs": [
{
"name": "_mintEnabled",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "setPayableWallet",
"type": "function",
"inputs": [
{
"name": "_payableWallet",
"type": "address",
"internalType": "address payable"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"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": "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": "nonpayable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "withdraw",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "payable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.