Charged State Contract
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.
Gets unlock block for Release time lock.
Gets unlock block for restrictions on withdrawing NFTs from a Particle (covalent bonds).
Checks if an operator is allowed to Discharge a specific Particle.
Checks if an operator is allowed to Release a specific Particle.
Checks if an operator is allowed to Break Covalent Bonds on a specific Particle.
Checks if an operator is allowed to Timelock a specific 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
Sets an Operator as Approved to Discharge a specific Token. This allows an operator to withdraw the interest-portion only.
Sets an Operator as Approved to Release a specific Token. This allows an operator to withdraw the principal + interest.
Sets an Operator as Approved to Break Covalent Bonds on a specific Token. This allows an operator to withdraw Basket NFTs.
Sets an Operator as Approved to Timelock a specific Token. This allows an operator to timelock the principal or interest.
Sets an Operator as Approved to Discharge/Release/Timelock a specific Token.
Updates Restrictions on Energizing an NFT.
Updates Allowance on Discharging an NFT by Anyone.
Updates Allowance on Releasing an NFT by Anyone.
Updates Restrictions on Covalent Bonds on an NFT.
Updates Allowance on Breaking Covalent Bonds on an NFT by Anyone.
Update time locks for a particles Mass (principal), Charge (interest), or Bonds (locked NFTs)
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.
ChargedSettingsSet
DischargeApproval
ReleaseApproval
BreakBondApproval
TimelockApproval
TokenDischargeTimelock
TokenReleaseTimelock
TokenBreakBondTimelock
TokenTempLock
PermsSetForRestrictCharge
PermsSetForAllowDischarge
PermsSetForAllowRelease
PermsSetForRestrictBond
PermsSetForAllowBreakBond
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check time lock for
lockExpiry
unlock block for Particle's Charge (interest)
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check time lock for
lockExpiry
unlock block for Particle's Mass (principal)
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check time lock for
lockExpiry
unlock block for Particle's covalent bonds (NFTs)
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check approval of
operator
address of the operator to check
return
True if operator approved
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check approval of
operator
address of the operator to check
return
True if operator approved
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check approval of
operator
address of the operator to check
return
True if operator approved
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check approval of
operator
address of the operator to check
return
True if operator approved
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check restriction of
return
whether or not energizing restricted
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check restriction of
return
whether or not bonding restricted
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check state of
sender
address of transaction sender
allowFromAll
whether or not all can discharge from Particle
isApproved
discharge approval status
timelock
unlock block for charge (interest)
tempLockExpiry
unlock block for temporary time lock
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check state of
sender
address of transaction sender
allowFromAll
whether or not all can release a Particle
isApproved
discharge approval status
timelock
unlock block for mass (principal)
tempLockExpiry
unlock block for temporary time lock
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to check state of
sender
address of transaction sender
allowFromAll
whether or not all can release an NFT from Particle
isApproved
discharge approval status
timelock
unlock block for mass (principal)
tempLockExpiry
unlock block for temporary time lock
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set approval for
operator
address of Particle operator
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle set approval for
operator
address of Particle operator
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set approval for
operator
address of Particle operator
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set approval for
operator
address of Particle operator
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set approval for
operator
address of Particle operator
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set permissions for
state
state of permissions for action
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set permissions for
state
state of permissions for action
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set permissions for
state
state of permissions for action
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set permissions for
state
state of permissions for action
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set permissions for
state
state of permissions for action
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set time lock for
state
Ethereum Block-number to Timelock until
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set time lock for
unlockBlock
Ethereum Block-number to Timelock until
Parameter / Return Value
Description
contractAddress
address of contract for Particle
tokenId
id of Particle to set time lock for
unlockBlock
Ethereum Block-number to Timelock until