shared

package
Version: v0.0.0-...-92d7ebd Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NullToZero

func NullToZero(str string) string

Types

type BurnEntity

type BurnEntity struct {
	Burner common.Address
	Value  *big.Int
}

type CoinBalanceRecord

type CoinBalanceRecord struct {
	HeaderID    int64  `db:"header_id"`
	Address     []byte `db:"address_hash"`
	BlockNumber int64  `db:"block_number"`
	Value       string
}

type DepositEntity

type DepositEntity struct {
	Dst common.Address
	Wad *big.Int
}

type DestroyedBlackFundsEntity

type DestroyedBlackFundsEntity struct {
	BlackListedUser common.Address
	Balance         *big.Int
}

type IssueEntity

type IssueEntity struct {
	Amount *big.Int
}

type MintEntity

type MintEntity struct {
	To     common.Address
	Amount *big.Int
}

type RedeemEntity

type RedeemEntity struct {
	Amount *big.Int
}

type TokenBalanceRecord

type TokenBalanceRecord struct {
	Address         []byte `db:"address_hash"`
	BlockNumber     int64  `db:"block_number"`
	ContractAddress []byte `db:"token_contract_address_hash"`
	Value           string
}

type TransferEntity

type TransferEntity struct {
	From  common.Address
	To    common.Address
	Value *big.Int
}

type TransferFromEntity

type TransferFromEntity struct {
	Spender common.Address
	From    common.Address
	To      common.Address
	Value   *big.Int
}

type WipeBlacklistedAccountEntity

type WipeBlacklistedAccountEntity struct {
	Account common.Address
	Balance *big.Int
}

type WipedAccountEntity

type WipedAccountEntity struct {
	Account common.Address
	Balance *big.Int
}

type WithdrawalEntity

type WithdrawalEntity struct {
	Src common.Address
	Wad *big.Int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL