Documentation ¶
Index ¶
- Variables
- func Deploy(ctx context.Context, network netconf.ID, backend *ethbackend.Backend) (common.Address, *ethtypes.Receipt, error)
- func DeployIfNeeded(ctx context.Context, network netconf.ID, backend *ethbackend.Backend) (common.Address, *ethtypes.Receipt, error)
- func InitialSupplyRecipient(network netconf.ID) common.Address
Constants ¶
This section is empty.
Variables ¶
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.
NOTE: the mainnet ERC20 OMNI token is already deployed to ETH mainnet. We use this code for test / ephemeral networks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.