Documentation ¶
Index ¶
- Constants
- type CallRequest
- type DeployRequest
- type ImmutableCallRequest
- type ImmutableDeployRequest
- type ImmutablePostRequest
- type ImmutableSendRequest
- type ImmutableTransferRequest
- type MutableCallRequest
- type MutableDeployRequest
- type MutablePostRequest
- type MutableSendRequest
- type MutableTransferRequest
- type PostRequest
- type SendRequest
- type TransferRequest
Constants ¶
View Source
const ( ScName = "requests" ScDescription = "WasmLib request structures" HScName = wasmtypes.ScHname(0x98e19453) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallRequest ¶
type CallRequest struct { // caller assets that the call is allowed to access Allowance []byte Contract wasmtypes.ScHname Function wasmtypes.ScHname Params []byte }
func CallRequestFromBytes ¶ added in v1.0.3
func CallRequestFromBytes(buf []byte) *CallRequest
func (*CallRequest) Bytes ¶
func (o *CallRequest) Bytes() []byte
type DeployRequest ¶
func DeployRequestFromBytes ¶ added in v1.0.3
func DeployRequestFromBytes(buf []byte) *DeployRequest
func (*DeployRequest) Bytes ¶
func (o *DeployRequest) Bytes() []byte
type ImmutableCallRequest ¶
func (ImmutableCallRequest) Exists ¶
func (o ImmutableCallRequest) Exists() bool
func (ImmutableCallRequest) Value ¶
func (o ImmutableCallRequest) Value() *CallRequest
type ImmutableDeployRequest ¶
func (ImmutableDeployRequest) Exists ¶
func (o ImmutableDeployRequest) Exists() bool
func (ImmutableDeployRequest) Value ¶
func (o ImmutableDeployRequest) Value() *DeployRequest
type ImmutablePostRequest ¶
func (ImmutablePostRequest) Exists ¶
func (o ImmutablePostRequest) Exists() bool
func (ImmutablePostRequest) Value ¶
func (o ImmutablePostRequest) Value() *PostRequest
type ImmutableSendRequest ¶
func (ImmutableSendRequest) Exists ¶
func (o ImmutableSendRequest) Exists() bool
func (ImmutableSendRequest) Value ¶
func (o ImmutableSendRequest) Value() *SendRequest
type ImmutableTransferRequest ¶
func (ImmutableTransferRequest) Exists ¶
func (o ImmutableTransferRequest) Exists() bool
func (ImmutableTransferRequest) Value ¶
func (o ImmutableTransferRequest) Value() *TransferRequest
type MutableCallRequest ¶
func (MutableCallRequest) Delete ¶
func (o MutableCallRequest) Delete()
func (MutableCallRequest) Exists ¶
func (o MutableCallRequest) Exists() bool
func (MutableCallRequest) SetValue ¶
func (o MutableCallRequest) SetValue(value *CallRequest)
func (MutableCallRequest) Value ¶
func (o MutableCallRequest) Value() *CallRequest
type MutableDeployRequest ¶
func (MutableDeployRequest) Delete ¶
func (o MutableDeployRequest) Delete()
func (MutableDeployRequest) Exists ¶
func (o MutableDeployRequest) Exists() bool
func (MutableDeployRequest) SetValue ¶
func (o MutableDeployRequest) SetValue(value *DeployRequest)
func (MutableDeployRequest) Value ¶
func (o MutableDeployRequest) Value() *DeployRequest
type MutablePostRequest ¶
func (MutablePostRequest) Delete ¶
func (o MutablePostRequest) Delete()
func (MutablePostRequest) Exists ¶
func (o MutablePostRequest) Exists() bool
func (MutablePostRequest) SetValue ¶
func (o MutablePostRequest) SetValue(value *PostRequest)
func (MutablePostRequest) Value ¶
func (o MutablePostRequest) Value() *PostRequest
type MutableSendRequest ¶
func (MutableSendRequest) Delete ¶
func (o MutableSendRequest) Delete()
func (MutableSendRequest) Exists ¶
func (o MutableSendRequest) Exists() bool
func (MutableSendRequest) SetValue ¶
func (o MutableSendRequest) SetValue(value *SendRequest)
func (MutableSendRequest) Value ¶
func (o MutableSendRequest) Value() *SendRequest
type MutableTransferRequest ¶
func (MutableTransferRequest) Delete ¶
func (o MutableTransferRequest) Delete()
func (MutableTransferRequest) Exists ¶
func (o MutableTransferRequest) Exists() bool
func (MutableTransferRequest) SetValue ¶
func (o MutableTransferRequest) SetValue(value *TransferRequest)
func (MutableTransferRequest) Value ¶
func (o MutableTransferRequest) Value() *TransferRequest
type PostRequest ¶
type PostRequest struct { // caller assets that the call is allowed to access Allowance []byte ChainID wasmtypes.ScChainID Contract wasmtypes.ScHname Delay uint32 Function wasmtypes.ScHname Params []byte // assets that are transferred into caller account Transfer []byte }
func PostRequestFromBytes ¶ added in v1.0.3
func PostRequestFromBytes(buf []byte) *PostRequest
func (*PostRequest) Bytes ¶
func (o *PostRequest) Bytes() []byte
type SendRequest ¶
func SendRequestFromBytes ¶ added in v1.0.3
func SendRequestFromBytes(buf []byte) *SendRequest
func (*SendRequest) Bytes ¶
func (o *SendRequest) Bytes() []byte
type TransferRequest ¶
func TransferRequestFromBytes ¶ added in v1.0.3
func TransferRequestFromBytes(buf []byte) *TransferRequest
func (*TransferRequest) Bytes ¶
func (o *TransferRequest) Bytes() []byte
Click to show internal directories.
Click to hide internal directories.