Documentation ¶
Index ¶
- type BridgeCallABI
- func (m BridgeCallABI) NewBridgeCallEvent(args *fxcontract.BridgeCallArgs, sender, origin common.Address, ...) (data []byte, topic []common.Hash, err error)
- func (m BridgeCallABI) PackInput(args fxcontract.BridgeCallArgs) ([]byte, error)
- func (m BridgeCallABI) PackOutput(nonceNonce *big.Int) ([]byte, error)
- func (m BridgeCallABI) UnpackInput(data []byte) (*fxcontract.BridgeCallArgs, error)
- type BridgeCallMethod
- type BridgeCoinAmountABI
- func (m BridgeCoinAmountABI) PackInput(args fxcontract.BridgeCoinAmountArgs) ([]byte, error)
- func (m BridgeCoinAmountABI) PackOutput(amount *big.Int) ([]byte, error)
- func (m BridgeCoinAmountABI) UnpackInput(data []byte) (*fxcontract.BridgeCoinAmountArgs, error)
- func (m BridgeCoinAmountABI) UnpackOutput(data []byte) (*big.Int, error)
- type BridgeCoinAmountMethod
- type Contract
- type ExecuteClaimABI
- func (m ExecuteClaimABI) NewExecuteClaimEvent(sender common.Address, eventNonce *big.Int, dstChain string, executeErr error) (data []byte, topic []common.Hash, err error)
- func (m ExecuteClaimABI) PackInput(args fxcontract.ExecuteClaimArgs) ([]byte, error)
- func (m ExecuteClaimABI) PackOutput(success bool) ([]byte, error)
- func (m ExecuteClaimABI) UnpackInput(data []byte) (*fxcontract.ExecuteClaimArgs, error)
- func (m ExecuteClaimABI) UnpackOutput(data []byte) (bool, error)
- type ExecuteClaimMethod
- type HasOracleABI
- type HasOracleMethod
- type IsOracleOnlineABI
- type IsOracleOnlineMethod
- func (i *IsOracleOnlineMethod) GetMethodId() []byte
- func (i *IsOracleOnlineMethod) IsReadonly() bool
- func (i *IsOracleOnlineMethod) PackInput(args contract.IsOracleOnlineArgs) ([]byte, error)
- func (i *IsOracleOnlineMethod) PackOutput(result bool) ([]byte, error)
- func (i *IsOracleOnlineMethod) RequiredGas() uint64
- func (i *IsOracleOnlineMethod) Run(evm *vm.EVM, contract *vm.Contract) ([]byte, error)
- func (i *IsOracleOnlineMethod) UnpackInput(data []byte) (*contract.IsOracleOnlineArgs, error)
- func (i *IsOracleOnlineMethod) UnpackOutput(data []byte) (bool, error)
- type Keeper
- type LegacyCrosschainABIdeprecated
- func (m LegacyCrosschainABI) NewCrosschainEvent(sender, token common.Address, denom, receipt string, amount, fee *big.Int, ...) (data []byte, topic []common.Hash, err error)
- func (m LegacyCrosschainABI) PackInput(args fxcontract.CrosschainArgs) ([]byte, error)
- func (m LegacyCrosschainABI) PackOutput(success bool) ([]byte, error)
- func (m LegacyCrosschainABI) UnpackInput(data []byte) (*fxcontract.CrosschainArgs, error)
- type LegacyCrosschainMethoddeprecated
- type Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BridgeCallABI ¶
func NewBridgeCallABI ¶
func NewBridgeCallABI() BridgeCallABI
func (BridgeCallABI) NewBridgeCallEvent ¶
func (m BridgeCallABI) NewBridgeCallEvent(args *fxcontract.BridgeCallArgs, sender, origin common.Address, eventNonce *big.Int) (data []byte, topic []common.Hash, err error)
func (BridgeCallABI) PackInput ¶
func (m BridgeCallABI) PackInput(args fxcontract.BridgeCallArgs) ([]byte, error)
func (BridgeCallABI) PackOutput ¶
func (m BridgeCallABI) PackOutput(nonceNonce *big.Int) ([]byte, error)
func (BridgeCallABI) UnpackInput ¶
func (m BridgeCallABI) UnpackInput(data []byte) (*fxcontract.BridgeCallArgs, error)
type BridgeCallMethod ¶
type BridgeCallMethod struct { *Keeper BridgeCallABI }
func NewBridgeCallMethod ¶
func NewBridgeCallMethod(keeper *Keeper) *BridgeCallMethod
func (*BridgeCallMethod) GetMethodId ¶
func (m *BridgeCallMethod) GetMethodId() []byte
func (*BridgeCallMethod) IsReadonly ¶
func (m *BridgeCallMethod) IsReadonly() bool
func (*BridgeCallMethod) RequiredGas ¶
func (m *BridgeCallMethod) RequiredGas() uint64
type BridgeCoinAmountABI ¶
func NewBridgeCoinAmountABI ¶
func NewBridgeCoinAmountABI() BridgeCoinAmountABI
func (BridgeCoinAmountABI) PackInput ¶
func (m BridgeCoinAmountABI) PackInput(args fxcontract.BridgeCoinAmountArgs) ([]byte, error)
func (BridgeCoinAmountABI) PackOutput ¶
func (m BridgeCoinAmountABI) PackOutput(amount *big.Int) ([]byte, error)
func (BridgeCoinAmountABI) UnpackInput ¶
func (m BridgeCoinAmountABI) UnpackInput(data []byte) (*fxcontract.BridgeCoinAmountArgs, error)
func (BridgeCoinAmountABI) UnpackOutput ¶
func (m BridgeCoinAmountABI) UnpackOutput(data []byte) (*big.Int, error)
type BridgeCoinAmountMethod ¶
type BridgeCoinAmountMethod struct { *Keeper BridgeCoinAmountABI }
func NewBridgeCoinAmountMethod ¶
func NewBridgeCoinAmountMethod(keeper *Keeper) *BridgeCoinAmountMethod
func (*BridgeCoinAmountMethod) GetMethodId ¶
func (m *BridgeCoinAmountMethod) GetMethodId() []byte
func (*BridgeCoinAmountMethod) IsReadonly ¶
func (m *BridgeCoinAmountMethod) IsReadonly() bool
func (*BridgeCoinAmountMethod) RequiredGas ¶
func (m *BridgeCoinAmountMethod) RequiredGas() uint64
type Contract ¶
type Contract struct {
// contains filtered or unexported fields
}
func NewPrecompiledContract ¶
func (*Contract) IsStateful ¶
func (*Contract) RequiredGas ¶
type ExecuteClaimABI ¶
func NewExecuteClaimABI ¶
func NewExecuteClaimABI() ExecuteClaimABI
func (ExecuteClaimABI) NewExecuteClaimEvent ¶
func (ExecuteClaimABI) PackInput ¶
func (m ExecuteClaimABI) PackInput(args fxcontract.ExecuteClaimArgs) ([]byte, error)
func (ExecuteClaimABI) PackOutput ¶
func (m ExecuteClaimABI) PackOutput(success bool) ([]byte, error)
func (ExecuteClaimABI) UnpackInput ¶
func (m ExecuteClaimABI) UnpackInput(data []byte) (*fxcontract.ExecuteClaimArgs, error)
func (ExecuteClaimABI) UnpackOutput ¶
func (m ExecuteClaimABI) UnpackOutput(data []byte) (bool, error)
type ExecuteClaimMethod ¶
type ExecuteClaimMethod struct { *Keeper ExecuteClaimABI }
func NewExecuteClaimMethod ¶
func NewExecuteClaimMethod(keeper *Keeper) *ExecuteClaimMethod
func (*ExecuteClaimMethod) GetMethodId ¶
func (m *ExecuteClaimMethod) GetMethodId() []byte
func (*ExecuteClaimMethod) IsReadonly ¶
func (m *ExecuteClaimMethod) IsReadonly() bool
func (*ExecuteClaimMethod) RequiredGas ¶
func (m *ExecuteClaimMethod) RequiredGas() uint64
type HasOracleABI ¶
func NewHasOracleABI ¶
func NewHasOracleABI() HasOracleABI
func (HasOracleABI) PackInput ¶
func (m HasOracleABI) PackInput(args contract.HasOracleArgs) ([]byte, error)
func (HasOracleABI) PackOutput ¶
func (m HasOracleABI) PackOutput(result bool) ([]byte, error)
func (HasOracleABI) UnpackInput ¶
func (m HasOracleABI) UnpackInput(data []byte) (*contract.HasOracleArgs, error)
func (HasOracleABI) UnpackOutput ¶
func (m HasOracleABI) UnpackOutput(data []byte) (bool, error)
type HasOracleMethod ¶
type HasOracleMethod struct { *Keeper HasOracleABI }
func NewHasOracleMethod ¶
func NewHasOracleMethod(keeper *Keeper) *HasOracleMethod
func (*HasOracleMethod) GetMethodId ¶
func (m *HasOracleMethod) GetMethodId() []byte
func (*HasOracleMethod) IsReadonly ¶
func (m *HasOracleMethod) IsReadonly() bool
func (*HasOracleMethod) RequiredGas ¶
func (m *HasOracleMethod) RequiredGas() uint64
type IsOracleOnlineABI ¶
func NewIsOracleOnlineABI ¶
func NewIsOracleOnlineABI() IsOracleOnlineABI
type IsOracleOnlineMethod ¶
type IsOracleOnlineMethod struct { *Keeper IsOracleOnlineABI }
func NewIsOracleOnlineMethod ¶
func NewIsOracleOnlineMethod(keeper *Keeper) *IsOracleOnlineMethod
func (*IsOracleOnlineMethod) GetMethodId ¶
func (i *IsOracleOnlineMethod) GetMethodId() []byte
func (*IsOracleOnlineMethod) IsReadonly ¶
func (i *IsOracleOnlineMethod) IsReadonly() bool
func (*IsOracleOnlineMethod) PackInput ¶
func (i *IsOracleOnlineMethod) PackInput(args contract.IsOracleOnlineArgs) ([]byte, error)
func (*IsOracleOnlineMethod) PackOutput ¶
func (i *IsOracleOnlineMethod) PackOutput(result bool) ([]byte, error)
func (*IsOracleOnlineMethod) RequiredGas ¶
func (i *IsOracleOnlineMethod) RequiredGas() uint64
func (*IsOracleOnlineMethod) UnpackInput ¶
func (i *IsOracleOnlineMethod) UnpackInput(data []byte) (*contract.IsOracleOnlineArgs, error)
func (*IsOracleOnlineMethod) UnpackOutput ¶
func (i *IsOracleOnlineMethod) UnpackOutput(data []byte) (bool, error)
type LegacyCrosschainABI
deprecated
Deprecated: After the upgrade to v8
func NewCrosschainABI
deprecated
func NewCrosschainABI() LegacyCrosschainABI
Deprecated: After the upgrade to v8
func (LegacyCrosschainABI) NewCrosschainEvent ¶
func (LegacyCrosschainABI) PackInput ¶
func (m LegacyCrosschainABI) PackInput(args fxcontract.CrosschainArgs) ([]byte, error)
func (LegacyCrosschainABI) PackOutput ¶
func (m LegacyCrosschainABI) PackOutput(success bool) ([]byte, error)
func (LegacyCrosschainABI) UnpackInput ¶
func (m LegacyCrosschainABI) UnpackInput(data []byte) (*fxcontract.CrosschainArgs, error)
type LegacyCrosschainMethod
deprecated
type LegacyCrosschainMethod struct { *Keeper LegacyCrosschainABI }
Deprecated: After the upgrade to v8
func NewCrosschainMethod
deprecated
func NewCrosschainMethod(keeper *Keeper) *LegacyCrosschainMethod
Deprecated: After the upgrade to v8
func (*LegacyCrosschainMethod) GetMethodId ¶
func (m *LegacyCrosschainMethod) GetMethodId() []byte
func (*LegacyCrosschainMethod) IsReadonly ¶
func (m *LegacyCrosschainMethod) IsReadonly() bool
func (*LegacyCrosschainMethod) RequiredGas ¶
func (m *LegacyCrosschainMethod) RequiredGas() uint64
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) AddRoute ¶
func (rtr *Router) AddRoute(module string, hook crosschainkeeper.Keeper) *Router
Click to show internal directories.
Click to hide internal directories.