Versions in this module Expand all Collapse all v0 v0.5.6 Jul 16, 2024 v0.0.1 Jun 28, 2024 Changes in this version + const ConfigKey + const MintGasCost + var ContractAddress = common.HexToAddress("0x0200000000000000000000000000000000000001") + var ContractNativeMinterPrecompile contract.StatefulPrecompiledContract = createNativeMinterPrecompile() + var ErrCannotMint = errors.New("non-enabled cannot mint") + var Module = modules.Module + func GetContractNativeMinterStatus(stateDB contract.StateDB, address common.Address) allowlist.Role + func PackMintInput(address common.Address, amount *big.Int) ([]byte, error) + func SetContractNativeMinterStatus(stateDB contract.StateDB, address common.Address, role allowlist.Role) + func UnpackMintInput(input []byte) (common.Address, *big.Int, error) + type Config struct + InitialMint map[common.Address]*math.HexOrDecimal256 + func NewConfig(blockTimestamp *uint64, admins []common.Address, enableds []common.Address, ...) *Config + func NewDisableConfig(blockTimestamp *uint64) *Config + func (*Config) Key() string + func (c *Config) Equal(cfg precompileconfig.Config) bool + func (c *Config) Verify(chainConfig precompileconfig.ChainConfig) error