types

package
v0.0.0-...-f5fdc1f Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

APACHE NOTICE: This file has been modified from the original source

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type MsgClearContractAdmin

type MsgClearContractAdmin struct {
	// Admin is the current contract admin
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty" yaml:"admin"`
	// Contract is the address of the smart contract
	Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty" yaml:"contract"`
}

MsgClearContractAdmin represents a message to clear admin address from a smart contract

func (*MsgClearContractAdmin) Descriptor

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

func (MsgClearContractAdmin) GetSigners

func (msg MsgClearContractAdmin) GetSigners() []sdk.AccAddress

func (*MsgClearContractAdmin) Marshal

func (m *MsgClearContractAdmin) Marshal() (dAtA []byte, err error)

func (*MsgClearContractAdmin) MarshalTo

func (m *MsgClearContractAdmin) MarshalTo(dAtA []byte) (int, error)

func (*MsgClearContractAdmin) MarshalToSizedBuffer

func (m *MsgClearContractAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClearContractAdmin) ProtoMessage

func (*MsgClearContractAdmin) ProtoMessage()

func (*MsgClearContractAdmin) Reset

func (m *MsgClearContractAdmin) Reset()

func (*MsgClearContractAdmin) Size

func (m *MsgClearContractAdmin) Size() (n int)

func (*MsgClearContractAdmin) String

func (m *MsgClearContractAdmin) String() string

func (*MsgClearContractAdmin) Unmarshal

func (m *MsgClearContractAdmin) Unmarshal(dAtA []byte) error

func (MsgClearContractAdmin) ValidateBasic

func (msg MsgClearContractAdmin) ValidateBasic() error

func (*MsgClearContractAdmin) XXX_DiscardUnknown

func (m *MsgClearContractAdmin) XXX_DiscardUnknown()

func (*MsgClearContractAdmin) XXX_Marshal

func (m *MsgClearContractAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClearContractAdmin) XXX_Merge

func (m *MsgClearContractAdmin) XXX_Merge(src proto.Message)

func (*MsgClearContractAdmin) XXX_Size

func (m *MsgClearContractAdmin) XXX_Size() int

func (*MsgClearContractAdmin) XXX_Unmarshal

func (m *MsgClearContractAdmin) XXX_Unmarshal(b []byte) error

type MsgClearContractAdminResponse

type MsgClearContractAdminResponse struct {
}

MsgClearContractAdminResponse defines the Msg/ClearContractAdmin response type.

func (*MsgClearContractAdminResponse) Descriptor

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

func (*MsgClearContractAdminResponse) Marshal

func (m *MsgClearContractAdminResponse) Marshal() (dAtA []byte, err error)

func (*MsgClearContractAdminResponse) MarshalTo

func (m *MsgClearContractAdminResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgClearContractAdminResponse) MarshalToSizedBuffer

func (m *MsgClearContractAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClearContractAdminResponse) ProtoMessage

func (*MsgClearContractAdminResponse) ProtoMessage()

func (*MsgClearContractAdminResponse) Reset

func (m *MsgClearContractAdminResponse) Reset()

func (*MsgClearContractAdminResponse) Size

func (m *MsgClearContractAdminResponse) Size() (n int)

func (*MsgClearContractAdminResponse) String

func (*MsgClearContractAdminResponse) Unmarshal

func (m *MsgClearContractAdminResponse) Unmarshal(dAtA []byte) error

func (*MsgClearContractAdminResponse) XXX_DiscardUnknown

func (m *MsgClearContractAdminResponse) XXX_DiscardUnknown()

func (*MsgClearContractAdminResponse) XXX_Marshal

func (m *MsgClearContractAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClearContractAdminResponse) XXX_Merge

func (m *MsgClearContractAdminResponse) XXX_Merge(src proto.Message)

func (*MsgClearContractAdminResponse) XXX_Size

func (m *MsgClearContractAdminResponse) XXX_Size() int

func (*MsgClearContractAdminResponse) XXX_Unmarshal

func (m *MsgClearContractAdminResponse) XXX_Unmarshal(b []byte) error

type MsgExecuteContract

type MsgExecuteContract struct {
	// Sender is the that actor that signed the messages
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	// Contract is the address of the smart contract
	Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty" yaml:"contract"`
	// ExecuteMsg json encoded message to be passed to the contract
	ExecuteMsg encoding_json.RawMessage `` /* 144-byte string literal not displayed */
	// Coins that are transferred to the contract on execution
	Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins" yaml:"coins"`
}

MsgExecuteContract represents a message to submits the given message data to a smart contract.

func (*MsgExecuteContract) Descriptor

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

func (MsgExecuteContract) GetSigners

func (msg MsgExecuteContract) GetSigners() []sdk.AccAddress

func (*MsgExecuteContract) Marshal

func (m *MsgExecuteContract) Marshal() (dAtA []byte, err error)

func (*MsgExecuteContract) MarshalTo

func (m *MsgExecuteContract) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecuteContract) MarshalToSizedBuffer

func (m *MsgExecuteContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecuteContract) ProtoMessage

func (*MsgExecuteContract) ProtoMessage()

func (*MsgExecuteContract) Reset

func (m *MsgExecuteContract) Reset()

func (*MsgExecuteContract) Size

func (m *MsgExecuteContract) Size() (n int)

func (*MsgExecuteContract) String

func (m *MsgExecuteContract) String() string

func (*MsgExecuteContract) Unmarshal

func (m *MsgExecuteContract) Unmarshal(dAtA []byte) error

func (MsgExecuteContract) ValidateBasic

func (msg MsgExecuteContract) ValidateBasic() error

func (*MsgExecuteContract) XXX_DiscardUnknown

func (m *MsgExecuteContract) XXX_DiscardUnknown()

func (*MsgExecuteContract) XXX_Marshal

func (m *MsgExecuteContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecuteContract) XXX_Merge

func (m *MsgExecuteContract) XXX_Merge(src proto.Message)

func (*MsgExecuteContract) XXX_Size

func (m *MsgExecuteContract) XXX_Size() int

func (*MsgExecuteContract) XXX_Unmarshal

func (m *MsgExecuteContract) XXX_Unmarshal(b []byte) error

type MsgExecuteContractResponse

type MsgExecuteContractResponse struct {
	// Data contains base64-encoded bytes to returned from the contract
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" yaml:"data"`
}

MsgExecuteContractResponse defines the Msg/ExecuteContract response type.

func (*MsgExecuteContractResponse) Descriptor

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

func (*MsgExecuteContractResponse) GetData

func (m *MsgExecuteContractResponse) GetData() []byte

func (*MsgExecuteContractResponse) Marshal

func (m *MsgExecuteContractResponse) Marshal() (dAtA []byte, err error)

func (*MsgExecuteContractResponse) MarshalTo

func (m *MsgExecuteContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgExecuteContractResponse) MarshalToSizedBuffer

func (m *MsgExecuteContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExecuteContractResponse) ProtoMessage

func (*MsgExecuteContractResponse) ProtoMessage()

func (*MsgExecuteContractResponse) Reset

func (m *MsgExecuteContractResponse) Reset()

func (*MsgExecuteContractResponse) Size

func (m *MsgExecuteContractResponse) Size() (n int)

func (*MsgExecuteContractResponse) String

func (m *MsgExecuteContractResponse) String() string

func (*MsgExecuteContractResponse) Unmarshal

func (m *MsgExecuteContractResponse) Unmarshal(dAtA []byte) error

func (*MsgExecuteContractResponse) XXX_DiscardUnknown

func (m *MsgExecuteContractResponse) XXX_DiscardUnknown()

func (*MsgExecuteContractResponse) XXX_Marshal

func (m *MsgExecuteContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExecuteContractResponse) XXX_Merge

func (m *MsgExecuteContractResponse) XXX_Merge(src proto.Message)

func (*MsgExecuteContractResponse) XXX_Size

func (m *MsgExecuteContractResponse) XXX_Size() int

func (*MsgExecuteContractResponse) XXX_Unmarshal

func (m *MsgExecuteContractResponse) XXX_Unmarshal(b []byte) error

type MsgInstantiateContract

type MsgInstantiateContract struct {
	// Sender is an sender address
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	// Admin is an optional admin address who can migrate the contract
	Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty" yaml:"admin"`
	// CodeID is the reference to the stored WASM code
	CodeID uint64 `protobuf:"varint,3,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty" yaml:"code_id"`
	// InitMsg json encoded message to be passed to the contract on instantiation
	InitMsg encoding_json.RawMessage `` /* 132-byte string literal not displayed */
	// InitCoins that are transferred to the contract on execution
	InitCoins github_com_cosmos_cosmos_sdk_types.Coins `` /* 150-byte string literal not displayed */
}

MsgInstantiateContract represents a message to create a new smart contract instance for the given code id.

func (*MsgInstantiateContract) Descriptor

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

func (MsgInstantiateContract) GetSigners

func (msg MsgInstantiateContract) GetSigners() []sdk.AccAddress

func (*MsgInstantiateContract) Marshal

func (m *MsgInstantiateContract) Marshal() (dAtA []byte, err error)

func (*MsgInstantiateContract) MarshalTo

func (m *MsgInstantiateContract) MarshalTo(dAtA []byte) (int, error)

func (*MsgInstantiateContract) MarshalToSizedBuffer

func (m *MsgInstantiateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantiateContract) ProtoMessage

func (*MsgInstantiateContract) ProtoMessage()

func (*MsgInstantiateContract) Reset

func (m *MsgInstantiateContract) Reset()

func (*MsgInstantiateContract) Size

func (m *MsgInstantiateContract) Size() (n int)

func (*MsgInstantiateContract) String

func (m *MsgInstantiateContract) String() string

func (*MsgInstantiateContract) Unmarshal

func (m *MsgInstantiateContract) Unmarshal(dAtA []byte) error

func (MsgInstantiateContract) ValidateBasic

func (msg MsgInstantiateContract) ValidateBasic() error

func (*MsgInstantiateContract) XXX_DiscardUnknown

func (m *MsgInstantiateContract) XXX_DiscardUnknown()

func (*MsgInstantiateContract) XXX_Marshal

func (m *MsgInstantiateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantiateContract) XXX_Merge

func (m *MsgInstantiateContract) XXX_Merge(src proto.Message)

func (*MsgInstantiateContract) XXX_Size

func (m *MsgInstantiateContract) XXX_Size() int

func (*MsgInstantiateContract) XXX_Unmarshal

func (m *MsgInstantiateContract) XXX_Unmarshal(b []byte) error

type MsgInstantiateContractResponse

type MsgInstantiateContractResponse struct {
	// ContractAddress is the bech32 address of the new contract instance.
	ContractAddress string `` /* 130-byte string literal not displayed */
	// Data contains base64-encoded bytes to returned from the contract
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty" yaml:"data"`
}

MsgInstantiateContractResponse defines the Msg/InstantiateContract response type.

func (*MsgInstantiateContractResponse) Descriptor

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

func (*MsgInstantiateContractResponse) GetContractAddress

func (m *MsgInstantiateContractResponse) GetContractAddress() string

func (*MsgInstantiateContractResponse) GetData

func (m *MsgInstantiateContractResponse) GetData() []byte

func (*MsgInstantiateContractResponse) Marshal

func (m *MsgInstantiateContractResponse) Marshal() (dAtA []byte, err error)

func (*MsgInstantiateContractResponse) MarshalTo

func (m *MsgInstantiateContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgInstantiateContractResponse) MarshalToSizedBuffer

func (m *MsgInstantiateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantiateContractResponse) ProtoMessage

func (*MsgInstantiateContractResponse) ProtoMessage()

func (*MsgInstantiateContractResponse) Reset

func (m *MsgInstantiateContractResponse) Reset()

func (*MsgInstantiateContractResponse) Size

func (m *MsgInstantiateContractResponse) Size() (n int)

func (*MsgInstantiateContractResponse) String

func (*MsgInstantiateContractResponse) Unmarshal

func (m *MsgInstantiateContractResponse) Unmarshal(dAtA []byte) error

func (*MsgInstantiateContractResponse) XXX_DiscardUnknown

func (m *MsgInstantiateContractResponse) XXX_DiscardUnknown()

func (*MsgInstantiateContractResponse) XXX_Marshal

func (m *MsgInstantiateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantiateContractResponse) XXX_Merge

func (m *MsgInstantiateContractResponse) XXX_Merge(src proto.Message)

func (*MsgInstantiateContractResponse) XXX_Size

func (m *MsgInstantiateContractResponse) XXX_Size() int

func (*MsgInstantiateContractResponse) XXX_Unmarshal

func (m *MsgInstantiateContractResponse) XXX_Unmarshal(b []byte) error

type MsgMigrateCode

type MsgMigrateCode struct {
	// CodeID is the migration target code id
	CodeID uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty" yaml:"code_id"`
	// Sender is the that actor that signed the messages
	Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	// WASMByteCode can be raw or gzip compressed
	WASMByteCode []byte `protobuf:"bytes,3,opt,name=wasm_byte_code,json=wasmByteCode,proto3" json:"wasm_byte_code,omitempty" yaml:"wasm_byte_code"`
}

MsgMigrateCode represents a message to submit Wasm code to the system

func (*MsgMigrateCode) Descriptor

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

func (MsgMigrateCode) GetSigners

func (msg MsgMigrateCode) GetSigners() []sdk.AccAddress

func (*MsgMigrateCode) Marshal

func (m *MsgMigrateCode) Marshal() (dAtA []byte, err error)

func (*MsgMigrateCode) MarshalTo

func (m *MsgMigrateCode) MarshalTo(dAtA []byte) (int, error)

func (*MsgMigrateCode) MarshalToSizedBuffer

func (m *MsgMigrateCode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMigrateCode) ProtoMessage

func (*MsgMigrateCode) ProtoMessage()

func (*MsgMigrateCode) Reset

func (m *MsgMigrateCode) Reset()

func (*MsgMigrateCode) Size

func (m *MsgMigrateCode) Size() (n int)

func (*MsgMigrateCode) String

func (m *MsgMigrateCode) String() string

func (*MsgMigrateCode) Unmarshal

func (m *MsgMigrateCode) Unmarshal(dAtA []byte) error

func (MsgMigrateCode) ValidateBasic

func (msg MsgMigrateCode) ValidateBasic() error

func (*MsgMigrateCode) XXX_DiscardUnknown

func (m *MsgMigrateCode) XXX_DiscardUnknown()

func (*MsgMigrateCode) XXX_Marshal

func (m *MsgMigrateCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMigrateCode) XXX_Merge

func (m *MsgMigrateCode) XXX_Merge(src proto.Message)

func (*MsgMigrateCode) XXX_Size

func (m *MsgMigrateCode) XXX_Size() int

func (*MsgMigrateCode) XXX_Unmarshal

func (m *MsgMigrateCode) XXX_Unmarshal(b []byte) error

type MsgMigrateCodeResponse

type MsgMigrateCodeResponse struct {
}

MsgMigrateCodeResponse defines the Msg/MigrateCode response type.

func (*MsgMigrateCodeResponse) Descriptor

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

func (*MsgMigrateCodeResponse) Marshal

func (m *MsgMigrateCodeResponse) Marshal() (dAtA []byte, err error)

func (*MsgMigrateCodeResponse) MarshalTo

func (m *MsgMigrateCodeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgMigrateCodeResponse) MarshalToSizedBuffer

func (m *MsgMigrateCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMigrateCodeResponse) ProtoMessage

func (*MsgMigrateCodeResponse) ProtoMessage()

func (*MsgMigrateCodeResponse) Reset

func (m *MsgMigrateCodeResponse) Reset()

func (*MsgMigrateCodeResponse) Size

func (m *MsgMigrateCodeResponse) Size() (n int)

func (*MsgMigrateCodeResponse) String

func (m *MsgMigrateCodeResponse) String() string

func (*MsgMigrateCodeResponse) Unmarshal

func (m *MsgMigrateCodeResponse) Unmarshal(dAtA []byte) error

func (*MsgMigrateCodeResponse) XXX_DiscardUnknown

func (m *MsgMigrateCodeResponse) XXX_DiscardUnknown()

func (*MsgMigrateCodeResponse) XXX_Marshal

func (m *MsgMigrateCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMigrateCodeResponse) XXX_Merge

func (m *MsgMigrateCodeResponse) XXX_Merge(src proto.Message)

func (*MsgMigrateCodeResponse) XXX_Size

func (m *MsgMigrateCodeResponse) XXX_Size() int

func (*MsgMigrateCodeResponse) XXX_Unmarshal

func (m *MsgMigrateCodeResponse) XXX_Unmarshal(b []byte) error

type MsgMigrateContract

type MsgMigrateContract struct {
	// Admin is the current contract admin
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty" yaml:"admin"`
	// Contract is the address of the smart contract
	Contract string `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty" yaml:"contract"`
	// NewCodeID references the new WASM code
	NewCodeID uint64 `protobuf:"varint,3,opt,name=new_code_id,json=newCodeId,proto3" json:"new_code_id,omitempty" yaml:"new_code_id"`
	// MigrateMsg is json encoded message to be passed to the contract on migration
	MigrateMsg encoding_json.RawMessage `` /* 144-byte string literal not displayed */
}

MsgMigrateContract represents a message to runs a code upgrade/ downgrade for a smart contract

func (*MsgMigrateContract) Descriptor

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

func (MsgMigrateContract) GetSigners

func (msg MsgMigrateContract) GetSigners() []sdk.AccAddress

func (*MsgMigrateContract) Marshal

func (m *MsgMigrateContract) Marshal() (dAtA []byte, err error)

func (*MsgMigrateContract) MarshalTo

func (m *MsgMigrateContract) MarshalTo(dAtA []byte) (int, error)

func (*MsgMigrateContract) MarshalToSizedBuffer

func (m *MsgMigrateContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMigrateContract) ProtoMessage

func (*MsgMigrateContract) ProtoMessage()

func (*MsgMigrateContract) Reset

func (m *MsgMigrateContract) Reset()

func (*MsgMigrateContract) Size

func (m *MsgMigrateContract) Size() (n int)

func (*MsgMigrateContract) String

func (m *MsgMigrateContract) String() string

func (*MsgMigrateContract) Unmarshal

func (m *MsgMigrateContract) Unmarshal(dAtA []byte) error

func (MsgMigrateContract) ValidateBasic

func (msg MsgMigrateContract) ValidateBasic() error

func (*MsgMigrateContract) XXX_DiscardUnknown

func (m *MsgMigrateContract) XXX_DiscardUnknown()

func (*MsgMigrateContract) XXX_Marshal

func (m *MsgMigrateContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMigrateContract) XXX_Merge

func (m *MsgMigrateContract) XXX_Merge(src proto.Message)

func (*MsgMigrateContract) XXX_Size

func (m *MsgMigrateContract) XXX_Size() int

func (*MsgMigrateContract) XXX_Unmarshal

func (m *MsgMigrateContract) XXX_Unmarshal(b []byte) error

type MsgMigrateContractResponse

type MsgMigrateContractResponse struct {
	// Data contains base64-encoded bytes to returned from the contract
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" yaml:"data"`
}

MsgMigrateContractResponse defines the Msg/MigrateContract response type.

func (*MsgMigrateContractResponse) Descriptor

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

func (*MsgMigrateContractResponse) GetData

func (m *MsgMigrateContractResponse) GetData() []byte

func (*MsgMigrateContractResponse) Marshal

func (m *MsgMigrateContractResponse) Marshal() (dAtA []byte, err error)

func (*MsgMigrateContractResponse) MarshalTo

func (m *MsgMigrateContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgMigrateContractResponse) MarshalToSizedBuffer

func (m *MsgMigrateContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMigrateContractResponse) ProtoMessage

func (*MsgMigrateContractResponse) ProtoMessage()

func (*MsgMigrateContractResponse) Reset

func (m *MsgMigrateContractResponse) Reset()

func (*MsgMigrateContractResponse) Size

func (m *MsgMigrateContractResponse) Size() (n int)

func (*MsgMigrateContractResponse) String

func (m *MsgMigrateContractResponse) String() string

func (*MsgMigrateContractResponse) Unmarshal

func (m *MsgMigrateContractResponse) Unmarshal(dAtA []byte) error

func (*MsgMigrateContractResponse) XXX_DiscardUnknown

func (m *MsgMigrateContractResponse) XXX_DiscardUnknown()

func (*MsgMigrateContractResponse) XXX_Marshal

func (m *MsgMigrateContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMigrateContractResponse) XXX_Merge

func (m *MsgMigrateContractResponse) XXX_Merge(src proto.Message)

func (*MsgMigrateContractResponse) XXX_Size

func (m *MsgMigrateContractResponse) XXX_Size() int

func (*MsgMigrateContractResponse) XXX_Unmarshal

func (m *MsgMigrateContractResponse) XXX_Unmarshal(b []byte) error

type MsgStoreCode

type MsgStoreCode struct {
	// Sender is the that actor that signed the messages
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	// WASMByteCode can be raw or gzip compressed
	WASMByteCode []byte `protobuf:"bytes,2,opt,name=wasm_byte_code,json=wasmByteCode,proto3" json:"wasm_byte_code,omitempty" yaml:"wasm_byte_code"`
}

MsgStoreCode represents a message to submit Wasm code to the system

func (*MsgStoreCode) Descriptor

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

func (MsgStoreCode) GetSigners

func (msg MsgStoreCode) GetSigners() []sdk.AccAddress

func (*MsgStoreCode) Marshal

func (m *MsgStoreCode) Marshal() (dAtA []byte, err error)

func (*MsgStoreCode) MarshalTo

func (m *MsgStoreCode) MarshalTo(dAtA []byte) (int, error)

func (*MsgStoreCode) MarshalToSizedBuffer

func (m *MsgStoreCode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgStoreCode) ProtoMessage

func (*MsgStoreCode) ProtoMessage()

func (*MsgStoreCode) Reset

func (m *MsgStoreCode) Reset()

func (*MsgStoreCode) Size

func (m *MsgStoreCode) Size() (n int)

func (*MsgStoreCode) String

func (m *MsgStoreCode) String() string

func (*MsgStoreCode) Unmarshal

func (m *MsgStoreCode) Unmarshal(dAtA []byte) error

func (MsgStoreCode) ValidateBasic

func (msg MsgStoreCode) ValidateBasic() error

func (*MsgStoreCode) XXX_DiscardUnknown

func (m *MsgStoreCode) XXX_DiscardUnknown()

func (*MsgStoreCode) XXX_Marshal

func (m *MsgStoreCode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgStoreCode) XXX_Merge

func (m *MsgStoreCode) XXX_Merge(src proto.Message)

func (*MsgStoreCode) XXX_Size

func (m *MsgStoreCode) XXX_Size() int

func (*MsgStoreCode) XXX_Unmarshal

func (m *MsgStoreCode) XXX_Unmarshal(b []byte) error

type MsgStoreCodeResponse

type MsgStoreCodeResponse struct {
	// CodeID is the reference to the stored WASM code
	CodeID uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty" yaml:"code_id"`
}

MsgStoreCodeResponse defines the Msg/StoreCode response type.

func (*MsgStoreCodeResponse) Descriptor

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

func (*MsgStoreCodeResponse) GetCodeID

func (m *MsgStoreCodeResponse) GetCodeID() uint64

func (*MsgStoreCodeResponse) Marshal

func (m *MsgStoreCodeResponse) Marshal() (dAtA []byte, err error)

func (*MsgStoreCodeResponse) MarshalTo

func (m *MsgStoreCodeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgStoreCodeResponse) MarshalToSizedBuffer

func (m *MsgStoreCodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgStoreCodeResponse) ProtoMessage

func (*MsgStoreCodeResponse) ProtoMessage()

func (*MsgStoreCodeResponse) Reset

func (m *MsgStoreCodeResponse) Reset()

func (*MsgStoreCodeResponse) Size

func (m *MsgStoreCodeResponse) Size() (n int)

func (*MsgStoreCodeResponse) String

func (m *MsgStoreCodeResponse) String() string

func (*MsgStoreCodeResponse) Unmarshal

func (m *MsgStoreCodeResponse) Unmarshal(dAtA []byte) error

func (*MsgStoreCodeResponse) XXX_DiscardUnknown

func (m *MsgStoreCodeResponse) XXX_DiscardUnknown()

func (*MsgStoreCodeResponse) XXX_Marshal

func (m *MsgStoreCodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgStoreCodeResponse) XXX_Merge

func (m *MsgStoreCodeResponse) XXX_Merge(src proto.Message)

func (*MsgStoreCodeResponse) XXX_Size

func (m *MsgStoreCodeResponse) XXX_Size() int

func (*MsgStoreCodeResponse) XXX_Unmarshal

func (m *MsgStoreCodeResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateContractAdmin

type MsgUpdateContractAdmin struct {
	// Admin is the current contract admin
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty" yaml:"admin"`
	// NewAdmin is the new contract admin
	NewAdmin string `protobuf:"bytes,2,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty" yaml:"new_admin"`
	// Contract is the address of the smart contract
	Contract string `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty" yaml:"contract"`
}

MsgUpdateContractAdmin represents a message to sets a new admin for a smart contract

func (*MsgUpdateContractAdmin) Descriptor

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

func (MsgUpdateContractAdmin) GetSigners

func (msg MsgUpdateContractAdmin) GetSigners() []sdk.AccAddress

func (*MsgUpdateContractAdmin) Marshal

func (m *MsgUpdateContractAdmin) Marshal() (dAtA []byte, err error)

func (*MsgUpdateContractAdmin) MarshalTo

func (m *MsgUpdateContractAdmin) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateContractAdmin) MarshalToSizedBuffer

func (m *MsgUpdateContractAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateContractAdmin) ProtoMessage

func (*MsgUpdateContractAdmin) ProtoMessage()

func (*MsgUpdateContractAdmin) Reset

func (m *MsgUpdateContractAdmin) Reset()

func (*MsgUpdateContractAdmin) Size

func (m *MsgUpdateContractAdmin) Size() (n int)

func (*MsgUpdateContractAdmin) String

func (m *MsgUpdateContractAdmin) String() string

func (*MsgUpdateContractAdmin) Unmarshal

func (m *MsgUpdateContractAdmin) Unmarshal(dAtA []byte) error

func (MsgUpdateContractAdmin) ValidateBasic

func (msg MsgUpdateContractAdmin) ValidateBasic() error

func (*MsgUpdateContractAdmin) XXX_DiscardUnknown

func (m *MsgUpdateContractAdmin) XXX_DiscardUnknown()

func (*MsgUpdateContractAdmin) XXX_Marshal

func (m *MsgUpdateContractAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateContractAdmin) XXX_Merge

func (m *MsgUpdateContractAdmin) XXX_Merge(src proto.Message)

func (*MsgUpdateContractAdmin) XXX_Size

func (m *MsgUpdateContractAdmin) XXX_Size() int

func (*MsgUpdateContractAdmin) XXX_Unmarshal

func (m *MsgUpdateContractAdmin) XXX_Unmarshal(b []byte) error

type MsgUpdateContractAdminResponse

type MsgUpdateContractAdminResponse struct {
}

MsgUpdateContractAdminResponse defines the Msg/UpdateContractAdmin response type.

func (*MsgUpdateContractAdminResponse) Descriptor

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

func (*MsgUpdateContractAdminResponse) Marshal

func (m *MsgUpdateContractAdminResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateContractAdminResponse) MarshalTo

func (m *MsgUpdateContractAdminResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateContractAdminResponse) MarshalToSizedBuffer

func (m *MsgUpdateContractAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateContractAdminResponse) ProtoMessage

func (*MsgUpdateContractAdminResponse) ProtoMessage()

func (*MsgUpdateContractAdminResponse) Reset

func (m *MsgUpdateContractAdminResponse) Reset()

func (*MsgUpdateContractAdminResponse) Size

func (m *MsgUpdateContractAdminResponse) Size() (n int)

func (*MsgUpdateContractAdminResponse) String

func (*MsgUpdateContractAdminResponse) Unmarshal

func (m *MsgUpdateContractAdminResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateContractAdminResponse) XXX_DiscardUnknown

func (m *MsgUpdateContractAdminResponse) XXX_DiscardUnknown()

func (*MsgUpdateContractAdminResponse) XXX_Marshal

func (m *MsgUpdateContractAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateContractAdminResponse) XXX_Merge

func (m *MsgUpdateContractAdminResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateContractAdminResponse) XXX_Size

func (m *MsgUpdateContractAdminResponse) XXX_Size() int

func (*MsgUpdateContractAdminResponse) XXX_Unmarshal

func (m *MsgUpdateContractAdminResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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