contract

package
v0.0.0-...-7037f4e Latest Latest
Warning

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

Go to latest
Published: Jul 25, 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 SdxRandomizeABI = "" /* 930-byte string literal not displayed */

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

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

SdxRandomizeBin 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 SdxRandomize

type SdxRandomize struct {
	SdxRandomizeCaller     // Read-only binding to the contract
	SdxRandomizeTransactor // Write-only binding to the contract
	SdxRandomizeFilterer   // Log filterer for contract events
}

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

func DeploySdxRandomize

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

DeploySdxRandomize deploys a new Ethereum contract, binding an instance of SdxRandomize to it.

func NewSdxRandomize

func NewSdxRandomize(address common.Address, backend bind.ContractBackend) (*SdxRandomize, error)

NewSdxRandomize creates a new instance of SdxRandomize, bound to a specific deployed contract.

type SdxRandomizeCaller

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

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

func NewSdxRandomizeCaller

func NewSdxRandomizeCaller(address common.Address, caller bind.ContractCaller) (*SdxRandomizeCaller, error)

NewSdxRandomizeCaller creates a new read-only instance of SdxRandomize, bound to a specific deployed contract.

func (*SdxRandomizeCaller) GetOpening

func (_SdxRandomize *SdxRandomizeCaller) 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 (*SdxRandomizeCaller) GetSecret

func (_SdxRandomize *SdxRandomizeCaller) 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 SdxRandomizeCallerRaw

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

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

func (*SdxRandomizeCallerRaw) Call

func (_SdxRandomize *SdxRandomizeCallerRaw) 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 SdxRandomizeCallerSession

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

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

func (*SdxRandomizeCallerSession) GetOpening

func (_SdxRandomize *SdxRandomizeCallerSession) 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 (*SdxRandomizeCallerSession) GetSecret

func (_SdxRandomize *SdxRandomizeCallerSession) 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 SdxRandomizeFilterer

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

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

func NewSdxRandomizeFilterer

func NewSdxRandomizeFilterer(address common.Address, filterer bind.ContractFilterer) (*SdxRandomizeFilterer, error)

NewSdxRandomizeFilterer creates a new log filterer instance of SdxRandomize, bound to a specific deployed contract.

type SdxRandomizeRaw

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

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

func (*SdxRandomizeRaw) Call

func (_SdxRandomize *SdxRandomizeRaw) 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 (*SdxRandomizeRaw) Transact

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

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

func (*SdxRandomizeRaw) Transfer

func (_SdxRandomize *SdxRandomizeRaw) 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 SdxRandomizeSession

type SdxRandomizeSession struct {
	Contract     *SdxRandomize     // 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
}

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

func (*SdxRandomizeSession) GetOpening

func (_SdxRandomize *SdxRandomizeSession) 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 (*SdxRandomizeSession) GetSecret

func (_SdxRandomize *SdxRandomizeSession) 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 (*SdxRandomizeSession) SetOpening

func (_SdxRandomize *SdxRandomizeSession) 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 (*SdxRandomizeSession) SetSecret

func (_SdxRandomize *SdxRandomizeSession) 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 SdxRandomizeTransactor

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

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

func NewSdxRandomizeTransactor

func NewSdxRandomizeTransactor(address common.Address, transactor bind.ContractTransactor) (*SdxRandomizeTransactor, error)

NewSdxRandomizeTransactor creates a new write-only instance of SdxRandomize, bound to a specific deployed contract.

func (*SdxRandomizeTransactor) SetOpening

func (_SdxRandomize *SdxRandomizeTransactor) 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 (*SdxRandomizeTransactor) SetSecret

func (_SdxRandomize *SdxRandomizeTransactor) 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 SdxRandomizeTransactorRaw

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

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

func (*SdxRandomizeTransactorRaw) Transact

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

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

func (*SdxRandomizeTransactorRaw) Transfer

func (_SdxRandomize *SdxRandomizeTransactorRaw) 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 SdxRandomizeTransactorSession

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

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

func (*SdxRandomizeTransactorSession) SetOpening

func (_SdxRandomize *SdxRandomizeTransactorSession) 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 (*SdxRandomizeTransactorSession) SetSecret

func (_SdxRandomize *SdxRandomizeTransactorSession) 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