Documentation ¶
Index ¶
Constants ¶
View Source
const ( AccessRightRead AccessRight = 1 << iota AccessRightWrite AccessRightAdd AccessRightReadWrite = AccessRightRead | AccessRightWrite AccessRightReadAdd = AccessRightRead | AccessRightAdd AccessRightAddWrite = AccessRightAdd | AccessRightWrite AccessRightReadAddWrite = AccessRightRead | AccessRightAdd | AccessRightWrite AccessRightNone AccessRight = 0 URefPrefix = "uref-" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessRight ¶
type AccessRight byte
type CLMap ¶
type CLValue ¶
type CLValue struct { Type CLType Bool *bool I32 *int32 I64 *int64 U8 *byte U32 *uint32 U64 *uint64 U128 *big.Int U256 *big.Int U512 *big.Int String *string Key *Key URef *URef Option *CLValue List *[]CLValue ByteArray *FixedByteArray Result *CLValueResult Map *CLMap Tuple1 *[1]CLValue Tuple2 *[2]CLValue Tuple3 *[3]CLValue PublicKey *keypair.PublicKey }
func (CLValue) SwitchFieldName ¶
type CLValueResult ¶
CLValueResult representing a result of an operation that might have failed
func (CLValueResult) ErrorFieldName ¶
func (r CLValueResult) ErrorFieldName() string
func (CLValueResult) ResultFieldName ¶
func (r CLValueResult) ResultFieldName() string
func (CLValueResult) SuccessFieldName ¶
func (r CLValueResult) SuccessFieldName() string
type FixedByteArray ¶
type FixedByteArray []byte
type Key ¶
type Key struct { Type KeyType Account [32]byte Hash [32]byte URef *URef Transfer [32]byte DeployInfo [32]byte EraId *uint64 Balance [32]byte Bid [32]byte Withdraw [32]byte }
Key represents key structure
func (Key) SwitchFieldName ¶
type URef ¶
type URef struct { AccessRight AccessRight Address [32]byte }
func URefFromFormattedString ¶
func (URef) ToFormattedString ¶
Click to show internal directories.
Click to hide internal directories.