abis

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BlockchainParametersStr = `` /* 1028-byte string literal not displayed */
View Source
const ERC20Str = `` /* 258-byte string literal not displayed */

This is taken from celo-monorepo/packages/protocol/build/<env>/contracts/ERC20.json

View Source
const ElectionsStr string = `` /* 1935-byte string literal not displayed */
View Source
const EpochRewardsStr string = `` /* 1168-byte string literal not displayed */

This is taken from celo-monorepo/packages/protocol/build/<env>/contracts/EpochRewards.json

View Source
const FeeCurrencyStr = `` /* 211-byte string literal not displayed */

This is taken from celo-monorepo/packages/protocol/build/<env>/contracts/FeeCurrency.json

View Source
const FreezerStr = `` /* 253-byte string literal not displayed */

This is taken from celo-monorepo/packages/protocol/build/<env>/contracts/Freezer.json

View Source
const GasPriceMinimumStr = `` /* 895-byte string literal not displayed */
View Source
const GoldTokenStr = `` /* 740-byte string literal not displayed */

nolint: gosec

View Source
const RandomStr = `` /* 1354-byte string literal not displayed */
View Source
const RegistryStr = `` /* 271-byte string literal not displayed */

This is taken from celo-monorepo/packages/protocol/build/<env>/contracts/Registry.json

View Source
const SortedOraclesStr = `` /* 312-byte string literal not displayed */

This is taken from celo-monorepo/packages/protocol/build/<env>/contracts/SortedOracles.json

View Source
const ValidatorsStr = `` /* 2180-byte string literal not displayed */

This is taken from celo-monorepo/packages/protocol/build/<env>/contracts/Validators.json

Variables

View Source
var (
	Registry             *abi.ABI = mustParseAbi("Registry", RegistryStr)
	BlockchainParameters *abi.ABI = mustParseAbi("BlockchainParameters", BlockchainParametersStr)
	SortedOracles        *abi.ABI = mustParseAbi("SortedOracles", SortedOraclesStr)
	ERC20                *abi.ABI = mustParseAbi("ERC20", ERC20Str)
	FeeCurrency          *abi.ABI = mustParseAbi("FeeCurrency", FeeCurrencyStr)
	Elections            *abi.ABI = mustParseAbi("Elections", ElectionsStr)
	EpochRewards         *abi.ABI = mustParseAbi("EpochRewards", EpochRewardsStr)
	Freezer              *abi.ABI = mustParseAbi("Freezer", FreezerStr)
	GasPriceMinimum      *abi.ABI = mustParseAbi("GasPriceMinimum", GasPriceMinimumStr)
	GoldToken            *abi.ABI = mustParseAbi("GoldToken", GoldTokenStr)
	Random               *abi.ABI = mustParseAbi("Random", RandomStr)
	Validators           *abi.ABI = mustParseAbi("Validators", ValidatorsStr)
)

Functions

func AbiFor

func AbiFor(registryId common.Hash) *abi.ABI

Types

This section is empty.

Jump to

Keyboard shortcuts

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