vault

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//nolint: lll
	VaultSCBytecode = "" /* 4146-byte string literal not displayed */
)

Variables

This section is empty.

Functions

func PredeployVaultSC

func PredeployVaultSC(params PredeployParams) (*chain.GenesisAccount, error)

PredeployVaultSC is a helper method for setting up the vault smart contract account, using the passed in owner and signers as pre-defined accounts.

Types

type PredeployParams

type PredeployParams struct {
	Owner types.Address
}

PredeployParams contains the values used to predeploy the Vault contract

type StorageIndexes

type StorageIndexes struct {
	OwnerIndex []byte // address
}

StorageIndexes is a wrapper for different storage indexes that need to be modified

Jump to

Keyboard shortcuts

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