utils

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Big0 = big.NewInt(0)
View Source
var Big1 = big.NewInt(1)
View Source
var ErrNotImplemented = errors.New("Not implemented")
View Source
var ProxyEventIds = []string{
	"ab64f92ab780ecbf4f3866f57cee465ff36c89450dcce20237ca7a8d81fb7d13",
	"50146d0e3c60aa1d17a70635b05494f864e86144a2201275021014fbf08bafe2",
}

Functions

func Dec

func Dec(val *big.Int) *big.Int

func Inc

func Inc(val *big.Int) *big.Int

func RemoveProxyLogs

func RemoveProxyLogs(logs []*types.Log) []*types.Log

RemoveProxyLogs filters out logs from Proxy events and returns a list of Logs that are safe to Parse using the implementation contract's abi.

func Sum

func Sum(values ...*big.Int) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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