ethereum

package
v0.0.0-...-4b70303 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Mutex = &sync.Mutex{}

Mutex to keep the nonces in order

Functions

func GetBalance

func GetBalance(_targetAddress string) (*big.Int, error)

GetBalance will return the balance of a user

func KYCPassed

func KYCPassed(_address string, _live bool) error

KYCPassed will add an address to the list of allowed accounts to interact with the ditCoordinator(s) in the demo and/or live contract.

func SendDitTokens

func SendDitTokens(_targetAddress string) error

SendDitTokens will send a specified amount of xDit tokens to the target address

func SendXDaiCent

func SendXDaiCent(_targetAddress string) error

SendXDaiCent will send a cent of xDai to the target address

Types

This section is empty.

Jump to

Keyboard shortcuts

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