Versions in this module Expand all Collapse all v1 v1.0.2 May 13, 2021 v1.0.0 Feb 1, 2021 Changes in this version + const BerryABI + type Berry struct + func NewBerry(address common.Address, backend bind.ContractBackend) (*Berry, error) + type BerryCaller struct + func NewBerryCaller(address common.Address, caller bind.ContractCaller) (*BerryCaller, error) + func (_Berry *BerryCaller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_Berry *BerryCaller) GetNewCurrentVariables(opts *bind.CallOpts) (struct{ ... }, error) + func (_Berry *BerryCaller) GetNewVariablesOnDeck(opts *bind.CallOpts) (struct{ ... }, error) + func (_Berry *BerryCaller) GetTopRequestIDs(opts *bind.CallOpts) ([5]*big.Int, error) + func (_Berry *BerryCaller) Name(opts *bind.CallOpts) (string, error) + func (_Berry *BerryCaller) Symbol(opts *bind.CallOpts) (string, error) + type BerryCallerRaw struct + Contract *BerryCaller + func (_Berry *BerryCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type BerryCallerSession struct + CallOpts bind.CallOpts + Contract *BerryCaller + func (_Berry *BerryCallerSession) Decimals() (uint8, error) + func (_Berry *BerryCallerSession) GetNewCurrentVariables() (struct{ ... }, error) + func (_Berry *BerryCallerSession) GetNewVariablesOnDeck() (struct{ ... }, error) + func (_Berry *BerryCallerSession) GetTopRequestIDs() ([5]*big.Int, error) + func (_Berry *BerryCallerSession) Name() (string, error) + func (_Berry *BerryCallerSession) Symbol() (string, error) + type BerryFilterer struct + func NewBerryFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryFilterer, error) + type BerryRaw struct + Contract *Berry + func (_Berry *BerryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + func (_Berry *BerryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Berry *BerryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type BerrySession struct + CallOpts bind.CallOpts + Contract *Berry + TransactOpts bind.TransactOpts + func (_Berry *BerrySession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) ClaimOwnership() (*types.Transaction, error) + func (_Berry *BerrySession) Decimals() (uint8, error) + func (_Berry *BerrySession) DepositStake() (*types.Transaction, error) + func (_Berry *BerrySession) GetNewCurrentVariables() (struct{ ... }, error) + func (_Berry *BerrySession) GetNewVariablesOnDeck() (struct{ ... }, error) + func (_Berry *BerrySession) GetTopRequestIDs() ([5]*big.Int, error) + func (_Berry *BerrySession) Name() (string, error) + func (_Berry *BerrySession) ProposeFork(_propNewBerryAddress common.Address) (*types.Transaction, error) + func (_Berry *BerrySession) ProposeOwnership(_pendingOwner common.Address) (*types.Transaction, error) + func (_Berry *BerrySession) RequestStakingWithdraw() (*types.Transaction, error) + func (_Berry *BerrySession) SubmitMiningSolution(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) SubmitMiningSolution0(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) Symbol() (string, error) + func (_Berry *BerrySession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) TestSubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) TestSubmitMiningSolution0(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) TheLazyCoon(_address common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) UnlockDisputeFee(_disputeId *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) UpdateBerry(_disputeId *big.Int) (*types.Transaction, error) + func (_Berry *BerrySession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error) + func (_Berry *BerrySession) WithdrawStake() (*types.Transaction, error) + type BerryTransactor struct + func NewBerryTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryTransactor, error) + func (_Berry *BerryTransactor) AddTip(opts *bind.TransactOpts, _requestId *big.Int, _tip *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactor) BeginDispute(opts *bind.TransactOpts, _requestId *big.Int, _timestamp *big.Int, ...) (*types.Transaction, error) + func (_Berry *BerryTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Berry *BerryTransactor) DepositStake(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Berry *BerryTransactor) ProposeFork(opts *bind.TransactOpts, _propNewBerryAddress common.Address) (*types.Transaction, error) + func (_Berry *BerryTransactor) ProposeOwnership(opts *bind.TransactOpts, _pendingOwner common.Address) (*types.Transaction, error) + func (_Berry *BerryTransactor) RequestStakingWithdraw(opts *bind.TransactOpts) (*types.Transaction, error) + func (_Berry *BerryTransactor) SubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestId [5]*big.Int, ...) (*types.Transaction, error) + func (_Berry *BerryTransactor) SubmitMiningSolution0(opts *bind.TransactOpts, _nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactor) TallyVotes(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactor) TestSubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactor) TestSubmitMiningSolution0(opts *bind.TransactOpts, _nonce string, _requestId [5]*big.Int, ...) (*types.Transaction, error) + func (_Berry *BerryTransactor) TheLazyCoon(opts *bind.TransactOpts, _address common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error) + func (_Berry *BerryTransactor) UnlockDisputeFee(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactor) UpdateBerry(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactor) Vote(opts *bind.TransactOpts, _disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error) + func (_Berry *BerryTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error) + type BerryTransactorRaw struct + Contract *BerryTransactor + func (_Berry *BerryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Berry *BerryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type BerryTransactorSession struct + Contract *BerryTransactor + TransactOpts bind.TransactOpts + func (_Berry *BerryTransactorSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) ClaimOwnership() (*types.Transaction, error) + func (_Berry *BerryTransactorSession) DepositStake() (*types.Transaction, error) + func (_Berry *BerryTransactorSession) ProposeFork(_propNewBerryAddress common.Address) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) ProposeOwnership(_pendingOwner common.Address) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) RequestStakingWithdraw() (*types.Transaction, error) + func (_Berry *BerryTransactorSession) SubmitMiningSolution(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) SubmitMiningSolution0(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) TestSubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) TestSubmitMiningSolution0(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) TheLazyCoon(_address common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) UnlockDisputeFee(_disputeId *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) UpdateBerry(_disputeId *big.Int) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error) + func (_Berry *BerryTransactorSession) WithdrawStake() (*types.Transaction, error)