Documentation ¶
Index ¶
- type Hooks
- type Keeper
- func (k Keeper) AcknowledgementPacket(ctx sdk.Context, dataHash [32]byte, result []byte) (*evmtypes.MsgEthereumTxResponse, error)
- func (k Keeper) CallEVM(ctx sdk.Context, abi abi.ABI, from common.Address, contract common.Address, ...) (*evmtypes.MsgEthereumTxResponse, error)
- func (k Keeper) CallEVMWithData(ctx sdk.Context, from common.Address, contract *common.Address, data []byte) (*evmtypes.MsgEthereumTxResponse, error)
- func (k Keeper) CallRCC(ctx sdk.Context, method string, args ...interface{}) (*evmtypes.MsgEthereumTxResponse, error)
- func (k Keeper) GetRCCModuleAddress() sdk.AccAddress
- func (k Keeper) Hooks() Hooks
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) OnAcknowledgementPacket(ctx sdk.Context, dataHash [32]byte, result []byte) error
- func (k Keeper) OnRecvPacket(ctx sdk.Context, data types.RCCPacketData) (packettypes.Result, error)
- func (k Keeper) RecvPacket(ctx sdk.Context, data types.RCCPacketData) (*evmtypes.MsgEthereumTxResponse, error)
- func (k Keeper) SendRemoteContractCall(ctx sdk.Context, destChain string, relayChain string, sequence uint64, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hooks ¶
type Hooks struct {
// contains filtered or unexported fields
}
Hooks wrapper struct for erc20 keeper
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, accountKeeper types.AccountKeeper, packetKeeper types.PacketKeeper, clientKeeper types.ClientKeeper, evmKeeper types.EVMKeeper, ) Keeper
NewKeeper creates a new XIBC RCC Keeper instance
func (Keeper) AcknowledgementPacket ¶
func (Keeper) CallEVM ¶
func (k Keeper) CallEVM( ctx sdk.Context, abi abi.ABI, from common.Address, contract common.Address, method string, args ...interface{}, ) ( *evmtypes.MsgEthereumTxResponse, error, )
CallEVM performs a smart contract method call using given args
func (Keeper) CallEVMWithData ¶
func (k Keeper) CallEVMWithData( ctx sdk.Context, from common.Address, contract *common.Address, data []byte, ) ( *evmtypes.MsgEthereumTxResponse, error, )
CallEVMWithData performs a smart contract method call using contract data
func (Keeper) CallRCC ¶
func (k Keeper) CallRCC( ctx sdk.Context, method string, args ...interface{}, ) ( *evmtypes.MsgEthereumTxResponse, error, )
CallRCC call a method of RCC contract
func (Keeper) GetRCCModuleAddress ¶
func (k Keeper) GetRCCModuleAddress() sdk.AccAddress
GetRCCModuleAddress returns the RCC ModuleAddress
func (Keeper) OnAcknowledgementPacket ¶
func (Keeper) OnRecvPacket ¶
func (k Keeper) OnRecvPacket(ctx sdk.Context, data types.RCCPacketData) (packettypes.Result, error)
func (Keeper) RecvPacket ¶
func (k Keeper) RecvPacket(ctx sdk.Context, data types.RCCPacketData) (*evmtypes.MsgEthereumTxResponse, error)
Click to show internal directories.
Click to hide internal directories.