contracts

package
v0.0.0-...-9831709 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2019 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ElectionName       = "AElf.ContractNames.Election"
	ProfitName         = "AElf.ContractNames.Profit"
	VoteSystemName     = "AElf.ContractNames.Vote"
	TokenName          = "AElf.ContractNames.Token"
	TokenConverterName = "AElf.ContractNames.TokenConverter"
	FeeReceiverName    = "AElf.ContractNames.FeeReceiver"
	ConsensusName      = "AElf.ContractNames.Consensus"
	ParliamentName     = "AElf.ContractsName.Parliament"
	CrossChainName     = "AElf.ContractNames.CrossChain"
)

Variables

This section is empty.

Functions

func GetContractAddressByHashName

func GetContractAddressByHashName(hashName string) string

func GetContractHashName

func GetContractHashName(name string) (hash aelf.Hash)

Types

type BasicZero

type BasicZero struct {
	ContractAddress string
}

func GetBasicZeroContract

func GetBasicZeroContract(chain api.Chain) BasicZero

Jump to

Keyboard shortcuts

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