Without transfer
Theowner
is set at mint time and never changes. Below is a simple explanation of the key operations and their message flows.
Prove ownership
Allows theowner
to ask the SBT to send a proof to a target contract confirming that they own this SBT. You may include arbitrary forward_payload
and optionally attach content
.
TL-B
query_id
: arbitrary request identifierdest
: address of the target contract to prove ownership toforward_payload
: arbitrary data for the target contractwith_content
: iftrue
, attach SBTcontent
revoked_at
: revoke time if SBT is revoked,0
otherwise
owner
.
Request current owner
Any initiator may ask the SBT to send the currentowner
(and optionally the content
) to a target contract.
TL-B
initiator
: address of the requester- Other fields mirror
prove_ownership
Destroy the contract
Theowner
can destroy the SBT contract. This clears the owner
and authority
fields, and sends remaining balance back to the sender via an excesses
message.
TL-B
owner
.
Revoke SBT
Theauthority
can mark the SBT as revoked. Double-revoke is disallowed.
TL-B
- the sender is not the
authority
; - the SBT was already revoked.
Quick field reference
item_id
: identifier of the SBT item (analogous to an NFT item)owner
: current ownerauthority
: the address allowed to revoke the SBTcontent
: SBT content (may be attached optionally)revoked_at
: Unix timestamp of revoke (0
means not revoked)
- SBT Standard TEP-85