JBSplitsStore
Stores splits for each project.
Code
https://github.com/jbx-protocol/juice-contracts-v3/blob/main/contracts/JBSplitsStore.sol
Addresses
Ethereum mainnet: 0x0D25194ABE95185Db8e4B0294F5669E21C534785
Goerli testnet: 0xce2Ce2F37fE5B2C2Dd047908B2F61c9c3f707272
Interfaces
Name | Description |
---|---|
IJBSplitsStore | 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. |
Constructor
/**
@param _operatorStore A contract storing operator assignments.
@param _projects A contract which mints ERC-721's that represent project ownership and transfers.
@param _directory A contract storing directories of terminals and controllers for each project.
*/
constructor(
IJBOperatorStore _operatorStore,
IJBProjects _projects,
IJBDirectory _directory
) JBOperatable(_operatorStore) {
projects = _projects;
directory = _directory;
}
_operatorStore
is anIJBOperatorStore
contract storing operator assignments._projects
is anIJBProjects
contract which mints ERC-721's that represent project ownership and transfers._directory
is anIJBDirectory
contract storing directories of terminals and controllers for each project.
Events
Name | Data |
---|---|
SetSplit |
|
Properties
Function | Definition |
---|---|
projects | Returns
|
directory | Returns
|
Read
Function | Definition |
---|---|
splitsOf | Params
Returns
|
Write
Function | Definition |
---|---|
set | Traits Params
|