module_router

package
v0.0.0-...-268577f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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 FeedRead

type FeedRead struct {
	FeedIds [][]byte `move:"vector<vector<u8>>"`
}

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 (c RouterContract) GetDescriptions(opts *bind.CallOpts, feedIds [][]byte) ([]string, error)

func (RouterContract) GetOwner

func (c RouterContract) GetOwner(opts *bind.CallOpts) (aptos.AccountAddress, error)

func (RouterContract) GetStateAddr

func (c RouterContract) GetStateAddr() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL