Charged State Contract (V2)
Charged Particles State Contract. For viewing and setting permissions, approvals, and time locks on Particles.
Last updated
Charged Particles State Contract. For viewing and setting permissions, approvals, and time locks on Particles.
Last updated
Get info on time locks, approvals, and permissions.
Gets unlock block for Discharge time lock.
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Gets unlock block for Release time lock.
Gets unlock block for restrictions on withdrawing NFTs (Covalent Bonds) from a Particle.
Checks if an operator is allowed to Discharge a specific token (Particle).
Checks if an operator is allowed to Release a specific token (Particle).
Checks if an operator is allowed to break Covalent Bonds on a specific token (Particle).
Checks if an operator is allowed to Timelock a specific token (Particle).
Checks if energizing a specific Particle is restricted.
Checks if covalent bonding (depositing NFTs into a Particle) for a specific Particle is restricted.
Gets state of discharge settings / permissions for a Particle.
Gets state of release settings / permissions for a Particle.
Gets state of covalent bond breaking (releasing an NFT) settings / permissions for a Particle.
Update a Particle's permissions and approvals. Only the owner or operator of an NFT can call these functions.
Sets an operator as approved to Discharge a specific token (Particle); This allows an operator to withdraw the interest-portion only.
Sets an operator as approved to Release a specific token (Particle); This allows an operator to withdraw the principal + interest.
Sets an operator as approved to break Covalent Bonds on a specific token (Particle); This allows an operator to withdraw NFTs.
Sets an operator as approved to Timelock a specific token (Particle); This allows an operator to timelock the principal or interest.
Sets an operator as approved to Discharge/Release/Timelock a specific token (Particle).
Updates restrictions on Energizing an NFT.
Updates allowance on Discharging an NFT by anyone.
Updates allowance on Discharging an NFT by anyone.
Updates restrictions on Covalent Bonds on an NFT.
Updates allowance on Breaking Covalent Bonds on an NFT by anyone.
Sets a Timelock on the ability to Discharge the interest of a Particle.
Sets a Timelock on the ability to Release the assets of a Particle.
Sets a Timelock on the ability to break the Covalent Bond of a Particle.
Sets a temporary Timelock on the ability to Release/Discharge the assets of a Particle.
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Return Value | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
Parameter | Description | Type |
---|---|---|
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
lockExpiry
unlock block for Particle's Charge (interest)
uint256
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
lockExpiry
unlock block for Particle's Mass (principal + interest)
uint256
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
lockExpiry
unlock block for Particle's Covalent Bonds (nested NFTs)
uint256
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
operator
address of the operator to check approval for
address
isApproved
true if operator approved, false if not approved
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
operator
address of the operator to check approval for
address
isApproved
true if operator approved, false if not approved
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
operator
address of the operator to check approval for
address
isApproved
true if operator approved, false if not approved
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
operator
address of the operator to check approval for
address
isApproved
true if operator approved, false if not approved
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
isApproved
true if operator approved, false if not approved
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
isApproved
true if operator approved, false if not approved
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
sender
address of transaction sender
address
allowFromAll
whether or not any address can release a Particle
bool
isApproved
true if operator approved, false if not approved
bool
timelock
unlock block for Particle's Charge (interest only)
uint256
tempLockExpiry
unlock block for temporary time lock
uint256
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
sender
address of transaction sender
address
allowFromAll
whether or not any address can release a Particle
bool
isApproved
true if operator approved, false if not approved
bool
timelock
unlock block for Particle's Mass (principal + interest)
uint256
tempLockExpiry
unlock block for temporary time lock
uint256
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
sender
address of transaction sender
address
allowFromAll
whether or not any address can release a Particle
bool
isApproved
true if operator approved, false if not approved
bool
timelock
unlock block for Particle's Covalent Bonds (nested NFTs)
uint256
tempLockExpiry
unlock block for temporary time lock
uint256
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
operator
Particle's operator
address
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
operator
Particle's operator
address
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
operator
Particle's operator
address
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
operator
Particle's operator
address
## setApprovalForAll
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
operator
Particle's operator
address
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
state
state of permissions for action
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
state
state of permissions for action
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
state
state of permissions for action
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
state
state of permissions for action
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
state
state of permissions for action
bool
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
unlockBlock
unlock block for Discharge time lock (interest only)
uint256
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
unlockBlock
unlock block for Release time lock (principal + interest)
uint256
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
unlockBlock
unlock block for Covalent Bonds (nested NFTs) time lock
uint256
contractAddress
The address to the contract of the token (Particle)
address
tokenId
The ID of the token (Particle)
uint256
isLocked
state of time lock
bool