JBTokenStore
Manage token minting, burning, and account balances.
Code
https://github.com/jbx-protocol/juice-contracts-v2/blob/main/contracts/JBTokenStore.sol
Addresses
Ethereum mainnet: 0xCBB8e16d998161AdB20465830107ca298995f371
Ethereum rinkeby: 0x220468762c6cE4C05E8fda5cc68Ffaf0CC0B2A85
Interfaces
| Name | Description | 
|---|---|
IJBTokenStore | General interface for the methods in this contract that interact with the blockchain's state according to the protocol's rules. | 
Inheritance
| Contract | Description | 
|---|---|
JBControllerUtility | Includes convenience functionality for checking if the message sender is the current controller of the project whose data is being manipulated. | 
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) JBControllerUtility(_directory) {
  projects = _projects;
}
_operatorStoreis anIJBOperatorStorecontract storing operator assignments._projectsis anIJBProjectscontract which mints ERC-721's that represent project ownership and transfers._directoryis anIJBDirectorycontract storing directories of terminals and controllers for each project.
Events
| Name | Data | 
|---|---|
Issue | 
  | 
Mint | 
  | 
Burn | 
  | 
Claim | 
  | 
ShouldRequireClaim | 
  | 
Change | |
Transfer | 
  | 
Properties
| Function | Definition | 
|---|---|
projects | Traits 
 Returns  | 
tokenOf | Params 
 Returns  | 
projectOf | Params 
 Returns 
  | 
unclaimedBalanceOf | Params 
 Returns 
  | 
unclaimedTotalSupplyOf | Params 
 Returns 
  | 
requireClaimFor | Params 
 Returns 
  | 
Read
| Function | Definition | 
|---|---|
totalSupplyOf | Params 
 Returns 
  | 
balanceOf | Params 
 Returns 
  | 
Write
| Function | Definition | 
|---|---|
issueFor | Traits Params 
 Returns 
  | 
changeFor | Traits Params 
 Returns 
  | 
mintFor | Traits Params 
  | 
burnFrom | Traits Params 
  | 
claimFor | Traits Params 
  | 
transferFrom | Traits Params 
  | 
shouldRequireClaimingFor | Traits Params 
  |