Documentation
¶
Index ¶
- Constants
- type MCMSDeployerContract
- func (c MCMSDeployerContract) CleanupStagingArea(opts *bind.TransactOpts) (*api.PendingTransaction, error)
- func (c MCMSDeployerContract) CleanupStagingAreaInternal() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
- func (c MCMSDeployerContract) Encoder() MCMSDeployerEncoder
- func (c MCMSDeployerContract) StageCodeChunk(opts *bind.TransactOpts, metadataChunk []byte, codeIndices []uint16, ...) (*api.PendingTransaction, error)
- func (c MCMSDeployerContract) StageCodeChunkAndPublishToObject(opts *bind.TransactOpts, metadataChunk []byte, codeIndices []uint16, ...) (*api.PendingTransaction, error)
- func (c MCMSDeployerContract) StageCodeChunkAndUpgradeObjectCode(opts *bind.TransactOpts, metadataChunk []byte, codeIndices []uint16, ...) (*api.PendingTransaction, error)
- type MCMSDeployerEncoder
- type MCMSDeployerInterface
- type StagingArea
Constants ¶
View Source
const (
E_CODE_MISMATCH uint64 = 1
)
Constants
View Source
const FunctionInfo = `` /* 1145-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MCMSDeployerContract ¶
type MCMSDeployerContract struct {
*bind.BoundContract
// contains filtered or unexported fields
}
func (MCMSDeployerContract) CleanupStagingArea ¶
func (c MCMSDeployerContract) CleanupStagingArea(opts *bind.TransactOpts) (*api.PendingTransaction, error)
func (MCMSDeployerContract) CleanupStagingAreaInternal ¶
func (MCMSDeployerContract) Encoder ¶
func (c MCMSDeployerContract) Encoder() MCMSDeployerEncoder
func (MCMSDeployerContract) StageCodeChunk ¶
func (c MCMSDeployerContract) StageCodeChunk(opts *bind.TransactOpts, metadataChunk []byte, codeIndices []uint16, codeChunks [][]byte) (*api.PendingTransaction, error)
func (MCMSDeployerContract) StageCodeChunkAndPublishToObject ¶
func (c MCMSDeployerContract) StageCodeChunkAndPublishToObject(opts *bind.TransactOpts, metadataChunk []byte, codeIndices []uint16, codeChunks [][]byte, newOwnerSeed []byte) (*api.PendingTransaction, error)
func (MCMSDeployerContract) StageCodeChunkAndUpgradeObjectCode ¶
func (c MCMSDeployerContract) StageCodeChunkAndUpgradeObjectCode(opts *bind.TransactOpts, metadataChunk []byte, codeIndices []uint16, codeChunks [][]byte, codeObjectAddress aptos.AccountAddress) (*api.PendingTransaction, error)
type MCMSDeployerEncoder ¶
type MCMSDeployerEncoder interface {
StageCodeChunk(metadataChunk []byte, codeIndices []uint16, codeChunks [][]byte) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
StageCodeChunkAndPublishToObject(metadataChunk []byte, codeIndices []uint16, codeChunks [][]byte, newOwnerSeed []byte) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
StageCodeChunkAndUpgradeObjectCode(metadataChunk []byte, codeIndices []uint16, codeChunks [][]byte, codeObjectAddress aptos.AccountAddress) (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
CleanupStagingArea() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
CleanupStagingAreaInternal() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)
}
type MCMSDeployerInterface ¶
type MCMSDeployerInterface interface {
StageCodeChunk(opts *bind.TransactOpts, metadataChunk []byte, codeIndices []uint16, codeChunks [][]byte) (*api.PendingTransaction, error)
StageCodeChunkAndPublishToObject(opts *bind.TransactOpts, metadataChunk []byte, codeIndices []uint16, codeChunks [][]byte, newOwnerSeed []byte) (*api.PendingTransaction, error)
StageCodeChunkAndUpgradeObjectCode(opts *bind.TransactOpts, metadataChunk []byte, codeIndices []uint16, codeChunks [][]byte, codeObjectAddress aptos.AccountAddress) (*api.PendingTransaction, error)
CleanupStagingArea(opts *bind.TransactOpts) (*api.PendingTransaction, error)
// Encoder returns the encoder implementation of this module.
Encoder() MCMSDeployerEncoder
}
func NewMCMSDeployer ¶
func NewMCMSDeployer(address aptos.AccountAddress, client aptos.AptosRpcClient) MCMSDeployerInterface
type StagingArea ¶
Click to show internal directories.
Click to hide internal directories.