contract

package
v1.4.11-beta1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: GPL-3.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 XDCRandomizeABI = "" /* 930-byte string literal not displayed */

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

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

XDCRandomizeBin 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 XDCRandomize

type XDCRandomize struct {
	XDCRandomizeCaller     // Read-only binding to the contract
	XDCRandomizeTransactor // Write-only binding to the contract
	XDCRandomizeFilterer   // Log filterer for contract events
}

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

func DeployXDCRandomize

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

DeployXDCRandomize deploys a new Ethereum contract, binding an instance of XDCRandomize to it.

func NewXDCRandomize

func NewXDCRandomize(address common.Address, backend bind.ContractBackend) (*XDCRandomize, error)

NewXDCRandomize creates a new instance of XDCRandomize, bound to a specific deployed contract.

type XDCRandomizeCaller

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

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

func NewXDCRandomizeCaller

func NewXDCRandomizeCaller(address common.Address, caller bind.ContractCaller) (*XDCRandomizeCaller, error)

NewXDCRandomizeCaller creates a new read-only instance of XDCRandomize, bound to a specific deployed contract.

func (*XDCRandomizeCaller) GetOpening

func (_XDCRandomize *XDCRandomizeCaller) 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 (*XDCRandomizeCaller) GetSecret

func (_XDCRandomize *XDCRandomizeCaller) 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 XDCRandomizeCallerRaw

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

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

func (*XDCRandomizeCallerRaw) Call

func (_XDCRandomize *XDCRandomizeCallerRaw) 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 XDCRandomizeCallerSession

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

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

func (*XDCRandomizeCallerSession) GetOpening

func (_XDCRandomize *XDCRandomizeCallerSession) 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 (*XDCRandomizeCallerSession) GetSecret

func (_XDCRandomize *XDCRandomizeCallerSession) 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 XDCRandomizeFilterer

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

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

func NewXDCRandomizeFilterer

func NewXDCRandomizeFilterer(address common.Address, filterer bind.ContractFilterer) (*XDCRandomizeFilterer, error)

NewXDCRandomizeFilterer creates a new log filterer instance of XDCRandomize, bound to a specific deployed contract.

type XDCRandomizeRaw

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

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

func (*XDCRandomizeRaw) Call

func (_XDCRandomize *XDCRandomizeRaw) 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 (*XDCRandomizeRaw) Transact

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

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

func (*XDCRandomizeRaw) Transfer

func (_XDCRandomize *XDCRandomizeRaw) 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 XDCRandomizeSession

type XDCRandomizeSession struct {
	Contract     *XDCRandomize     // 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
}

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

func (*XDCRandomizeSession) GetOpening

func (_XDCRandomize *XDCRandomizeSession) 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 (*XDCRandomizeSession) GetSecret

func (_XDCRandomize *XDCRandomizeSession) 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 (*XDCRandomizeSession) SetOpening

func (_XDCRandomize *XDCRandomizeSession) 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 (*XDCRandomizeSession) SetSecret

func (_XDCRandomize *XDCRandomizeSession) 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 XDCRandomizeTransactor

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

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

func NewXDCRandomizeTransactor

func NewXDCRandomizeTransactor(address common.Address, transactor bind.ContractTransactor) (*XDCRandomizeTransactor, error)

NewXDCRandomizeTransactor creates a new write-only instance of XDCRandomize, bound to a specific deployed contract.

func (*XDCRandomizeTransactor) SetOpening

func (_XDCRandomize *XDCRandomizeTransactor) 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 (*XDCRandomizeTransactor) SetSecret

func (_XDCRandomize *XDCRandomizeTransactor) 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 XDCRandomizeTransactorRaw

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

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

func (*XDCRandomizeTransactorRaw) Transact

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

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

func (*XDCRandomizeTransactorRaw) Transfer

func (_XDCRandomize *XDCRandomizeTransactorRaw) 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 XDCRandomizeTransactorSession

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

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

func (*XDCRandomizeTransactorSession) SetOpening

func (_XDCRandomize *XDCRandomizeTransactorSession) 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 (*XDCRandomizeTransactorSession) SetSecret

func (_XDCRandomize *XDCRandomizeTransactorSession) 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