Documentation
¶
Index ¶
- Constants
- type Dispatcher
- type DispatcherV2
- type Entry
- type ReportMetadata
- type Storage
- type StorageContract
- func (c StorageContract) Encoder() StorageEncoder
- func (c StorageContract) Insert(receiver aptos.AccountAddress, callbackMetadata []byte, callbackData []byte) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
- func (c StorageContract) MigrateToV2(opts *bind.TransactOpts, callbackAddresses []aptos.AccountAddress) (*api.PendingTransaction, error)
- func (c StorageContract) ParseReportMetadata(opts *bind.CallOpts, metadata []byte) (ReportMetadata, error)
- func (c StorageContract) StorageAddress() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
- func (c StorageContract) StorageExists(objAddress aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
- type StorageEncoder
- type StorageInterface
- type TestProof
- type TestProof2
- type TestProof3
- type TestProof4
Constants ¶
View Source
const ( E_UNKNOWN_RECEIVER uint64 = 1 E_INVALID_METADATA_LENGTH uint64 = 2 )
Constants
View Source
const FunctionInfo = `` /* 616-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
}
type DispatcherV2 ¶
type DispatcherV2 struct {
}
type ReportMetadata ¶
type StorageContract ¶
type StorageContract struct {
*bind.BoundContract
// contains filtered or unexported fields
}
func (StorageContract) Encoder ¶
func (c StorageContract) Encoder() StorageEncoder
func (StorageContract) MigrateToV2 ¶
func (c StorageContract) MigrateToV2(opts *bind.TransactOpts, callbackAddresses []aptos.AccountAddress) (*api.PendingTransaction, error)
func (StorageContract) ParseReportMetadata ¶
func (c StorageContract) ParseReportMetadata(opts *bind.CallOpts, metadata []byte) (ReportMetadata, error)
func (StorageContract) StorageAddress ¶
func (StorageContract) StorageExists ¶
func (c StorageContract) StorageExists(objAddress aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
type StorageEncoder ¶
type StorageEncoder interface {
ParseReportMetadata(metadata []byte) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
MigrateToV2(callbackAddresses []aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
Insert(receiver aptos.AccountAddress, callbackMetadata []byte, callbackData []byte) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
StorageExists(objAddress aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
StorageAddress() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
}
type StorageInterface ¶
type StorageInterface interface {
ParseReportMetadata(opts *bind.CallOpts, metadata []byte) (ReportMetadata, error)
MigrateToV2(opts *bind.TransactOpts, callbackAddresses []aptos.AccountAddress) (*api.PendingTransaction, error)
// Encoder returns the encoder implementation of this module.
Encoder() StorageEncoder
}
func NewStorage ¶
func NewStorage(address aptos.AccountAddress, client aptos.AptosRpcClient) StorageInterface
type TestProof2 ¶
type TestProof2 struct {
}
type TestProof3 ¶
type TestProof3 struct {
}
type TestProof4 ¶
type TestProof4 struct {
}
Click to show internal directories.
Click to hide internal directories.