omnitoken

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TotalSupply = new(big.Int).Mul(big.NewInt(100e6), big.NewInt(1e18))

TotalSupply is the 100M, total supply of the token.

Functions

func Deploy

func Deploy(ctx context.Context, network netconf.ID, backend *ethbackend.Backend) (common.Address, *ethtypes.Receipt, error)

Deploy deploys a new ERC20 OMNI token contract and returns the address and receipt.

func InitialSupplyRecipient

func InitialSupplyRecipient(network netconf.ID) (common.Address, bool)

Types

type DeploymentConfig added in v0.1.9

type DeploymentConfig struct {
	Create3Factory common.Address
	Create3Salt    string
	Deployer       common.Address
	Recipient      common.Address
	ExpectedAddr   common.Address
}

func (DeploymentConfig) Validate added in v0.1.9

func (cfg DeploymentConfig) Validate() error

Jump to

Keyboard shortcuts

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