gnosis

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: LGPL-2.1 Imports: 3 Imported by: 0

README

gnosis-safe-kit-go

Generate Go from Solidity

make gen

Run examples

make examples

Usage

Generic targets:
  all                         - Build all targets marked with [*]
* examples

Code generation targets:
  gen                         - Generate Go code from various sources

Examples targets:
  examples                    - Build all examples

Test targets:
  test                        - Run all tests

Cleaning targets:
  clean                       - Remove built executables

Execute "make" or "make all" to build all targets marked with [*]
For further info see the ./README.md file

Documentation

Index

Constants

View Source
const (
	Call         uint8 = 0
	DelegateCall uint8 = 1
)

Variables

NewProxyFactory creates a new instance of ProxyFactory, bound to a specific deployed contract.

NewSafe creates a new instance of Safe, bound to a specific deployed contract.

Functions

This section is empty.

Types

type ProxyFactory

type ProxyFactory = contracts.GnosisSafeProxyFactory

ProxyFactory is an auto generated Go binding around an Ethereum contract.

type Safe

type Safe = contracts.GnosisSafe

Safe is an auto generated Go binding around an Ethereum contract.

type SafeTransaction

type SafeTransaction struct {
	To             common.Address
	Value          *big.Int
	Data           []byte
	Operation      uint8
	SafeTxGas      *big.Int
	BaseGas        *big.Int
	GasPrice       *big.Int
	GasToken       common.Address
	RefundReceiver common.Address
	Signature      []byte
}

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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