scval

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ScError_Type_name = map[int32]string{
		0: "TYPE_CONTRACT",
		1: "TYPE_WASM_VM",
		2: "TYPE_CONTEXT",
		3: "TYPE_STORAGE",
		4: "TYPE_OBJECT",
		5: "TYPE_CRYPTO",
		6: "TYPE_EVENTS",
		7: "TYPE_BUDGET",
		8: "TYPE_VALUE",
		9: "TYPE_AUTH",
	}
	ScError_Type_value = map[string]int32{
		"TYPE_CONTRACT": 0,
		"TYPE_WASM_VM":  1,
		"TYPE_CONTEXT":  2,
		"TYPE_STORAGE":  3,
		"TYPE_OBJECT":   4,
		"TYPE_CRYPTO":   5,
		"TYPE_EVENTS":   6,
		"TYPE_BUDGET":   7,
		"TYPE_VALUE":    8,
		"TYPE_AUTH":     9,
	}
)

Enum value maps for ScError_Type.

View Source
var (
	ScError_Code_name = map[int32]string{
		0: "CODE_ARITH_DOMAIN",
		1: "CODE_INDEX_BOUNDS",
		2: "CODE_INVALID_INPUT",
		3: "CODE_MISSING_VALUE",
		4: "CODE_EXISTING_VALUE",
		5: "CODE_EXCEEDED_LIMIT",
		6: "CODE_INVALID_ACTION",
		7: "CODE_INTERNAL_ERROR",
		8: "CODE_UNEXPECTED_TYPE",
		9: "CODE_UNEXPECTED_SIZE",
	}
	ScError_Code_value = map[string]int32{
		"CODE_ARITH_DOMAIN":    0,
		"CODE_INDEX_BOUNDS":    1,
		"CODE_INVALID_INPUT":   2,
		"CODE_MISSING_VALUE":   3,
		"CODE_EXISTING_VALUE":  4,
		"CODE_EXCEEDED_LIMIT":  5,
		"CODE_INVALID_ACTION":  6,
		"CODE_INTERNAL_ERROR":  7,
		"CODE_UNEXPECTED_TYPE": 8,
		"CODE_UNEXPECTED_SIZE": 9,
	}
)

Enum value maps for ScError_Code.

View Source
var File_capabilities_blockchain_stellar_v1alpha_scval_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClaimableBalanceId

type ClaimableBalanceId struct {
	V0 []byte `protobuf:"bytes,1,opt,name=v0,proto3" json:"v0,omitempty"` // 32-byte SHA-256 hash
	// contains filtered or unexported fields
}

A claimable balance ID is simply a 32-byte hash tagged with a type. We encode only the v0 variant (hash bytes) since that is the only type in the current protocol.

func (*ClaimableBalanceId) Descriptor deprecated

func (*ClaimableBalanceId) Descriptor() ([]byte, []int)

Deprecated: Use ClaimableBalanceId.ProtoReflect.Descriptor instead.

func (*ClaimableBalanceId) GetV0

func (x *ClaimableBalanceId) GetV0() []byte

func (*ClaimableBalanceId) ProtoMessage

func (*ClaimableBalanceId) ProtoMessage()

func (*ClaimableBalanceId) ProtoReflect

func (x *ClaimableBalanceId) ProtoReflect() protoreflect.Message

func (*ClaimableBalanceId) Reset

func (x *ClaimableBalanceId) Reset()

func (*ClaimableBalanceId) String

func (x *ClaimableBalanceId) String() string

type ContractExecutable

type ContractExecutable struct {

	// Types that are valid to be assigned to Type:
	//
	//	*ContractExecutable_WasmHash
	//	*ContractExecutable_StellarAsset
	Type isContractExecutable_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ContractExecutable) Descriptor deprecated

func (*ContractExecutable) Descriptor() ([]byte, []int)

Deprecated: Use ContractExecutable.ProtoReflect.Descriptor instead.

func (*ContractExecutable) GetStellarAsset

func (x *ContractExecutable) GetStellarAsset() bool

func (*ContractExecutable) GetType

func (x *ContractExecutable) GetType() isContractExecutable_Type

func (*ContractExecutable) GetWasmHash

func (x *ContractExecutable) GetWasmHash() []byte

func (*ContractExecutable) ProtoMessage

func (*ContractExecutable) ProtoMessage()

func (*ContractExecutable) ProtoReflect

func (x *ContractExecutable) ProtoReflect() protoreflect.Message

func (*ContractExecutable) Reset

func (x *ContractExecutable) Reset()

func (*ContractExecutable) String

func (x *ContractExecutable) String() string

type ContractExecutable_StellarAsset

type ContractExecutable_StellarAsset struct {
	StellarAsset bool `protobuf:"varint,2,opt,name=stellar_asset,json=stellarAsset,proto3,oneof"` // true ⇒ CONTRACT_EXECUTABLE_STELLAR_ASSET
}

type ContractExecutable_WasmHash

type ContractExecutable_WasmHash struct {
	WasmHash []byte `protobuf:"bytes,1,opt,name=wasm_hash,json=wasmHash,proto3,oneof"` // SHA-256 hash of the WASM module
}

type Int128Parts

type Int128Parts struct {
	Hi int64  `protobuf:"varint,1,opt,name=hi,proto3" json:"hi,omitempty"`
	Lo uint64 `protobuf:"varint,2,opt,name=lo,proto3" json:"lo,omitempty"`
	// contains filtered or unexported fields
}

func (*Int128Parts) Descriptor deprecated

func (*Int128Parts) Descriptor() ([]byte, []int)

Deprecated: Use Int128Parts.ProtoReflect.Descriptor instead.

func (*Int128Parts) GetHi

func (x *Int128Parts) GetHi() int64

func (*Int128Parts) GetLo

func (x *Int128Parts) GetLo() uint64

func (*Int128Parts) ProtoMessage

func (*Int128Parts) ProtoMessage()

func (*Int128Parts) ProtoReflect

func (x *Int128Parts) ProtoReflect() protoreflect.Message

func (*Int128Parts) Reset

func (x *Int128Parts) Reset()

func (*Int128Parts) String

func (x *Int128Parts) String() string

type Int256Parts

type Int256Parts struct {
	HiHi int64  `protobuf:"varint,1,opt,name=hi_hi,json=hiHi,proto3" json:"hi_hi,omitempty"`
	HiLo uint64 `protobuf:"varint,2,opt,name=hi_lo,json=hiLo,proto3" json:"hi_lo,omitempty"`
	LoHi uint64 `protobuf:"varint,3,opt,name=lo_hi,json=loHi,proto3" json:"lo_hi,omitempty"`
	LoLo uint64 `protobuf:"varint,4,opt,name=lo_lo,json=loLo,proto3" json:"lo_lo,omitempty"`
	// contains filtered or unexported fields
}

func (*Int256Parts) Descriptor deprecated

func (*Int256Parts) Descriptor() ([]byte, []int)

Deprecated: Use Int256Parts.ProtoReflect.Descriptor instead.

func (*Int256Parts) GetHiHi

func (x *Int256Parts) GetHiHi() int64

func (*Int256Parts) GetHiLo

func (x *Int256Parts) GetHiLo() uint64

func (*Int256Parts) GetLoHi

func (x *Int256Parts) GetLoHi() uint64

func (*Int256Parts) GetLoLo

func (x *Int256Parts) GetLoLo() uint64

func (*Int256Parts) ProtoMessage

func (*Int256Parts) ProtoMessage()

func (*Int256Parts) ProtoReflect

func (x *Int256Parts) ProtoReflect() protoreflect.Message

func (*Int256Parts) Reset

func (x *Int256Parts) Reset()

func (*Int256Parts) String

func (x *Int256Parts) String() string

type MuxedEd25519Account

type MuxedEd25519Account struct {
	Id      uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Ed25519 []byte `protobuf:"bytes,2,opt,name=ed25519,proto3" json:"ed25519,omitempty"` // 32-byte Ed25519 public key
	// contains filtered or unexported fields
}

func (*MuxedEd25519Account) Descriptor deprecated

func (*MuxedEd25519Account) Descriptor() ([]byte, []int)

Deprecated: Use MuxedEd25519Account.ProtoReflect.Descriptor instead.

func (*MuxedEd25519Account) GetEd25519

func (x *MuxedEd25519Account) GetEd25519() []byte

func (*MuxedEd25519Account) GetId

func (x *MuxedEd25519Account) GetId() uint64

func (*MuxedEd25519Account) ProtoMessage

func (*MuxedEd25519Account) ProtoMessage()

func (*MuxedEd25519Account) ProtoReflect

func (x *MuxedEd25519Account) ProtoReflect() protoreflect.Message

func (*MuxedEd25519Account) Reset

func (x *MuxedEd25519Account) Reset()

func (*MuxedEd25519Account) String

func (x *MuxedEd25519Account) String() string

type ScAddress

type ScAddress struct {

	// Types that are valid to be assigned to Address:
	//
	//	*ScAddress_AccountId
	//	*ScAddress_ContractId
	//	*ScAddress_MuxedAccount
	//	*ScAddress_ClaimableBalanceId
	//	*ScAddress_LiquidityPoolId
	Address isScAddress_Address `protobuf_oneof:"address"`
	// contains filtered or unexported fields
}

func (*ScAddress) Descriptor deprecated

func (*ScAddress) Descriptor() ([]byte, []int)

Deprecated: Use ScAddress.ProtoReflect.Descriptor instead.

func (*ScAddress) GetAccountId

func (x *ScAddress) GetAccountId() []byte

func (*ScAddress) GetAddress

func (x *ScAddress) GetAddress() isScAddress_Address

func (*ScAddress) GetClaimableBalanceId

func (x *ScAddress) GetClaimableBalanceId() *ClaimableBalanceId

func (*ScAddress) GetContractId

func (x *ScAddress) GetContractId() []byte

func (*ScAddress) GetLiquidityPoolId

func (x *ScAddress) GetLiquidityPoolId() []byte

func (*ScAddress) GetMuxedAccount

func (x *ScAddress) GetMuxedAccount() *MuxedEd25519Account

func (*ScAddress) ProtoMessage

func (*ScAddress) ProtoMessage()

func (*ScAddress) ProtoReflect

func (x *ScAddress) ProtoReflect() protoreflect.Message

func (*ScAddress) Reset

func (x *ScAddress) Reset()

func (*ScAddress) String

func (x *ScAddress) String() string

type ScAddress_AccountId

type ScAddress_AccountId struct {
	AccountId []byte `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3,oneof"` // 32-byte Ed25519 public key (AccountID)
}

type ScAddress_ClaimableBalanceId

type ScAddress_ClaimableBalanceId struct {
	ClaimableBalanceId *ClaimableBalanceId `protobuf:"bytes,4,opt,name=claimable_balance_id,json=claimableBalanceId,proto3,oneof"`
}

type ScAddress_ContractId

type ScAddress_ContractId struct {
	ContractId []byte `protobuf:"bytes,2,opt,name=contract_id,json=contractId,proto3,oneof"` // 32-byte contract hash (ContractID)
}

type ScAddress_LiquidityPoolId

type ScAddress_LiquidityPoolId struct {
	LiquidityPoolId []byte `protobuf:"bytes,5,opt,name=liquidity_pool_id,json=liquidityPoolId,proto3,oneof"` // 32-byte pool hash (PoolID)
}

type ScAddress_MuxedAccount

type ScAddress_MuxedAccount struct {
	MuxedAccount *MuxedEd25519Account `protobuf:"bytes,3,opt,name=muxed_account,json=muxedAccount,proto3,oneof"` // muxed Ed25519 account
}

type ScContractInstance

type ScContractInstance struct {
	Executable *ContractExecutable `protobuf:"bytes,1,opt,name=executable,proto3" json:"executable,omitempty"`
	Storage    []*ScMapEntry       `protobuf:"bytes,2,rep,name=storage,proto3" json:"storage,omitempty"` // empty slice ⇒ no storage map (nil in XDR)
	// contains filtered or unexported fields
}

Forward-declared via ScMapEntry below; proto3 allows forward references.

func (*ScContractInstance) Descriptor deprecated

func (*ScContractInstance) Descriptor() ([]byte, []int)

Deprecated: Use ScContractInstance.ProtoReflect.Descriptor instead.

func (*ScContractInstance) GetExecutable

func (x *ScContractInstance) GetExecutable() *ContractExecutable

func (*ScContractInstance) GetStorage

func (x *ScContractInstance) GetStorage() []*ScMapEntry

func (*ScContractInstance) ProtoMessage

func (*ScContractInstance) ProtoMessage()

func (*ScContractInstance) ProtoReflect

func (x *ScContractInstance) ProtoReflect() protoreflect.Message

func (*ScContractInstance) Reset

func (x *ScContractInstance) Reset()

func (*ScContractInstance) String

func (x *ScContractInstance) String() string

type ScError

type ScError struct {
	Type ScError_Type `protobuf:"varint,1,opt,name=type,proto3,enum=capabilities.blockchain.stellar.v1alpha.ScError_Type" json:"type,omitempty"`
	// For SCE_CONTRACT: user-defined numeric code.
	// For all other types: one of the well-known SCErrorCode values.
	//
	// Types that are valid to be assigned to CodeOrContract:
	//
	//	*ScError_ContractCode
	//	*ScError_Code_
	CodeOrContract isScError_CodeOrContract `protobuf_oneof:"code_or_contract"`
	// contains filtered or unexported fields
}

func (*ScError) Descriptor deprecated

func (*ScError) Descriptor() ([]byte, []int)

Deprecated: Use ScError.ProtoReflect.Descriptor instead.

func (*ScError) GetCode

func (x *ScError) GetCode() ScError_Code

func (*ScError) GetCodeOrContract

func (x *ScError) GetCodeOrContract() isScError_CodeOrContract

func (*ScError) GetContractCode

func (x *ScError) GetContractCode() uint32

func (*ScError) GetType

func (x *ScError) GetType() ScError_Type

func (*ScError) ProtoMessage

func (*ScError) ProtoMessage()

func (*ScError) ProtoReflect

func (x *ScError) ProtoReflect() protoreflect.Message

func (*ScError) Reset

func (x *ScError) Reset()

func (*ScError) String

func (x *ScError) String() string

type ScError_Code

type ScError_Code int32
const (
	ScError_CODE_ARITH_DOMAIN    ScError_Code = 0
	ScError_CODE_INDEX_BOUNDS    ScError_Code = 1
	ScError_CODE_INVALID_INPUT   ScError_Code = 2
	ScError_CODE_MISSING_VALUE   ScError_Code = 3
	ScError_CODE_EXISTING_VALUE  ScError_Code = 4
	ScError_CODE_EXCEEDED_LIMIT  ScError_Code = 5
	ScError_CODE_INVALID_ACTION  ScError_Code = 6
	ScError_CODE_INTERNAL_ERROR  ScError_Code = 7
	ScError_CODE_UNEXPECTED_TYPE ScError_Code = 8
	ScError_CODE_UNEXPECTED_SIZE ScError_Code = 9
)

func (ScError_Code) Descriptor

func (ScError_Code) Enum

func (x ScError_Code) Enum() *ScError_Code

func (ScError_Code) EnumDescriptor deprecated

func (ScError_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use ScError_Code.Descriptor instead.

func (ScError_Code) Number

func (ScError_Code) String

func (x ScError_Code) String() string

func (ScError_Code) Type

type ScError_Code_

type ScError_Code_ struct {
	Code ScError_Code `protobuf:"varint,3,opt,name=code,proto3,enum=capabilities.blockchain.stellar.v1alpha.ScError_Code,oneof"`
}

type ScError_ContractCode

type ScError_ContractCode struct {
	ContractCode uint32 `protobuf:"varint,2,opt,name=contract_code,json=contractCode,proto3,oneof"`
}

type ScError_Type

type ScError_Type int32
const (
	ScError_TYPE_CONTRACT ScError_Type = 0
	ScError_TYPE_WASM_VM  ScError_Type = 1
	ScError_TYPE_CONTEXT  ScError_Type = 2
	ScError_TYPE_STORAGE  ScError_Type = 3
	ScError_TYPE_OBJECT   ScError_Type = 4
	ScError_TYPE_CRYPTO   ScError_Type = 5
	ScError_TYPE_EVENTS   ScError_Type = 6
	ScError_TYPE_BUDGET   ScError_Type = 7
	ScError_TYPE_VALUE    ScError_Type = 8
	ScError_TYPE_AUTH     ScError_Type = 9
)

func (ScError_Type) Descriptor

func (ScError_Type) Enum

func (x ScError_Type) Enum() *ScError_Type

func (ScError_Type) EnumDescriptor deprecated

func (ScError_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use ScError_Type.Descriptor instead.

func (ScError_Type) Number

func (ScError_Type) String

func (x ScError_Type) String() string

func (ScError_Type) Type

type ScMap

type ScMap struct {
	Entries []*ScMapEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ScMap) Descriptor deprecated

func (*ScMap) Descriptor() ([]byte, []int)

Deprecated: Use ScMap.ProtoReflect.Descriptor instead.

func (*ScMap) GetEntries

func (x *ScMap) GetEntries() []*ScMapEntry

func (*ScMap) ProtoMessage

func (*ScMap) ProtoMessage()

func (*ScMap) ProtoReflect

func (x *ScMap) ProtoReflect() protoreflect.Message

func (*ScMap) Reset

func (x *ScMap) Reset()

func (*ScMap) String

func (x *ScMap) String() string

type ScMapEntry

type ScMapEntry struct {
	Key *ScVal `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Val *ScVal `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"`
	// contains filtered or unexported fields
}

func (*ScMapEntry) Descriptor deprecated

func (*ScMapEntry) Descriptor() ([]byte, []int)

Deprecated: Use ScMapEntry.ProtoReflect.Descriptor instead.

func (*ScMapEntry) GetKey

func (x *ScMapEntry) GetKey() *ScVal

func (*ScMapEntry) GetVal

func (x *ScMapEntry) GetVal() *ScVal

func (*ScMapEntry) ProtoMessage

func (*ScMapEntry) ProtoMessage()

func (*ScMapEntry) ProtoReflect

func (x *ScMapEntry) ProtoReflect() protoreflect.Message

func (*ScMapEntry) Reset

func (x *ScMapEntry) Reset()

func (*ScMapEntry) String

func (x *ScMapEntry) String() string

type ScNonceKey

type ScNonceKey struct {
	Nonce int64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*ScNonceKey) Descriptor deprecated

func (*ScNonceKey) Descriptor() ([]byte, []int)

Deprecated: Use ScNonceKey.ProtoReflect.Descriptor instead.

func (*ScNonceKey) GetNonce

func (x *ScNonceKey) GetNonce() int64

func (*ScNonceKey) ProtoMessage

func (*ScNonceKey) ProtoMessage()

func (*ScNonceKey) ProtoReflect

func (x *ScNonceKey) ProtoReflect() protoreflect.Message

func (*ScNonceKey) Reset

func (x *ScNonceKey) Reset()

func (*ScNonceKey) String

func (x *ScNonceKey) String() string

type ScVal

type ScVal struct {

	// Types that are valid to be assigned to Value:
	//
	//	*ScVal_B
	//	*ScVal_VoidVal
	//	*ScVal_Error
	//	*ScVal_U32
	//	*ScVal_I32
	//	*ScVal_U64
	//	*ScVal_I64
	//	*ScVal_Timepoint
	//	*ScVal_Duration
	//	*ScVal_U128
	//	*ScVal_I128
	//	*ScVal_U256
	//	*ScVal_I256
	//	*ScVal_BytesVal
	//	*ScVal_Str
	//	*ScVal_Sym
	//	*ScVal_Vec
	//	*ScVal_Map
	//	*ScVal_Address
	//	*ScVal_ContractInstance
	//	*ScVal_LedgerKeyContractInstance
	//	*ScVal_NonceKey
	Value isScVal_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*ScVal) Descriptor deprecated

func (*ScVal) Descriptor() ([]byte, []int)

Deprecated: Use ScVal.ProtoReflect.Descriptor instead.

func (*ScVal) GetAddress

func (x *ScVal) GetAddress() *ScAddress

func (*ScVal) GetB

func (x *ScVal) GetB() bool

func (*ScVal) GetBytesVal

func (x *ScVal) GetBytesVal() []byte

func (*ScVal) GetContractInstance

func (x *ScVal) GetContractInstance() *ScContractInstance

func (*ScVal) GetDuration

func (x *ScVal) GetDuration() uint64

func (*ScVal) GetError

func (x *ScVal) GetError() *ScError

func (*ScVal) GetI32

func (x *ScVal) GetI32() int32

func (*ScVal) GetI64

func (x *ScVal) GetI64() int64

func (*ScVal) GetI128

func (x *ScVal) GetI128() *Int128Parts

func (*ScVal) GetI256

func (x *ScVal) GetI256() *Int256Parts

func (*ScVal) GetLedgerKeyContractInstance

func (x *ScVal) GetLedgerKeyContractInstance() *Void

func (*ScVal) GetMap

func (x *ScVal) GetMap() *ScMap

func (*ScVal) GetNonceKey

func (x *ScVal) GetNonceKey() *ScNonceKey

func (*ScVal) GetStr

func (x *ScVal) GetStr() string

func (*ScVal) GetSym

func (x *ScVal) GetSym() string

func (*ScVal) GetTimepoint

func (x *ScVal) GetTimepoint() uint64

func (*ScVal) GetU32

func (x *ScVal) GetU32() uint32

func (*ScVal) GetU64

func (x *ScVal) GetU64() uint64

func (*ScVal) GetU128

func (x *ScVal) GetU128() *UInt128Parts

func (*ScVal) GetU256

func (x *ScVal) GetU256() *UInt256Parts

func (*ScVal) GetValue

func (x *ScVal) GetValue() isScVal_Value

func (*ScVal) GetVec

func (x *ScVal) GetVec() *ScVec

func (*ScVal) GetVoidVal

func (x *ScVal) GetVoidVal() *Void

func (*ScVal) ProtoMessage

func (*ScVal) ProtoMessage()

func (*ScVal) ProtoReflect

func (x *ScVal) ProtoReflect() protoreflect.Message

func (*ScVal) Reset

func (x *ScVal) Reset()

func (*ScVal) String

func (x *ScVal) String() string

type ScVal_Address

type ScVal_Address struct {
	Address *ScAddress `protobuf:"bytes,19,opt,name=address,proto3,oneof"`
}

type ScVal_B

type ScVal_B struct {
	B bool `protobuf:"varint,1,opt,name=b,proto3,oneof"`
}

type ScVal_BytesVal

type ScVal_BytesVal struct {
	BytesVal []byte `protobuf:"bytes,14,opt,name=bytes_val,json=bytesVal,proto3,oneof"`
}

type ScVal_ContractInstance

type ScVal_ContractInstance struct {
	ContractInstance *ScContractInstance `protobuf:"bytes,20,opt,name=contract_instance,json=contractInstance,proto3,oneof"`
}

type ScVal_Duration

type ScVal_Duration struct {
	Duration uint64 `protobuf:"varint,9,opt,name=duration,proto3,oneof"`
}

type ScVal_Error

type ScVal_Error struct {
	Error *ScError `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}

type ScVal_I32

type ScVal_I32 struct {
	I32 int32 `protobuf:"varint,5,opt,name=i32,proto3,oneof"`
}

type ScVal_I64

type ScVal_I64 struct {
	I64 int64 `protobuf:"varint,7,opt,name=i64,proto3,oneof"`
}

type ScVal_I128

type ScVal_I128 struct {
	I128 *Int128Parts `protobuf:"bytes,11,opt,name=i128,proto3,oneof"`
}

type ScVal_I256

type ScVal_I256 struct {
	I256 *Int256Parts `protobuf:"bytes,13,opt,name=i256,proto3,oneof"`
}

type ScVal_LedgerKeyContractInstance

type ScVal_LedgerKeyContractInstance struct {
	LedgerKeyContractInstance *Void `protobuf:"bytes,21,opt,name=ledger_key_contract_instance,json=ledgerKeyContractInstance,proto3,oneof"`
}

type ScVal_Map

type ScVal_Map struct {
	Map *ScMap `protobuf:"bytes,18,opt,name=map,proto3,oneof"`
}

type ScVal_NonceKey

type ScVal_NonceKey struct {
	NonceKey *ScNonceKey `protobuf:"bytes,22,opt,name=nonce_key,json=nonceKey,proto3,oneof"`
}

type ScVal_Str

type ScVal_Str struct {
	Str string `protobuf:"bytes,15,opt,name=str,proto3,oneof"`
}

type ScVal_Sym

type ScVal_Sym struct {
	Sym string `protobuf:"bytes,16,opt,name=sym,proto3,oneof"`
}

type ScVal_Timepoint

type ScVal_Timepoint struct {
	Timepoint uint64 `protobuf:"varint,8,opt,name=timepoint,proto3,oneof"`
}

type ScVal_U32

type ScVal_U32 struct {
	U32 uint32 `protobuf:"varint,4,opt,name=u32,proto3,oneof"`
}

type ScVal_U64

type ScVal_U64 struct {
	U64 uint64 `protobuf:"varint,6,opt,name=u64,proto3,oneof"`
}

type ScVal_U128

type ScVal_U128 struct {
	U128 *UInt128Parts `protobuf:"bytes,10,opt,name=u128,proto3,oneof"`
}

type ScVal_U256

type ScVal_U256 struct {
	U256 *UInt256Parts `protobuf:"bytes,12,opt,name=u256,proto3,oneof"`
}

type ScVal_Vec

type ScVal_Vec struct {
	Vec *ScVec `protobuf:"bytes,17,opt,name=vec,proto3,oneof"`
}

type ScVal_VoidVal

type ScVal_VoidVal struct {
	VoidVal *Void `protobuf:"bytes,2,opt,name=void_val,json=voidVal,proto3,oneof"`
}

type ScVec

type ScVec struct {
	Values []*ScVal `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*ScVec) Descriptor deprecated

func (*ScVec) Descriptor() ([]byte, []int)

Deprecated: Use ScVec.ProtoReflect.Descriptor instead.

func (*ScVec) GetValues

func (x *ScVec) GetValues() []*ScVal

func (*ScVec) ProtoMessage

func (*ScVec) ProtoMessage()

func (*ScVec) ProtoReflect

func (x *ScVec) ProtoReflect() protoreflect.Message

func (*ScVec) Reset

func (x *ScVec) Reset()

func (*ScVec) String

func (x *ScVec) String() string

type UInt128Parts

type UInt128Parts struct {
	Hi uint64 `protobuf:"varint,1,opt,name=hi,proto3" json:"hi,omitempty"`
	Lo uint64 `protobuf:"varint,2,opt,name=lo,proto3" json:"lo,omitempty"`
	// contains filtered or unexported fields
}

func (*UInt128Parts) Descriptor deprecated

func (*UInt128Parts) Descriptor() ([]byte, []int)

Deprecated: Use UInt128Parts.ProtoReflect.Descriptor instead.

func (*UInt128Parts) GetHi

func (x *UInt128Parts) GetHi() uint64

func (*UInt128Parts) GetLo

func (x *UInt128Parts) GetLo() uint64

func (*UInt128Parts) ProtoMessage

func (*UInt128Parts) ProtoMessage()

func (*UInt128Parts) ProtoReflect

func (x *UInt128Parts) ProtoReflect() protoreflect.Message

func (*UInt128Parts) Reset

func (x *UInt128Parts) Reset()

func (*UInt128Parts) String

func (x *UInt128Parts) String() string

type UInt256Parts

type UInt256Parts struct {
	HiHi uint64 `protobuf:"varint,1,opt,name=hi_hi,json=hiHi,proto3" json:"hi_hi,omitempty"`
	HiLo uint64 `protobuf:"varint,2,opt,name=hi_lo,json=hiLo,proto3" json:"hi_lo,omitempty"`
	LoHi uint64 `protobuf:"varint,3,opt,name=lo_hi,json=loHi,proto3" json:"lo_hi,omitempty"`
	LoLo uint64 `protobuf:"varint,4,opt,name=lo_lo,json=loLo,proto3" json:"lo_lo,omitempty"`
	// contains filtered or unexported fields
}

func (*UInt256Parts) Descriptor deprecated

func (*UInt256Parts) Descriptor() ([]byte, []int)

Deprecated: Use UInt256Parts.ProtoReflect.Descriptor instead.

func (*UInt256Parts) GetHiHi

func (x *UInt256Parts) GetHiHi() uint64

func (*UInt256Parts) GetHiLo

func (x *UInt256Parts) GetHiLo() uint64

func (*UInt256Parts) GetLoHi

func (x *UInt256Parts) GetLoHi() uint64

func (*UInt256Parts) GetLoLo

func (x *UInt256Parts) GetLoLo() uint64

func (*UInt256Parts) ProtoMessage

func (*UInt256Parts) ProtoMessage()

func (*UInt256Parts) ProtoReflect

func (x *UInt256Parts) ProtoReflect() protoreflect.Message

func (*UInt256Parts) Reset

func (x *UInt256Parts) Reset()

func (*UInt256Parts) String

func (x *UInt256Parts) String() string

type Void

type Void struct {
	// contains filtered or unexported fields
}

func (*Void) Descriptor deprecated

func (*Void) Descriptor() ([]byte, []int)

Deprecated: Use Void.ProtoReflect.Descriptor instead.

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) ProtoReflect

func (x *Void) ProtoReflect() protoreflect.Message

func (*Void) Reset

func (x *Void) Reset()

func (*Void) String

func (x *Void) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL