Documentation ¶
Index ¶
Constants ¶
View Source
const ( Transfer = uint8(0) RemoteCall = uint8(1) )
View Source
const (
// ModuleName defines the XIBC multicall name
ModuleName = "multicall"
)
Variables ¶
View Source
var ( ErrScChainEqualToDestChain = sdkerrors.Register(ModuleName, 2, "source chain equals to destination chain") ErrInvalidMultiCallEvent = sdkerrors.Register(ModuleName, 3, "invalid multicall event") )
View Source
var ( TupleTransferData abi.Type TupleRCCData abi.Type )
View Source
var (
ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry())
)
Functions ¶
This section is empty.
Types ¶
type AggregateKeeper ¶
type AggregateKeeper interface {
QueryERC20Trace(ctx sdk.Context, contract common.Address, originChain string) (string, *big.Int, bool, error)
}
AggregateKeeper defines the expected Aggregate keeper
type ClientKeeper ¶
ClientKeeper defines the expected client keeper
type MultiCallData ¶
type PacketKeeper ¶
type PacketKeeper interface { GetNextSequenceSend(ctx sdk.Context, sourceChain, destChain string) uint64 SendPacket(ctx sdk.Context, packet exported.PacketI) error }
PacketKeeper defines the expected packet keeper
Click to show internal directories.
Click to hide internal directories.