Skip to main content

Appendix C: Transfer Functions

Transfer Functions Comparison

FunctionPublic FunctionEnd StatePermissions
transferpublic_transferAddress OwnedFull
share_objectpublic_share_objectSharedRef, Mut Ref, Delete
freeze_objectpublic_freeze_objectFrozenRef
party_transferpublic_party_transferPartySee Party table

States Comparison

StateDescription
Address OwnedObject can be accessed fully by an address (or an object)
SharedObject can be referenced and deleted by anyone
FrozenObject can be accessed via immutable reference
PartyDepends on the Party settings (see Party table)

Party

FunctionDescription
single_ownerObject has same permissions as Address Owned