Documentation ¶
Index ¶
- Constants
- Variables
- type Investors
- type InvestorsCaller
- func (_Investors *InvestorsCaller) FirstBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_Investors *InvestorsCaller) HsfToken(opts *bind.CallOpts) (common.Address, error)
- func (_Investors *InvestorsCaller) Institution(opts *bind.CallOpts) (common.Address, error)
- func (_Investors *InvestorsCaller) Institutionflag(opts *bind.CallOpts) (bool, error)
- func (_Investors *InvestorsCaller) Maneger(opts *bind.CallOpts) (common.Address, error)
- func (_Investors *InvestorsCaller) Startover(opts *bind.CallOpts) (*big.Int, error)
- func (_Investors *InvestorsCaller) UsToken(opts *bind.CallOpts) (common.Address, error)
- type InvestorsCallerRaw
- type InvestorsCallerSession
- func (_Investors *InvestorsCallerSession) FirstBlock() (*big.Int, error)
- func (_Investors *InvestorsCallerSession) HsfToken() (common.Address, error)
- func (_Investors *InvestorsCallerSession) Institution() (common.Address, error)
- func (_Investors *InvestorsCallerSession) Institutionflag() (bool, error)
- func (_Investors *InvestorsCallerSession) Maneger() (common.Address, error)
- func (_Investors *InvestorsCallerSession) Startover() (*big.Int, error)
- func (_Investors *InvestorsCallerSession) UsToken() (common.Address, error)
- type InvestorsFilterer
- type InvestorsRaw
- func (_Investors *InvestorsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Investors *InvestorsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Investors *InvestorsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type InvestorsSession
- func (_Investors *InvestorsSession) FirstBlock() (*big.Int, error)
- func (_Investors *InvestorsSession) HsfToken() (common.Address, error)
- func (_Investors *InvestorsSession) InitToken(hsfaddress common.Address, tcaddress common.Address) (*types.Transaction, error)
- func (_Investors *InvestorsSession) Institution() (common.Address, error)
- func (_Investors *InvestorsSession) Institutionflag() (bool, error)
- func (_Investors *InvestorsSession) Maneger() (common.Address, error)
- func (_Investors *InvestorsSession) PlaceBet(fromAdress common.Address, _betClass *big.Int, betAmount *big.Int) (*types.Transaction, error)
- func (_Investors *InvestorsSession) RemoveBet(toAddress common.Address, _betClass *big.Int, removeAmount *big.Int) (*types.Transaction, error)
- func (_Investors *InvestorsSession) ShareOut(bounces *big.Int) (*types.Transaction, error)
- func (_Investors *InvestorsSession) Startover() (*big.Int, error)
- func (_Investors *InvestorsSession) UsToken() (common.Address, error)
- type InvestorsTransactor
- func (_Investors *InvestorsTransactor) InitToken(opts *bind.TransactOpts, hsfaddress common.Address, tcaddress common.Address) (*types.Transaction, error)
- func (_Investors *InvestorsTransactor) PlaceBet(opts *bind.TransactOpts, fromAdress common.Address, _betClass *big.Int, ...) (*types.Transaction, error)
- func (_Investors *InvestorsTransactor) RemoveBet(opts *bind.TransactOpts, toAddress common.Address, _betClass *big.Int, ...) (*types.Transaction, error)
- func (_Investors *InvestorsTransactor) ShareOut(opts *bind.TransactOpts, bounces *big.Int) (*types.Transaction, error)
- type InvestorsTransactorRaw
- type InvestorsTransactorSession
- func (_Investors *InvestorsTransactorSession) InitToken(hsfaddress common.Address, tcaddress common.Address) (*types.Transaction, error)
- func (_Investors *InvestorsTransactorSession) PlaceBet(fromAdress common.Address, _betClass *big.Int, betAmount *big.Int) (*types.Transaction, error)
- func (_Investors *InvestorsTransactorSession) RemoveBet(toAddress common.Address, _betClass *big.Int, removeAmount *big.Int) (*types.Transaction, error)
- func (_Investors *InvestorsTransactorSession) ShareOut(bounces *big.Int) (*types.Transaction, error)
Constants ¶
const InvestorsABI = "" /* 2757-byte string literal not displayed */
InvestorsABI is the input ABI used to generate the binding from.
Variables ¶
var InvestorsBin = "" /* 25336-byte string literal not displayed */
InvestorsBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Investors ¶
type Investors struct { InvestorsCaller // Read-only binding to the contract InvestorsTransactor // Write-only binding to the contract InvestorsFilterer // Log filterer for contract events }
Investors is an auto generated Go binding around an Ethereum contract.
func DeployInvestors ¶
func DeployInvestors(auth *bind.TransactOpts, backend bind.ContractBackend, _startover *big.Int, _institutionflag bool, _institution common.Address) (common.Address, *types.Transaction, *Investors, error)
DeployInvestors deploys a new Ethereum contract, binding an instance of Investors to it.
func NewInvestors ¶
NewInvestors creates a new instance of Investors, bound to a specific deployed contract.
type InvestorsCaller ¶
type InvestorsCaller struct {
// contains filtered or unexported fields
}
InvestorsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewInvestorsCaller ¶
func NewInvestorsCaller(address common.Address, caller bind.ContractCaller) (*InvestorsCaller, error)
NewInvestorsCaller creates a new read-only instance of Investors, bound to a specific deployed contract.
func (*InvestorsCaller) FirstBlock ¶
FirstBlock is a free data retrieval call binding the contract method 0x231b0268.
Solidity: function firstBlock() view returns(uint256)
func (*InvestorsCaller) HsfToken ¶
HsfToken is a free data retrieval call binding the contract method 0xf1ce62b7.
Solidity: function hsfToken() view returns(address)
func (*InvestorsCaller) Institution ¶
Institution is a free data retrieval call binding the contract method 0xd1384eb6.
Solidity: function institution() view returns(address)
func (*InvestorsCaller) Institutionflag ¶
func (_Investors *InvestorsCaller) Institutionflag(opts *bind.CallOpts) (bool, error)
Institutionflag is a free data retrieval call binding the contract method 0x7929ce1e.
Solidity: function institutionflag() view returns(bool)
func (*InvestorsCaller) Maneger ¶
Maneger is a free data retrieval call binding the contract method 0xd5091834.
Solidity: function maneger() view returns(address)
type InvestorsCallerRaw ¶
type InvestorsCallerRaw struct {
Contract *InvestorsCaller // Generic read-only contract binding to access the raw methods on
}
InvestorsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*InvestorsCallerRaw) Call ¶
func (_Investors *InvestorsCallerRaw) 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 InvestorsCallerSession ¶
type InvestorsCallerSession struct { Contract *InvestorsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
InvestorsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*InvestorsCallerSession) FirstBlock ¶
func (_Investors *InvestorsCallerSession) FirstBlock() (*big.Int, error)
FirstBlock is a free data retrieval call binding the contract method 0x231b0268.
Solidity: function firstBlock() view returns(uint256)
func (*InvestorsCallerSession) HsfToken ¶
func (_Investors *InvestorsCallerSession) HsfToken() (common.Address, error)
HsfToken is a free data retrieval call binding the contract method 0xf1ce62b7.
Solidity: function hsfToken() view returns(address)
func (*InvestorsCallerSession) Institution ¶
func (_Investors *InvestorsCallerSession) Institution() (common.Address, error)
Institution is a free data retrieval call binding the contract method 0xd1384eb6.
Solidity: function institution() view returns(address)
func (*InvestorsCallerSession) Institutionflag ¶
func (_Investors *InvestorsCallerSession) Institutionflag() (bool, error)
Institutionflag is a free data retrieval call binding the contract method 0x7929ce1e.
Solidity: function institutionflag() view returns(bool)
func (*InvestorsCallerSession) Maneger ¶
func (_Investors *InvestorsCallerSession) Maneger() (common.Address, error)
Maneger is a free data retrieval call binding the contract method 0xd5091834.
Solidity: function maneger() view returns(address)
type InvestorsFilterer ¶
type InvestorsFilterer struct {
// contains filtered or unexported fields
}
InvestorsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewInvestorsFilterer ¶
func NewInvestorsFilterer(address common.Address, filterer bind.ContractFilterer) (*InvestorsFilterer, error)
NewInvestorsFilterer creates a new log filterer instance of Investors, bound to a specific deployed contract.
type InvestorsRaw ¶
type InvestorsRaw struct {
Contract *Investors // Generic contract binding to access the raw methods on
}
InvestorsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*InvestorsRaw) Call ¶
func (_Investors *InvestorsRaw) 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 (*InvestorsRaw) Transact ¶
func (_Investors *InvestorsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InvestorsRaw) Transfer ¶
func (_Investors *InvestorsRaw) 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 InvestorsSession ¶
type InvestorsSession struct { Contract *Investors // 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 }
InvestorsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*InvestorsSession) FirstBlock ¶
func (_Investors *InvestorsSession) FirstBlock() (*big.Int, error)
FirstBlock is a free data retrieval call binding the contract method 0x231b0268.
Solidity: function firstBlock() view returns(uint256)
func (*InvestorsSession) HsfToken ¶
func (_Investors *InvestorsSession) HsfToken() (common.Address, error)
HsfToken is a free data retrieval call binding the contract method 0xf1ce62b7.
Solidity: function hsfToken() view returns(address)
func (*InvestorsSession) InitToken ¶
func (_Investors *InvestorsSession) InitToken(hsfaddress common.Address, tcaddress common.Address) (*types.Transaction, error)
InitToken is a paid mutator transaction binding the contract method 0xba2b6bad.
Solidity: function initToken(address hsfaddress, address tcaddress) returns()
func (*InvestorsSession) Institution ¶
func (_Investors *InvestorsSession) Institution() (common.Address, error)
Institution is a free data retrieval call binding the contract method 0xd1384eb6.
Solidity: function institution() view returns(address)
func (*InvestorsSession) Institutionflag ¶
func (_Investors *InvestorsSession) Institutionflag() (bool, error)
Institutionflag is a free data retrieval call binding the contract method 0x7929ce1e.
Solidity: function institutionflag() view returns(bool)
func (*InvestorsSession) Maneger ¶
func (_Investors *InvestorsSession) Maneger() (common.Address, error)
Maneger is a free data retrieval call binding the contract method 0xd5091834.
Solidity: function maneger() view returns(address)
func (*InvestorsSession) PlaceBet ¶
func (_Investors *InvestorsSession) PlaceBet(fromAdress common.Address, _betClass *big.Int, betAmount *big.Int) (*types.Transaction, error)
PlaceBet is a paid mutator transaction binding the contract method 0xf231a4f6.
Solidity: function placeBet(address fromAdress, uint256 _betClass, uint256 betAmount) payable returns(bool success)
func (*InvestorsSession) RemoveBet ¶
func (_Investors *InvestorsSession) RemoveBet(toAddress common.Address, _betClass *big.Int, removeAmount *big.Int) (*types.Transaction, error)
RemoveBet is a paid mutator transaction binding the contract method 0x8a9faad2.
Solidity: function removeBet(address toAddress, uint256 _betClass, uint256 removeAmount) payable returns(bool success)
func (*InvestorsSession) ShareOut ¶
func (_Investors *InvestorsSession) ShareOut(bounces *big.Int) (*types.Transaction, error)
ShareOut is a paid mutator transaction binding the contract method 0x35400d66.
Solidity: function shareOut(uint256 bounces) payable returns()
type InvestorsTransactor ¶
type InvestorsTransactor struct {
// contains filtered or unexported fields
}
InvestorsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewInvestorsTransactor ¶
func NewInvestorsTransactor(address common.Address, transactor bind.ContractTransactor) (*InvestorsTransactor, error)
NewInvestorsTransactor creates a new write-only instance of Investors, bound to a specific deployed contract.
func (*InvestorsTransactor) InitToken ¶
func (_Investors *InvestorsTransactor) InitToken(opts *bind.TransactOpts, hsfaddress common.Address, tcaddress common.Address) (*types.Transaction, error)
InitToken is a paid mutator transaction binding the contract method 0xba2b6bad.
Solidity: function initToken(address hsfaddress, address tcaddress) returns()
func (*InvestorsTransactor) PlaceBet ¶
func (_Investors *InvestorsTransactor) PlaceBet(opts *bind.TransactOpts, fromAdress common.Address, _betClass *big.Int, betAmount *big.Int) (*types.Transaction, error)
PlaceBet is a paid mutator transaction binding the contract method 0xf231a4f6.
Solidity: function placeBet(address fromAdress, uint256 _betClass, uint256 betAmount) payable returns(bool success)
func (*InvestorsTransactor) RemoveBet ¶
func (_Investors *InvestorsTransactor) RemoveBet(opts *bind.TransactOpts, toAddress common.Address, _betClass *big.Int, removeAmount *big.Int) (*types.Transaction, error)
RemoveBet is a paid mutator transaction binding the contract method 0x8a9faad2.
Solidity: function removeBet(address toAddress, uint256 _betClass, uint256 removeAmount) payable returns(bool success)
func (*InvestorsTransactor) ShareOut ¶
func (_Investors *InvestorsTransactor) ShareOut(opts *bind.TransactOpts, bounces *big.Int) (*types.Transaction, error)
ShareOut is a paid mutator transaction binding the contract method 0x35400d66.
Solidity: function shareOut(uint256 bounces) payable returns()
type InvestorsTransactorRaw ¶
type InvestorsTransactorRaw struct {
Contract *InvestorsTransactor // Generic write-only contract binding to access the raw methods on
}
InvestorsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*InvestorsTransactorRaw) Transact ¶
func (_Investors *InvestorsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*InvestorsTransactorRaw) Transfer ¶
func (_Investors *InvestorsTransactorRaw) 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 InvestorsTransactorSession ¶
type InvestorsTransactorSession struct { Contract *InvestorsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
InvestorsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*InvestorsTransactorSession) InitToken ¶
func (_Investors *InvestorsTransactorSession) InitToken(hsfaddress common.Address, tcaddress common.Address) (*types.Transaction, error)
InitToken is a paid mutator transaction binding the contract method 0xba2b6bad.
Solidity: function initToken(address hsfaddress, address tcaddress) returns()
func (*InvestorsTransactorSession) PlaceBet ¶
func (_Investors *InvestorsTransactorSession) PlaceBet(fromAdress common.Address, _betClass *big.Int, betAmount *big.Int) (*types.Transaction, error)
PlaceBet is a paid mutator transaction binding the contract method 0xf231a4f6.
Solidity: function placeBet(address fromAdress, uint256 _betClass, uint256 betAmount) payable returns(bool success)
func (*InvestorsTransactorSession) RemoveBet ¶
func (_Investors *InvestorsTransactorSession) RemoveBet(toAddress common.Address, _betClass *big.Int, removeAmount *big.Int) (*types.Transaction, error)
RemoveBet is a paid mutator transaction binding the contract method 0x8a9faad2.
Solidity: function removeBet(address toAddress, uint256 _betClass, uint256 removeAmount) payable returns(bool success)
func (*InvestorsTransactorSession) ShareOut ¶
func (_Investors *InvestorsTransactorSession) ShareOut(bounces *big.Int) (*types.Transaction, error)
ShareOut is a paid mutator transaction binding the contract method 0x35400d66.
Solidity: function shareOut(uint256 bounces) payable returns()