Documentation ¶
Index ¶
- type Contract
- type Keeper
- type TransferFromAccountToModuleABI
- func (m TransferFromAccountToModuleABI) PackInput(args fxcontract.TransferFromAccountToModuleArgs) ([]byte, error)
- func (m TransferFromAccountToModuleABI) PackOutput(result bool) ([]byte, error)
- func (m TransferFromAccountToModuleABI) UnpackInput(data []byte) (*fxcontract.TransferFromAccountToModuleArgs, error)
- func (m TransferFromAccountToModuleABI) UnpackOutput(data []byte) (bool, error)
- type TransferFromAccountToModuleMethod
- type TransferFromModuleToAccountABI
- func (m TransferFromModuleToAccountABI) PackInput(args fxcontract.TransferFromModuleToAccountArgs) ([]byte, error)
- func (m TransferFromModuleToAccountABI) PackOutput(result bool) ([]byte, error)
- func (m TransferFromModuleToAccountABI) UnpackInput(data []byte) (*fxcontract.TransferFromModuleToAccountArgs, error)
- func (m TransferFromModuleToAccountABI) UnpackOutput(data []byte) (bool, error)
- type TransferFromModuleToAccountMethod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct {
// contains filtered or unexported fields
}
func NewPrecompiledContract ¶
func NewPrecompiledContract( bankKeeper types.BankKeeper, erc20Keeper types.Erc20Keeper, govKeeper types.GovKeeper, ) *Contract
func (*Contract) IsStateful ¶
func (*Contract) RequiredGas ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(bankKeeper types.BankKeeper, erc20Keeper types.Erc20Keeper) *Keeper
func (*Keeper) TransferFromAccountToModule ¶
func (*Keeper) TransferFromModuleToAccount ¶
type TransferFromAccountToModuleABI ¶
func NewTransferFromAccountToModuleABI ¶
func NewTransferFromAccountToModuleABI() TransferFromAccountToModuleABI
func (TransferFromAccountToModuleABI) PackInput ¶
func (m TransferFromAccountToModuleABI) PackInput(args fxcontract.TransferFromAccountToModuleArgs) ([]byte, error)
func (TransferFromAccountToModuleABI) PackOutput ¶
func (m TransferFromAccountToModuleABI) PackOutput(result bool) ([]byte, error)
func (TransferFromAccountToModuleABI) UnpackInput ¶
func (m TransferFromAccountToModuleABI) UnpackInput(data []byte) (*fxcontract.TransferFromAccountToModuleArgs, error)
func (TransferFromAccountToModuleABI) UnpackOutput ¶
func (m TransferFromAccountToModuleABI) UnpackOutput(data []byte) (bool, error)
type TransferFromAccountToModuleMethod ¶
type TransferFromAccountToModuleMethod struct { *Keeper TransferFromAccountToModuleABI }
func NewTransferFromAccountToModuleMethod ¶
func NewTransferFromAccountToModuleMethod(keeper *Keeper) *TransferFromAccountToModuleMethod
func (*TransferFromAccountToModuleMethod) GetMethodId ¶
func (m *TransferFromAccountToModuleMethod) GetMethodId() []byte
func (*TransferFromAccountToModuleMethod) IsReadonly ¶
func (m *TransferFromAccountToModuleMethod) IsReadonly() bool
func (*TransferFromAccountToModuleMethod) RequiredGas ¶
func (m *TransferFromAccountToModuleMethod) RequiredGas() uint64
type TransferFromModuleToAccountABI ¶
func NewTransferFromModuleToAccountABI ¶
func NewTransferFromModuleToAccountABI() TransferFromModuleToAccountABI
func (TransferFromModuleToAccountABI) PackInput ¶
func (m TransferFromModuleToAccountABI) PackInput(args fxcontract.TransferFromModuleToAccountArgs) ([]byte, error)
func (TransferFromModuleToAccountABI) PackOutput ¶
func (m TransferFromModuleToAccountABI) PackOutput(result bool) ([]byte, error)
func (TransferFromModuleToAccountABI) UnpackInput ¶
func (m TransferFromModuleToAccountABI) UnpackInput(data []byte) (*fxcontract.TransferFromModuleToAccountArgs, error)
func (TransferFromModuleToAccountABI) UnpackOutput ¶
func (m TransferFromModuleToAccountABI) UnpackOutput(data []byte) (bool, error)
type TransferFromModuleToAccountMethod ¶
type TransferFromModuleToAccountMethod struct { *Keeper TransferFromModuleToAccountABI }
func NewTransferFromModuleToAccountMethod ¶
func NewTransferFromModuleToAccountMethod(keeper *Keeper) *TransferFromModuleToAccountMethod
func (*TransferFromModuleToAccountMethod) GetMethodId ¶
func (m *TransferFromModuleToAccountMethod) GetMethodId() []byte
func (*TransferFromModuleToAccountMethod) IsReadonly ¶
func (m *TransferFromModuleToAccountMethod) IsReadonly() bool
func (*TransferFromModuleToAccountMethod) RequiredGas ¶
func (m *TransferFromModuleToAccountMethod) RequiredGas() uint64
Click to show internal directories.
Click to hide internal directories.