JBSplitsStore
Stores splits for each project.
Code
https://github.com/jbx-protocol/juice-contracts-v2/blob/main/contracts/JBSplitsStore.sol
Addresses
Ethereum mainnet: 0xFBE1075826B7FFd898cf8D944885ba6a8D714A7F
Ethereum rinkeby: 0x5918B60672f53D504881C63AB04c65338ff185d7
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
|