stamp_token

package module
v0.0.0-...-06687b3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: BSD-2-Clause Imports: 11 Imported by: 0

README

Bmail_token

smart contract for mining mail token

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Active

func Active(amount *big.Int, url, address string, privateKey *ecdsa.PrivateKey) (*types.Transaction, error)

func EthBalance

func EthBalance(url, address string) (*big.Int, error)

func SetConnectionSaver

func SetConnectionSaver(connSaver ConnectionSaver)

Types

type ConnectionSaver

type ConnectionSaver func(fd int32) bool

type Details

type Details struct {
	Issuer  common.Address `json:"issuer"`
	Name    string         `json:"name"`
	Symbol  string         `json:"symbol"`
	IconUrl string         `json:"icon"`
	Balance int64          `json:"balance"`
	Active  int64          `json:"active"`
	Epoch   int64          `json:"epoch"`
}

func DetailsOfStamp

func DetailsOfStamp(url string, stampAddr, userAddr common.Address) (*Details, error)

Jump to

Keyboard shortcuts

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