Documentation ¶
Index ¶
- Constants
- type Faucet
- type FaucetCaller
- type FaucetCallerRaw
- type FaucetCallerSession
- type FaucetFilterer
- type FaucetRaw
- func (_Faucet *FaucetRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Faucet *FaucetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Faucet *FaucetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FaucetSession
- type FaucetTransactor
- type FaucetTransactorRaw
- type FaucetTransactorSession
- type Lottery
- type LotteryCaller
- type LotteryCallerRaw
- type LotteryCallerSession
- type LotteryFilterer
- type LotteryRaw
- func (_Lottery *LotteryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Lottery *LotteryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Lottery *LotteryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LotterySession
- func (_Lottery *LotterySession) Enter() (*types.Transaction, error)
- func (_Lottery *LotterySession) GetPlayers() ([]common.Address, error)
- func (_Lottery *LotterySession) Manager() (common.Address, error)
- func (_Lottery *LotterySession) PickWinner() (*types.Transaction, error)
- func (_Lottery *LotterySession) Players(arg0 *big.Int) (common.Address, error)
- type LotteryTransactor
- type LotteryTransactorRaw
- type LotteryTransactorSession
- type Puzzle
- type PuzzleCaller
- type PuzzleCallerRaw
- type PuzzleCallerSession
- type PuzzleFilterer
- type PuzzleRaw
- func (_Puzzle *PuzzleRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Puzzle *PuzzleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Puzzle *PuzzleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PuzzleSession
- func (_Puzzle *PuzzleSession) EndGame(player common.Address) (*types.Transaction, error)
- func (_Puzzle *PuzzleSession) GetPlayers() ([]common.Address, error)
- func (_Puzzle *PuzzleSession) Manager() (common.Address, error)
- func (_Puzzle *PuzzleSession) Payout(player common.Address, level *big.Int, arg2 string) (*types.Transaction, error)
- func (_Puzzle *PuzzleSession) Play() (*types.Transaction, error)
- func (_Puzzle *PuzzleSession) Players(arg0 *big.Int) (common.Address, error)
- func (_Puzzle *PuzzleSession) Reset() (*types.Transaction, error)
- func (_Puzzle *PuzzleSession) ResetPlayer(player common.Address) (*types.Transaction, error)
- func (_Puzzle *PuzzleSession) SetLevel(player common.Address, level *big.Int) (*types.Transaction, error)
- type PuzzleTransactor
- func (_Puzzle *PuzzleTransactor) EndGame(opts *bind.TransactOpts, player common.Address) (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactor) Payout(opts *bind.TransactOpts, player common.Address, level *big.Int, arg2 string) (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactor) Play(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactor) Reset(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactor) ResetPlayer(opts *bind.TransactOpts, player common.Address) (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactor) SetLevel(opts *bind.TransactOpts, player common.Address, level *big.Int) (*types.Transaction, error)
- type PuzzleTransactorRaw
- type PuzzleTransactorSession
- func (_Puzzle *PuzzleTransactorSession) EndGame(player common.Address) (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactorSession) Payout(player common.Address, level *big.Int, arg2 string) (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactorSession) Play() (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactorSession) Reset() (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactorSession) ResetPlayer(player common.Address) (*types.Transaction, error)
- func (_Puzzle *PuzzleTransactorSession) SetLevel(player common.Address, level *big.Int) (*types.Transaction, error)
- type StakeLockContract
- type StakeLockContractCaller
- func (_StakeLockContract *StakeLockContractCaller) BalanceOf(opts *bind.CallOpts, _of common.Address) (*big.Int, error)
- func (_StakeLockContract *StakeLockContractCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_StakeLockContract *StakeLockContractCaller) GetUnlockableTokens(opts *bind.CallOpts, _of common.Address) (*big.Int, error)
- func (_StakeLockContract *StakeLockContractCaller) ListLockedAddresses(opts *bind.CallOpts) (struct{ ... }, error)
- type StakeLockContractCallerRaw
- type StakeLockContractCallerSession
- func (_StakeLockContract *StakeLockContractCallerSession) BalanceOf(_of common.Address) (*big.Int, error)
- func (_StakeLockContract *StakeLockContractCallerSession) CurrentEpoch() (*big.Int, error)
- func (_StakeLockContract *StakeLockContractCallerSession) GetUnlockableTokens(_of common.Address) (*big.Int, error)
- func (_StakeLockContract *StakeLockContractCallerSession) ListLockedAddresses() (struct{ ... }, error)
- type StakeLockContractFilterer
- func (_StakeLockContract *StakeLockContractFilterer) FilterLocked(opts *bind.FilterOpts, _of []common.Address) (*StakeLockContractLockedIterator, error)
- func (_StakeLockContract *StakeLockContractFilterer) FilterUnlocked(opts *bind.FilterOpts, account []common.Address) (*StakeLockContractUnlockedIterator, error)
- func (_StakeLockContract *StakeLockContractFilterer) WatchLocked(opts *bind.WatchOpts, sink chan<- *StakeLockContractLocked, ...) (event.Subscription, error)
- func (_StakeLockContract *StakeLockContractFilterer) WatchUnlocked(opts *bind.WatchOpts, sink chan<- *StakeLockContractUnlocked, ...) (event.Subscription, error)
- type StakeLockContractLocked
- type StakeLockContractLockedIterator
- type StakeLockContractRaw
- func (_StakeLockContract *StakeLockContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_StakeLockContract *StakeLockContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StakeLockContract *StakeLockContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StakeLockContractSession
- func (_StakeLockContract *StakeLockContractSession) BalanceOf(_of common.Address) (*big.Int, error)
- func (_StakeLockContract *StakeLockContractSession) CurrentEpoch() (*big.Int, error)
- func (_StakeLockContract *StakeLockContractSession) GetUnlockableTokens(_of common.Address) (*big.Int, error)
- func (_StakeLockContract *StakeLockContractSession) ListLockedAddresses() (struct{ ... }, error)
- func (_StakeLockContract *StakeLockContractSession) Lock(_blsPublicKey1 [32]byte, _blsPublicKey2 [32]byte, _blsPublicKey3 [32]byte) (*types.Transaction, error)
- func (_StakeLockContract *StakeLockContractSession) Unlock() (*types.Transaction, error)
- type StakeLockContractTransactor
- type StakeLockContractTransactorRaw
- type StakeLockContractTransactorSession
- type StakeLockContractUnlocked
- type StakeLockContractUnlockedIterator
Constants ¶
const FaucetABI = "" /* 455-byte string literal not displayed */
FaucetABI is the input ABI used to generate the binding from.
const FaucetBin = `` /* 768-byte string literal not displayed */
FaucetBin is the compiled bytecode used for deploying new contracts.
const LotteryABI = "" /* 946-byte string literal not displayed */
LotteryABI is the input ABI used to generate the binding from.
const LotteryBin = `` /* 2582-byte string literal not displayed */
LotteryBin is the compiled bytecode used for deploying new contracts.
const PuzzleABI = "" /* 1816-byte string literal not displayed */
PuzzleABI is the input ABI used to generate the binding from.
const PuzzleBin = `` /* 4416-byte string literal not displayed */
PuzzleBin is the compiled bytecode used for deploying new contracts.
const StakeLockContractABI = "" /* 2127-byte string literal not displayed */
StakeLockContractABI is the input ABI used to generate the binding from.
const StakeLockContractBin = `` /* 6340-byte string literal not displayed */
StakeLockContractBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Faucet ¶
type Faucet struct { FaucetCaller // Read-only binding to the contract FaucetTransactor // Write-only binding to the contract FaucetFilterer // Log filterer for contract events }
Faucet is an auto generated Go binding around an Ethereum contract.
func DeployFaucet ¶
func DeployFaucet(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Faucet, error)
DeployFaucet deploys a new Ethereum contract, binding an instance of Faucet to it.
type FaucetCaller ¶
type FaucetCaller struct {
// contains filtered or unexported fields
}
FaucetCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFaucetCaller ¶
func NewFaucetCaller(address common.Address, caller bind.ContractCaller) (*FaucetCaller, error)
NewFaucetCaller creates a new read-only instance of Faucet, bound to a specific deployed contract.
type FaucetCallerRaw ¶
type FaucetCallerRaw struct {
Contract *FaucetCaller // Generic read-only contract binding to access the raw methods on
}
FaucetCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FaucetCallerRaw) Call ¶
func (_Faucet *FaucetCallerRaw) 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 FaucetCallerSession ¶
type FaucetCallerSession struct { Contract *FaucetCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FaucetCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type FaucetFilterer ¶
type FaucetFilterer struct {
// contains filtered or unexported fields
}
FaucetFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFaucetFilterer ¶
func NewFaucetFilterer(address common.Address, filterer bind.ContractFilterer) (*FaucetFilterer, error)
NewFaucetFilterer creates a new log filterer instance of Faucet, bound to a specific deployed contract.
type FaucetRaw ¶
type FaucetRaw struct {
Contract *Faucet // Generic contract binding to access the raw methods on
}
FaucetRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FaucetRaw) Call ¶
func (_Faucet *FaucetRaw) 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 (*FaucetRaw) Transact ¶
func (_Faucet *FaucetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FaucetRaw) Transfer ¶
func (_Faucet *FaucetRaw) 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 FaucetSession ¶
type FaucetSession struct { Contract *Faucet // 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 }
FaucetSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FaucetSession) Money ¶
func (_Faucet *FaucetSession) Money() (*big.Int, error)
Money is a free data retrieval call binding the contract method 0x4ddd108a.
Solidity: function money() constant returns(uint256)
func (*FaucetSession) Request ¶
func (_Faucet *FaucetSession) Request(requestor common.Address) (*types.Transaction, error)
Request is a paid mutator transaction binding the contract method 0x27c78c42.
Solidity: function request(address requestor) returns()
type FaucetTransactor ¶
type FaucetTransactor struct {
// contains filtered or unexported fields
}
FaucetTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFaucetTransactor ¶
func NewFaucetTransactor(address common.Address, transactor bind.ContractTransactor) (*FaucetTransactor, error)
NewFaucetTransactor creates a new write-only instance of Faucet, bound to a specific deployed contract.
func (*FaucetTransactor) Request ¶
func (_Faucet *FaucetTransactor) Request(opts *bind.TransactOpts, requestor common.Address) (*types.Transaction, error)
Request is a paid mutator transaction binding the contract method 0x27c78c42.
Solidity: function request(address requestor) returns()
type FaucetTransactorRaw ¶
type FaucetTransactorRaw struct {
Contract *FaucetTransactor // Generic write-only contract binding to access the raw methods on
}
FaucetTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FaucetTransactorRaw) Transact ¶
func (_Faucet *FaucetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FaucetTransactorRaw) Transfer ¶
func (_Faucet *FaucetTransactorRaw) 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 FaucetTransactorSession ¶
type FaucetTransactorSession struct { Contract *FaucetTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FaucetTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FaucetTransactorSession) Request ¶
func (_Faucet *FaucetTransactorSession) Request(requestor common.Address) (*types.Transaction, error)
Request is a paid mutator transaction binding the contract method 0x27c78c42.
Solidity: function request(address requestor) returns()
type Lottery ¶
type Lottery struct { LotteryCaller // Read-only binding to the contract LotteryTransactor // Write-only binding to the contract LotteryFilterer // Log filterer for contract events }
Lottery is an auto generated Go binding around an Ethereum contract.
func DeployLottery ¶
func DeployLottery(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Lottery, error)
DeployLottery deploys a new Ethereum contract, binding an instance of Lottery to it.
func NewLottery ¶
NewLottery creates a new instance of Lottery, bound to a specific deployed contract.
type LotteryCaller ¶
type LotteryCaller struct {
// contains filtered or unexported fields
}
LotteryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLotteryCaller ¶
func NewLotteryCaller(address common.Address, caller bind.ContractCaller) (*LotteryCaller, error)
NewLotteryCaller creates a new read-only instance of Lottery, bound to a specific deployed contract.
func (*LotteryCaller) GetPlayers ¶
GetPlayers is a free data retrieval call binding the contract method 0x8b5b9ccc.
Solidity: function getPlayers() constant returns(address[])
type LotteryCallerRaw ¶
type LotteryCallerRaw struct {
Contract *LotteryCaller // Generic read-only contract binding to access the raw methods on
}
LotteryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LotteryCallerRaw) Call ¶
func (_Lottery *LotteryCallerRaw) 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 LotteryCallerSession ¶
type LotteryCallerSession struct { Contract *LotteryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LotteryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LotteryCallerSession) GetPlayers ¶
func (_Lottery *LotteryCallerSession) GetPlayers() ([]common.Address, error)
GetPlayers is a free data retrieval call binding the contract method 0x8b5b9ccc.
Solidity: function getPlayers() constant returns(address[])
type LotteryFilterer ¶
type LotteryFilterer struct {
// contains filtered or unexported fields
}
LotteryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLotteryFilterer ¶
func NewLotteryFilterer(address common.Address, filterer bind.ContractFilterer) (*LotteryFilterer, error)
NewLotteryFilterer creates a new log filterer instance of Lottery, bound to a specific deployed contract.
type LotteryRaw ¶
type LotteryRaw struct {
Contract *Lottery // Generic contract binding to access the raw methods on
}
LotteryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LotteryRaw) Call ¶
func (_Lottery *LotteryRaw) 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 (*LotteryRaw) Transact ¶
func (_Lottery *LotteryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LotteryRaw) Transfer ¶
func (_Lottery *LotteryRaw) 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 LotterySession ¶
type LotterySession struct { Contract *Lottery // 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 }
LotterySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LotterySession) Enter ¶
func (_Lottery *LotterySession) Enter() (*types.Transaction, error)
Enter is a paid mutator transaction binding the contract method 0xe97dcb62.
Solidity: function enter() returns()
func (*LotterySession) GetPlayers ¶
func (_Lottery *LotterySession) GetPlayers() ([]common.Address, error)
GetPlayers is a free data retrieval call binding the contract method 0x8b5b9ccc.
Solidity: function getPlayers() constant returns(address[])
func (*LotterySession) Manager ¶
func (_Lottery *LotterySession) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() constant returns(address)
func (*LotterySession) PickWinner ¶
func (_Lottery *LotterySession) PickWinner() (*types.Transaction, error)
PickWinner is a paid mutator transaction binding the contract method 0x5d495aea.
Solidity: function pickWinner() returns()
type LotteryTransactor ¶
type LotteryTransactor struct {
// contains filtered or unexported fields
}
LotteryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLotteryTransactor ¶
func NewLotteryTransactor(address common.Address, transactor bind.ContractTransactor) (*LotteryTransactor, error)
NewLotteryTransactor creates a new write-only instance of Lottery, bound to a specific deployed contract.
func (*LotteryTransactor) Enter ¶
func (_Lottery *LotteryTransactor) Enter(opts *bind.TransactOpts) (*types.Transaction, error)
Enter is a paid mutator transaction binding the contract method 0xe97dcb62.
Solidity: function enter() returns()
func (*LotteryTransactor) PickWinner ¶
func (_Lottery *LotteryTransactor) PickWinner(opts *bind.TransactOpts) (*types.Transaction, error)
PickWinner is a paid mutator transaction binding the contract method 0x5d495aea.
Solidity: function pickWinner() returns()
type LotteryTransactorRaw ¶
type LotteryTransactorRaw struct {
Contract *LotteryTransactor // Generic write-only contract binding to access the raw methods on
}
LotteryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LotteryTransactorRaw) Transact ¶
func (_Lottery *LotteryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LotteryTransactorRaw) Transfer ¶
func (_Lottery *LotteryTransactorRaw) 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 LotteryTransactorSession ¶
type LotteryTransactorSession struct { Contract *LotteryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LotteryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LotteryTransactorSession) Enter ¶
func (_Lottery *LotteryTransactorSession) Enter() (*types.Transaction, error)
Enter is a paid mutator transaction binding the contract method 0xe97dcb62.
Solidity: function enter() returns()
func (*LotteryTransactorSession) PickWinner ¶
func (_Lottery *LotteryTransactorSession) PickWinner() (*types.Transaction, error)
PickWinner is a paid mutator transaction binding the contract method 0x5d495aea.
Solidity: function pickWinner() returns()
type Puzzle ¶
type Puzzle struct { PuzzleCaller // Read-only binding to the contract PuzzleTransactor // Write-only binding to the contract PuzzleFilterer // Log filterer for contract events }
Puzzle is an auto generated Go binding around an Ethereum contract.
func DeployPuzzle ¶
func DeployPuzzle(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Puzzle, error)
DeployPuzzle deploys a new Ethereum contract, binding an instance of Puzzle to it.
type PuzzleCaller ¶
type PuzzleCaller struct {
// contains filtered or unexported fields
}
PuzzleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPuzzleCaller ¶
func NewPuzzleCaller(address common.Address, caller bind.ContractCaller) (*PuzzleCaller, error)
NewPuzzleCaller creates a new read-only instance of Puzzle, bound to a specific deployed contract.
func (*PuzzleCaller) GetPlayers ¶
GetPlayers is a free data retrieval call binding the contract method 0x8b5b9ccc.
Solidity: function getPlayers() constant returns(address[])
type PuzzleCallerRaw ¶
type PuzzleCallerRaw struct {
Contract *PuzzleCaller // Generic read-only contract binding to access the raw methods on
}
PuzzleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PuzzleCallerRaw) Call ¶
func (_Puzzle *PuzzleCallerRaw) 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 PuzzleCallerSession ¶
type PuzzleCallerSession struct { Contract *PuzzleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PuzzleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PuzzleCallerSession) GetPlayers ¶
func (_Puzzle *PuzzleCallerSession) GetPlayers() ([]common.Address, error)
GetPlayers is a free data retrieval call binding the contract method 0x8b5b9ccc.
Solidity: function getPlayers() constant returns(address[])
type PuzzleFilterer ¶
type PuzzleFilterer struct {
// contains filtered or unexported fields
}
PuzzleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPuzzleFilterer ¶
func NewPuzzleFilterer(address common.Address, filterer bind.ContractFilterer) (*PuzzleFilterer, error)
NewPuzzleFilterer creates a new log filterer instance of Puzzle, bound to a specific deployed contract.
type PuzzleRaw ¶
type PuzzleRaw struct {
Contract *Puzzle // Generic contract binding to access the raw methods on
}
PuzzleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PuzzleRaw) Call ¶
func (_Puzzle *PuzzleRaw) 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 (*PuzzleRaw) Transact ¶
func (_Puzzle *PuzzleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PuzzleRaw) Transfer ¶
func (_Puzzle *PuzzleRaw) 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 PuzzleSession ¶
type PuzzleSession struct { Contract *Puzzle // 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 }
PuzzleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PuzzleSession) EndGame ¶
func (_Puzzle *PuzzleSession) EndGame(player common.Address) (*types.Transaction, error)
EndGame is a paid mutator transaction binding the contract method 0x2a035b6c.
Solidity: function endGame(address player) returns()
func (*PuzzleSession) GetPlayers ¶
func (_Puzzle *PuzzleSession) GetPlayers() ([]common.Address, error)
GetPlayers is a free data retrieval call binding the contract method 0x8b5b9ccc.
Solidity: function getPlayers() constant returns(address[])
func (*PuzzleSession) Manager ¶
func (_Puzzle *PuzzleSession) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() constant returns(address)
func (*PuzzleSession) Payout ¶
func (_Puzzle *PuzzleSession) Payout(player common.Address, level *big.Int, arg2 string) (*types.Transaction, error)
Payout is a paid mutator transaction binding the contract method 0x52bcd7c8.
Solidity: function payout(address player, uint256 level, string ) returns()
func (*PuzzleSession) Play ¶
func (_Puzzle *PuzzleSession) Play() (*types.Transaction, error)
Play is a paid mutator transaction binding the contract method 0x93e84cd9.
Solidity: function play() returns()
func (*PuzzleSession) Players ¶
Players is a free data retrieval call binding the contract method 0xf71d96cb.
Solidity: function players(uint256 ) constant returns(address)
func (*PuzzleSession) Reset ¶
func (_Puzzle *PuzzleSession) Reset() (*types.Transaction, error)
Reset is a paid mutator transaction binding the contract method 0xd826f88f.
Solidity: function reset() returns()
func (*PuzzleSession) ResetPlayer ¶
func (_Puzzle *PuzzleSession) ResetPlayer(player common.Address) (*types.Transaction, error)
ResetPlayer is a paid mutator transaction binding the contract method 0xc95e0909.
Solidity: function resetPlayer(address player) returns()
func (*PuzzleSession) SetLevel ¶
func (_Puzzle *PuzzleSession) SetLevel(player common.Address, level *big.Int) (*types.Transaction, error)
SetLevel is a paid mutator transaction binding the contract method 0x722dcd8f.
Solidity: function setLevel(address player, uint256 level) returns()
type PuzzleTransactor ¶
type PuzzleTransactor struct {
// contains filtered or unexported fields
}
PuzzleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPuzzleTransactor ¶
func NewPuzzleTransactor(address common.Address, transactor bind.ContractTransactor) (*PuzzleTransactor, error)
NewPuzzleTransactor creates a new write-only instance of Puzzle, bound to a specific deployed contract.
func (*PuzzleTransactor) EndGame ¶
func (_Puzzle *PuzzleTransactor) EndGame(opts *bind.TransactOpts, player common.Address) (*types.Transaction, error)
EndGame is a paid mutator transaction binding the contract method 0x2a035b6c.
Solidity: function endGame(address player) returns()
func (*PuzzleTransactor) Payout ¶
func (_Puzzle *PuzzleTransactor) Payout(opts *bind.TransactOpts, player common.Address, level *big.Int, arg2 string) (*types.Transaction, error)
Payout is a paid mutator transaction binding the contract method 0x52bcd7c8.
Solidity: function payout(address player, uint256 level, string ) returns()
func (*PuzzleTransactor) Play ¶
func (_Puzzle *PuzzleTransactor) Play(opts *bind.TransactOpts) (*types.Transaction, error)
Play is a paid mutator transaction binding the contract method 0x93e84cd9.
Solidity: function play() returns()
func (*PuzzleTransactor) Reset ¶
func (_Puzzle *PuzzleTransactor) Reset(opts *bind.TransactOpts) (*types.Transaction, error)
Reset is a paid mutator transaction binding the contract method 0xd826f88f.
Solidity: function reset() returns()
func (*PuzzleTransactor) ResetPlayer ¶
func (_Puzzle *PuzzleTransactor) ResetPlayer(opts *bind.TransactOpts, player common.Address) (*types.Transaction, error)
ResetPlayer is a paid mutator transaction binding the contract method 0xc95e0909.
Solidity: function resetPlayer(address player) returns()
func (*PuzzleTransactor) SetLevel ¶
func (_Puzzle *PuzzleTransactor) SetLevel(opts *bind.TransactOpts, player common.Address, level *big.Int) (*types.Transaction, error)
SetLevel is a paid mutator transaction binding the contract method 0x722dcd8f.
Solidity: function setLevel(address player, uint256 level) returns()
type PuzzleTransactorRaw ¶
type PuzzleTransactorRaw struct {
Contract *PuzzleTransactor // Generic write-only contract binding to access the raw methods on
}
PuzzleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PuzzleTransactorRaw) Transact ¶
func (_Puzzle *PuzzleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PuzzleTransactorRaw) Transfer ¶
func (_Puzzle *PuzzleTransactorRaw) 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 PuzzleTransactorSession ¶
type PuzzleTransactorSession struct { Contract *PuzzleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PuzzleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PuzzleTransactorSession) EndGame ¶
func (_Puzzle *PuzzleTransactorSession) EndGame(player common.Address) (*types.Transaction, error)
EndGame is a paid mutator transaction binding the contract method 0x2a035b6c.
Solidity: function endGame(address player) returns()
func (*PuzzleTransactorSession) Payout ¶
func (_Puzzle *PuzzleTransactorSession) Payout(player common.Address, level *big.Int, arg2 string) (*types.Transaction, error)
Payout is a paid mutator transaction binding the contract method 0x52bcd7c8.
Solidity: function payout(address player, uint256 level, string ) returns()
func (*PuzzleTransactorSession) Play ¶
func (_Puzzle *PuzzleTransactorSession) Play() (*types.Transaction, error)
Play is a paid mutator transaction binding the contract method 0x93e84cd9.
Solidity: function play() returns()
func (*PuzzleTransactorSession) Reset ¶
func (_Puzzle *PuzzleTransactorSession) Reset() (*types.Transaction, error)
Reset is a paid mutator transaction binding the contract method 0xd826f88f.
Solidity: function reset() returns()
func (*PuzzleTransactorSession) ResetPlayer ¶
func (_Puzzle *PuzzleTransactorSession) ResetPlayer(player common.Address) (*types.Transaction, error)
ResetPlayer is a paid mutator transaction binding the contract method 0xc95e0909.
Solidity: function resetPlayer(address player) returns()
func (*PuzzleTransactorSession) SetLevel ¶
func (_Puzzle *PuzzleTransactorSession) SetLevel(player common.Address, level *big.Int) (*types.Transaction, error)
SetLevel is a paid mutator transaction binding the contract method 0x722dcd8f.
Solidity: function setLevel(address player, uint256 level) returns()
type StakeLockContract ¶
type StakeLockContract struct { StakeLockContractCaller // Read-only binding to the contract StakeLockContractTransactor // Write-only binding to the contract StakeLockContractFilterer // Log filterer for contract events }
StakeLockContract is an auto generated Go binding around an Ethereum contract.
func DeployStakeLockContract ¶
func DeployStakeLockContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StakeLockContract, error)
DeployStakeLockContract deploys a new Ethereum contract, binding an instance of StakeLockContract to it.
func NewStakeLockContract ¶
func NewStakeLockContract(address common.Address, backend bind.ContractBackend) (*StakeLockContract, error)
NewStakeLockContract creates a new instance of StakeLockContract, bound to a specific deployed contract.
type StakeLockContractCaller ¶
type StakeLockContractCaller struct {
// contains filtered or unexported fields
}
StakeLockContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStakeLockContractCaller ¶
func NewStakeLockContractCaller(address common.Address, caller bind.ContractCaller) (*StakeLockContractCaller, error)
NewStakeLockContractCaller creates a new read-only instance of StakeLockContract, bound to a specific deployed contract.
func (*StakeLockContractCaller) BalanceOf ¶
func (_StakeLockContract *StakeLockContractCaller) BalanceOf(opts *bind.CallOpts, _of common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _of) constant returns(uint256 balance)
func (*StakeLockContractCaller) CurrentEpoch ¶
func (_StakeLockContract *StakeLockContractCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() constant returns(uint256)
func (*StakeLockContractCaller) GetUnlockableTokens ¶
func (_StakeLockContract *StakeLockContractCaller) GetUnlockableTokens(opts *bind.CallOpts, _of common.Address) (*big.Int, error)
GetUnlockableTokens is a free data retrieval call binding the contract method 0xab4a2eb3.
Solidity: function getUnlockableTokens(address _of) constant returns(uint256 unlockableTokens)
func (*StakeLockContractCaller) ListLockedAddresses ¶
func (_StakeLockContract *StakeLockContractCaller) ListLockedAddresses(opts *bind.CallOpts) (struct { LockedAddresses []common.Address BlsPubicKeys1 [][32]byte BlsPubicKeys2 [][32]byte BlsPubicKeys3 [][32]byte BlockNums []*big.Int LockPeriodCounts []*big.Int Amounts []*big.Int }, error)
ListLockedAddresses is a free data retrieval call binding the contract method 0x63b12515.
Solidity: function listLockedAddresses() constant returns(address[] lockedAddresses, bytes32[] blsPubicKeys1, bytes32[] blsPubicKeys2, bytes32[] blsPubicKeys3, uint256[] blockNums, uint256[] lockPeriodCounts, uint256[] amounts)
type StakeLockContractCallerRaw ¶
type StakeLockContractCallerRaw struct {
Contract *StakeLockContractCaller // Generic read-only contract binding to access the raw methods on
}
StakeLockContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StakeLockContractCallerRaw) Call ¶
func (_StakeLockContract *StakeLockContractCallerRaw) 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 StakeLockContractCallerSession ¶
type StakeLockContractCallerSession struct { Contract *StakeLockContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StakeLockContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StakeLockContractCallerSession) BalanceOf ¶
func (_StakeLockContract *StakeLockContractCallerSession) BalanceOf(_of common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _of) constant returns(uint256 balance)
func (*StakeLockContractCallerSession) CurrentEpoch ¶
func (_StakeLockContract *StakeLockContractCallerSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() constant returns(uint256)
func (*StakeLockContractCallerSession) GetUnlockableTokens ¶
func (_StakeLockContract *StakeLockContractCallerSession) GetUnlockableTokens(_of common.Address) (*big.Int, error)
GetUnlockableTokens is a free data retrieval call binding the contract method 0xab4a2eb3.
Solidity: function getUnlockableTokens(address _of) constant returns(uint256 unlockableTokens)
func (*StakeLockContractCallerSession) ListLockedAddresses ¶
func (_StakeLockContract *StakeLockContractCallerSession) ListLockedAddresses() (struct { LockedAddresses []common.Address BlsPubicKeys1 [][32]byte BlsPubicKeys2 [][32]byte BlsPubicKeys3 [][32]byte BlockNums []*big.Int LockPeriodCounts []*big.Int Amounts []*big.Int }, error)
ListLockedAddresses is a free data retrieval call binding the contract method 0x63b12515.
Solidity: function listLockedAddresses() constant returns(address[] lockedAddresses, bytes32[] blsPubicKeys1, bytes32[] blsPubicKeys2, bytes32[] blsPubicKeys3, uint256[] blockNums, uint256[] lockPeriodCounts, uint256[] amounts)
type StakeLockContractFilterer ¶
type StakeLockContractFilterer struct {
// contains filtered or unexported fields
}
StakeLockContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStakeLockContractFilterer ¶
func NewStakeLockContractFilterer(address common.Address, filterer bind.ContractFilterer) (*StakeLockContractFilterer, error)
NewStakeLockContractFilterer creates a new log filterer instance of StakeLockContract, bound to a specific deployed contract.
func (*StakeLockContractFilterer) FilterLocked ¶
func (_StakeLockContract *StakeLockContractFilterer) FilterLocked(opts *bind.FilterOpts, _of []common.Address) (*StakeLockContractLockedIterator, error)
FilterLocked is a free log retrieval operation binding the contract event 0xd4665e3049283582ba6f9eba07a5b3e12dab49e02da99e8927a47af5d134bea5.
Solidity: event Locked(address indexed _of, uint256 _amount, uint256 _epoch)
func (*StakeLockContractFilterer) FilterUnlocked ¶
func (_StakeLockContract *StakeLockContractFilterer) FilterUnlocked(opts *bind.FilterOpts, account []common.Address) (*StakeLockContractUnlockedIterator, error)
FilterUnlocked is a free log retrieval operation binding the contract event 0x0f0bc5b519ddefdd8e5f9e6423433aa2b869738de2ae34d58ebc796fc749fa0d.
Solidity: event Unlocked(address indexed account, uint256 index)
func (*StakeLockContractFilterer) WatchLocked ¶
func (_StakeLockContract *StakeLockContractFilterer) WatchLocked(opts *bind.WatchOpts, sink chan<- *StakeLockContractLocked, _of []common.Address) (event.Subscription, error)
WatchLocked is a free log subscription operation binding the contract event 0xd4665e3049283582ba6f9eba07a5b3e12dab49e02da99e8927a47af5d134bea5.
Solidity: event Locked(address indexed _of, uint256 _amount, uint256 _epoch)
func (*StakeLockContractFilterer) WatchUnlocked ¶
func (_StakeLockContract *StakeLockContractFilterer) WatchUnlocked(opts *bind.WatchOpts, sink chan<- *StakeLockContractUnlocked, account []common.Address) (event.Subscription, error)
WatchUnlocked is a free log subscription operation binding the contract event 0x0f0bc5b519ddefdd8e5f9e6423433aa2b869738de2ae34d58ebc796fc749fa0d.
Solidity: event Unlocked(address indexed account, uint256 index)
type StakeLockContractLocked ¶
type StakeLockContractLocked struct { Of common.Address Amount *big.Int Epoch *big.Int Raw types.Log // Blockchain specific contextual infos }
StakeLockContractLocked represents a Locked event raised by the StakeLockContract contract.
type StakeLockContractLockedIterator ¶
type StakeLockContractLockedIterator struct { Event *StakeLockContractLocked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakeLockContractLockedIterator is returned from FilterLocked and is used to iterate over the raw logs and unpacked data for Locked events raised by the StakeLockContract contract.
func (*StakeLockContractLockedIterator) Close ¶
func (it *StakeLockContractLockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakeLockContractLockedIterator) Error ¶
func (it *StakeLockContractLockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakeLockContractLockedIterator) Next ¶
func (it *StakeLockContractLockedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type StakeLockContractRaw ¶
type StakeLockContractRaw struct {
Contract *StakeLockContract // Generic contract binding to access the raw methods on
}
StakeLockContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StakeLockContractRaw) Call ¶
func (_StakeLockContract *StakeLockContractRaw) 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 (*StakeLockContractRaw) Transact ¶
func (_StakeLockContract *StakeLockContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakeLockContractRaw) Transfer ¶
func (_StakeLockContract *StakeLockContractRaw) 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 StakeLockContractSession ¶
type StakeLockContractSession struct { Contract *StakeLockContract // 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 }
StakeLockContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StakeLockContractSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _of) constant returns(uint256 balance)
func (*StakeLockContractSession) CurrentEpoch ¶
func (_StakeLockContract *StakeLockContractSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() constant returns(uint256)
func (*StakeLockContractSession) GetUnlockableTokens ¶
func (_StakeLockContract *StakeLockContractSession) GetUnlockableTokens(_of common.Address) (*big.Int, error)
GetUnlockableTokens is a free data retrieval call binding the contract method 0xab4a2eb3.
Solidity: function getUnlockableTokens(address _of) constant returns(uint256 unlockableTokens)
func (*StakeLockContractSession) ListLockedAddresses ¶
func (_StakeLockContract *StakeLockContractSession) ListLockedAddresses() (struct { LockedAddresses []common.Address BlsPubicKeys1 [][32]byte BlsPubicKeys2 [][32]byte BlsPubicKeys3 [][32]byte BlockNums []*big.Int LockPeriodCounts []*big.Int Amounts []*big.Int }, error)
ListLockedAddresses is a free data retrieval call binding the contract method 0x63b12515.
Solidity: function listLockedAddresses() constant returns(address[] lockedAddresses, bytes32[] blsPubicKeys1, bytes32[] blsPubicKeys2, bytes32[] blsPubicKeys3, uint256[] blockNums, uint256[] lockPeriodCounts, uint256[] amounts)
func (*StakeLockContractSession) Lock ¶
func (_StakeLockContract *StakeLockContractSession) Lock(_blsPublicKey1 [32]byte, _blsPublicKey2 [32]byte, _blsPublicKey3 [32]byte) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x872588ba.
Solidity: function lock(bytes32 _blsPublicKey1, bytes32 _blsPublicKey2, bytes32 _blsPublicKey3) returns(bool)
func (*StakeLockContractSession) Unlock ¶
func (_StakeLockContract *StakeLockContractSession) Unlock() (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.
Solidity: function unlock() returns(uint256 unlockableTokens)
type StakeLockContractTransactor ¶
type StakeLockContractTransactor struct {
// contains filtered or unexported fields
}
StakeLockContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStakeLockContractTransactor ¶
func NewStakeLockContractTransactor(address common.Address, transactor bind.ContractTransactor) (*StakeLockContractTransactor, error)
NewStakeLockContractTransactor creates a new write-only instance of StakeLockContract, bound to a specific deployed contract.
func (*StakeLockContractTransactor) Lock ¶
func (_StakeLockContract *StakeLockContractTransactor) Lock(opts *bind.TransactOpts, _blsPublicKey1 [32]byte, _blsPublicKey2 [32]byte, _blsPublicKey3 [32]byte) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x872588ba.
Solidity: function lock(bytes32 _blsPublicKey1, bytes32 _blsPublicKey2, bytes32 _blsPublicKey3) returns(bool)
func (*StakeLockContractTransactor) Unlock ¶
func (_StakeLockContract *StakeLockContractTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.
Solidity: function unlock() returns(uint256 unlockableTokens)
type StakeLockContractTransactorRaw ¶
type StakeLockContractTransactorRaw struct {
Contract *StakeLockContractTransactor // Generic write-only contract binding to access the raw methods on
}
StakeLockContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StakeLockContractTransactorRaw) Transact ¶
func (_StakeLockContract *StakeLockContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakeLockContractTransactorRaw) Transfer ¶
func (_StakeLockContract *StakeLockContractTransactorRaw) 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 StakeLockContractTransactorSession ¶
type StakeLockContractTransactorSession struct { Contract *StakeLockContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StakeLockContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StakeLockContractTransactorSession) Lock ¶
func (_StakeLockContract *StakeLockContractTransactorSession) Lock(_blsPublicKey1 [32]byte, _blsPublicKey2 [32]byte, _blsPublicKey3 [32]byte) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x872588ba.
Solidity: function lock(bytes32 _blsPublicKey1, bytes32 _blsPublicKey2, bytes32 _blsPublicKey3) returns(bool)
func (*StakeLockContractTransactorSession) Unlock ¶
func (_StakeLockContract *StakeLockContractTransactorSession) Unlock() (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.
Solidity: function unlock() returns(uint256 unlockableTokens)
type StakeLockContractUnlocked ¶
type StakeLockContractUnlocked struct { Account common.Address Index *big.Int Raw types.Log // Blockchain specific contextual infos }
StakeLockContractUnlocked represents a Unlocked event raised by the StakeLockContract contract.
type StakeLockContractUnlockedIterator ¶
type StakeLockContractUnlockedIterator struct { Event *StakeLockContractUnlocked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakeLockContractUnlockedIterator is returned from FilterUnlocked and is used to iterate over the raw logs and unpacked data for Unlocked events raised by the StakeLockContract contract.
func (*StakeLockContractUnlockedIterator) Close ¶
func (it *StakeLockContractUnlockedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakeLockContractUnlockedIterator) Error ¶
func (it *StakeLockContractUnlockedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakeLockContractUnlockedIterator) Next ¶
func (it *StakeLockContractUnlockedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.