Token Status
Each token has an associated status, which is an UINT256 comprised of the following fields:
Bits | Field |
---|---|
0-3 (4 bits) | Asset Status |
4-39 (36 bits) | Storage Expiration |
40-75 (36 bits) | Insurance Expiration |
76-111 (36 bits) | Transfer Lock Expiration |
112-135 (24 bits) | Storage Provider Id |
136-183 (48 bits) | Optional GTIN Product Identifier |
Asset Status
This 4 bit value represents the current state the asset is in. Possible values are:
Active
LentOut
InRedemption
Exception
Storage Expiration
The 36 bit value marks the expiration date of the paid for storage. This value starts at the Unix Epoch on January 1st, 1970 at UTC and represents seconds.
Insurance Expiration
The 36 bit value marks the expiration date of the paid for insurance. This value starts at the Unix Epoch on January 1st, 1970 at UTC and represents seconds.
Transfer Lock Expiration
The 36 bit value marks the expiration date of transfer lock. This value starts at the Unix Epoch on January 1st, 1970 at UTC and represents seconds. Transfer Locks are placed for purchases using non-final means of payment like credit cards based on risk profiles.
Storage Provider ID
Uniquely identifies a storage provider.
GTIN
The optional product identifier based on the Global Trade Item Number.
Last updated