contract

package
v1.5.7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SafeMathABI = "[]"

SafeMathABI is the input ABI used to generate the binding from.

View Source
const SafeMathBin = `` /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
const TomoRandomizeABI = "" /* 930-byte string literal not displayed */

TomoRandomizeABI is the input ABI used to generate the binding from.

View Source
const TomoRandomizeBin = `` /* 1706-byte string literal not displayed */

TomoRandomizeBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

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

func DeploySafeMath

func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)

DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

type SafeMathCaller struct {
	// contains filtered or unexported fields
}

SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSafeMathCaller

func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

type SafeMathCallerRaw struct {
	Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}

SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type SafeMathCallerSession

type SafeMathCallerSession struct {
	Contract *SafeMathCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type SafeMathFilterer

type SafeMathFilterer struct {
	// contains filtered or unexported fields
}

SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSafeMathFilterer

func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

type SafeMathRaw struct {
	Contract *SafeMath // Generic contract binding to access the raw methods on
}

SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*SafeMathRaw) Transact

func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type SafeMathTransactor

type SafeMathTransactor struct {
	// contains filtered or unexported fields
}

SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSafeMathTransactor

func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

type SafeMathTransactorRaw struct {
	Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}

SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SafeMathTransactorRaw) Transact

func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SafeMathTransactorSession

type SafeMathTransactorSession struct {
	Contract     *SafeMathTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

type TomoRandomize

type TomoRandomize struct {
	TomoRandomizeCaller     // Read-only binding to the contract
	TomoRandomizeTransactor // Write-only binding to the contract
	TomoRandomizeFilterer   // Log filterer for contract events
}

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

func DeployTomoRandomize

func DeployTomoRandomize(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TomoRandomize, error)

DeployTomoRandomize deploys a new Ethereum contract, binding an instance of TomoRandomize to it.

func NewTomoRandomize

func NewTomoRandomize(address common.Address, backend bind.ContractBackend) (*TomoRandomize, error)

NewTomoRandomize creates a new instance of TomoRandomize, bound to a specific deployed contract.

type TomoRandomizeCaller

type TomoRandomizeCaller struct {
	// contains filtered or unexported fields
}

TomoRandomizeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTomoRandomizeCaller

func NewTomoRandomizeCaller(address common.Address, caller bind.ContractCaller) (*TomoRandomizeCaller, error)

NewTomoRandomizeCaller creates a new read-only instance of TomoRandomize, bound to a specific deployed contract.

func (*TomoRandomizeCaller) GetOpening

func (_TomoRandomize *TomoRandomizeCaller) GetOpening(opts *bind.CallOpts, _validator common.Address) ([32]byte, error)

GetOpening is a free data retrieval call binding the contract method 0xd442d6cc.

Solidity: function getOpening(_validator address) constant returns(bytes32)

func (*TomoRandomizeCaller) GetSecret

func (_TomoRandomize *TomoRandomizeCaller) GetSecret(opts *bind.CallOpts, _validator common.Address) ([][32]byte, error)

GetSecret is a free data retrieval call binding the contract method 0x284180fc.

Solidity: function getSecret(_validator address) constant returns(bytes32[])

type TomoRandomizeCallerRaw

type TomoRandomizeCallerRaw struct {
	Contract *TomoRandomizeCaller // Generic read-only contract binding to access the raw methods on
}

TomoRandomizeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TomoRandomizeCallerRaw) Call

func (_TomoRandomize *TomoRandomizeCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type TomoRandomizeCallerSession

type TomoRandomizeCallerSession struct {
	Contract *TomoRandomizeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

TomoRandomizeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TomoRandomizeCallerSession) GetOpening

func (_TomoRandomize *TomoRandomizeCallerSession) GetOpening(_validator common.Address) ([32]byte, error)

GetOpening is a free data retrieval call binding the contract method 0xd442d6cc.

Solidity: function getOpening(_validator address) constant returns(bytes32)

func (*TomoRandomizeCallerSession) GetSecret

func (_TomoRandomize *TomoRandomizeCallerSession) GetSecret(_validator common.Address) ([][32]byte, error)

GetSecret is a free data retrieval call binding the contract method 0x284180fc.

Solidity: function getSecret(_validator address) constant returns(bytes32[])

type TomoRandomizeFilterer

type TomoRandomizeFilterer struct {
	// contains filtered or unexported fields
}

TomoRandomizeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTomoRandomizeFilterer

func NewTomoRandomizeFilterer(address common.Address, filterer bind.ContractFilterer) (*TomoRandomizeFilterer, error)

NewTomoRandomizeFilterer creates a new log filterer instance of TomoRandomize, bound to a specific deployed contract.

type TomoRandomizeRaw

type TomoRandomizeRaw struct {
	Contract *TomoRandomize // Generic contract binding to access the raw methods on
}

TomoRandomizeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TomoRandomizeRaw) Call

func (_TomoRandomize *TomoRandomizeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*TomoRandomizeRaw) Transact

func (_TomoRandomize *TomoRandomizeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TomoRandomizeRaw) Transfer

func (_TomoRandomize *TomoRandomizeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TomoRandomizeSession

type TomoRandomizeSession struct {
	Contract     *TomoRandomize    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TomoRandomizeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TomoRandomizeSession) GetOpening

func (_TomoRandomize *TomoRandomizeSession) GetOpening(_validator common.Address) ([32]byte, error)

GetOpening is a free data retrieval call binding the contract method 0xd442d6cc.

Solidity: function getOpening(_validator address) constant returns(bytes32)

func (*TomoRandomizeSession) GetSecret

func (_TomoRandomize *TomoRandomizeSession) GetSecret(_validator common.Address) ([][32]byte, error)

GetSecret is a free data retrieval call binding the contract method 0x284180fc.

Solidity: function getSecret(_validator address) constant returns(bytes32[])

func (*TomoRandomizeSession) SetOpening

func (_TomoRandomize *TomoRandomizeSession) SetOpening(_opening [32]byte) (*types.Transaction, error)

SetOpening is a paid mutator transaction binding the contract method 0xe11f5ba2.

Solidity: function setOpening(_opening bytes32) returns()

func (*TomoRandomizeSession) SetSecret

func (_TomoRandomize *TomoRandomizeSession) SetSecret(_secret [][32]byte) (*types.Transaction, error)

SetSecret is a paid mutator transaction binding the contract method 0x34d38600.

Solidity: function setSecret(_secret bytes32[]) returns()

type TomoRandomizeTransactor

type TomoRandomizeTransactor struct {
	// contains filtered or unexported fields
}

TomoRandomizeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTomoRandomizeTransactor

func NewTomoRandomizeTransactor(address common.Address, transactor bind.ContractTransactor) (*TomoRandomizeTransactor, error)

NewTomoRandomizeTransactor creates a new write-only instance of TomoRandomize, bound to a specific deployed contract.

func (*TomoRandomizeTransactor) SetOpening

func (_TomoRandomize *TomoRandomizeTransactor) SetOpening(opts *bind.TransactOpts, _opening [32]byte) (*types.Transaction, error)

SetOpening is a paid mutator transaction binding the contract method 0xe11f5ba2.

Solidity: function setOpening(_opening bytes32) returns()

func (*TomoRandomizeTransactor) SetSecret

func (_TomoRandomize *TomoRandomizeTransactor) SetSecret(opts *bind.TransactOpts, _secret [][32]byte) (*types.Transaction, error)

SetSecret is a paid mutator transaction binding the contract method 0x34d38600.

Solidity: function setSecret(_secret bytes32[]) returns()

type TomoRandomizeTransactorRaw

type TomoRandomizeTransactorRaw struct {
	Contract *TomoRandomizeTransactor // Generic write-only contract binding to access the raw methods on
}

TomoRandomizeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TomoRandomizeTransactorRaw) Transact

func (_TomoRandomize *TomoRandomizeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TomoRandomizeTransactorRaw) Transfer

func (_TomoRandomize *TomoRandomizeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TomoRandomizeTransactorSession

type TomoRandomizeTransactorSession struct {
	Contract     *TomoRandomizeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

TomoRandomizeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*TomoRandomizeTransactorSession) SetOpening

func (_TomoRandomize *TomoRandomizeTransactorSession) SetOpening(_opening [32]byte) (*types.Transaction, error)

SetOpening is a paid mutator transaction binding the contract method 0xe11f5ba2.

Solidity: function setOpening(_opening bytes32) returns()

func (*TomoRandomizeTransactorSession) SetSecret

func (_TomoRandomize *TomoRandomizeTransactorSession) SetSecret(_secret [][32]byte) (*types.Transaction, error)

SetSecret is a paid mutator transaction binding the contract method 0x34d38600.

Solidity: function setSecret(_secret bytes32[]) returns()

Jump to

Keyboard shortcuts

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