module_mcms_deployer

package
v0.0.0-...-d57db48 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 5 Imported by: 1

Documentation

Index

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 (c MCMSDeployerContract) CleanupStagingAreaInternal() (bind.ModuleInformation, string, []aptos.TypeTag, [][]byte, error)

func (MCMSDeployerContract) Encoder

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

type StagingArea struct {
	MetadataSerialized []byte `move:"vector<u8>"`
	LastModuleIdx      uint64 `move:"u64"`
}

Jump to

Keyboard shortcuts

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