contract

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

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

Go to latest
Published: Apr 1, 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.

Variables

This section is empty.

Functions

func DeploychancoinRandomize

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

DeploychancoinRandomize deploys a new Ethereum contract, binding an instance of chancoinRandomize to it.

func NewchancoinRandomize

func NewchancoinRandomize(address common.Address, backend bind.ContractBackend) (*chancoinRandomize, error)

NewchancoinRandomize creates a new instance of chancoinRandomize, bound to a specific deployed contract.

func NewchancoinRandomizeCaller

func NewchancoinRandomizeCaller(address common.Address, caller bind.ContractCaller) (*chancoinRandomizeCaller, error)

NewchancoinRandomizeCaller creates a new read-only instance of chancoinRandomize, bound to a specific deployed contract.

func NewchancoinRandomizeFilterer

func NewchancoinRandomizeFilterer(address common.Address, filterer bind.ContractFilterer) (*chancoinRandomizeFilterer, error)

NewchancoinRandomizeFilterer creates a new log filterer instance of chancoinRandomize, bound to a specific deployed contract.

func NewchancoinRandomizeTransactor

func NewchancoinRandomizeTransactor(address common.Address, transactor bind.ContractTransactor) (*chancoinRandomizeTransactor, error)

NewchancoinRandomizeTransactor creates a new write-only instance of chancoinRandomize, bound to a specific deployed contract.

Types

type RandomizeSession

type RandomizeSession struct {
	Contract     *chancoinRandomize // 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
}

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

func (*RandomizeSession) GetOpening

func (_chancoinRandomize *RandomizeSession) 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 (*RandomizeSession) GetSecret

func (_chancoinRandomize *RandomizeSession) 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 (*RandomizeSession) SetOpening

func (_chancoinRandomize *RandomizeSession) 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 (*RandomizeSession) SetSecret

func (_chancoinRandomize *RandomizeSession) 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 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.

Jump to

Keyboard shortcuts

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