contract

package
v0.0.0-...-8b95722 Latest Latest
Warning

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

Go to latest
Published: May 27, 2019 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 TyslinRandomizeABI = "" /* 930-byte string literal not displayed */

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

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

TyslinRandomizeBin 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 TyslinRandomize

type TyslinRandomize struct {
	TyslinRandomizeCaller     // Read-only binding to the contract
	TyslinRandomizeTransactor // Write-only binding to the contract
	TyslinRandomizeFilterer   // Log filterer for contract events
}

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

func DeployTyslinRandomize

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

DeployTyslinRandomize deploys a new Ethereum contract, binding an instance of TyslinRandomize to it.

func NewTyslinRandomize

func NewTyslinRandomize(address common.Address, backend bind.ContractBackend) (*TyslinRandomize, error)

NewTyslinRandomize creates a new instance of TyslinRandomize, bound to a specific deployed contract.

type TyslinRandomizeCaller

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

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

func NewTyslinRandomizeCaller

func NewTyslinRandomizeCaller(address common.Address, caller bind.ContractCaller) (*TyslinRandomizeCaller, error)

NewTyslinRandomizeCaller creates a new read-only instance of TyslinRandomize, bound to a specific deployed contract.

func (*TyslinRandomizeCaller) GetOpening

func (_TyslinRandomize *TyslinRandomizeCaller) 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 (*TyslinRandomizeCaller) GetSecret

func (_TyslinRandomize *TyslinRandomizeCaller) 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 TyslinRandomizeCallerRaw

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

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

func (*TyslinRandomizeCallerRaw) Call

func (_TyslinRandomize *TyslinRandomizeCallerRaw) 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 TyslinRandomizeCallerSession

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

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

func (*TyslinRandomizeCallerSession) GetOpening

func (_TyslinRandomize *TyslinRandomizeCallerSession) 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 (*TyslinRandomizeCallerSession) GetSecret

func (_TyslinRandomize *TyslinRandomizeCallerSession) 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 TyslinRandomizeFilterer

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

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

func NewTyslinRandomizeFilterer

func NewTyslinRandomizeFilterer(address common.Address, filterer bind.ContractFilterer) (*TyslinRandomizeFilterer, error)

NewTyslinRandomizeFilterer creates a new log filterer instance of TyslinRandomize, bound to a specific deployed contract.

type TyslinRandomizeRaw

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

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

func (*TyslinRandomizeRaw) Call

func (_TyslinRandomize *TyslinRandomizeRaw) 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 (*TyslinRandomizeRaw) Transact

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

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

func (*TyslinRandomizeRaw) Transfer

func (_TyslinRandomize *TyslinRandomizeRaw) 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 TyslinRandomizeSession

type TyslinRandomizeSession struct {
	Contract     *TyslinRandomize  // 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
}

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

func (*TyslinRandomizeSession) GetOpening

func (_TyslinRandomize *TyslinRandomizeSession) 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 (*TyslinRandomizeSession) GetSecret

func (_TyslinRandomize *TyslinRandomizeSession) 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 (*TyslinRandomizeSession) SetOpening

func (_TyslinRandomize *TyslinRandomizeSession) 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 (*TyslinRandomizeSession) SetSecret

func (_TyslinRandomize *TyslinRandomizeSession) 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 TyslinRandomizeTransactor

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

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

func NewTyslinRandomizeTransactor

func NewTyslinRandomizeTransactor(address common.Address, transactor bind.ContractTransactor) (*TyslinRandomizeTransactor, error)

NewTyslinRandomizeTransactor creates a new write-only instance of TyslinRandomize, bound to a specific deployed contract.

func (*TyslinRandomizeTransactor) SetOpening

func (_TyslinRandomize *TyslinRandomizeTransactor) 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 (*TyslinRandomizeTransactor) SetSecret

func (_TyslinRandomize *TyslinRandomizeTransactor) 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 TyslinRandomizeTransactorRaw

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

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

func (*TyslinRandomizeTransactorRaw) Transact

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

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

func (*TyslinRandomizeTransactorRaw) Transfer

func (_TyslinRandomize *TyslinRandomizeTransactorRaw) 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 TyslinRandomizeTransactorSession

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

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

func (*TyslinRandomizeTransactorSession) SetOpening

func (_TyslinRandomize *TyslinRandomizeTransactorSession) 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 (*TyslinRandomizeTransactorSession) SetSecret

func (_TyslinRandomize *TyslinRandomizeTransactorSession) 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