deploy

package
v0.0.0-...-bd01111 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LocalChainId       = big.NewInt(1337)
	LocalPrivateKeyHex = "504d29ac79864050983ca646570b0bbe158fa5878c1bda7f1fdb0a48bd8b37b6"
)

Functions

func DeployGame

func DeployGame(auth *bind.TransactOpts, ethcli rpc.EthCli, deployer GameContractDeployer, logic common.Address, data []byte, commit bool) (gameAddr common.Address, coreAddr common.Address, err error)

func NewLocalIO

func NewLocalIO(registry concrete.PrecompileRegistry, schemas arch.ArchSchemas, deployer GameContractDeployer, logic common.Address, data []byte, blockTime time.Duration) (*rpc.IO, error)

func NewSimulatedBackend

func NewSimulatedBackend(registry concrete.PrecompileRegistry, gasLimit uint64, devAddresses ...common.Address) *simulated.TickingSimulatedBackend

Types

type InitializableProxyAdmin

type InitializableProxyAdmin interface {
	Proxy(opts *bind.CallOpts) (common.Address, error)
	Initialize(auth *bind.TransactOpts, logic common.Address, data []byte) (*types.Transaction, error)
}

Jump to

Keyboard shortcuts

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