Documentation
¶
Index ¶
- Constants
- type FeedRead
- type OwnershipTransferRequested
- type OwnershipTransferred
- type Router
- type RouterContract
- func (c RouterContract) AcceptOwnership(opts *bind.TransactOpts) (*api.PendingTransaction, error)
- func (c RouterContract) ConfigureFeeds(opts *bind.TransactOpts, feedIds [][]byte, descriptions []string, ...) (*api.PendingTransaction, error)
- func (c RouterContract) Encoder() RouterEncoder
- func (c RouterContract) GetDescriptions(opts *bind.CallOpts, feedIds [][]byte) ([]string, error)
- func (c RouterContract) GetOwner(opts *bind.CallOpts) (aptos.AccountAddress, error)
- func (c RouterContract) GetStateAddr() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
- func (c RouterContract) TransferOwnership(opts *bind.TransactOpts, to aptos.AccountAddress) (*api.PendingTransaction, error)
- type RouterEncoder
- type RouterInterface
Constants ¶
View Source
const ( ENOT_OWNER uint64 = 0 ECANNOT_TRANSFER_TO_SELF uint64 = 1 ENOT_PROPOSED_OWNER uint64 = 2 EREPORTS_DEPRECATED uint64 = 3 )
Constants
View Source
const FunctionInfo = `` /* 619-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OwnershipTransferRequested ¶
type OwnershipTransferRequested struct {
From aptos.AccountAddress `move:"address"`
To aptos.AccountAddress `move:"address"`
}
type OwnershipTransferred ¶
type OwnershipTransferred struct {
From aptos.AccountAddress `move:"address"`
To aptos.AccountAddress `move:"address"`
}
type Router ¶
type Router struct {
OwnerAddress aptos.AccountAddress `move:"address"`
PendingOwnerAddress aptos.AccountAddress `move:"address"`
}
type RouterContract ¶
type RouterContract struct {
*bind.BoundContract
// contains filtered or unexported fields
}
func (RouterContract) AcceptOwnership ¶
func (c RouterContract) AcceptOwnership(opts *bind.TransactOpts) (*api.PendingTransaction, error)
func (RouterContract) ConfigureFeeds ¶
func (c RouterContract) ConfigureFeeds(opts *bind.TransactOpts, feedIds [][]byte, descriptions []string, configId []byte, FeeConfigId []byte) (*api.PendingTransaction, error)
func (RouterContract) Encoder ¶
func (c RouterContract) Encoder() RouterEncoder
func (RouterContract) GetDescriptions ¶
func (RouterContract) GetOwner ¶
func (c RouterContract) GetOwner(opts *bind.CallOpts) (aptos.AccountAddress, error)
func (RouterContract) GetStateAddr ¶
func (RouterContract) TransferOwnership ¶
func (c RouterContract) TransferOwnership(opts *bind.TransactOpts, to aptos.AccountAddress) (*api.PendingTransaction, error)
type RouterEncoder ¶
type RouterEncoder interface {
GetDescriptions(feedIds [][]byte) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
GetOwner() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
ConfigureFeeds(feedIds [][]byte, descriptions []string, configId []byte, FeeConfigId []byte) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
TransferOwnership(to aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
AcceptOwnership() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
GetStateAddr() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
}
type RouterInterface ¶
type RouterInterface interface {
GetDescriptions(opts *bind.CallOpts, feedIds [][]byte) ([]string, error)
GetOwner(opts *bind.CallOpts) (aptos.AccountAddress, error)
ConfigureFeeds(opts *bind.TransactOpts, feedIds [][]byte, descriptions []string, configId []byte, FeeConfigId []byte) (*api.PendingTransaction, error)
TransferOwnership(opts *bind.TransactOpts, to aptos.AccountAddress) (*api.PendingTransaction, error)
AcceptOwnership(opts *bind.TransactOpts) (*api.PendingTransaction, error)
// Encoder returns the encoder implementation of this module.
Encoder() RouterEncoder
}
func NewRouter ¶
func NewRouter(address aptos.AccountAddress, client aptos.AptosRpcClient) RouterInterface
Click to show internal directories.
Click to hide internal directories.