constants

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2020 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TusdContractAddress        = "0x8dd5fbCe2F6a956C3022bA3663759011Dd51e73E"
	EnsContractAddress         = "0x314159265dD8dbb310642f98f50C066173C1259b"
	MarketPlaceContractAddress = "0x8e5660b4Ab70168b5a6fEeA0e0315cb49c8Cd539"
	MolochContractAddress      = "0x1fd169A4f5c59ACf79d0Fd5d91D1201EF1Bce9f1"
	OasisContractAddress       = "0x39755357759cE0d7f32dC8dC45414CCa409AE24e"
)

Contract Addresses

View Source
var (
	DaiAbiString         = `` /* 5710-byte string literal not displayed */
	TusdAbiString        = `` /* 12965-byte string literal not displayed */
	ENSAbiString         = `` /* 1845-byte string literal not displayed */
	MarketPlaceAbiString = `` /* 8038-byte string literal not displayed */
	MolochAbiString      = `` /* 7392-byte string literal not displayed */
	OasisAbiString       = `` /* 13799-byte string literal not displayed */
)

Contract Abis

View Source
var ABIs = map[common.Address]string{
	common.HexToAddress("0x314159265dD8dbb310642f98f50C066173C1259b"): ENSAbiString,
	common.HexToAddress("0x8dd5fbCe2F6a956C3022bA3663759011Dd51e73E"): TusdAbiString,
	common.HexToAddress("0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359"): DaiAbiString,
}

ABIs is a look-up table for ABI strings

Functions

This section is empty.

Types

type Event

type Event int

Event enums

const (
	TransferEvent Event = 0
	ApprovalEvent Event = 1
	BurnEvent     Event = 2
	MintEvent     Event = 3
	NewOwnerEvent Event = 4
)

func (Event) Signature

func (e Event) Signature() string

Signature returns the keccak256 signature for an event

func (Event) String

func (e Event) String() string

String returns the string name for an event

type Interface

type Interface int

Resolver interface signatures

const (
	MetaSig Interface = iota
	AddrChangeSig
	ContentChangeSig
	NameChangeSig
	AbiChangeSig
	PubkeyChangeSig
	TextChangeSig
	MultihashChangeSig
	ContentHashChangeSig
)

Interface enums

func (Interface) Bytes

func (e Interface) Bytes() [4]uint8

Bytes returns the bytes signature for an interface

func (Interface) EventSig

func (e Interface) EventSig() string

EventSig returns the event signature for an interface

func (Interface) Hex

func (e Interface) Hex() string

Hex returns the hex signature for an interface

Jump to

Keyboard shortcuts

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