JBProjects
Stores project ownership and metadata.
Code
https://github.com/jbx-protocol/juice-contracts-v3/blob/main/contracts/JBProjects.sol
Addresses
Ethereum mainnet: 0xD8B4359143eda5B2d763E127Ed27c77addBc47d3
Goerli testnet: 0x21263a042aFE4bAE34F08Bb318056C181bD96D3b
Interfaces
Name | Description |
---|---|
IJBProjects | General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules. |
Inheritance
Contract | Description |
---|---|
JBOperatable | Includes convenience functionality for checking a message sender's permissions before executing certain transactions. |
ERC721Votes | A checkpointable standard definition for non-fungible tokens (NFTs). |
Ownable | Includes convenience functionality for specifying an address that owns the contract, with modifiers that only allow access by the owner. |
Constructor
constructor(IJBOperatorStore _operatorStore)
ERC721('Juicebox Projects', 'JUICEBOX')
EIP712('Juicebox Projects', '1')
JBOperatable(_operatorStore)
{}
_operatorStore
is anIJBOperatorStore
contract storing operator assignments.
Events
Name | Data |
---|---|
Create |
|
SetMetadata |
|
SetTokenUriResolver |
|
Properties
Name | Definition |
---|---|
count | Returns
|
metadataContentOf | Params
Returns
|
tokenUriResolver | Returns |
Read
Function | Definition |
---|---|
tokenURI | Params
|
supportsInterface | Params
Returns
|
Write
Function | Definition |
---|---|
createFor | Params
Returns
|
setMetadataOf | Traits Params
|
setTokenUriResolver | Traits Params
|