Documentation
¶
Index ¶
- Constants
- type Berry
- type BerryCaller
- 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
- type BerryCallerSession
- 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
- type BerryRaw
- 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
- 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
- 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
- type BerryTransactorSession
- 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)
Constants ¶
const BerryABI = "" /* 12242-byte string literal not displayed */
BerryABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Berry ¶
type Berry struct { BerryCaller // Read-only binding to the contract BerryTransactor // Write-only binding to the contract BerryFilterer // Log filterer for contract events }
Berry is an auto generated Go binding around an Ethereum contract.
type BerryCaller ¶
type BerryCaller struct {
// contains filtered or unexported fields
}
BerryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryCaller ¶
func NewBerryCaller(address common.Address, caller bind.ContractCaller) (*BerryCaller, error)
NewBerryCaller creates a new read-only instance of Berry, bound to a specific deployed contract.
func (*BerryCaller) Decimals ¶
func (_Berry *BerryCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*BerryCaller) GetNewCurrentVariables ¶
func (_Berry *BerryCaller) GetNewCurrentVariables(opts *bind.CallOpts) (struct { Challenge [32]byte RequestIds [5]*big.Int Difficulty *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _difficulty, uint256 _tip)
func (*BerryCaller) GetNewVariablesOnDeck ¶
func (_Berry *BerryCaller) GetNewVariablesOnDeck(opts *bind.CallOpts) (struct { IdsOnDeck [5]*big.Int TipsOnDeck [5]*big.Int }, error)
GetNewVariablesOnDeck is a free data retrieval call binding the contract method 0x9a7077ab.
Solidity: function getNewVariablesOnDeck() view returns(uint256[5] idsOnDeck, uint256[5] tipsOnDeck)
func (*BerryCaller) GetTopRequestIDs ¶
GetTopRequestIDs is a free data retrieval call binding the contract method 0xfe1cd15d.
Solidity: function getTopRequestIDs() view returns(uint256[5] _requestIds)
type BerryCallerRaw ¶
type BerryCallerRaw struct {
Contract *BerryCaller // Generic read-only contract binding to access the raw methods on
}
BerryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryCallerRaw) Call ¶
func (_Berry *BerryCallerRaw) 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 BerryCallerSession ¶
type BerryCallerSession struct { Contract *BerryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BerryCallerSession) Decimals ¶
func (_Berry *BerryCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*BerryCallerSession) GetNewCurrentVariables ¶
func (_Berry *BerryCallerSession) GetNewCurrentVariables() (struct { Challenge [32]byte RequestIds [5]*big.Int Difficulty *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _difficulty, uint256 _tip)
func (*BerryCallerSession) GetNewVariablesOnDeck ¶
func (_Berry *BerryCallerSession) GetNewVariablesOnDeck() (struct { IdsOnDeck [5]*big.Int TipsOnDeck [5]*big.Int }, error)
GetNewVariablesOnDeck is a free data retrieval call binding the contract method 0x9a7077ab.
Solidity: function getNewVariablesOnDeck() view returns(uint256[5] idsOnDeck, uint256[5] tipsOnDeck)
func (*BerryCallerSession) GetTopRequestIDs ¶
func (_Berry *BerryCallerSession) GetTopRequestIDs() ([5]*big.Int, error)
GetTopRequestIDs is a free data retrieval call binding the contract method 0xfe1cd15d.
Solidity: function getTopRequestIDs() view returns(uint256[5] _requestIds)
func (*BerryCallerSession) Name ¶
func (_Berry *BerryCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
func (*BerryCallerSession) Symbol ¶
func (_Berry *BerryCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() pure returns(string)
type BerryFilterer ¶
type BerryFilterer struct {
// contains filtered or unexported fields
}
BerryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryFilterer ¶
func NewBerryFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryFilterer, error)
NewBerryFilterer creates a new log filterer instance of Berry, bound to a specific deployed contract.
type BerryRaw ¶
type BerryRaw struct {
Contract *Berry // Generic contract binding to access the raw methods on
}
BerryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryRaw) Call ¶
func (_Berry *BerryRaw) 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 (*BerryRaw) Transact ¶
func (_Berry *BerryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryRaw) Transfer ¶
func (_Berry *BerryRaw) 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 BerrySession ¶
type BerrySession struct { Contract *Berry // 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 }
BerrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BerrySession) AddTip ¶
func (_Berry *BerrySession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
AddTip is a paid mutator transaction binding the contract method 0x752d49a1.
Solidity: function addTip(uint256 _requestId, uint256 _tip) returns()
func (*BerrySession) Approve ¶
func (_Berry *BerrySession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*BerrySession) BeginDispute ¶
func (_Berry *BerrySession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
BeginDispute is a paid mutator transaction binding the contract method 0x8581af19.
Solidity: function beginDispute(uint256 _requestId, uint256 _timestamp, uint256 _minerIndex) returns()
func (*BerrySession) ClaimOwnership ¶
func (_Berry *BerrySession) ClaimOwnership() (*types.Transaction, error)
ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.
Solidity: function claimOwnership() returns()
func (*BerrySession) Decimals ¶
func (_Berry *BerrySession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() pure returns(uint8)
func (*BerrySession) DepositStake ¶
func (_Berry *BerrySession) DepositStake() (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*BerrySession) GetNewCurrentVariables ¶
func (_Berry *BerrySession) GetNewCurrentVariables() (struct { Challenge [32]byte RequestIds [5]*big.Int Difficulty *big.Int Tip *big.Int }, error)
GetNewCurrentVariables is a free data retrieval call binding the contract method 0x4049f198.
Solidity: function getNewCurrentVariables() view returns(bytes32 _challenge, uint256[5] _requestIds, uint256 _difficulty, uint256 _tip)
func (*BerrySession) GetNewVariablesOnDeck ¶
func (_Berry *BerrySession) GetNewVariablesOnDeck() (struct { IdsOnDeck [5]*big.Int TipsOnDeck [5]*big.Int }, error)
GetNewVariablesOnDeck is a free data retrieval call binding the contract method 0x9a7077ab.
Solidity: function getNewVariablesOnDeck() view returns(uint256[5] idsOnDeck, uint256[5] tipsOnDeck)
func (*BerrySession) GetTopRequestIDs ¶
func (_Berry *BerrySession) GetTopRequestIDs() ([5]*big.Int, error)
GetTopRequestIDs is a free data retrieval call binding the contract method 0xfe1cd15d.
Solidity: function getTopRequestIDs() view returns(uint256[5] _requestIds)
func (*BerrySession) Name ¶
func (_Berry *BerrySession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(string)
func (*BerrySession) ProposeFork ¶
func (_Berry *BerrySession) ProposeFork(_propNewBerryAddress common.Address) (*types.Transaction, error)
ProposeFork is a paid mutator transaction binding the contract method 0x26b7d9f6.
Solidity: function proposeFork(address _propNewBerryAddress) returns()
func (*BerrySession) ProposeOwnership ¶
func (_Berry *BerrySession) ProposeOwnership(_pendingOwner common.Address) (*types.Transaction, error)
ProposeOwnership is a paid mutator transaction binding the contract method 0x710bf322.
Solidity: function proposeOwnership(address _pendingOwner) returns()
func (*BerrySession) RequestStakingWithdraw ¶
func (_Berry *BerrySession) RequestStakingWithdraw() (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*BerrySession) SubmitMiningSolution ¶
func (_Berry *BerrySession) SubmitMiningSolution(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x4350283e.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value) returns()
func (*BerrySession) SubmitMiningSolution0 ¶
func (_Berry *BerrySession) SubmitMiningSolution0(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
SubmitMiningSolution0 is a paid mutator transaction binding the contract method 0x68c180d5.
Solidity: function submitMiningSolution(string _nonce, uint256 _requestId, uint256 _value) returns()
func (*BerrySession) Symbol ¶
func (_Berry *BerrySession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() pure returns(string)
func (*BerrySession) TallyVotes ¶
func (_Berry *BerrySession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
TallyVotes is a paid mutator transaction binding the contract method 0x4d318b0e.
Solidity: function tallyVotes(uint256 _disputeId) returns()
func (*BerrySession) TestSubmitMiningSolution ¶
func (_Berry *BerrySession) TestSubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
TestSubmitMiningSolution is a paid mutator transaction binding the contract method 0xc0a8b650.
Solidity: function testSubmitMiningSolution(string _nonce, uint256 _requestId, uint256 _value) returns()
func (*BerrySession) TestSubmitMiningSolution0 ¶
func (_Berry *BerrySession) TestSubmitMiningSolution0(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
TestSubmitMiningSolution0 is a paid mutator transaction binding the contract method 0xd47f0dd4.
Solidity: function testSubmitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value) returns()
func (*BerrySession) TheLazyCoon ¶
func (_Berry *BerrySession) TheLazyCoon(_address common.Address, _amount *big.Int) (*types.Transaction, error)
TheLazyCoon is a paid mutator transaction binding the contract method 0xb079f64a.
Solidity: function theLazyCoon(address _address, uint256 _amount) returns()
func (*BerrySession) Transfer ¶
func (_Berry *BerrySession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _amount) returns(bool)
func (*BerrySession) TransferFrom ¶
func (_Berry *BerrySession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _amount) returns(bool)
func (*BerrySession) UnlockDisputeFee ¶
func (_Berry *BerrySession) UnlockDisputeFee(_disputeId *big.Int) (*types.Transaction, error)
UnlockDisputeFee is a paid mutator transaction binding the contract method 0x9a01ca13.
Solidity: function unlockDisputeFee(uint256 _disputeId) returns()
func (*BerrySession) UpdateBerry ¶
func (_Berry *BerrySession) UpdateBerry(_disputeId *big.Int) (*types.Transaction, error)
UpdateBerry is a paid mutator transaction binding the contract method 0xf458ab98.
Solidity: function updateBerry(uint256 _disputeId) returns()
func (*BerrySession) Vote ¶
func (_Berry *BerrySession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0xc9d27afe.
Solidity: function vote(uint256 _disputeId, bool _supportsDispute) returns()
func (*BerrySession) WithdrawStake ¶
func (_Berry *BerrySession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type BerryTransactor ¶
type BerryTransactor struct {
// contains filtered or unexported fields
}
BerryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryTransactor ¶
func NewBerryTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryTransactor, error)
NewBerryTransactor creates a new write-only instance of Berry, bound to a specific deployed contract.
func (*BerryTransactor) AddTip ¶
func (_Berry *BerryTransactor) AddTip(opts *bind.TransactOpts, _requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
AddTip is a paid mutator transaction binding the contract method 0x752d49a1.
Solidity: function addTip(uint256 _requestId, uint256 _tip) returns()
func (*BerryTransactor) Approve ¶
func (_Berry *BerryTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*BerryTransactor) BeginDispute ¶
func (_Berry *BerryTransactor) BeginDispute(opts *bind.TransactOpts, _requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
BeginDispute is a paid mutator transaction binding the contract method 0x8581af19.
Solidity: function beginDispute(uint256 _requestId, uint256 _timestamp, uint256 _minerIndex) returns()
func (*BerryTransactor) ClaimOwnership ¶
func (_Berry *BerryTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.
Solidity: function claimOwnership() returns()
func (*BerryTransactor) DepositStake ¶
func (_Berry *BerryTransactor) DepositStake(opts *bind.TransactOpts) (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*BerryTransactor) ProposeFork ¶
func (_Berry *BerryTransactor) ProposeFork(opts *bind.TransactOpts, _propNewBerryAddress common.Address) (*types.Transaction, error)
ProposeFork is a paid mutator transaction binding the contract method 0x26b7d9f6.
Solidity: function proposeFork(address _propNewBerryAddress) returns()
func (*BerryTransactor) ProposeOwnership ¶
func (_Berry *BerryTransactor) ProposeOwnership(opts *bind.TransactOpts, _pendingOwner common.Address) (*types.Transaction, error)
ProposeOwnership is a paid mutator transaction binding the contract method 0x710bf322.
Solidity: function proposeOwnership(address _pendingOwner) returns()
func (*BerryTransactor) RequestStakingWithdraw ¶
func (_Berry *BerryTransactor) RequestStakingWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*BerryTransactor) SubmitMiningSolution ¶
func (_Berry *BerryTransactor) SubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x4350283e.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value) returns()
func (*BerryTransactor) SubmitMiningSolution0 ¶
func (_Berry *BerryTransactor) SubmitMiningSolution0(opts *bind.TransactOpts, _nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
SubmitMiningSolution0 is a paid mutator transaction binding the contract method 0x68c180d5.
Solidity: function submitMiningSolution(string _nonce, uint256 _requestId, uint256 _value) returns()
func (*BerryTransactor) TallyVotes ¶
func (_Berry *BerryTransactor) TallyVotes(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
TallyVotes is a paid mutator transaction binding the contract method 0x4d318b0e.
Solidity: function tallyVotes(uint256 _disputeId) returns()
func (*BerryTransactor) TestSubmitMiningSolution ¶
func (_Berry *BerryTransactor) TestSubmitMiningSolution(opts *bind.TransactOpts, _nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
TestSubmitMiningSolution is a paid mutator transaction binding the contract method 0xc0a8b650.
Solidity: function testSubmitMiningSolution(string _nonce, uint256 _requestId, uint256 _value) returns()
func (*BerryTransactor) TestSubmitMiningSolution0 ¶
func (_Berry *BerryTransactor) TestSubmitMiningSolution0(opts *bind.TransactOpts, _nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
TestSubmitMiningSolution0 is a paid mutator transaction binding the contract method 0xd47f0dd4.
Solidity: function testSubmitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value) returns()
func (*BerryTransactor) TheLazyCoon ¶
func (_Berry *BerryTransactor) TheLazyCoon(opts *bind.TransactOpts, _address common.Address, _amount *big.Int) (*types.Transaction, error)
TheLazyCoon is a paid mutator transaction binding the contract method 0xb079f64a.
Solidity: function theLazyCoon(address _address, uint256 _amount) returns()
func (*BerryTransactor) Transfer ¶
func (_Berry *BerryTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _amount) returns(bool)
func (*BerryTransactor) TransferFrom ¶
func (_Berry *BerryTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _amount) returns(bool)
func (*BerryTransactor) UnlockDisputeFee ¶
func (_Berry *BerryTransactor) UnlockDisputeFee(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
UnlockDisputeFee is a paid mutator transaction binding the contract method 0x9a01ca13.
Solidity: function unlockDisputeFee(uint256 _disputeId) returns()
func (*BerryTransactor) UpdateBerry ¶
func (_Berry *BerryTransactor) UpdateBerry(opts *bind.TransactOpts, _disputeId *big.Int) (*types.Transaction, error)
UpdateBerry is a paid mutator transaction binding the contract method 0xf458ab98.
Solidity: function updateBerry(uint256 _disputeId) returns()
func (*BerryTransactor) Vote ¶
func (_Berry *BerryTransactor) Vote(opts *bind.TransactOpts, _disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0xc9d27afe.
Solidity: function vote(uint256 _disputeId, bool _supportsDispute) returns()
func (*BerryTransactor) WithdrawStake ¶
func (_Berry *BerryTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type BerryTransactorRaw ¶
type BerryTransactorRaw struct {
Contract *BerryTransactor // Generic write-only contract binding to access the raw methods on
}
BerryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryTransactorRaw) Transact ¶
func (_Berry *BerryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryTransactorRaw) Transfer ¶
func (_Berry *BerryTransactorRaw) 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 BerryTransactorSession ¶
type BerryTransactorSession struct { Contract *BerryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BerryTransactorSession) AddTip ¶
func (_Berry *BerryTransactorSession) AddTip(_requestId *big.Int, _tip *big.Int) (*types.Transaction, error)
AddTip is a paid mutator transaction binding the contract method 0x752d49a1.
Solidity: function addTip(uint256 _requestId, uint256 _tip) returns()
func (*BerryTransactorSession) Approve ¶
func (_Berry *BerryTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _amount) returns(bool)
func (*BerryTransactorSession) BeginDispute ¶
func (_Berry *BerryTransactorSession) BeginDispute(_requestId *big.Int, _timestamp *big.Int, _minerIndex *big.Int) (*types.Transaction, error)
BeginDispute is a paid mutator transaction binding the contract method 0x8581af19.
Solidity: function beginDispute(uint256 _requestId, uint256 _timestamp, uint256 _minerIndex) returns()
func (*BerryTransactorSession) ClaimOwnership ¶
func (_Berry *BerryTransactorSession) ClaimOwnership() (*types.Transaction, error)
ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.
Solidity: function claimOwnership() returns()
func (*BerryTransactorSession) DepositStake ¶
func (_Berry *BerryTransactorSession) DepositStake() (*types.Transaction, error)
DepositStake is a paid mutator transaction binding the contract method 0x0d2d76a2.
Solidity: function depositStake() returns()
func (*BerryTransactorSession) ProposeFork ¶
func (_Berry *BerryTransactorSession) ProposeFork(_propNewBerryAddress common.Address) (*types.Transaction, error)
ProposeFork is a paid mutator transaction binding the contract method 0x26b7d9f6.
Solidity: function proposeFork(address _propNewBerryAddress) returns()
func (*BerryTransactorSession) ProposeOwnership ¶
func (_Berry *BerryTransactorSession) ProposeOwnership(_pendingOwner common.Address) (*types.Transaction, error)
ProposeOwnership is a paid mutator transaction binding the contract method 0x710bf322.
Solidity: function proposeOwnership(address _pendingOwner) returns()
func (*BerryTransactorSession) RequestStakingWithdraw ¶
func (_Berry *BerryTransactorSession) RequestStakingWithdraw() (*types.Transaction, error)
RequestStakingWithdraw is a paid mutator transaction binding the contract method 0x28449c3a.
Solidity: function requestStakingWithdraw() returns()
func (*BerryTransactorSession) SubmitMiningSolution ¶
func (_Berry *BerryTransactorSession) SubmitMiningSolution(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x4350283e.
Solidity: function submitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value) returns()
func (*BerryTransactorSession) SubmitMiningSolution0 ¶
func (_Berry *BerryTransactorSession) SubmitMiningSolution0(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
SubmitMiningSolution0 is a paid mutator transaction binding the contract method 0x68c180d5.
Solidity: function submitMiningSolution(string _nonce, uint256 _requestId, uint256 _value) returns()
func (*BerryTransactorSession) TallyVotes ¶
func (_Berry *BerryTransactorSession) TallyVotes(_disputeId *big.Int) (*types.Transaction, error)
TallyVotes is a paid mutator transaction binding the contract method 0x4d318b0e.
Solidity: function tallyVotes(uint256 _disputeId) returns()
func (*BerryTransactorSession) TestSubmitMiningSolution ¶
func (_Berry *BerryTransactorSession) TestSubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
TestSubmitMiningSolution is a paid mutator transaction binding the contract method 0xc0a8b650.
Solidity: function testSubmitMiningSolution(string _nonce, uint256 _requestId, uint256 _value) returns()
func (*BerryTransactorSession) TestSubmitMiningSolution0 ¶
func (_Berry *BerryTransactorSession) TestSubmitMiningSolution0(_nonce string, _requestId [5]*big.Int, _value [5]*big.Int) (*types.Transaction, error)
TestSubmitMiningSolution0 is a paid mutator transaction binding the contract method 0xd47f0dd4.
Solidity: function testSubmitMiningSolution(string _nonce, uint256[5] _requestId, uint256[5] _value) returns()
func (*BerryTransactorSession) TheLazyCoon ¶
func (_Berry *BerryTransactorSession) TheLazyCoon(_address common.Address, _amount *big.Int) (*types.Transaction, error)
TheLazyCoon is a paid mutator transaction binding the contract method 0xb079f64a.
Solidity: function theLazyCoon(address _address, uint256 _amount) returns()
func (*BerryTransactorSession) Transfer ¶
func (_Berry *BerryTransactorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _amount) returns(bool)
func (*BerryTransactorSession) TransferFrom ¶
func (_Berry *BerryTransactorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _amount) returns(bool)
func (*BerryTransactorSession) UnlockDisputeFee ¶
func (_Berry *BerryTransactorSession) UnlockDisputeFee(_disputeId *big.Int) (*types.Transaction, error)
UnlockDisputeFee is a paid mutator transaction binding the contract method 0x9a01ca13.
Solidity: function unlockDisputeFee(uint256 _disputeId) returns()
func (*BerryTransactorSession) UpdateBerry ¶
func (_Berry *BerryTransactorSession) UpdateBerry(_disputeId *big.Int) (*types.Transaction, error)
UpdateBerry is a paid mutator transaction binding the contract method 0xf458ab98.
Solidity: function updateBerry(uint256 _disputeId) returns()
func (*BerryTransactorSession) Vote ¶
func (_Berry *BerryTransactorSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0xc9d27afe.
Solidity: function vote(uint256 _disputeId, bool _supportsDispute) returns()
func (*BerryTransactorSession) WithdrawStake ¶
func (_Berry *BerryTransactorSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()