types

package
v0.0.0-...-6ee64b9 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 38 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "fungible"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_fungible"
)
View Source
const DefaultLiquidityCap = uint64(1000)

DefaultLiquidityCap is the default value set for the liquidity cap of a new ZRC20 when deployed for security reason, this value is low. An arbitrary value should be set during the process of deploying a new ZRC20 The value is represented in the base unit of the ZRC20, final value is calculated by multiplying this value by 10^decimals

View Source
const (
	// ForeignCoinsKeyPrefix is the prefix to retrieve all ForeignCoins
	ForeignCoinsKeyPrefix = "ForeignCoins/value/"
)
View Source
const (
	SystemContractKey = "SystemContract-value-"
)
View Source
const TypeMsgDeployFungibleCoinZRC20 = "deploy_fungible_coin_zrc_20"
View Source
const TypeMsgDeploySystemContracts = "deploy_system_contract"
View Source
const TypeMsgPauseZrc20 = "pause_zrc20"
View Source
const TypeMsgRemoveForeignCoin = "remove_foreign_coin"
View Source
const TypeMsgUnpauseZRC20 = "unpause_zrc20"
View Source
const TypeMsgUpdateContractBytecode = "update_contract_bytecode"
View Source
const TypeMsgUpdateGatewayContract = "update_gateway_contract"
View Source
const TypeMsgUpdateSystemContract = "update_system_contract"
View Source
const TypeMsgUpdateZRC20LiquidityCap = "update_zrc20_liquidity_cap"
View Source
const TypeMsgUpdateZRC20WithdrawFee = "update_zrc20_withdraw_fee"

Variables

View Source
var (
	ErrABIPack                 = cosmoserrors.Register(ModuleName, 1101, "abi pack error")
	ErrABIGet                  = cosmoserrors.Register(ModuleName, 1102, "abi get error")
	ErrABIUnpack               = cosmoserrors.Register(ModuleName, 1104, "abi unpack error")
	ErrContractNotFound        = cosmoserrors.Register(ModuleName, 1107, "contract not found")
	ErrContractCall            = cosmoserrors.Register(ModuleName, 1109, "contract call error")
	ErrSystemContractNotFound  = cosmoserrors.Register(ModuleName, 1110, "system contract not found")
	ErrInvalidAddress          = cosmoserrors.Register(ModuleName, 1111, "invalid address")
	ErrStateVariableNotFound   = cosmoserrors.Register(ModuleName, 1112, "state variable not found")
	ErrEmitEvent               = cosmoserrors.Register(ModuleName, 1114, "emit event error")
	ErrInvalidDecimals         = cosmoserrors.Register(ModuleName, 1115, "invalid decimals")
	ErrInvalidGasLimit         = cosmoserrors.Register(ModuleName, 1118, "invalid gas limit")
	ErrSetBytecode             = cosmoserrors.Register(ModuleName, 1119, "set bytecode error")
	ErrInvalidContract         = cosmoserrors.Register(ModuleName, 1120, "invalid contract")
	ErrPausedZRC20             = cosmoserrors.Register(ModuleName, 1121, "ZRC20 is paused")
	ErrForeignCoinNotFound     = cosmoserrors.Register(ModuleName, 1122, "foreign coin not found")
	ErrForeignCoinCapReached   = cosmoserrors.Register(ModuleName, 1123, "foreign coin cap reached")
	ErrCallNonContract         = cosmoserrors.Register(ModuleName, 1124, "can't call a non-contract address")
	ErrForeignCoinAlreadyExist = cosmoserrors.Register(ModuleName, 1125, "foreign coin already exist")
	ErrNilGasPrice             = cosmoserrors.Register(ModuleName, 1127, "nil gas price")
	ErrAccountNotFound         = cosmoserrors.Register(ModuleName, 1128, "account not found")
	ErrGatewayContractNotSet   = cosmoserrors.Register(ModuleName, 1129, "gateway contract not set")
	ErrZRC20ZeroAddress        = cosmoserrors.Register(ModuleName, 1130, "ZRC20 address cannot be zero")
	ErrZRC20NotWhiteListed     = cosmoserrors.Register(ModuleName, 1131, "ZRC20 is not whitelisted")
	ErrZRC20NilABI             = cosmoserrors.Register(ModuleName, 1132, "ZRC20 ABI is nil")
	ErrZeroAddress             = cosmoserrors.Register(ModuleName, 1133, "address cannot be zero")
	ErrInvalidAmount           = cosmoserrors.Register(ModuleName, 1134, "invalid amount")
	ErrMaxSupplyReached        = cosmoserrors.Register(ModuleName, 1135, "max supply reached")
)

x/fungible module sentinel errors

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthForeignCoins        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowForeignCoins          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupForeignCoins = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ModuleAddress    = authtypes.NewModuleAddress(ModuleName)
	ModuleAddressEVM = common.BytesToAddress(ModuleAddress.Bytes())
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSystemContract        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSystemContract          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSystemContract = fmt.Errorf("proto: unexpected end of group")
)
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

func ForeignCoinsKey

func ForeignCoinsKey(
	index string,
) []byte

ForeignCoinsKey returns the store key to retrieve a ForeignCoins from the index fields

func GasStabilityPoolAddress

func GasStabilityPoolAddress() sdk.AccAddress

GasStabilityPoolAddress returns the address of the gas stability pool

func GasStabilityPoolAddressEVM

func GasStabilityPoolAddressEVM() ethcommon.Address

GasStabilityPoolAddressEVM returns the address of the gas stability pool in EVM format

func IsContractReverted

func IsContractReverted(res *evmtypes.MsgEthereumTxResponse, err error) bool

IsContractReverted checks if the contract execution is reverted

func IsRevertError

func IsRevertError(err error) bool

IsRevertError checks if an error is a evm revert error

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetSequence(ctx sdk.Context, addr sdk.AccAddress) (uint64, error)
	GetModuleAccount(ctx sdk.Context, name string) types.ModuleAccountI
	HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool
	NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	SetAccount(ctx sdk.Context, acc types.AccountI)
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type AuthorityKeeper

type AuthorityKeeper interface {
	CheckAuthorization(ctx sdk.Context, msg sdk.Msg) error
	GetAdditionalChainList(ctx sdk.Context) (list []chains.Chain)
}

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToAccount(
		ctx sdk.Context,
		senderModule string,
		recipientAddr sdk.AccAddress,
		amt sdk.Coins,
	) error
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	GetSupply(ctx sdk.Context, denom string) sdk.Coin
}

type EVMKeeper

type EVMKeeper interface {
	ChainID() *big.Int
	GetBlockBloomTransient(ctx sdk.Context) *big.Int
	GetLogSizeTransient(ctx sdk.Context) uint64
	WithChainID(ctx sdk.Context)
	SetBlockBloomTransient(ctx sdk.Context, bloom *big.Int)
	SetLogSizeTransient(ctx sdk.Context, logSize uint64)
	EstimateGas(c context.Context, req *evmtypes.EthCallRequest) (*evmtypes.EstimateGasResponse, error)
	ApplyMessage(
		ctx sdk.Context,
		msg core.Message,
		tracer vm.EVMLogger,
		commit bool,
	) (*evmtypes.MsgEthereumTxResponse, error)
	GetAccount(ctx sdk.Context, addr ethcommon.Address) *statedb.Account
	GetCode(ctx sdk.Context, codeHash ethcommon.Hash) []byte
	SetAccount(ctx sdk.Context, addr ethcommon.Address, account statedb.Account) error
}

type EventBytecodeUpdated

type EventBytecodeUpdated struct {
	MsgTypeUrl      string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	NewBytecodeHash string `protobuf:"bytes,3,opt,name=new_bytecode_hash,json=newBytecodeHash,proto3" json:"new_bytecode_hash,omitempty"`
	OldBytecodeHash string `protobuf:"bytes,4,opt,name=old_bytecode_hash,json=oldBytecodeHash,proto3" json:"old_bytecode_hash,omitempty"`
	Signer          string `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"`
}

func (*EventBytecodeUpdated) Descriptor

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

func (*EventBytecodeUpdated) GetContractAddress

func (m *EventBytecodeUpdated) GetContractAddress() string

func (*EventBytecodeUpdated) GetMsgTypeUrl

func (m *EventBytecodeUpdated) GetMsgTypeUrl() string

func (*EventBytecodeUpdated) GetNewBytecodeHash

func (m *EventBytecodeUpdated) GetNewBytecodeHash() string

func (*EventBytecodeUpdated) GetOldBytecodeHash

func (m *EventBytecodeUpdated) GetOldBytecodeHash() string

func (*EventBytecodeUpdated) GetSigner

func (m *EventBytecodeUpdated) GetSigner() string

func (*EventBytecodeUpdated) Marshal

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

func (*EventBytecodeUpdated) MarshalTo

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

func (*EventBytecodeUpdated) MarshalToSizedBuffer

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

func (*EventBytecodeUpdated) ProtoMessage

func (*EventBytecodeUpdated) ProtoMessage()

func (*EventBytecodeUpdated) Reset

func (m *EventBytecodeUpdated) Reset()

func (*EventBytecodeUpdated) Size

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

func (*EventBytecodeUpdated) String

func (m *EventBytecodeUpdated) String() string

func (*EventBytecodeUpdated) Unmarshal

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

func (*EventBytecodeUpdated) XXX_DiscardUnknown

func (m *EventBytecodeUpdated) XXX_DiscardUnknown()

func (*EventBytecodeUpdated) XXX_Marshal

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

func (*EventBytecodeUpdated) XXX_Merge

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

func (*EventBytecodeUpdated) XXX_Size

func (m *EventBytecodeUpdated) XXX_Size() int

func (*EventBytecodeUpdated) XXX_Unmarshal

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

type EventGatewayContractUpdated

type EventGatewayContractUpdated struct {
	MsgTypeUrl         string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	NewContractAddress string `protobuf:"bytes,2,opt,name=new_contract_address,json=newContractAddress,proto3" json:"new_contract_address,omitempty"`
	OldContractAddress string `protobuf:"bytes,3,opt,name=old_contract_address,json=oldContractAddress,proto3" json:"old_contract_address,omitempty"`
	Signer             string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"`
}

func (*EventGatewayContractUpdated) Descriptor

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

func (*EventGatewayContractUpdated) GetMsgTypeUrl

func (m *EventGatewayContractUpdated) GetMsgTypeUrl() string

func (*EventGatewayContractUpdated) GetNewContractAddress

func (m *EventGatewayContractUpdated) GetNewContractAddress() string

func (*EventGatewayContractUpdated) GetOldContractAddress

func (m *EventGatewayContractUpdated) GetOldContractAddress() string

func (*EventGatewayContractUpdated) GetSigner

func (m *EventGatewayContractUpdated) GetSigner() string

func (*EventGatewayContractUpdated) Marshal

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

func (*EventGatewayContractUpdated) MarshalTo

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

func (*EventGatewayContractUpdated) MarshalToSizedBuffer

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

func (*EventGatewayContractUpdated) ProtoMessage

func (*EventGatewayContractUpdated) ProtoMessage()

func (*EventGatewayContractUpdated) Reset

func (m *EventGatewayContractUpdated) Reset()

func (*EventGatewayContractUpdated) Size

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

func (*EventGatewayContractUpdated) String

func (m *EventGatewayContractUpdated) String() string

func (*EventGatewayContractUpdated) Unmarshal

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

func (*EventGatewayContractUpdated) XXX_DiscardUnknown

func (m *EventGatewayContractUpdated) XXX_DiscardUnknown()

func (*EventGatewayContractUpdated) XXX_Marshal

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

func (*EventGatewayContractUpdated) XXX_Merge

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

func (*EventGatewayContractUpdated) XXX_Size

func (m *EventGatewayContractUpdated) XXX_Size() int

func (*EventGatewayContractUpdated) XXX_Unmarshal

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

type EventSystemContractUpdated

type EventSystemContractUpdated struct {
	MsgTypeUrl         string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	NewContractAddress string `protobuf:"bytes,2,opt,name=new_contract_address,json=newContractAddress,proto3" json:"new_contract_address,omitempty"`
	OldContractAddress string `protobuf:"bytes,3,opt,name=old_contract_address,json=oldContractAddress,proto3" json:"old_contract_address,omitempty"`
	Signer             string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"`
}

func (*EventSystemContractUpdated) Descriptor

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

func (*EventSystemContractUpdated) GetMsgTypeUrl

func (m *EventSystemContractUpdated) GetMsgTypeUrl() string

func (*EventSystemContractUpdated) GetNewContractAddress

func (m *EventSystemContractUpdated) GetNewContractAddress() string

func (*EventSystemContractUpdated) GetOldContractAddress

func (m *EventSystemContractUpdated) GetOldContractAddress() string

func (*EventSystemContractUpdated) GetSigner

func (m *EventSystemContractUpdated) GetSigner() string

func (*EventSystemContractUpdated) Marshal

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

func (*EventSystemContractUpdated) MarshalTo

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

func (*EventSystemContractUpdated) MarshalToSizedBuffer

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

func (*EventSystemContractUpdated) ProtoMessage

func (*EventSystemContractUpdated) ProtoMessage()

func (*EventSystemContractUpdated) Reset

func (m *EventSystemContractUpdated) Reset()

func (*EventSystemContractUpdated) Size

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

func (*EventSystemContractUpdated) String

func (m *EventSystemContractUpdated) String() string

func (*EventSystemContractUpdated) Unmarshal

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

func (*EventSystemContractUpdated) XXX_DiscardUnknown

func (m *EventSystemContractUpdated) XXX_DiscardUnknown()

func (*EventSystemContractUpdated) XXX_Marshal

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

func (*EventSystemContractUpdated) XXX_Merge

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

func (*EventSystemContractUpdated) XXX_Size

func (m *EventSystemContractUpdated) XXX_Size() int

func (*EventSystemContractUpdated) XXX_Unmarshal

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

type EventSystemContractsDeployed

type EventSystemContractsDeployed struct {
	MsgTypeUrl       string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	UniswapV2Factory string `protobuf:"bytes,2,opt,name=uniswap_v2_factory,json=uniswapV2Factory,proto3" json:"uniswap_v2_factory,omitempty"`
	Wzeta            string `protobuf:"bytes,3,opt,name=wzeta,proto3" json:"wzeta,omitempty"`
	UniswapV2Router  string `protobuf:"bytes,4,opt,name=uniswap_v2_router,json=uniswapV2Router,proto3" json:"uniswap_v2_router,omitempty"`
	ConnectorZevm    string `protobuf:"bytes,5,opt,name=connector_zevm,json=connectorZevm,proto3" json:"connector_zevm,omitempty"`
	SystemContract   string `protobuf:"bytes,6,opt,name=system_contract,json=systemContract,proto3" json:"system_contract,omitempty"`
	Signer           string `protobuf:"bytes,7,opt,name=signer,proto3" json:"signer,omitempty"`
}

func (*EventSystemContractsDeployed) Descriptor

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

func (*EventSystemContractsDeployed) GetConnectorZevm

func (m *EventSystemContractsDeployed) GetConnectorZevm() string

func (*EventSystemContractsDeployed) GetMsgTypeUrl

func (m *EventSystemContractsDeployed) GetMsgTypeUrl() string

func (*EventSystemContractsDeployed) GetSigner

func (m *EventSystemContractsDeployed) GetSigner() string

func (*EventSystemContractsDeployed) GetSystemContract

func (m *EventSystemContractsDeployed) GetSystemContract() string

func (*EventSystemContractsDeployed) GetUniswapV2Factory

func (m *EventSystemContractsDeployed) GetUniswapV2Factory() string

func (*EventSystemContractsDeployed) GetUniswapV2Router

func (m *EventSystemContractsDeployed) GetUniswapV2Router() string

func (*EventSystemContractsDeployed) GetWzeta

func (m *EventSystemContractsDeployed) GetWzeta() string

func (*EventSystemContractsDeployed) Marshal

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

func (*EventSystemContractsDeployed) MarshalTo

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

func (*EventSystemContractsDeployed) MarshalToSizedBuffer

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

func (*EventSystemContractsDeployed) ProtoMessage

func (*EventSystemContractsDeployed) ProtoMessage()

func (*EventSystemContractsDeployed) Reset

func (m *EventSystemContractsDeployed) Reset()

func (*EventSystemContractsDeployed) Size

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

func (*EventSystemContractsDeployed) String

func (*EventSystemContractsDeployed) Unmarshal

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

func (*EventSystemContractsDeployed) XXX_DiscardUnknown

func (m *EventSystemContractsDeployed) XXX_DiscardUnknown()

func (*EventSystemContractsDeployed) XXX_Marshal

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

func (*EventSystemContractsDeployed) XXX_Merge

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

func (*EventSystemContractsDeployed) XXX_Size

func (m *EventSystemContractsDeployed) XXX_Size() int

func (*EventSystemContractsDeployed) XXX_Unmarshal

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

type EventZRC20Deployed

type EventZRC20Deployed struct {
	MsgTypeUrl string        `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	ChainId    int64         `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Contract   string        `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
	Name       string        `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Symbol     string        `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Decimals   int64         `protobuf:"varint,6,opt,name=decimals,proto3" json:"decimals,omitempty"`
	CoinType   coin.CoinType `` /* 128-byte string literal not displayed */
	Erc20      string        `protobuf:"bytes,8,opt,name=erc20,proto3" json:"erc20,omitempty"`
	GasLimit   int64         `protobuf:"varint,9,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
}

func (*EventZRC20Deployed) Descriptor

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

func (*EventZRC20Deployed) GetChainId

func (m *EventZRC20Deployed) GetChainId() int64

func (*EventZRC20Deployed) GetCoinType

func (m *EventZRC20Deployed) GetCoinType() coin.CoinType

func (*EventZRC20Deployed) GetContract

func (m *EventZRC20Deployed) GetContract() string

func (*EventZRC20Deployed) GetDecimals

func (m *EventZRC20Deployed) GetDecimals() int64

func (*EventZRC20Deployed) GetErc20

func (m *EventZRC20Deployed) GetErc20() string

func (*EventZRC20Deployed) GetGasLimit

func (m *EventZRC20Deployed) GetGasLimit() int64

func (*EventZRC20Deployed) GetMsgTypeUrl

func (m *EventZRC20Deployed) GetMsgTypeUrl() string

func (*EventZRC20Deployed) GetName

func (m *EventZRC20Deployed) GetName() string

func (*EventZRC20Deployed) GetSymbol

func (m *EventZRC20Deployed) GetSymbol() string

func (*EventZRC20Deployed) Marshal

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

func (*EventZRC20Deployed) MarshalTo

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

func (*EventZRC20Deployed) MarshalToSizedBuffer

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

func (*EventZRC20Deployed) ProtoMessage

func (*EventZRC20Deployed) ProtoMessage()

func (*EventZRC20Deployed) Reset

func (m *EventZRC20Deployed) Reset()

func (*EventZRC20Deployed) Size

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

func (*EventZRC20Deployed) String

func (m *EventZRC20Deployed) String() string

func (*EventZRC20Deployed) Unmarshal

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

func (*EventZRC20Deployed) XXX_DiscardUnknown

func (m *EventZRC20Deployed) XXX_DiscardUnknown()

func (*EventZRC20Deployed) XXX_Marshal

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

func (*EventZRC20Deployed) XXX_Merge

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

func (*EventZRC20Deployed) XXX_Size

func (m *EventZRC20Deployed) XXX_Size() int

func (*EventZRC20Deployed) XXX_Unmarshal

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

type EventZRC20Paused

type EventZRC20Paused struct {
	MsgTypeUrl     string   `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	Zrc20Addresses []string `protobuf:"bytes,2,rep,name=zrc20_addresses,json=zrc20Addresses,proto3" json:"zrc20_addresses,omitempty"`
	Signer         string   `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func (*EventZRC20Paused) Descriptor

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

func (*EventZRC20Paused) GetMsgTypeUrl

func (m *EventZRC20Paused) GetMsgTypeUrl() string

func (*EventZRC20Paused) GetSigner

func (m *EventZRC20Paused) GetSigner() string

func (*EventZRC20Paused) GetZrc20Addresses

func (m *EventZRC20Paused) GetZrc20Addresses() []string

func (*EventZRC20Paused) Marshal

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

func (*EventZRC20Paused) MarshalTo

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

func (*EventZRC20Paused) MarshalToSizedBuffer

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

func (*EventZRC20Paused) ProtoMessage

func (*EventZRC20Paused) ProtoMessage()

func (*EventZRC20Paused) Reset

func (m *EventZRC20Paused) Reset()

func (*EventZRC20Paused) Size

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

func (*EventZRC20Paused) String

func (m *EventZRC20Paused) String() string

func (*EventZRC20Paused) Unmarshal

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

func (*EventZRC20Paused) XXX_DiscardUnknown

func (m *EventZRC20Paused) XXX_DiscardUnknown()

func (*EventZRC20Paused) XXX_Marshal

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

func (*EventZRC20Paused) XXX_Merge

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

func (*EventZRC20Paused) XXX_Size

func (m *EventZRC20Paused) XXX_Size() int

func (*EventZRC20Paused) XXX_Unmarshal

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

type EventZRC20Unpaused

type EventZRC20Unpaused struct {
	MsgTypeUrl     string   `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	Zrc20Addresses []string `protobuf:"bytes,2,rep,name=zrc20_addresses,json=zrc20Addresses,proto3" json:"zrc20_addresses,omitempty"`
	Signer         string   `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func (*EventZRC20Unpaused) Descriptor

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

func (*EventZRC20Unpaused) GetMsgTypeUrl

func (m *EventZRC20Unpaused) GetMsgTypeUrl() string

func (*EventZRC20Unpaused) GetSigner

func (m *EventZRC20Unpaused) GetSigner() string

func (*EventZRC20Unpaused) GetZrc20Addresses

func (m *EventZRC20Unpaused) GetZrc20Addresses() []string

func (*EventZRC20Unpaused) Marshal

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

func (*EventZRC20Unpaused) MarshalTo

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

func (*EventZRC20Unpaused) MarshalToSizedBuffer

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

func (*EventZRC20Unpaused) ProtoMessage

func (*EventZRC20Unpaused) ProtoMessage()

func (*EventZRC20Unpaused) Reset

func (m *EventZRC20Unpaused) Reset()

func (*EventZRC20Unpaused) Size

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

func (*EventZRC20Unpaused) String

func (m *EventZRC20Unpaused) String() string

func (*EventZRC20Unpaused) Unmarshal

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

func (*EventZRC20Unpaused) XXX_DiscardUnknown

func (m *EventZRC20Unpaused) XXX_DiscardUnknown()

func (*EventZRC20Unpaused) XXX_Marshal

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

func (*EventZRC20Unpaused) XXX_Merge

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

func (*EventZRC20Unpaused) XXX_Size

func (m *EventZRC20Unpaused) XXX_Size() int

func (*EventZRC20Unpaused) XXX_Unmarshal

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

type EventZRC20WithdrawFeeUpdated

type EventZRC20WithdrawFeeUpdated struct {
	MsgTypeUrl     string        `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	ChainId        int64         `protobuf:"varint,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	CoinType       coin.CoinType `` /* 128-byte string literal not displayed */
	Zrc20Address   string        `protobuf:"bytes,4,opt,name=zrc20_address,json=zrc20Address,proto3" json:"zrc20_address,omitempty"`
	OldWithdrawFee string        `protobuf:"bytes,5,opt,name=old_withdraw_fee,json=oldWithdrawFee,proto3" json:"old_withdraw_fee,omitempty"`
	NewWithdrawFee string        `protobuf:"bytes,6,opt,name=new_withdraw_fee,json=newWithdrawFee,proto3" json:"new_withdraw_fee,omitempty"`
	Signer         string        `protobuf:"bytes,7,opt,name=signer,proto3" json:"signer,omitempty"`
	OldGasLimit    string        `protobuf:"bytes,8,opt,name=old_gas_limit,json=oldGasLimit,proto3" json:"old_gas_limit,omitempty"`
	NewGasLimit    string        `protobuf:"bytes,9,opt,name=new_gas_limit,json=newGasLimit,proto3" json:"new_gas_limit,omitempty"`
}

func (*EventZRC20WithdrawFeeUpdated) Descriptor

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

func (*EventZRC20WithdrawFeeUpdated) GetChainId

func (m *EventZRC20WithdrawFeeUpdated) GetChainId() int64

func (*EventZRC20WithdrawFeeUpdated) GetCoinType

func (m *EventZRC20WithdrawFeeUpdated) GetCoinType() coin.CoinType

func (*EventZRC20WithdrawFeeUpdated) GetMsgTypeUrl

func (m *EventZRC20WithdrawFeeUpdated) GetMsgTypeUrl() string

func (*EventZRC20WithdrawFeeUpdated) GetNewGasLimit

func (m *EventZRC20WithdrawFeeUpdated) GetNewGasLimit() string

func (*EventZRC20WithdrawFeeUpdated) GetNewWithdrawFee

func (m *EventZRC20WithdrawFeeUpdated) GetNewWithdrawFee() string

func (*EventZRC20WithdrawFeeUpdated) GetOldGasLimit

func (m *EventZRC20WithdrawFeeUpdated) GetOldGasLimit() string

func (*EventZRC20WithdrawFeeUpdated) GetOldWithdrawFee

func (m *EventZRC20WithdrawFeeUpdated) GetOldWithdrawFee() string

func (*EventZRC20WithdrawFeeUpdated) GetSigner

func (m *EventZRC20WithdrawFeeUpdated) GetSigner() string

func (*EventZRC20WithdrawFeeUpdated) GetZrc20Address

func (m *EventZRC20WithdrawFeeUpdated) GetZrc20Address() string

func (*EventZRC20WithdrawFeeUpdated) Marshal

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

func (*EventZRC20WithdrawFeeUpdated) MarshalTo

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

func (*EventZRC20WithdrawFeeUpdated) MarshalToSizedBuffer

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

func (*EventZRC20WithdrawFeeUpdated) ProtoMessage

func (*EventZRC20WithdrawFeeUpdated) ProtoMessage()

func (*EventZRC20WithdrawFeeUpdated) Reset

func (m *EventZRC20WithdrawFeeUpdated) Reset()

func (*EventZRC20WithdrawFeeUpdated) Size

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

func (*EventZRC20WithdrawFeeUpdated) String

func (*EventZRC20WithdrawFeeUpdated) Unmarshal

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

func (*EventZRC20WithdrawFeeUpdated) XXX_DiscardUnknown

func (m *EventZRC20WithdrawFeeUpdated) XXX_DiscardUnknown()

func (*EventZRC20WithdrawFeeUpdated) XXX_Marshal

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

func (*EventZRC20WithdrawFeeUpdated) XXX_Merge

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

func (*EventZRC20WithdrawFeeUpdated) XXX_Size

func (m *EventZRC20WithdrawFeeUpdated) XXX_Size() int

func (*EventZRC20WithdrawFeeUpdated) XXX_Unmarshal

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

type ForeignCoins

type ForeignCoins struct {
	// string index = 1;
	Zrc20ContractAddress string                                  `protobuf:"bytes,2,opt,name=zrc20_contract_address,json=zrc20ContractAddress,proto3" json:"zrc20_contract_address,omitempty"`
	Asset                string                                  `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
	ForeignChainId       int64                                   `protobuf:"varint,4,opt,name=foreign_chain_id,json=foreignChainId,proto3" json:"foreign_chain_id,omitempty"`
	Decimals             uint32                                  `protobuf:"varint,5,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Name                 string                                  `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Symbol               string                                  `protobuf:"bytes,7,opt,name=symbol,proto3" json:"symbol,omitempty"`
	CoinType             coin.CoinType                           `` /* 128-byte string literal not displayed */
	GasLimit             uint64                                  `protobuf:"varint,9,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	Paused               bool                                    `protobuf:"varint,10,opt,name=paused,proto3" json:"paused,omitempty"`
	LiquidityCap         github_com_cosmos_cosmos_sdk_types.Uint `` /* 139-byte string literal not displayed */
}

func (*ForeignCoins) Descriptor

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

func (*ForeignCoins) GetAsset

func (m *ForeignCoins) GetAsset() string

func (*ForeignCoins) GetCoinType

func (m *ForeignCoins) GetCoinType() coin.CoinType

func (*ForeignCoins) GetDecimals

func (m *ForeignCoins) GetDecimals() uint32

func (*ForeignCoins) GetForeignChainId

func (m *ForeignCoins) GetForeignChainId() int64

func (*ForeignCoins) GetGasLimit

func (m *ForeignCoins) GetGasLimit() uint64

func (*ForeignCoins) GetName

func (m *ForeignCoins) GetName() string

func (*ForeignCoins) GetPaused

func (m *ForeignCoins) GetPaused() bool

func (*ForeignCoins) GetSymbol

func (m *ForeignCoins) GetSymbol() string

func (*ForeignCoins) GetZrc20ContractAddress

func (m *ForeignCoins) GetZrc20ContractAddress() string

func (*ForeignCoins) Marshal

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

func (*ForeignCoins) MarshalTo

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

func (*ForeignCoins) MarshalToSizedBuffer

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

func (*ForeignCoins) ProtoMessage

func (*ForeignCoins) ProtoMessage()

func (*ForeignCoins) Reset

func (m *ForeignCoins) Reset()

func (*ForeignCoins) Size

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

func (*ForeignCoins) String

func (m *ForeignCoins) String() string

func (*ForeignCoins) Unmarshal

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

func (*ForeignCoins) XXX_DiscardUnknown

func (m *ForeignCoins) XXX_DiscardUnknown()

func (*ForeignCoins) XXX_Marshal

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

func (*ForeignCoins) XXX_Merge

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

func (*ForeignCoins) XXX_Size

func (m *ForeignCoins) XXX_Size() int

func (*ForeignCoins) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	ForeignCoinsList []ForeignCoins  `protobuf:"bytes,2,rep,name=foreignCoinsList,proto3" json:"foreignCoinsList"`
	SystemContract   *SystemContract `protobuf:"bytes,3,opt,name=systemContract,proto3" json:"systemContract,omitempty"`
}

GenesisState defines the fungible module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default fungible genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetForeignCoinsList

func (m *GenesisState) GetForeignCoinsList() []ForeignCoins

func (*GenesisState) GetSystemContract

func (m *GenesisState) GetSystemContract() *SystemContract

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgClient

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgDeployFungibleCoinZRC20

type MsgDeployFungibleCoinZRC20 struct {
	Creator        string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ERC20          string        `protobuf:"bytes,2,opt,name=ERC20,proto3" json:"ERC20,omitempty"`
	ForeignChainId int64         `protobuf:"varint,3,opt,name=foreign_chain_id,json=foreignChainId,proto3" json:"foreign_chain_id,omitempty"`
	Decimals       uint32        `protobuf:"varint,4,opt,name=decimals,proto3" json:"decimals,omitempty"`
	Name           string        `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Symbol         string        `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"`
	CoinType       coin.CoinType `` /* 128-byte string literal not displayed */
	GasLimit       int64         `protobuf:"varint,8,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
}

func NewMsgDeployFungibleCoinZRC20

func NewMsgDeployFungibleCoinZRC20(
	creator string,
	ERC20 string,
	foreignChainID int64,
	decimals uint32,
	name string,
	symbol string,
	coinType coin.CoinType,
	gasLimit int64,
) *MsgDeployFungibleCoinZRC20

func (*MsgDeployFungibleCoinZRC20) Descriptor

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

func (*MsgDeployFungibleCoinZRC20) GetCoinType

func (m *MsgDeployFungibleCoinZRC20) GetCoinType() coin.CoinType

func (*MsgDeployFungibleCoinZRC20) GetCreator

func (m *MsgDeployFungibleCoinZRC20) GetCreator() string

func (*MsgDeployFungibleCoinZRC20) GetDecimals

func (m *MsgDeployFungibleCoinZRC20) GetDecimals() uint32

func (*MsgDeployFungibleCoinZRC20) GetERC20

func (m *MsgDeployFungibleCoinZRC20) GetERC20() string

func (*MsgDeployFungibleCoinZRC20) GetForeignChainId

func (m *MsgDeployFungibleCoinZRC20) GetForeignChainId() int64

func (*MsgDeployFungibleCoinZRC20) GetGasLimit

func (m *MsgDeployFungibleCoinZRC20) GetGasLimit() int64

func (*MsgDeployFungibleCoinZRC20) GetName

func (m *MsgDeployFungibleCoinZRC20) GetName() string

func (*MsgDeployFungibleCoinZRC20) GetSignBytes

func (msg *MsgDeployFungibleCoinZRC20) GetSignBytes() []byte

func (*MsgDeployFungibleCoinZRC20) GetSigners

func (msg *MsgDeployFungibleCoinZRC20) GetSigners() []sdk.AccAddress

func (*MsgDeployFungibleCoinZRC20) GetSymbol

func (m *MsgDeployFungibleCoinZRC20) GetSymbol() string

func (*MsgDeployFungibleCoinZRC20) Marshal

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

func (*MsgDeployFungibleCoinZRC20) MarshalTo

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

func (*MsgDeployFungibleCoinZRC20) MarshalToSizedBuffer

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

func (*MsgDeployFungibleCoinZRC20) ProtoMessage

func (*MsgDeployFungibleCoinZRC20) ProtoMessage()

func (*MsgDeployFungibleCoinZRC20) Reset

func (m *MsgDeployFungibleCoinZRC20) Reset()

func (*MsgDeployFungibleCoinZRC20) Route

func (msg *MsgDeployFungibleCoinZRC20) Route() string

func (*MsgDeployFungibleCoinZRC20) Size

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

func (*MsgDeployFungibleCoinZRC20) String

func (m *MsgDeployFungibleCoinZRC20) String() string

func (*MsgDeployFungibleCoinZRC20) Type

func (msg *MsgDeployFungibleCoinZRC20) Type() string

func (*MsgDeployFungibleCoinZRC20) Unmarshal

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

func (*MsgDeployFungibleCoinZRC20) ValidateBasic

func (msg *MsgDeployFungibleCoinZRC20) ValidateBasic() error

func (*MsgDeployFungibleCoinZRC20) XXX_DiscardUnknown

func (m *MsgDeployFungibleCoinZRC20) XXX_DiscardUnknown()

func (*MsgDeployFungibleCoinZRC20) XXX_Marshal

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

func (*MsgDeployFungibleCoinZRC20) XXX_Merge

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

func (*MsgDeployFungibleCoinZRC20) XXX_Size

func (m *MsgDeployFungibleCoinZRC20) XXX_Size() int

func (*MsgDeployFungibleCoinZRC20) XXX_Unmarshal

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

type MsgDeployFungibleCoinZRC20Response

type MsgDeployFungibleCoinZRC20Response struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*MsgDeployFungibleCoinZRC20Response) Descriptor

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

func (*MsgDeployFungibleCoinZRC20Response) GetAddress

func (*MsgDeployFungibleCoinZRC20Response) Marshal

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

func (*MsgDeployFungibleCoinZRC20Response) MarshalTo

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

func (*MsgDeployFungibleCoinZRC20Response) MarshalToSizedBuffer

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

func (*MsgDeployFungibleCoinZRC20Response) ProtoMessage

func (*MsgDeployFungibleCoinZRC20Response) ProtoMessage()

func (*MsgDeployFungibleCoinZRC20Response) Reset

func (*MsgDeployFungibleCoinZRC20Response) Size

func (*MsgDeployFungibleCoinZRC20Response) String

func (*MsgDeployFungibleCoinZRC20Response) Unmarshal

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

func (*MsgDeployFungibleCoinZRC20Response) XXX_DiscardUnknown

func (m *MsgDeployFungibleCoinZRC20Response) XXX_DiscardUnknown()

func (*MsgDeployFungibleCoinZRC20Response) XXX_Marshal

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

func (*MsgDeployFungibleCoinZRC20Response) XXX_Merge

func (*MsgDeployFungibleCoinZRC20Response) XXX_Size

func (*MsgDeployFungibleCoinZRC20Response) XXX_Unmarshal

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

type MsgDeploySystemContracts

type MsgDeploySystemContracts struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}

func NewMsgDeploySystemContracts

func NewMsgDeploySystemContracts(creator string) *MsgDeploySystemContracts

func (*MsgDeploySystemContracts) Descriptor

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

func (*MsgDeploySystemContracts) GetCreator

func (m *MsgDeploySystemContracts) GetCreator() string

func (*MsgDeploySystemContracts) GetSignBytes

func (msg *MsgDeploySystemContracts) GetSignBytes() []byte

func (*MsgDeploySystemContracts) GetSigners

func (msg *MsgDeploySystemContracts) GetSigners() []sdk.AccAddress

func (*MsgDeploySystemContracts) Marshal

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

func (*MsgDeploySystemContracts) MarshalTo

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

func (*MsgDeploySystemContracts) MarshalToSizedBuffer

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

func (*MsgDeploySystemContracts) ProtoMessage

func (*MsgDeploySystemContracts) ProtoMessage()

func (*MsgDeploySystemContracts) Reset

func (m *MsgDeploySystemContracts) Reset()

func (*MsgDeploySystemContracts) Route

func (msg *MsgDeploySystemContracts) Route() string

func (*MsgDeploySystemContracts) Size

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

func (*MsgDeploySystemContracts) String

func (m *MsgDeploySystemContracts) String() string

func (*MsgDeploySystemContracts) Type

func (msg *MsgDeploySystemContracts) Type() string

func (*MsgDeploySystemContracts) Unmarshal

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

func (*MsgDeploySystemContracts) ValidateBasic

func (msg *MsgDeploySystemContracts) ValidateBasic() error

func (*MsgDeploySystemContracts) XXX_DiscardUnknown

func (m *MsgDeploySystemContracts) XXX_DiscardUnknown()

func (*MsgDeploySystemContracts) XXX_Marshal

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

func (*MsgDeploySystemContracts) XXX_Merge

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

func (*MsgDeploySystemContracts) XXX_Size

func (m *MsgDeploySystemContracts) XXX_Size() int

func (*MsgDeploySystemContracts) XXX_Unmarshal

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

type MsgDeploySystemContractsResponse

type MsgDeploySystemContractsResponse struct {
	UniswapV2Factory string `protobuf:"bytes,1,opt,name=uniswapV2Factory,proto3" json:"uniswapV2Factory,omitempty"`
	Wzeta            string `protobuf:"bytes,2,opt,name=wzeta,proto3" json:"wzeta,omitempty"`
	UniswapV2Router  string `protobuf:"bytes,3,opt,name=uniswapV2Router,proto3" json:"uniswapV2Router,omitempty"`
	ConnectorZEVM    string `protobuf:"bytes,4,opt,name=connectorZEVM,proto3" json:"connectorZEVM,omitempty"`
	SystemContract   string `protobuf:"bytes,5,opt,name=systemContract,proto3" json:"systemContract,omitempty"`
}

func (*MsgDeploySystemContractsResponse) Descriptor

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

func (*MsgDeploySystemContractsResponse) GetConnectorZEVM

func (m *MsgDeploySystemContractsResponse) GetConnectorZEVM() string

func (*MsgDeploySystemContractsResponse) GetSystemContract

func (m *MsgDeploySystemContractsResponse) GetSystemContract() string

func (*MsgDeploySystemContractsResponse) GetUniswapV2Factory

func (m *MsgDeploySystemContractsResponse) GetUniswapV2Factory() string

func (*MsgDeploySystemContractsResponse) GetUniswapV2Router

func (m *MsgDeploySystemContractsResponse) GetUniswapV2Router() string

func (*MsgDeploySystemContractsResponse) GetWzeta

func (*MsgDeploySystemContractsResponse) Marshal

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

func (*MsgDeploySystemContractsResponse) MarshalTo

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

func (*MsgDeploySystemContractsResponse) MarshalToSizedBuffer

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

func (*MsgDeploySystemContractsResponse) ProtoMessage

func (*MsgDeploySystemContractsResponse) ProtoMessage()

func (*MsgDeploySystemContractsResponse) Reset

func (*MsgDeploySystemContractsResponse) Size

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

func (*MsgDeploySystemContractsResponse) String

func (*MsgDeploySystemContractsResponse) Unmarshal

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

func (*MsgDeploySystemContractsResponse) XXX_DiscardUnknown

func (m *MsgDeploySystemContractsResponse) XXX_DiscardUnknown()

func (*MsgDeploySystemContractsResponse) XXX_Marshal

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

func (*MsgDeploySystemContractsResponse) XXX_Merge

func (*MsgDeploySystemContractsResponse) XXX_Size

func (m *MsgDeploySystemContractsResponse) XXX_Size() int

func (*MsgDeploySystemContractsResponse) XXX_Unmarshal

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

type MsgPauseZRC20

type MsgPauseZRC20 struct {
	Creator        string   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Zrc20Addresses []string `protobuf:"bytes,2,rep,name=zrc20_addresses,json=zrc20Addresses,proto3" json:"zrc20_addresses,omitempty"`
}

func NewMsgPauseZRC20

func NewMsgPauseZRC20(creator string, zrc20 []string) *MsgPauseZRC20

func (*MsgPauseZRC20) Descriptor

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

func (*MsgPauseZRC20) GetCreator

func (m *MsgPauseZRC20) GetCreator() string

func (*MsgPauseZRC20) GetSignBytes

func (msg *MsgPauseZRC20) GetSignBytes() []byte

func (*MsgPauseZRC20) GetSigners

func (msg *MsgPauseZRC20) GetSigners() []sdk.AccAddress

func (*MsgPauseZRC20) GetZrc20Addresses

func (m *MsgPauseZRC20) GetZrc20Addresses() []string

func (*MsgPauseZRC20) Marshal

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

func (*MsgPauseZRC20) MarshalTo

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

func (*MsgPauseZRC20) MarshalToSizedBuffer

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

func (*MsgPauseZRC20) ProtoMessage

func (*MsgPauseZRC20) ProtoMessage()

func (*MsgPauseZRC20) Reset

func (m *MsgPauseZRC20) Reset()

func (*MsgPauseZRC20) Route

func (msg *MsgPauseZRC20) Route() string

func (*MsgPauseZRC20) Size

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

func (*MsgPauseZRC20) String

func (m *MsgPauseZRC20) String() string

func (*MsgPauseZRC20) Type

func (msg *MsgPauseZRC20) Type() string

func (*MsgPauseZRC20) Unmarshal

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

func (*MsgPauseZRC20) ValidateBasic

func (msg *MsgPauseZRC20) ValidateBasic() error

func (*MsgPauseZRC20) XXX_DiscardUnknown

func (m *MsgPauseZRC20) XXX_DiscardUnknown()

func (*MsgPauseZRC20) XXX_Marshal

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

func (*MsgPauseZRC20) XXX_Merge

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

func (*MsgPauseZRC20) XXX_Size

func (m *MsgPauseZRC20) XXX_Size() int

func (*MsgPauseZRC20) XXX_Unmarshal

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

type MsgPauseZRC20Response

type MsgPauseZRC20Response struct {
}

func (*MsgPauseZRC20Response) Descriptor

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

func (*MsgPauseZRC20Response) Marshal

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

func (*MsgPauseZRC20Response) MarshalTo

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

func (*MsgPauseZRC20Response) MarshalToSizedBuffer

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

func (*MsgPauseZRC20Response) ProtoMessage

func (*MsgPauseZRC20Response) ProtoMessage()

func (*MsgPauseZRC20Response) Reset

func (m *MsgPauseZRC20Response) Reset()

func (*MsgPauseZRC20Response) Size

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

func (*MsgPauseZRC20Response) String

func (m *MsgPauseZRC20Response) String() string

func (*MsgPauseZRC20Response) Unmarshal

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

func (*MsgPauseZRC20Response) XXX_DiscardUnknown

func (m *MsgPauseZRC20Response) XXX_DiscardUnknown()

func (*MsgPauseZRC20Response) XXX_Marshal

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

func (*MsgPauseZRC20Response) XXX_Merge

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

func (*MsgPauseZRC20Response) XXX_Size

func (m *MsgPauseZRC20Response) XXX_Size() int

func (*MsgPauseZRC20Response) XXX_Unmarshal

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

type MsgRemoveForeignCoin

type MsgRemoveForeignCoin struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Zrc20Address string `protobuf:"bytes,2,opt,name=zrc20_address,json=zrc20Address,proto3" json:"zrc20_address,omitempty"`
}

func NewMsgRemoveForeignCoin

func NewMsgRemoveForeignCoin(creator string, zrc20Address string) *MsgRemoveForeignCoin

func (*MsgRemoveForeignCoin) Descriptor

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

func (*MsgRemoveForeignCoin) GetCreator

func (m *MsgRemoveForeignCoin) GetCreator() string

func (*MsgRemoveForeignCoin) GetSignBytes

func (msg *MsgRemoveForeignCoin) GetSignBytes() []byte

func (*MsgRemoveForeignCoin) GetSigners

func (msg *MsgRemoveForeignCoin) GetSigners() []sdk.AccAddress

func (*MsgRemoveForeignCoin) GetZrc20Address

func (m *MsgRemoveForeignCoin) GetZrc20Address() string

func (*MsgRemoveForeignCoin) Marshal

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

func (*MsgRemoveForeignCoin) MarshalTo

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

func (*MsgRemoveForeignCoin) MarshalToSizedBuffer

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

func (*MsgRemoveForeignCoin) ProtoMessage

func (*MsgRemoveForeignCoin) ProtoMessage()

func (*MsgRemoveForeignCoin) Reset

func (m *MsgRemoveForeignCoin) Reset()

func (*MsgRemoveForeignCoin) Route

func (msg *MsgRemoveForeignCoin) Route() string

func (*MsgRemoveForeignCoin) Size

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

func (*MsgRemoveForeignCoin) String

func (m *MsgRemoveForeignCoin) String() string

func (*MsgRemoveForeignCoin) Type

func (msg *MsgRemoveForeignCoin) Type() string

func (*MsgRemoveForeignCoin) Unmarshal

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

func (*MsgRemoveForeignCoin) ValidateBasic

func (msg *MsgRemoveForeignCoin) ValidateBasic() error

func (*MsgRemoveForeignCoin) XXX_DiscardUnknown

func (m *MsgRemoveForeignCoin) XXX_DiscardUnknown()

func (*MsgRemoveForeignCoin) XXX_Marshal

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

func (*MsgRemoveForeignCoin) XXX_Merge

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

func (*MsgRemoveForeignCoin) XXX_Size

func (m *MsgRemoveForeignCoin) XXX_Size() int

func (*MsgRemoveForeignCoin) XXX_Unmarshal

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

type MsgRemoveForeignCoinResponse

type MsgRemoveForeignCoinResponse struct {
}

func (*MsgRemoveForeignCoinResponse) Descriptor

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

func (*MsgRemoveForeignCoinResponse) Marshal

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

func (*MsgRemoveForeignCoinResponse) MarshalTo

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

func (*MsgRemoveForeignCoinResponse) MarshalToSizedBuffer

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

func (*MsgRemoveForeignCoinResponse) ProtoMessage

func (*MsgRemoveForeignCoinResponse) ProtoMessage()

func (*MsgRemoveForeignCoinResponse) Reset

func (m *MsgRemoveForeignCoinResponse) Reset()

func (*MsgRemoveForeignCoinResponse) Size

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

func (*MsgRemoveForeignCoinResponse) String

func (*MsgRemoveForeignCoinResponse) Unmarshal

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

func (*MsgRemoveForeignCoinResponse) XXX_DiscardUnknown

func (m *MsgRemoveForeignCoinResponse) XXX_DiscardUnknown()

func (*MsgRemoveForeignCoinResponse) XXX_Marshal

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

func (*MsgRemoveForeignCoinResponse) XXX_Merge

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

func (*MsgRemoveForeignCoinResponse) XXX_Size

func (m *MsgRemoveForeignCoinResponse) XXX_Size() int

func (*MsgRemoveForeignCoinResponse) XXX_Unmarshal

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

type MsgUnpauseZRC20

type MsgUnpauseZRC20 struct {
	Creator        string   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Zrc20Addresses []string `protobuf:"bytes,2,rep,name=zrc20_addresses,json=zrc20Addresses,proto3" json:"zrc20_addresses,omitempty"`
}

func NewMsgUnpauseZRC20

func NewMsgUnpauseZRC20(creator string, zrc20 []string) *MsgUnpauseZRC20

func (*MsgUnpauseZRC20) Descriptor

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

func (*MsgUnpauseZRC20) GetCreator

func (m *MsgUnpauseZRC20) GetCreator() string

func (*MsgUnpauseZRC20) GetSignBytes

func (msg *MsgUnpauseZRC20) GetSignBytes() []byte

func (*MsgUnpauseZRC20) GetSigners

func (msg *MsgUnpauseZRC20) GetSigners() []sdk.AccAddress

func (*MsgUnpauseZRC20) GetZrc20Addresses

func (m *MsgUnpauseZRC20) GetZrc20Addresses() []string

func (*MsgUnpauseZRC20) Marshal

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

func (*MsgUnpauseZRC20) MarshalTo

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

func (*MsgUnpauseZRC20) MarshalToSizedBuffer

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

func (*MsgUnpauseZRC20) ProtoMessage

func (*MsgUnpauseZRC20) ProtoMessage()

func (*MsgUnpauseZRC20) Reset

func (m *MsgUnpauseZRC20) Reset()

func (*MsgUnpauseZRC20) Route

func (msg *MsgUnpauseZRC20) Route() string

func (*MsgUnpauseZRC20) Size

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

func (*MsgUnpauseZRC20) String

func (m *MsgUnpauseZRC20) String() string

func (*MsgUnpauseZRC20) Type

func (msg *MsgUnpauseZRC20) Type() string

func (*MsgUnpauseZRC20) Unmarshal

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

func (*MsgUnpauseZRC20) ValidateBasic

func (msg *MsgUnpauseZRC20) ValidateBasic() error

func (*MsgUnpauseZRC20) XXX_DiscardUnknown

func (m *MsgUnpauseZRC20) XXX_DiscardUnknown()

func (*MsgUnpauseZRC20) XXX_Marshal

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

func (*MsgUnpauseZRC20) XXX_Merge

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

func (*MsgUnpauseZRC20) XXX_Size

func (m *MsgUnpauseZRC20) XXX_Size() int

func (*MsgUnpauseZRC20) XXX_Unmarshal

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

type MsgUnpauseZRC20Response

type MsgUnpauseZRC20Response struct {
}

func (*MsgUnpauseZRC20Response) Descriptor

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

func (*MsgUnpauseZRC20Response) Marshal

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

func (*MsgUnpauseZRC20Response) MarshalTo

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

func (*MsgUnpauseZRC20Response) MarshalToSizedBuffer

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

func (*MsgUnpauseZRC20Response) ProtoMessage

func (*MsgUnpauseZRC20Response) ProtoMessage()

func (*MsgUnpauseZRC20Response) Reset

func (m *MsgUnpauseZRC20Response) Reset()

func (*MsgUnpauseZRC20Response) Size

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

func (*MsgUnpauseZRC20Response) String

func (m *MsgUnpauseZRC20Response) String() string

func (*MsgUnpauseZRC20Response) Unmarshal

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

func (*MsgUnpauseZRC20Response) XXX_DiscardUnknown

func (m *MsgUnpauseZRC20Response) XXX_DiscardUnknown()

func (*MsgUnpauseZRC20Response) XXX_Marshal

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

func (*MsgUnpauseZRC20Response) XXX_Merge

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

func (*MsgUnpauseZRC20Response) XXX_Size

func (m *MsgUnpauseZRC20Response) XXX_Size() int

func (*MsgUnpauseZRC20Response) XXX_Unmarshal

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

type MsgUpdateContractBytecode

type MsgUpdateContractBytecode struct {
	Creator         string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	NewCodeHash     string `protobuf:"bytes,3,opt,name=new_code_hash,json=newCodeHash,proto3" json:"new_code_hash,omitempty"`
}

func NewMsgUpdateContractBytecode

func NewMsgUpdateContractBytecode(
	creator string,
	contractAddress string,
	newCodeHash string,
) *MsgUpdateContractBytecode

func (*MsgUpdateContractBytecode) Descriptor

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

func (*MsgUpdateContractBytecode) GetContractAddress

func (m *MsgUpdateContractBytecode) GetContractAddress() string

func (*MsgUpdateContractBytecode) GetCreator

func (m *MsgUpdateContractBytecode) GetCreator() string

func (*MsgUpdateContractBytecode) GetNewCodeHash

func (m *MsgUpdateContractBytecode) GetNewCodeHash() string

func (*MsgUpdateContractBytecode) GetSignBytes

func (msg *MsgUpdateContractBytecode) GetSignBytes() []byte

func (*MsgUpdateContractBytecode) GetSigners

func (msg *MsgUpdateContractBytecode) GetSigners() []sdk.AccAddress

func (*MsgUpdateContractBytecode) Marshal

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

func (*MsgUpdateContractBytecode) MarshalTo

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

func (*MsgUpdateContractBytecode) MarshalToSizedBuffer

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

func (*MsgUpdateContractBytecode) ProtoMessage

func (*MsgUpdateContractBytecode) ProtoMessage()

func (*MsgUpdateContractBytecode) Reset

func (m *MsgUpdateContractBytecode) Reset()

func (*MsgUpdateContractBytecode) Route

func (msg *MsgUpdateContractBytecode) Route() string

func (*MsgUpdateContractBytecode) Size

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

func (*MsgUpdateContractBytecode) String

func (m *MsgUpdateContractBytecode) String() string

func (*MsgUpdateContractBytecode) Type

func (msg *MsgUpdateContractBytecode) Type() string

func (*MsgUpdateContractBytecode) Unmarshal

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

func (*MsgUpdateContractBytecode) ValidateBasic

func (msg *MsgUpdateContractBytecode) ValidateBasic() error

func (*MsgUpdateContractBytecode) XXX_DiscardUnknown

func (m *MsgUpdateContractBytecode) XXX_DiscardUnknown()

func (*MsgUpdateContractBytecode) XXX_Marshal

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

func (*MsgUpdateContractBytecode) XXX_Merge

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

func (*MsgUpdateContractBytecode) XXX_Size

func (m *MsgUpdateContractBytecode) XXX_Size() int

func (*MsgUpdateContractBytecode) XXX_Unmarshal

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

type MsgUpdateContractBytecodeResponse

type MsgUpdateContractBytecodeResponse struct {
}

func (*MsgUpdateContractBytecodeResponse) Descriptor

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

func (*MsgUpdateContractBytecodeResponse) Marshal

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

func (*MsgUpdateContractBytecodeResponse) MarshalTo

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

func (*MsgUpdateContractBytecodeResponse) MarshalToSizedBuffer

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

func (*MsgUpdateContractBytecodeResponse) ProtoMessage

func (*MsgUpdateContractBytecodeResponse) ProtoMessage()

func (*MsgUpdateContractBytecodeResponse) Reset

func (*MsgUpdateContractBytecodeResponse) Size

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

func (*MsgUpdateContractBytecodeResponse) String

func (*MsgUpdateContractBytecodeResponse) Unmarshal

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

func (*MsgUpdateContractBytecodeResponse) XXX_DiscardUnknown

func (m *MsgUpdateContractBytecodeResponse) XXX_DiscardUnknown()

func (*MsgUpdateContractBytecodeResponse) XXX_Marshal

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

func (*MsgUpdateContractBytecodeResponse) XXX_Merge

func (*MsgUpdateContractBytecodeResponse) XXX_Size

func (m *MsgUpdateContractBytecodeResponse) XXX_Size() int

func (*MsgUpdateContractBytecodeResponse) XXX_Unmarshal

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

type MsgUpdateGatewayContract

type MsgUpdateGatewayContract struct {
	Creator                   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	NewGatewayContractAddress string `` /* 140-byte string literal not displayed */
}

func NewMsgUpdateGatewayContract

func NewMsgUpdateGatewayContract(creator string, gatewayContractAddr string) *MsgUpdateGatewayContract

func (*MsgUpdateGatewayContract) Descriptor

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

func (*MsgUpdateGatewayContract) GetCreator

func (m *MsgUpdateGatewayContract) GetCreator() string

func (*MsgUpdateGatewayContract) GetNewGatewayContractAddress

func (m *MsgUpdateGatewayContract) GetNewGatewayContractAddress() string

func (*MsgUpdateGatewayContract) GetSignBytes

func (msg *MsgUpdateGatewayContract) GetSignBytes() []byte

func (*MsgUpdateGatewayContract) GetSigners

func (msg *MsgUpdateGatewayContract) GetSigners() []sdk.AccAddress

func (*MsgUpdateGatewayContract) Marshal

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

func (*MsgUpdateGatewayContract) MarshalTo

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

func (*MsgUpdateGatewayContract) MarshalToSizedBuffer

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

func (*MsgUpdateGatewayContract) ProtoMessage

func (*MsgUpdateGatewayContract) ProtoMessage()

func (*MsgUpdateGatewayContract) Reset

func (m *MsgUpdateGatewayContract) Reset()

func (*MsgUpdateGatewayContract) Route

func (msg *MsgUpdateGatewayContract) Route() string

func (*MsgUpdateGatewayContract) Size

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

func (*MsgUpdateGatewayContract) String

func (m *MsgUpdateGatewayContract) String() string

func (*MsgUpdateGatewayContract) Type

func (msg *MsgUpdateGatewayContract) Type() string

func (*MsgUpdateGatewayContract) Unmarshal

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

func (*MsgUpdateGatewayContract) ValidateBasic

func (msg *MsgUpdateGatewayContract) ValidateBasic() error

func (*MsgUpdateGatewayContract) XXX_DiscardUnknown

func (m *MsgUpdateGatewayContract) XXX_DiscardUnknown()

func (*MsgUpdateGatewayContract) XXX_Marshal

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

func (*MsgUpdateGatewayContract) XXX_Merge

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

func (*MsgUpdateGatewayContract) XXX_Size

func (m *MsgUpdateGatewayContract) XXX_Size() int

func (*MsgUpdateGatewayContract) XXX_Unmarshal

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

type MsgUpdateGatewayContractResponse

type MsgUpdateGatewayContractResponse struct {
}

func (*MsgUpdateGatewayContractResponse) Descriptor

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

func (*MsgUpdateGatewayContractResponse) Marshal

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

func (*MsgUpdateGatewayContractResponse) MarshalTo

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

func (*MsgUpdateGatewayContractResponse) MarshalToSizedBuffer

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

func (*MsgUpdateGatewayContractResponse) ProtoMessage

func (*MsgUpdateGatewayContractResponse) ProtoMessage()

func (*MsgUpdateGatewayContractResponse) Reset

func (*MsgUpdateGatewayContractResponse) Size

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

func (*MsgUpdateGatewayContractResponse) String

func (*MsgUpdateGatewayContractResponse) Unmarshal

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

func (*MsgUpdateGatewayContractResponse) XXX_DiscardUnknown

func (m *MsgUpdateGatewayContractResponse) XXX_DiscardUnknown()

func (*MsgUpdateGatewayContractResponse) XXX_Marshal

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

func (*MsgUpdateGatewayContractResponse) XXX_Merge

func (*MsgUpdateGatewayContractResponse) XXX_Size

func (m *MsgUpdateGatewayContractResponse) XXX_Size() int

func (*MsgUpdateGatewayContractResponse) XXX_Unmarshal

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

type MsgUpdateSystemContract

type MsgUpdateSystemContract struct {
	Creator                  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	NewSystemContractAddress string `` /* 137-byte string literal not displayed */
}

func NewMsgUpdateSystemContract

func NewMsgUpdateSystemContract(creator string, systemContractAddr string) *MsgUpdateSystemContract

func (*MsgUpdateSystemContract) Descriptor

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

func (*MsgUpdateSystemContract) GetCreator

func (m *MsgUpdateSystemContract) GetCreator() string

func (*MsgUpdateSystemContract) GetNewSystemContractAddress

func (m *MsgUpdateSystemContract) GetNewSystemContractAddress() string

func (*MsgUpdateSystemContract) GetSignBytes

func (msg *MsgUpdateSystemContract) GetSignBytes() []byte

func (*MsgUpdateSystemContract) GetSigners

func (msg *MsgUpdateSystemContract) GetSigners() []sdk.AccAddress

func (*MsgUpdateSystemContract) Marshal

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

func (*MsgUpdateSystemContract) MarshalTo

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

func (*MsgUpdateSystemContract) MarshalToSizedBuffer

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

func (*MsgUpdateSystemContract) ProtoMessage

func (*MsgUpdateSystemContract) ProtoMessage()

func (*MsgUpdateSystemContract) Reset

func (m *MsgUpdateSystemContract) Reset()

func (*MsgUpdateSystemContract) Route

func (msg *MsgUpdateSystemContract) Route() string

func (*MsgUpdateSystemContract) Size

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

func (*MsgUpdateSystemContract) String

func (m *MsgUpdateSystemContract) String() string

func (*MsgUpdateSystemContract) Type

func (msg *MsgUpdateSystemContract) Type() string

func (*MsgUpdateSystemContract) Unmarshal

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

func (*MsgUpdateSystemContract) ValidateBasic

func (msg *MsgUpdateSystemContract) ValidateBasic() error

func (*MsgUpdateSystemContract) XXX_DiscardUnknown

func (m *MsgUpdateSystemContract) XXX_DiscardUnknown()

func (*MsgUpdateSystemContract) XXX_Marshal

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

func (*MsgUpdateSystemContract) XXX_Merge

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

func (*MsgUpdateSystemContract) XXX_Size

func (m *MsgUpdateSystemContract) XXX_Size() int

func (*MsgUpdateSystemContract) XXX_Unmarshal

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

type MsgUpdateSystemContractResponse

type MsgUpdateSystemContractResponse struct {
}

func (*MsgUpdateSystemContractResponse) Descriptor

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

func (*MsgUpdateSystemContractResponse) Marshal

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

func (*MsgUpdateSystemContractResponse) MarshalTo

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

func (*MsgUpdateSystemContractResponse) MarshalToSizedBuffer

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

func (*MsgUpdateSystemContractResponse) ProtoMessage

func (*MsgUpdateSystemContractResponse) ProtoMessage()

func (*MsgUpdateSystemContractResponse) Reset

func (*MsgUpdateSystemContractResponse) Size

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

func (*MsgUpdateSystemContractResponse) String

func (*MsgUpdateSystemContractResponse) Unmarshal

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

func (*MsgUpdateSystemContractResponse) XXX_DiscardUnknown

func (m *MsgUpdateSystemContractResponse) XXX_DiscardUnknown()

func (*MsgUpdateSystemContractResponse) XXX_Marshal

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

func (*MsgUpdateSystemContractResponse) XXX_Merge

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

func (*MsgUpdateSystemContractResponse) XXX_Size

func (m *MsgUpdateSystemContractResponse) XXX_Size() int

func (*MsgUpdateSystemContractResponse) XXX_Unmarshal

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

type MsgUpdateZRC20LiquidityCap

type MsgUpdateZRC20LiquidityCap struct {
	Creator      string                                  `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Zrc20Address string                                  `protobuf:"bytes,2,opt,name=zrc20_address,json=zrc20Address,proto3" json:"zrc20_address,omitempty"`
	LiquidityCap github_com_cosmos_cosmos_sdk_types.Uint `` /* 138-byte string literal not displayed */
}

func NewMsgUpdateZRC20LiquidityCap

func NewMsgUpdateZRC20LiquidityCap(creator string, zrc20 string, liquidityCap math.Uint) *MsgUpdateZRC20LiquidityCap

func (*MsgUpdateZRC20LiquidityCap) Descriptor

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

func (*MsgUpdateZRC20LiquidityCap) GetCreator

func (m *MsgUpdateZRC20LiquidityCap) GetCreator() string

func (*MsgUpdateZRC20LiquidityCap) GetSignBytes

func (msg *MsgUpdateZRC20LiquidityCap) GetSignBytes() []byte

func (*MsgUpdateZRC20LiquidityCap) GetSigners

func (msg *MsgUpdateZRC20LiquidityCap) GetSigners() []sdk.AccAddress

func (*MsgUpdateZRC20LiquidityCap) GetZrc20Address

func (m *MsgUpdateZRC20LiquidityCap) GetZrc20Address() string

func (*MsgUpdateZRC20LiquidityCap) Marshal

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

func (*MsgUpdateZRC20LiquidityCap) MarshalTo

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

func (*MsgUpdateZRC20LiquidityCap) MarshalToSizedBuffer

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

func (*MsgUpdateZRC20LiquidityCap) ProtoMessage

func (*MsgUpdateZRC20LiquidityCap) ProtoMessage()

func (*MsgUpdateZRC20LiquidityCap) Reset

func (m *MsgUpdateZRC20LiquidityCap) Reset()

func (*MsgUpdateZRC20LiquidityCap) Route

func (msg *MsgUpdateZRC20LiquidityCap) Route() string

func (*MsgUpdateZRC20LiquidityCap) Size

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

func (*MsgUpdateZRC20LiquidityCap) String

func (m *MsgUpdateZRC20LiquidityCap) String() string

func (*MsgUpdateZRC20LiquidityCap) Type

func (msg *MsgUpdateZRC20LiquidityCap) Type() string

func (*MsgUpdateZRC20LiquidityCap) Unmarshal

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

func (*MsgUpdateZRC20LiquidityCap) ValidateBasic

func (msg *MsgUpdateZRC20LiquidityCap) ValidateBasic() error

func (*MsgUpdateZRC20LiquidityCap) XXX_DiscardUnknown

func (m *MsgUpdateZRC20LiquidityCap) XXX_DiscardUnknown()

func (*MsgUpdateZRC20LiquidityCap) XXX_Marshal

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

func (*MsgUpdateZRC20LiquidityCap) XXX_Merge

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

func (*MsgUpdateZRC20LiquidityCap) XXX_Size

func (m *MsgUpdateZRC20LiquidityCap) XXX_Size() int

func (*MsgUpdateZRC20LiquidityCap) XXX_Unmarshal

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

type MsgUpdateZRC20LiquidityCapResponse

type MsgUpdateZRC20LiquidityCapResponse struct {
}

func (*MsgUpdateZRC20LiquidityCapResponse) Descriptor

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

func (*MsgUpdateZRC20LiquidityCapResponse) Marshal

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

func (*MsgUpdateZRC20LiquidityCapResponse) MarshalTo

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

func (*MsgUpdateZRC20LiquidityCapResponse) MarshalToSizedBuffer

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

func (*MsgUpdateZRC20LiquidityCapResponse) ProtoMessage

func (*MsgUpdateZRC20LiquidityCapResponse) ProtoMessage()

func (*MsgUpdateZRC20LiquidityCapResponse) Reset

func (*MsgUpdateZRC20LiquidityCapResponse) Size

func (*MsgUpdateZRC20LiquidityCapResponse) String

func (*MsgUpdateZRC20LiquidityCapResponse) Unmarshal

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

func (*MsgUpdateZRC20LiquidityCapResponse) XXX_DiscardUnknown

func (m *MsgUpdateZRC20LiquidityCapResponse) XXX_DiscardUnknown()

func (*MsgUpdateZRC20LiquidityCapResponse) XXX_Marshal

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

func (*MsgUpdateZRC20LiquidityCapResponse) XXX_Merge

func (*MsgUpdateZRC20LiquidityCapResponse) XXX_Size

func (*MsgUpdateZRC20LiquidityCapResponse) XXX_Unmarshal

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

type MsgUpdateZRC20WithdrawFee

type MsgUpdateZRC20WithdrawFee struct {
	Creator        string                                  `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Zrc20Address   string                                  `protobuf:"bytes,2,opt,name=zrc20_address,json=zrc20Address,proto3" json:"zrc20_address,omitempty"`
	NewWithdrawFee github_com_cosmos_cosmos_sdk_types.Uint `` /* 146-byte string literal not displayed */
	NewGasLimit    github_com_cosmos_cosmos_sdk_types.Uint `` /* 137-byte string literal not displayed */
}

func NewMsgUpdateZRC20WithdrawFee

func NewMsgUpdateZRC20WithdrawFee(
	creator string,
	zrc20 string,
	newFee math.Uint,
	newGasLimit math.Uint,
) *MsgUpdateZRC20WithdrawFee

func (*MsgUpdateZRC20WithdrawFee) Descriptor

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

func (*MsgUpdateZRC20WithdrawFee) GetCreator

func (m *MsgUpdateZRC20WithdrawFee) GetCreator() string

func (*MsgUpdateZRC20WithdrawFee) GetSignBytes

func (msg *MsgUpdateZRC20WithdrawFee) GetSignBytes() []byte

func (*MsgUpdateZRC20WithdrawFee) GetSigners

func (msg *MsgUpdateZRC20WithdrawFee) GetSigners() []sdk.AccAddress

func (*MsgUpdateZRC20WithdrawFee) GetZrc20Address

func (m *MsgUpdateZRC20WithdrawFee) GetZrc20Address() string

func (*MsgUpdateZRC20WithdrawFee) Marshal

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

func (*MsgUpdateZRC20WithdrawFee) MarshalTo

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

func (*MsgUpdateZRC20WithdrawFee) MarshalToSizedBuffer

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

func (*MsgUpdateZRC20WithdrawFee) ProtoMessage

func (*MsgUpdateZRC20WithdrawFee) ProtoMessage()

func (*MsgUpdateZRC20WithdrawFee) Reset

func (m *MsgUpdateZRC20WithdrawFee) Reset()

func (*MsgUpdateZRC20WithdrawFee) Route

func (msg *MsgUpdateZRC20WithdrawFee) Route() string

func (*MsgUpdateZRC20WithdrawFee) Size

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

func (*MsgUpdateZRC20WithdrawFee) String

func (m *MsgUpdateZRC20WithdrawFee) String() string

func (*MsgUpdateZRC20WithdrawFee) Type

func (msg *MsgUpdateZRC20WithdrawFee) Type() string

func (*MsgUpdateZRC20WithdrawFee) Unmarshal

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

func (*MsgUpdateZRC20WithdrawFee) ValidateBasic

func (msg *MsgUpdateZRC20WithdrawFee) ValidateBasic() error

func (*MsgUpdateZRC20WithdrawFee) XXX_DiscardUnknown

func (m *MsgUpdateZRC20WithdrawFee) XXX_DiscardUnknown()

func (*MsgUpdateZRC20WithdrawFee) XXX_Marshal

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

func (*MsgUpdateZRC20WithdrawFee) XXX_Merge

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

func (*MsgUpdateZRC20WithdrawFee) XXX_Size

func (m *MsgUpdateZRC20WithdrawFee) XXX_Size() int

func (*MsgUpdateZRC20WithdrawFee) XXX_Unmarshal

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

type MsgUpdateZRC20WithdrawFeeResponse

type MsgUpdateZRC20WithdrawFeeResponse struct {
}

func (*MsgUpdateZRC20WithdrawFeeResponse) Descriptor

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

func (*MsgUpdateZRC20WithdrawFeeResponse) Marshal

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

func (*MsgUpdateZRC20WithdrawFeeResponse) MarshalTo

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

func (*MsgUpdateZRC20WithdrawFeeResponse) MarshalToSizedBuffer

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

func (*MsgUpdateZRC20WithdrawFeeResponse) ProtoMessage

func (*MsgUpdateZRC20WithdrawFeeResponse) ProtoMessage()

func (*MsgUpdateZRC20WithdrawFeeResponse) Reset

func (*MsgUpdateZRC20WithdrawFeeResponse) Size

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

func (*MsgUpdateZRC20WithdrawFeeResponse) String

func (*MsgUpdateZRC20WithdrawFeeResponse) Unmarshal

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

func (*MsgUpdateZRC20WithdrawFeeResponse) XXX_DiscardUnknown

func (m *MsgUpdateZRC20WithdrawFeeResponse) XXX_DiscardUnknown()

func (*MsgUpdateZRC20WithdrawFeeResponse) XXX_Marshal

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

func (*MsgUpdateZRC20WithdrawFeeResponse) XXX_Merge

func (*MsgUpdateZRC20WithdrawFeeResponse) XXX_Size

func (m *MsgUpdateZRC20WithdrawFeeResponse) XXX_Size() int

func (*MsgUpdateZRC20WithdrawFeeResponse) XXX_Unmarshal

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

type ObserverKeeper

type ObserverKeeper interface {
	GetSupportedChains(ctx sdk.Context) []chains.Chain
}

type QueryAllForeignCoinsRequest

type QueryAllForeignCoinsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllForeignCoinsRequest) Descriptor

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

func (*QueryAllForeignCoinsRequest) GetPagination

func (m *QueryAllForeignCoinsRequest) GetPagination() *query.PageRequest

func (*QueryAllForeignCoinsRequest) Marshal

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

func (*QueryAllForeignCoinsRequest) MarshalTo

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

func (*QueryAllForeignCoinsRequest) MarshalToSizedBuffer

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

func (*QueryAllForeignCoinsRequest) ProtoMessage

func (*QueryAllForeignCoinsRequest) ProtoMessage()

func (*QueryAllForeignCoinsRequest) Reset

func (m *QueryAllForeignCoinsRequest) Reset()

func (*QueryAllForeignCoinsRequest) Size

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

func (*QueryAllForeignCoinsRequest) String

func (m *QueryAllForeignCoinsRequest) String() string

func (*QueryAllForeignCoinsRequest) Unmarshal

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

func (*QueryAllForeignCoinsRequest) XXX_DiscardUnknown

func (m *QueryAllForeignCoinsRequest) XXX_DiscardUnknown()

func (*QueryAllForeignCoinsRequest) XXX_Marshal

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

func (*QueryAllForeignCoinsRequest) XXX_Merge

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

func (*QueryAllForeignCoinsRequest) XXX_Size

func (m *QueryAllForeignCoinsRequest) XXX_Size() int

func (*QueryAllForeignCoinsRequest) XXX_Unmarshal

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

type QueryAllForeignCoinsResponse

type QueryAllForeignCoinsResponse struct {
	ForeignCoins []ForeignCoins      `protobuf:"bytes,1,rep,name=foreignCoins,proto3" json:"foreignCoins"`
	Pagination   *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllForeignCoinsResponse) Descriptor

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

func (*QueryAllForeignCoinsResponse) GetForeignCoins

func (m *QueryAllForeignCoinsResponse) GetForeignCoins() []ForeignCoins

func (*QueryAllForeignCoinsResponse) GetPagination

func (m *QueryAllForeignCoinsResponse) GetPagination() *query.PageResponse

func (*QueryAllForeignCoinsResponse) Marshal

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

func (*QueryAllForeignCoinsResponse) MarshalTo

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

func (*QueryAllForeignCoinsResponse) MarshalToSizedBuffer

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

func (*QueryAllForeignCoinsResponse) ProtoMessage

func (*QueryAllForeignCoinsResponse) ProtoMessage()

func (*QueryAllForeignCoinsResponse) Reset

func (m *QueryAllForeignCoinsResponse) Reset()

func (*QueryAllForeignCoinsResponse) Size

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

func (*QueryAllForeignCoinsResponse) String

func (*QueryAllForeignCoinsResponse) Unmarshal

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

func (*QueryAllForeignCoinsResponse) XXX_DiscardUnknown

func (m *QueryAllForeignCoinsResponse) XXX_DiscardUnknown()

func (*QueryAllForeignCoinsResponse) XXX_Marshal

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

func (*QueryAllForeignCoinsResponse) XXX_Merge

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

func (*QueryAllForeignCoinsResponse) XXX_Size

func (m *QueryAllForeignCoinsResponse) XXX_Size() int

func (*QueryAllForeignCoinsResponse) XXX_Unmarshal

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

type QueryAllGasStabilityPoolBalance

type QueryAllGasStabilityPoolBalance struct {
}

func (*QueryAllGasStabilityPoolBalance) Descriptor

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

func (*QueryAllGasStabilityPoolBalance) Marshal

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

func (*QueryAllGasStabilityPoolBalance) MarshalTo

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

func (*QueryAllGasStabilityPoolBalance) MarshalToSizedBuffer

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

func (*QueryAllGasStabilityPoolBalance) ProtoMessage

func (*QueryAllGasStabilityPoolBalance) ProtoMessage()

func (*QueryAllGasStabilityPoolBalance) Reset

func (*QueryAllGasStabilityPoolBalance) Size

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

func (*QueryAllGasStabilityPoolBalance) String

func (*QueryAllGasStabilityPoolBalance) Unmarshal

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

func (*QueryAllGasStabilityPoolBalance) XXX_DiscardUnknown

func (m *QueryAllGasStabilityPoolBalance) XXX_DiscardUnknown()

func (*QueryAllGasStabilityPoolBalance) XXX_Marshal

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

func (*QueryAllGasStabilityPoolBalance) XXX_Merge

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

func (*QueryAllGasStabilityPoolBalance) XXX_Size

func (m *QueryAllGasStabilityPoolBalance) XXX_Size() int

func (*QueryAllGasStabilityPoolBalance) XXX_Unmarshal

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

type QueryAllGasStabilityPoolBalanceResponse

type QueryAllGasStabilityPoolBalanceResponse struct {
	Balances []QueryAllGasStabilityPoolBalanceResponse_Balance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances"`
}

func (*QueryAllGasStabilityPoolBalanceResponse) Descriptor

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

func (*QueryAllGasStabilityPoolBalanceResponse) GetBalances

func (*QueryAllGasStabilityPoolBalanceResponse) Marshal

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

func (*QueryAllGasStabilityPoolBalanceResponse) MarshalTo

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

func (*QueryAllGasStabilityPoolBalanceResponse) MarshalToSizedBuffer

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

func (*QueryAllGasStabilityPoolBalanceResponse) ProtoMessage

func (*QueryAllGasStabilityPoolBalanceResponse) Reset

func (*QueryAllGasStabilityPoolBalanceResponse) Size

func (*QueryAllGasStabilityPoolBalanceResponse) String

func (*QueryAllGasStabilityPoolBalanceResponse) Unmarshal

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

func (*QueryAllGasStabilityPoolBalanceResponse) XXX_DiscardUnknown

func (m *QueryAllGasStabilityPoolBalanceResponse) XXX_DiscardUnknown()

func (*QueryAllGasStabilityPoolBalanceResponse) XXX_Marshal

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

func (*QueryAllGasStabilityPoolBalanceResponse) XXX_Merge

func (*QueryAllGasStabilityPoolBalanceResponse) XXX_Size

func (*QueryAllGasStabilityPoolBalanceResponse) XXX_Unmarshal

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

type QueryAllGasStabilityPoolBalanceResponse_Balance

type QueryAllGasStabilityPoolBalanceResponse_Balance struct {
	ChainId int64  `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
}

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) Descriptor

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) GetBalance

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) GetChainId

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) Marshal

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

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) MarshalTo

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) MarshalToSizedBuffer

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

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) ProtoMessage

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) Reset

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) Size

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) String

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) Unmarshal

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) XXX_DiscardUnknown

func (m *QueryAllGasStabilityPoolBalanceResponse_Balance) XXX_DiscardUnknown()

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) XXX_Marshal

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

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) XXX_Merge

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) XXX_Size

func (*QueryAllGasStabilityPoolBalanceResponse_Balance) XXX_Unmarshal

type QueryClient

type QueryClient interface {
	// Queries a ForeignCoins by index.
	ForeignCoins(ctx context.Context, in *QueryGetForeignCoinsRequest, opts ...grpc.CallOption) (*QueryGetForeignCoinsResponse, error)
	// Queries a list of ForeignCoins items.
	ForeignCoinsAll(ctx context.Context, in *QueryAllForeignCoinsRequest, opts ...grpc.CallOption) (*QueryAllForeignCoinsResponse, error)
	// Queries SystemContract
	SystemContract(ctx context.Context, in *QueryGetSystemContractRequest, opts ...grpc.CallOption) (*QueryGetSystemContractResponse, error)
	// Queries the address of a gas stability pool on a given chain.
	GasStabilityPoolAddress(ctx context.Context, in *QueryGetGasStabilityPoolAddress, opts ...grpc.CallOption) (*QueryGetGasStabilityPoolAddressResponse, error)
	// Queries the balance of a gas stability pool on a given chain.
	GasStabilityPoolBalance(ctx context.Context, in *QueryGetGasStabilityPoolBalance, opts ...grpc.CallOption) (*QueryGetGasStabilityPoolBalanceResponse, error)
	// Queries all gas stability pool balances.
	GasStabilityPoolBalanceAll(ctx context.Context, in *QueryAllGasStabilityPoolBalance, opts ...grpc.CallOption) (*QueryAllGasStabilityPoolBalanceResponse, error)
	// Code hash query the code hash of a contract.
	CodeHash(ctx context.Context, in *QueryCodeHashRequest, opts ...grpc.CallOption) (*QueryCodeHashResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryCodeHashRequest

type QueryCodeHashRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryCodeHashRequest) Descriptor

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

func (*QueryCodeHashRequest) GetAddress

func (m *QueryCodeHashRequest) GetAddress() string

func (*QueryCodeHashRequest) Marshal

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

func (*QueryCodeHashRequest) MarshalTo

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

func (*QueryCodeHashRequest) MarshalToSizedBuffer

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

func (*QueryCodeHashRequest) ProtoMessage

func (*QueryCodeHashRequest) ProtoMessage()

func (*QueryCodeHashRequest) Reset

func (m *QueryCodeHashRequest) Reset()

func (*QueryCodeHashRequest) Size

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

func (*QueryCodeHashRequest) String

func (m *QueryCodeHashRequest) String() string

func (*QueryCodeHashRequest) Unmarshal

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

func (*QueryCodeHashRequest) XXX_DiscardUnknown

func (m *QueryCodeHashRequest) XXX_DiscardUnknown()

func (*QueryCodeHashRequest) XXX_Marshal

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

func (*QueryCodeHashRequest) XXX_Merge

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

func (*QueryCodeHashRequest) XXX_Size

func (m *QueryCodeHashRequest) XXX_Size() int

func (*QueryCodeHashRequest) XXX_Unmarshal

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

type QueryCodeHashResponse

type QueryCodeHashResponse struct {
	CodeHash string `protobuf:"bytes,1,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"`
}

func (*QueryCodeHashResponse) Descriptor

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

func (*QueryCodeHashResponse) GetCodeHash

func (m *QueryCodeHashResponse) GetCodeHash() string

func (*QueryCodeHashResponse) Marshal

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

func (*QueryCodeHashResponse) MarshalTo

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

func (*QueryCodeHashResponse) MarshalToSizedBuffer

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

func (*QueryCodeHashResponse) ProtoMessage

func (*QueryCodeHashResponse) ProtoMessage()

func (*QueryCodeHashResponse) Reset

func (m *QueryCodeHashResponse) Reset()

func (*QueryCodeHashResponse) Size

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

func (*QueryCodeHashResponse) String

func (m *QueryCodeHashResponse) String() string

func (*QueryCodeHashResponse) Unmarshal

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

func (*QueryCodeHashResponse) XXX_DiscardUnknown

func (m *QueryCodeHashResponse) XXX_DiscardUnknown()

func (*QueryCodeHashResponse) XXX_Marshal

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

func (*QueryCodeHashResponse) XXX_Merge

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

func (*QueryCodeHashResponse) XXX_Size

func (m *QueryCodeHashResponse) XXX_Size() int

func (*QueryCodeHashResponse) XXX_Unmarshal

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

type QueryGetForeignCoinsRequest

type QueryGetForeignCoinsRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetForeignCoinsRequest) Descriptor

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

func (*QueryGetForeignCoinsRequest) GetIndex

func (m *QueryGetForeignCoinsRequest) GetIndex() string

func (*QueryGetForeignCoinsRequest) Marshal

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

func (*QueryGetForeignCoinsRequest) MarshalTo

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

func (*QueryGetForeignCoinsRequest) MarshalToSizedBuffer

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

func (*QueryGetForeignCoinsRequest) ProtoMessage

func (*QueryGetForeignCoinsRequest) ProtoMessage()

func (*QueryGetForeignCoinsRequest) Reset

func (m *QueryGetForeignCoinsRequest) Reset()

func (*QueryGetForeignCoinsRequest) Size

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

func (*QueryGetForeignCoinsRequest) String

func (m *QueryGetForeignCoinsRequest) String() string

func (*QueryGetForeignCoinsRequest) Unmarshal

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

func (*QueryGetForeignCoinsRequest) XXX_DiscardUnknown

func (m *QueryGetForeignCoinsRequest) XXX_DiscardUnknown()

func (*QueryGetForeignCoinsRequest) XXX_Marshal

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

func (*QueryGetForeignCoinsRequest) XXX_Merge

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

func (*QueryGetForeignCoinsRequest) XXX_Size

func (m *QueryGetForeignCoinsRequest) XXX_Size() int

func (*QueryGetForeignCoinsRequest) XXX_Unmarshal

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

type QueryGetForeignCoinsResponse

type QueryGetForeignCoinsResponse struct {
	ForeignCoins ForeignCoins `protobuf:"bytes,1,opt,name=foreignCoins,proto3" json:"foreignCoins"`
}

func (*QueryGetForeignCoinsResponse) Descriptor

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

func (*QueryGetForeignCoinsResponse) GetForeignCoins

func (m *QueryGetForeignCoinsResponse) GetForeignCoins() ForeignCoins

func (*QueryGetForeignCoinsResponse) Marshal

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

func (*QueryGetForeignCoinsResponse) MarshalTo

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

func (*QueryGetForeignCoinsResponse) MarshalToSizedBuffer

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

func (*QueryGetForeignCoinsResponse) ProtoMessage

func (*QueryGetForeignCoinsResponse) ProtoMessage()

func (*QueryGetForeignCoinsResponse) Reset

func (m *QueryGetForeignCoinsResponse) Reset()

func (*QueryGetForeignCoinsResponse) Size

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

func (*QueryGetForeignCoinsResponse) String

func (*QueryGetForeignCoinsResponse) Unmarshal

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

func (*QueryGetForeignCoinsResponse) XXX_DiscardUnknown

func (m *QueryGetForeignCoinsResponse) XXX_DiscardUnknown()

func (*QueryGetForeignCoinsResponse) XXX_Marshal

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

func (*QueryGetForeignCoinsResponse) XXX_Merge

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

func (*QueryGetForeignCoinsResponse) XXX_Size

func (m *QueryGetForeignCoinsResponse) XXX_Size() int

func (*QueryGetForeignCoinsResponse) XXX_Unmarshal

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

type QueryGetGasStabilityPoolAddress

type QueryGetGasStabilityPoolAddress struct {
}

func (*QueryGetGasStabilityPoolAddress) Descriptor

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

func (*QueryGetGasStabilityPoolAddress) Marshal

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

func (*QueryGetGasStabilityPoolAddress) MarshalTo

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

func (*QueryGetGasStabilityPoolAddress) MarshalToSizedBuffer

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

func (*QueryGetGasStabilityPoolAddress) ProtoMessage

func (*QueryGetGasStabilityPoolAddress) ProtoMessage()

func (*QueryGetGasStabilityPoolAddress) Reset

func (*QueryGetGasStabilityPoolAddress) Size

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

func (*QueryGetGasStabilityPoolAddress) String

func (*QueryGetGasStabilityPoolAddress) Unmarshal

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

func (*QueryGetGasStabilityPoolAddress) XXX_DiscardUnknown

func (m *QueryGetGasStabilityPoolAddress) XXX_DiscardUnknown()

func (*QueryGetGasStabilityPoolAddress) XXX_Marshal

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

func (*QueryGetGasStabilityPoolAddress) XXX_Merge

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

func (*QueryGetGasStabilityPoolAddress) XXX_Size

func (m *QueryGetGasStabilityPoolAddress) XXX_Size() int

func (*QueryGetGasStabilityPoolAddress) XXX_Unmarshal

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

type QueryGetGasStabilityPoolAddressResponse

type QueryGetGasStabilityPoolAddressResponse struct {
	CosmosAddress string `protobuf:"bytes,1,opt,name=cosmos_address,json=cosmosAddress,proto3" json:"cosmos_address,omitempty"`
	EvmAddress    string `protobuf:"bytes,2,opt,name=evm_address,json=evmAddress,proto3" json:"evm_address,omitempty"`
}

func (*QueryGetGasStabilityPoolAddressResponse) Descriptor

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

func (*QueryGetGasStabilityPoolAddressResponse) GetCosmosAddress

func (m *QueryGetGasStabilityPoolAddressResponse) GetCosmosAddress() string

func (*QueryGetGasStabilityPoolAddressResponse) GetEvmAddress

func (*QueryGetGasStabilityPoolAddressResponse) Marshal

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

func (*QueryGetGasStabilityPoolAddressResponse) MarshalTo

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

func (*QueryGetGasStabilityPoolAddressResponse) MarshalToSizedBuffer

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

func (*QueryGetGasStabilityPoolAddressResponse) ProtoMessage

func (*QueryGetGasStabilityPoolAddressResponse) Reset

func (*QueryGetGasStabilityPoolAddressResponse) Size

func (*QueryGetGasStabilityPoolAddressResponse) String

func (*QueryGetGasStabilityPoolAddressResponse) Unmarshal

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

func (*QueryGetGasStabilityPoolAddressResponse) XXX_DiscardUnknown

func (m *QueryGetGasStabilityPoolAddressResponse) XXX_DiscardUnknown()

func (*QueryGetGasStabilityPoolAddressResponse) XXX_Marshal

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

func (*QueryGetGasStabilityPoolAddressResponse) XXX_Merge

func (*QueryGetGasStabilityPoolAddressResponse) XXX_Size

func (*QueryGetGasStabilityPoolAddressResponse) XXX_Unmarshal

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

type QueryGetGasStabilityPoolBalance

type QueryGetGasStabilityPoolBalance struct {
	ChainId int64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*QueryGetGasStabilityPoolBalance) Descriptor

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

func (*QueryGetGasStabilityPoolBalance) GetChainId

func (m *QueryGetGasStabilityPoolBalance) GetChainId() int64

func (*QueryGetGasStabilityPoolBalance) Marshal

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

func (*QueryGetGasStabilityPoolBalance) MarshalTo

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

func (*QueryGetGasStabilityPoolBalance) MarshalToSizedBuffer

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

func (*QueryGetGasStabilityPoolBalance) ProtoMessage

func (*QueryGetGasStabilityPoolBalance) ProtoMessage()

func (*QueryGetGasStabilityPoolBalance) Reset

func (*QueryGetGasStabilityPoolBalance) Size

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

func (*QueryGetGasStabilityPoolBalance) String

func (*QueryGetGasStabilityPoolBalance) Unmarshal

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

func (*QueryGetGasStabilityPoolBalance) XXX_DiscardUnknown

func (m *QueryGetGasStabilityPoolBalance) XXX_DiscardUnknown()

func (*QueryGetGasStabilityPoolBalance) XXX_Marshal

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

func (*QueryGetGasStabilityPoolBalance) XXX_Merge

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

func (*QueryGetGasStabilityPoolBalance) XXX_Size

func (m *QueryGetGasStabilityPoolBalance) XXX_Size() int

func (*QueryGetGasStabilityPoolBalance) XXX_Unmarshal

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

type QueryGetGasStabilityPoolBalanceResponse

type QueryGetGasStabilityPoolBalanceResponse struct {
	Balance string `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
}

func (*QueryGetGasStabilityPoolBalanceResponse) Descriptor

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

func (*QueryGetGasStabilityPoolBalanceResponse) GetBalance

func (*QueryGetGasStabilityPoolBalanceResponse) Marshal

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

func (*QueryGetGasStabilityPoolBalanceResponse) MarshalTo

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

func (*QueryGetGasStabilityPoolBalanceResponse) MarshalToSizedBuffer

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

func (*QueryGetGasStabilityPoolBalanceResponse) ProtoMessage

func (*QueryGetGasStabilityPoolBalanceResponse) Reset

func (*QueryGetGasStabilityPoolBalanceResponse) Size

func (*QueryGetGasStabilityPoolBalanceResponse) String

func (*QueryGetGasStabilityPoolBalanceResponse) Unmarshal

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

func (*QueryGetGasStabilityPoolBalanceResponse) XXX_DiscardUnknown

func (m *QueryGetGasStabilityPoolBalanceResponse) XXX_DiscardUnknown()

func (*QueryGetGasStabilityPoolBalanceResponse) XXX_Marshal

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

func (*QueryGetGasStabilityPoolBalanceResponse) XXX_Merge

func (*QueryGetGasStabilityPoolBalanceResponse) XXX_Size

func (*QueryGetGasStabilityPoolBalanceResponse) XXX_Unmarshal

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

type QueryGetSystemContractRequest

type QueryGetSystemContractRequest struct {
}

func (*QueryGetSystemContractRequest) Descriptor

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

func (*QueryGetSystemContractRequest) Marshal

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

func (*QueryGetSystemContractRequest) MarshalTo

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

func (*QueryGetSystemContractRequest) MarshalToSizedBuffer

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

func (*QueryGetSystemContractRequest) ProtoMessage

func (*QueryGetSystemContractRequest) ProtoMessage()

func (*QueryGetSystemContractRequest) Reset

func (m *QueryGetSystemContractRequest) Reset()

func (*QueryGetSystemContractRequest) Size

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

func (*QueryGetSystemContractRequest) String

func (*QueryGetSystemContractRequest) Unmarshal

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

func (*QueryGetSystemContractRequest) XXX_DiscardUnknown

func (m *QueryGetSystemContractRequest) XXX_DiscardUnknown()

func (*QueryGetSystemContractRequest) XXX_Marshal

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

func (*QueryGetSystemContractRequest) XXX_Merge

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

func (*QueryGetSystemContractRequest) XXX_Size

func (m *QueryGetSystemContractRequest) XXX_Size() int

func (*QueryGetSystemContractRequest) XXX_Unmarshal

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

type QueryGetSystemContractResponse

type QueryGetSystemContractResponse struct {
	SystemContract SystemContract `protobuf:"bytes,1,opt,name=SystemContract,proto3" json:"SystemContract"`
}

func (*QueryGetSystemContractResponse) Descriptor

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

func (*QueryGetSystemContractResponse) GetSystemContract

func (m *QueryGetSystemContractResponse) GetSystemContract() SystemContract

func (*QueryGetSystemContractResponse) Marshal

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

func (*QueryGetSystemContractResponse) MarshalTo

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

func (*QueryGetSystemContractResponse) MarshalToSizedBuffer

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

func (*QueryGetSystemContractResponse) ProtoMessage

func (*QueryGetSystemContractResponse) ProtoMessage()

func (*QueryGetSystemContractResponse) Reset

func (m *QueryGetSystemContractResponse) Reset()

func (*QueryGetSystemContractResponse) Size

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

func (*QueryGetSystemContractResponse) String

func (*QueryGetSystemContractResponse) Unmarshal

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

func (*QueryGetSystemContractResponse) XXX_DiscardUnknown

func (m *QueryGetSystemContractResponse) XXX_DiscardUnknown()

func (*QueryGetSystemContractResponse) XXX_Marshal

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

func (*QueryGetSystemContractResponse) XXX_Merge

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

func (*QueryGetSystemContractResponse) XXX_Size

func (m *QueryGetSystemContractResponse) XXX_Size() int

func (*QueryGetSystemContractResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Queries a ForeignCoins by index.
	ForeignCoins(context.Context, *QueryGetForeignCoinsRequest) (*QueryGetForeignCoinsResponse, error)
	// Queries a list of ForeignCoins items.
	ForeignCoinsAll(context.Context, *QueryAllForeignCoinsRequest) (*QueryAllForeignCoinsResponse, error)
	// Queries SystemContract
	SystemContract(context.Context, *QueryGetSystemContractRequest) (*QueryGetSystemContractResponse, error)
	// Queries the address of a gas stability pool on a given chain.
	GasStabilityPoolAddress(context.Context, *QueryGetGasStabilityPoolAddress) (*QueryGetGasStabilityPoolAddressResponse, error)
	// Queries the balance of a gas stability pool on a given chain.
	GasStabilityPoolBalance(context.Context, *QueryGetGasStabilityPoolBalance) (*QueryGetGasStabilityPoolBalanceResponse, error)
	// Queries all gas stability pool balances.
	GasStabilityPoolBalanceAll(context.Context, *QueryAllGasStabilityPoolBalance) (*QueryAllGasStabilityPoolBalanceResponse, error)
	// Code hash query the code hash of a contract.
	CodeHash(context.Context, *QueryCodeHashRequest) (*QueryCodeHashResponse, error)
}

QueryServer is the server API for Query service.

type SystemAddressResponse

type SystemAddressResponse struct {
	Value ethcommon.Address
}

SystemAddressResponse defines the address value from the call response

type SystemContract

type SystemContract struct {
	SystemContract string `protobuf:"bytes,1,opt,name=system_contract,json=systemContract,proto3" json:"system_contract,omitempty"`
	ConnectorZevm  string `protobuf:"bytes,2,opt,name=connector_zevm,json=connectorZevm,proto3" json:"connector_zevm,omitempty"`
	Gateway        string `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"`
}

func (*SystemContract) Descriptor

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

func (*SystemContract) GetConnectorZevm

func (m *SystemContract) GetConnectorZevm() string

func (*SystemContract) GetGateway

func (m *SystemContract) GetGateway() string

func (*SystemContract) GetSystemContract

func (m *SystemContract) GetSystemContract() string

func (*SystemContract) Marshal

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

func (*SystemContract) MarshalTo

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

func (*SystemContract) MarshalToSizedBuffer

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

func (*SystemContract) ProtoMessage

func (*SystemContract) ProtoMessage()

func (*SystemContract) Reset

func (m *SystemContract) Reset()

func (*SystemContract) Size

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

func (*SystemContract) String

func (m *SystemContract) String() string

func (*SystemContract) Unmarshal

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

func (*SystemContract) XXX_DiscardUnknown

func (m *SystemContract) XXX_DiscardUnknown()

func (*SystemContract) XXX_Marshal

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

func (*SystemContract) XXX_Merge

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

func (*SystemContract) XXX_Size

func (m *SystemContract) XXX_Size() int

func (*SystemContract) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) DeployFungibleCoinZRC20

func (*UnimplementedMsgServer) DeploySystemContracts

func (*UnimplementedMsgServer) PauseZRC20

func (*UnimplementedMsgServer) RemoveForeignCoin

func (*UnimplementedMsgServer) UnpauseZRC20

func (*UnimplementedMsgServer) UpdateContractBytecode

func (*UnimplementedMsgServer) UpdateGatewayContract

func (*UnimplementedMsgServer) UpdateSystemContract

func (*UnimplementedMsgServer) UpdateZRC20LiquidityCap

func (*UnimplementedMsgServer) UpdateZRC20WithdrawFee

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) CodeHash

func (*UnimplementedQueryServer) ForeignCoins

func (*UnimplementedQueryServer) ForeignCoinsAll

func (*UnimplementedQueryServer) SystemContract

type UniswapV2FactoryByte32Response

type UniswapV2FactoryByte32Response struct {
	Value [32]byte
}

UniswapV2FactoryByte32Response defines the string value from the call response

type ZRC20BoolResponse

type ZRC20BoolResponse struct {
	Value bool
}

ZRC20BoolResponse defines the bool value from the call response

type ZRC20Data

type ZRC20Data struct {
	Name     string
	Symbol   string
	Decimals uint8
}

ZRC20Data represents the ZRC4 token details used to map the token to a Cosmos Coin

func NewZRC20Data

func NewZRC20Data(name, symbol string, decimals uint8) ZRC20Data

NewZRC20Data creates a new ZRC20Data instance

type ZRC20StringResponse

type ZRC20StringResponse struct {
	Value string
}

ZRC20StringResponse defines the string value from the call response

type ZRC20Uint8Response

type ZRC20Uint8Response struct {
	Value uint8
}

ZRC20Uint8Response defines the uint8 value from the call response

Jump to

Keyboard shortcuts

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