contract

package
v0.0.0-...-b4cfd71 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 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 TaoRandomizeABI = "" /* 930-byte string literal not displayed */

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

View Source
const TaoRandomizeBin = `` /* 1708-byte string literal not displayed */

TaoRandomizeBin is the compiled bytecode used for deploying new contracts. const TaoRandomizeBin = `0x6060604052341561000f57600080fd5b6103368061001e6000396000f3006060604052600436106100615763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663284180fc811461006657806334d38600146100d8578063d442d6cc14610129578063e11f5ba21461015a575b600080fd5b341561007157600080fd5b610085600160a060020a0360043516610170565b60405160208082528190810183818151815260200191508051906020019060200280838360005b838110156100c45780820151838201526020016100ac565b505050509050019250505060405180910390f35b34156100e357600080fd5b61012760046024813581810190830135806020818102016040519081016040528093929190818152602001838360200280828437509496506101f395505050505050565b005b341561013457600080fd5b610148600160a060020a0360043516610243565b60405190815260200160405180910390f35b341561016557600080fd5b61012760043561025e565b61017861028e565b60008083600160a060020a0316600160a060020a031681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156101e757602002820191906000526020600020905b815481526001909101906020018083116101d2575b50505050509050919050565b610384430661032081101561020757600080fd5b610352811061021557600080fd5b600160a060020a033316600090815260208190526040902082805161023e9291602001906102a0565b505050565b600160a060020a031660009081526001602052604090205490565b610384430661035281101561027257600080fd5b50600160a060020a033316600090815260016020526040902055565b60206040519081016040526000815290565b8280548282559060005260206000209081019282156102dd579160200282015b828111156102dd57825182556020909201916001909101906102c0565b506102e99291506102ed565b5090565b61030791905b808211156102e957600081556001016102f3565b905600a165627a7a7230582034991c8dc4001fc254f3ba2811c05d2e7d29bee3908946ca56d1545b2c852de20029`

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 TaoRandomize

type TaoRandomize struct {
	TaoRandomizeCaller     // Read-only binding to the contract
	TaoRandomizeTransactor // Write-only binding to the contract
	TaoRandomizeFilterer   // Log filterer for contract events
}

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

func DeployTaoRandomize

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

DeployTaoRandomize deploys a new Ethereum contract, binding an instance of TaoRandomize to it.

func NewTaoRandomize

func NewTaoRandomize(address common.Address, backend bind.ContractBackend) (*TaoRandomize, error)

NewTaoRandomize creates a new instance of TaoRandomize, bound to a specific deployed contract.

type TaoRandomizeCaller

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

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

func NewTaoRandomizeCaller

func NewTaoRandomizeCaller(address common.Address, caller bind.ContractCaller) (*TaoRandomizeCaller, error)

NewTaoRandomizeCaller creates a new read-only instance of TaoRandomize, bound to a specific deployed contract.

func (*TaoRandomizeCaller) GetOpening

func (_TaoRandomize *TaoRandomizeCaller) 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 (*TaoRandomizeCaller) GetSecret

func (_TaoRandomize *TaoRandomizeCaller) 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 TaoRandomizeCallerRaw

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

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

func (*TaoRandomizeCallerRaw) Call

func (_TaoRandomize *TaoRandomizeCallerRaw) 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 TaoRandomizeCallerSession

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

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

func (*TaoRandomizeCallerSession) GetOpening

func (_TaoRandomize *TaoRandomizeCallerSession) 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 (*TaoRandomizeCallerSession) GetSecret

func (_TaoRandomize *TaoRandomizeCallerSession) 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 TaoRandomizeFilterer

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

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

func NewTaoRandomizeFilterer

func NewTaoRandomizeFilterer(address common.Address, filterer bind.ContractFilterer) (*TaoRandomizeFilterer, error)

NewTaoRandomizeFilterer creates a new log filterer instance of TaoRandomize, bound to a specific deployed contract.

type TaoRandomizeRaw

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

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

func (*TaoRandomizeRaw) Call

func (_TaoRandomize *TaoRandomizeRaw) 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 (*TaoRandomizeRaw) Transact

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

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

func (*TaoRandomizeRaw) Transfer

func (_TaoRandomize *TaoRandomizeRaw) 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 TaoRandomizeSession

type TaoRandomizeSession struct {
	Contract     *TaoRandomize     // 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
}

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

func (*TaoRandomizeSession) GetOpening

func (_TaoRandomize *TaoRandomizeSession) 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 (*TaoRandomizeSession) GetSecret

func (_TaoRandomize *TaoRandomizeSession) 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 (*TaoRandomizeSession) SetOpening

func (_TaoRandomize *TaoRandomizeSession) 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 (*TaoRandomizeSession) SetSecret

func (_TaoRandomize *TaoRandomizeSession) 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 TaoRandomizeTransactor

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

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

func NewTaoRandomizeTransactor

func NewTaoRandomizeTransactor(address common.Address, transactor bind.ContractTransactor) (*TaoRandomizeTransactor, error)

NewTaoRandomizeTransactor creates a new write-only instance of TaoRandomize, bound to a specific deployed contract.

func (*TaoRandomizeTransactor) SetOpening

func (_TaoRandomize *TaoRandomizeTransactor) 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 (*TaoRandomizeTransactor) SetSecret

func (_TaoRandomize *TaoRandomizeTransactor) 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 TaoRandomizeTransactorRaw

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

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

func (*TaoRandomizeTransactorRaw) Transact

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

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

func (*TaoRandomizeTransactorRaw) Transfer

func (_TaoRandomize *TaoRandomizeTransactorRaw) 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 TaoRandomizeTransactorSession

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

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

func (*TaoRandomizeTransactorSession) SetOpening

func (_TaoRandomize *TaoRandomizeTransactorSession) 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 (*TaoRandomizeTransactorSession) SetSecret

func (_TaoRandomize *TaoRandomizeTransactorSession) 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