Documentation ¶
Index ¶
- Constants
- type Berry
- type BerryCaller
- type BerryCallerRaw
- type BerryCallerSession
- type BerryDispute
- type BerryDisputeCaller
- type BerryDisputeCallerRaw
- type BerryDisputeCallerSession
- type BerryDisputeDisputeVoteTallied
- type BerryDisputeDisputeVoteTalliedIterator
- type BerryDisputeFilterer
- func (_BerryDispute *BerryDisputeFilterer) FilterDisputeVoteTallied(opts *bind.FilterOpts, _disputeID []*big.Int, _reportedMiner []common.Address) (*BerryDisputeDisputeVoteTalliedIterator, error)
- func (_BerryDispute *BerryDisputeFilterer) FilterNewBerryAddress(opts *bind.FilterOpts) (*BerryDisputeNewBerryAddressIterator, error)
- func (_BerryDispute *BerryDisputeFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*BerryDisputeNewDisputeIterator, error)
- func (_BerryDispute *BerryDisputeFilterer) FilterVoted(opts *bind.FilterOpts, _disputeID []*big.Int, _voter []common.Address) (*BerryDisputeVotedIterator, error)
- func (_BerryDispute *BerryDisputeFilterer) WatchDisputeVoteTallied(opts *bind.WatchOpts, sink chan<- *BerryDisputeDisputeVoteTallied, ...) (event.Subscription, error)
- func (_BerryDispute *BerryDisputeFilterer) WatchNewBerryAddress(opts *bind.WatchOpts, sink chan<- *BerryDisputeNewBerryAddress) (event.Subscription, error)
- func (_BerryDispute *BerryDisputeFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *BerryDisputeNewDispute, ...) (event.Subscription, error)
- func (_BerryDispute *BerryDisputeFilterer) WatchVoted(opts *bind.WatchOpts, sink chan<- *BerryDisputeVoted, _disputeID []*big.Int, ...) (event.Subscription, error)
- type BerryDisputeNewBerryAddress
- type BerryDisputeNewBerryAddressIterator
- type BerryDisputeNewDispute
- type BerryDisputeNewDisputeIterator
- type BerryDisputeRaw
- func (_BerryDispute *BerryDisputeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryDispute *BerryDisputeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryDispute *BerryDisputeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryDisputeSession
- type BerryDisputeTransactor
- type BerryDisputeTransactorRaw
- type BerryDisputeTransactorSession
- type BerryDisputeVoted
- type BerryDisputeVotedIterator
- type BerryFilterer
- type BerryGettersLibrary
- type BerryGettersLibraryCaller
- type BerryGettersLibraryCallerRaw
- type BerryGettersLibraryCallerSession
- type BerryGettersLibraryFilterer
- func (_BerryGettersLibrary *BerryGettersLibraryFilterer) FilterNewBerryAddress(opts *bind.FilterOpts) (*BerryGettersLibraryNewBerryAddressIterator, error)
- func (_BerryGettersLibrary *BerryGettersLibraryFilterer) WatchNewBerryAddress(opts *bind.WatchOpts, sink chan<- *BerryGettersLibraryNewBerryAddress) (event.Subscription, error)
- type BerryGettersLibraryNewBerryAddress
- type BerryGettersLibraryNewBerryAddressIterator
- type BerryGettersLibraryRaw
- func (_BerryGettersLibrary *BerryGettersLibraryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryGettersLibrary *BerryGettersLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryGettersLibrary *BerryGettersLibraryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryGettersLibrarySession
- type BerryGettersLibraryTransactor
- type BerryGettersLibraryTransactorRaw
- type BerryGettersLibraryTransactorSession
- type BerryLibrary
- type BerryLibraryCaller
- type BerryLibraryCallerRaw
- type BerryLibraryCallerSession
- type BerryLibraryDataRequested
- type BerryLibraryDataRequestedIterator
- type BerryLibraryFilterer
- func (_BerryLibrary *BerryLibraryFilterer) FilterDataRequested(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*BerryLibraryDataRequestedIterator, error)
- func (_BerryLibrary *BerryLibraryFilterer) FilterNewChallenge(opts *bind.FilterOpts, _currentRequestId []*big.Int) (*BerryLibraryNewChallengeIterator, error)
- func (_BerryLibrary *BerryLibraryFilterer) FilterNewRequestOnDeck(opts *bind.FilterOpts, _requestId []*big.Int) (*BerryLibraryNewRequestOnDeckIterator, error)
- func (_BerryLibrary *BerryLibraryFilterer) FilterNewValue(opts *bind.FilterOpts, _requestId []*big.Int) (*BerryLibraryNewValueIterator, error)
- func (_BerryLibrary *BerryLibraryFilterer) FilterNonceSubmitted(opts *bind.FilterOpts, _miner []common.Address, _requestId []*big.Int) (*BerryLibraryNonceSubmittedIterator, error)
- func (_BerryLibrary *BerryLibraryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, _previousOwner []common.Address, ...) (*BerryLibraryOwnershipTransferredIterator, error)
- func (_BerryLibrary *BerryLibraryFilterer) FilterTipAdded(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*BerryLibraryTipAddedIterator, error)
- func (_BerryLibrary *BerryLibraryFilterer) WatchDataRequested(opts *bind.WatchOpts, sink chan<- *BerryLibraryDataRequested, ...) (event.Subscription, error)
- func (_BerryLibrary *BerryLibraryFilterer) WatchNewChallenge(opts *bind.WatchOpts, sink chan<- *BerryLibraryNewChallenge, ...) (event.Subscription, error)
- func (_BerryLibrary *BerryLibraryFilterer) WatchNewRequestOnDeck(opts *bind.WatchOpts, sink chan<- *BerryLibraryNewRequestOnDeck, ...) (event.Subscription, error)
- func (_BerryLibrary *BerryLibraryFilterer) WatchNewValue(opts *bind.WatchOpts, sink chan<- *BerryLibraryNewValue, _requestId []*big.Int) (event.Subscription, error)
- func (_BerryLibrary *BerryLibraryFilterer) WatchNonceSubmitted(opts *bind.WatchOpts, sink chan<- *BerryLibraryNonceSubmitted, ...) (event.Subscription, error)
- func (_BerryLibrary *BerryLibraryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BerryLibraryOwnershipTransferred, ...) (event.Subscription, error)
- func (_BerryLibrary *BerryLibraryFilterer) WatchTipAdded(opts *bind.WatchOpts, sink chan<- *BerryLibraryTipAdded, ...) (event.Subscription, error)
- type BerryLibraryNewChallenge
- type BerryLibraryNewChallengeIterator
- type BerryLibraryNewRequestOnDeck
- type BerryLibraryNewRequestOnDeckIterator
- type BerryLibraryNewValue
- type BerryLibraryNewValueIterator
- type BerryLibraryNonceSubmitted
- type BerryLibraryNonceSubmittedIterator
- type BerryLibraryOwnershipTransferred
- type BerryLibraryOwnershipTransferredIterator
- type BerryLibraryRaw
- func (_BerryLibrary *BerryLibraryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryLibrary *BerryLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryLibrary *BerryLibraryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryLibrarySession
- type BerryLibraryTipAdded
- type BerryLibraryTipAddedIterator
- type BerryLibraryTransactor
- type BerryLibraryTransactorRaw
- type BerryLibraryTransactorSession
- 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) DepositStake() (*types.Transaction, error)
- func (_Berry *BerrySession) ProposeFork(_propNewBerryAddress common.Address) (*types.Transaction, error)
- func (_Berry *BerrySession) RequestData(_c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_Berry *BerrySession) RequestStakingWithdraw() (*types.Transaction, error)
- func (_Berry *BerrySession) SubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
- func (_Berry *BerrySession) TallyVotes(_disputeId *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) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_Berry *BerrySession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
- func (_Berry *BerrySession) WithdrawStake() (*types.Transaction, error)
- type BerryStake
- type BerryStakeCaller
- type BerryStakeCallerRaw
- type BerryStakeCallerSession
- type BerryStakeFilterer
- func (_BerryStake *BerryStakeFilterer) FilterNewStake(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeNewStakeIterator, error)
- func (_BerryStake *BerryStakeFilterer) FilterStakeWithdrawRequested(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeStakeWithdrawRequestedIterator, error)
- func (_BerryStake *BerryStakeFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeStakeWithdrawnIterator, error)
- func (_BerryStake *BerryStakeFilterer) WatchNewStake(opts *bind.WatchOpts, sink chan<- *BerryStakeNewStake, ...) (event.Subscription, error)
- func (_BerryStake *BerryStakeFilterer) WatchStakeWithdrawRequested(opts *bind.WatchOpts, sink chan<- *BerryStakeStakeWithdrawRequested, ...) (event.Subscription, error)
- func (_BerryStake *BerryStakeFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *BerryStakeStakeWithdrawn, ...) (event.Subscription, error)
- type BerryStakeNewStake
- type BerryStakeNewStakeIterator
- type BerryStakeRaw
- func (_BerryStake *BerryStakeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryStake *BerryStakeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryStake *BerryStakeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryStakeSession
- type BerryStakeStakeWithdrawRequested
- type BerryStakeStakeWithdrawRequestedIterator
- type BerryStakeStakeWithdrawn
- type BerryStakeStakeWithdrawnIterator
- type BerryStakeTransactor
- type BerryStakeTransactorRaw
- type BerryStakeTransactorSession
- type BerryStorage
- type BerryStorageCaller
- type BerryStorageCallerRaw
- type BerryStorageCallerSession
- type BerryStorageFilterer
- type BerryStorageRaw
- func (_BerryStorage *BerryStorageRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryStorage *BerryStorageRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryStorage *BerryStorageRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryStorageSession
- type BerryStorageTransactor
- type BerryStorageTransactorRaw
- type BerryStorageTransactorSession
- 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) DepositStake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Berry *BerryTransactor) ProposeFork(opts *bind.TransactOpts, _propNewBerryAddress common.Address) (*types.Transaction, error)
- func (_Berry *BerryTransactor) RequestData(opts *bind.TransactOpts, _c_sapi string, _c_symbol string, ...) (*types.Transaction, error)
- func (_Berry *BerryTransactor) RequestStakingWithdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Berry *BerryTransactor) SubmitMiningSolution(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) 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) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*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) DepositStake() (*types.Transaction, error)
- func (_Berry *BerryTransactorSession) ProposeFork(_propNewBerryAddress common.Address) (*types.Transaction, error)
- func (_Berry *BerryTransactorSession) RequestData(_c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
- func (_Berry *BerryTransactorSession) RequestStakingWithdraw() (*types.Transaction, error)
- func (_Berry *BerryTransactorSession) SubmitMiningSolution(_nonce string, _requestId *big.Int, _value *big.Int) (*types.Transaction, error)
- func (_Berry *BerryTransactorSession) TallyVotes(_disputeId *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) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- func (_Berry *BerryTransactorSession) Vote(_disputeId *big.Int, _supportsDispute bool) (*types.Transaction, error)
- func (_Berry *BerryTransactorSession) WithdrawStake() (*types.Transaction, error)
- type BerryTransfer
- type BerryTransferApproval
- type BerryTransferApprovalIterator
- type BerryTransferCaller
- type BerryTransferCallerRaw
- type BerryTransferCallerSession
- type BerryTransferFilterer
- func (_BerryTransfer *BerryTransferFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*BerryTransferApprovalIterator, error)
- func (_BerryTransfer *BerryTransferFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*BerryTransferTransferIterator, error)
- func (_BerryTransfer *BerryTransferFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BerryTransferApproval, ...) (event.Subscription, error)
- func (_BerryTransfer *BerryTransferFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BerryTransferTransfer, ...) (event.Subscription, error)
- type BerryTransferRaw
- func (_BerryTransfer *BerryTransferRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BerryTransfer *BerryTransferRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BerryTransfer *BerryTransferRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BerryTransferSession
- type BerryTransferTransactor
- type BerryTransferTransactorRaw
- type BerryTransferTransactorSession
- type BerryTransferTransfer
- type BerryTransferTransferIterator
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type Utilities
- type UtilitiesCaller
- type UtilitiesCallerRaw
- type UtilitiesCallerSession
- type UtilitiesFilterer
- type UtilitiesRaw
- func (_Utilities *UtilitiesRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Utilities *UtilitiesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Utilities *UtilitiesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UtilitiesSession
- type UtilitiesTransactor
- type UtilitiesTransactorRaw
- type UtilitiesTransactorSession
Constants ¶
const BerryABI = "" /* 3524-byte string literal not displayed */
BerryABI is the input ABI used to generate the binding from.
const BerryBin = `` /* 6232-byte string literal not displayed */
BerryBin is the compiled bytecode used for deploying new contracts.
const BerryDisputeABI = "" /* 1146-byte string literal not displayed */
BerryDisputeABI is the input ABI used to generate the binding from.
const BerryDisputeBin = `` /* 11314-byte string literal not displayed */
BerryDisputeBin is the compiled bytecode used for deploying new contracts.
const BerryGettersLibraryABI = "" /* 148-byte string literal not displayed */
BerryGettersLibraryABI is the input ABI used to generate the binding from.
const BerryGettersLibraryBin = `` /* 242-byte string literal not displayed */
BerryGettersLibraryBin is the compiled bytecode used for deploying new contracts.
const BerryLibraryABI = "" /* 2636-byte string literal not displayed */
BerryLibraryABI is the input ABI used to generate the binding from.
const BerryLibraryBin = `` /* 20006-byte string literal not displayed */
BerryLibraryBin is the compiled bytecode used for deploying new contracts.
const BerryStakeABI = "" /* 432-byte string literal not displayed */
BerryStakeABI is the input ABI used to generate the binding from.
const BerryStakeBin = `` /* 4564-byte string literal not displayed */
BerryStakeBin is the compiled bytecode used for deploying new contracts.
const BerryStorageABI = "[]"
BerryStorageABI is the input ABI used to generate the binding from.
const BerryStorageBin = `` /* 242-byte string literal not displayed */
BerryStorageBin is the compiled bytecode used for deploying new contracts.
const BerryTransferABI = "" /* 513-byte string literal not displayed */
BerryTransferABI is the input ABI used to generate the binding from.
const BerryTransferBin = `` /* 4794-byte string literal not displayed */
BerryTransferBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SafeMathBin = `` /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
const UtilitiesABI = "[]"
UtilitiesABI is the input ABI used to generate the binding from.
const UtilitiesBin = `` /* 242-byte string literal not displayed */
UtilitiesBin is the compiled bytecode used for deploying new contracts.
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.
func DeployBerry ¶
func DeployBerry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Berry, error)
DeployBerry deploys a new Ethereum contract, binding an instance of Berry to it.
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.
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.
type BerryDispute ¶
type BerryDispute struct { BerryDisputeCaller // Read-only binding to the contract BerryDisputeTransactor // Write-only binding to the contract BerryDisputeFilterer // Log filterer for contract events }
BerryDispute is an auto generated Go binding around an Ethereum contract.
func DeployBerryDispute ¶
func DeployBerryDispute(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryDispute, error)
DeployBerryDispute deploys a new Ethereum contract, binding an instance of BerryDispute to it.
func NewBerryDispute ¶
func NewBerryDispute(address common.Address, backend bind.ContractBackend) (*BerryDispute, error)
NewBerryDispute creates a new instance of BerryDispute, bound to a specific deployed contract.
type BerryDisputeCaller ¶
type BerryDisputeCaller struct {
// contains filtered or unexported fields
}
BerryDisputeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryDisputeCaller ¶
func NewBerryDisputeCaller(address common.Address, caller bind.ContractCaller) (*BerryDisputeCaller, error)
NewBerryDisputeCaller creates a new read-only instance of BerryDispute, bound to a specific deployed contract.
type BerryDisputeCallerRaw ¶
type BerryDisputeCallerRaw struct {
Contract *BerryDisputeCaller // Generic read-only contract binding to access the raw methods on
}
BerryDisputeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryDisputeCallerRaw) Call ¶
func (_BerryDispute *BerryDisputeCallerRaw) 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 BerryDisputeCallerSession ¶
type BerryDisputeCallerSession struct { Contract *BerryDisputeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryDisputeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryDisputeDisputeVoteTallied ¶
type BerryDisputeDisputeVoteTallied struct { DisputeID *big.Int Result *big.Int ReportedMiner common.Address ReportingParty common.Address Active bool Raw types.Log // Blockchain specific contextual infos }
BerryDisputeDisputeVoteTallied represents a DisputeVoteTallied event raised by the BerryDispute contract.
type BerryDisputeDisputeVoteTalliedIterator ¶
type BerryDisputeDisputeVoteTalliedIterator struct { Event *BerryDisputeDisputeVoteTallied // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryDisputeDisputeVoteTalliedIterator is returned from FilterDisputeVoteTallied and is used to iterate over the raw logs and unpacked data for DisputeVoteTallied events raised by the BerryDispute contract.
func (*BerryDisputeDisputeVoteTalliedIterator) Close ¶
func (it *BerryDisputeDisputeVoteTalliedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryDisputeDisputeVoteTalliedIterator) Error ¶
func (it *BerryDisputeDisputeVoteTalliedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryDisputeDisputeVoteTalliedIterator) Next ¶
func (it *BerryDisputeDisputeVoteTalliedIterator) 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 BerryDisputeFilterer ¶
type BerryDisputeFilterer struct {
// contains filtered or unexported fields
}
BerryDisputeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryDisputeFilterer ¶
func NewBerryDisputeFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryDisputeFilterer, error)
NewBerryDisputeFilterer creates a new log filterer instance of BerryDispute, bound to a specific deployed contract.
func (*BerryDisputeFilterer) FilterDisputeVoteTallied ¶
func (_BerryDispute *BerryDisputeFilterer) FilterDisputeVoteTallied(opts *bind.FilterOpts, _disputeID []*big.Int, _reportedMiner []common.Address) (*BerryDisputeDisputeVoteTalliedIterator, error)
FilterDisputeVoteTallied is a free log retrieval operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: e DisputeVoteTallied(_disputeID indexed uint256, _result int256, _reportedMiner indexed address, _reportingParty address, _active bool)
func (*BerryDisputeFilterer) FilterNewBerryAddress ¶
func (_BerryDispute *BerryDisputeFilterer) FilterNewBerryAddress(opts *bind.FilterOpts) (*BerryDisputeNewBerryAddressIterator, error)
FilterNewBerryAddress is a free log retrieval operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
func (*BerryDisputeFilterer) FilterNewDispute ¶
func (_BerryDispute *BerryDisputeFilterer) FilterNewDispute(opts *bind.FilterOpts, _disputeId []*big.Int, _requestId []*big.Int) (*BerryDisputeNewDisputeIterator, error)
FilterNewDispute is a free log retrieval operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: e NewDispute(_disputeId indexed uint256, _requestId indexed uint256, _timestamp uint256, _miner address)
func (*BerryDisputeFilterer) FilterVoted ¶
func (_BerryDispute *BerryDisputeFilterer) FilterVoted(opts *bind.FilterOpts, _disputeID []*big.Int, _voter []common.Address) (*BerryDisputeVotedIterator, error)
FilterVoted is a free log retrieval operation binding the contract event 0x86abfce99b7dd908bec0169288797f85049ec73cbe046ed9de818fab3a497ae0.
Solidity: e Voted(_disputeID indexed uint256, _position bool, _voter indexed address)
func (*BerryDisputeFilterer) WatchDisputeVoteTallied ¶
func (_BerryDispute *BerryDisputeFilterer) WatchDisputeVoteTallied(opts *bind.WatchOpts, sink chan<- *BerryDisputeDisputeVoteTallied, _disputeID []*big.Int, _reportedMiner []common.Address) (event.Subscription, error)
WatchDisputeVoteTallied is a free log subscription operation binding the contract event 0x21459c2f5447ebcf83a7f0a238c32c71076faef0d12295e771c0cb1e10434739.
Solidity: e DisputeVoteTallied(_disputeID indexed uint256, _result int256, _reportedMiner indexed address, _reportingParty address, _active bool)
func (*BerryDisputeFilterer) WatchNewBerryAddress ¶
func (_BerryDispute *BerryDisputeFilterer) WatchNewBerryAddress(opts *bind.WatchOpts, sink chan<- *BerryDisputeNewBerryAddress) (event.Subscription, error)
WatchNewBerryAddress is a free log subscription operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
func (*BerryDisputeFilterer) WatchNewDispute ¶
func (_BerryDispute *BerryDisputeFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *BerryDisputeNewDispute, _disputeId []*big.Int, _requestId []*big.Int) (event.Subscription, error)
WatchNewDispute is a free log subscription operation binding the contract event 0xeceec1aebf67772b2440120c4b4dc913a1fe1b865509219f9456785c23b9da64.
Solidity: e NewDispute(_disputeId indexed uint256, _requestId indexed uint256, _timestamp uint256, _miner address)
func (*BerryDisputeFilterer) WatchVoted ¶
func (_BerryDispute *BerryDisputeFilterer) WatchVoted(opts *bind.WatchOpts, sink chan<- *BerryDisputeVoted, _disputeID []*big.Int, _voter []common.Address) (event.Subscription, error)
WatchVoted is a free log subscription operation binding the contract event 0x86abfce99b7dd908bec0169288797f85049ec73cbe046ed9de818fab3a497ae0.
Solidity: e Voted(_disputeID indexed uint256, _position bool, _voter indexed address)
type BerryDisputeNewBerryAddress ¶
type BerryDisputeNewBerryAddress struct { NewBerry common.Address Raw types.Log // Blockchain specific contextual infos }
BerryDisputeNewBerryAddress represents a NewBerryAddress event raised by the BerryDispute contract.
type BerryDisputeNewBerryAddressIterator ¶
type BerryDisputeNewBerryAddressIterator struct { Event *BerryDisputeNewBerryAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryDisputeNewBerryAddressIterator is returned from FilterNewBerryAddress and is used to iterate over the raw logs and unpacked data for NewBerryAddress events raised by the BerryDispute contract.
func (*BerryDisputeNewBerryAddressIterator) Close ¶
func (it *BerryDisputeNewBerryAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryDisputeNewBerryAddressIterator) Error ¶
func (it *BerryDisputeNewBerryAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryDisputeNewBerryAddressIterator) Next ¶
func (it *BerryDisputeNewBerryAddressIterator) 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 BerryDisputeNewDispute ¶
type BerryDisputeNewDispute struct { DisputeId *big.Int RequestId *big.Int Timestamp *big.Int Miner common.Address Raw types.Log // Blockchain specific contextual infos }
BerryDisputeNewDispute represents a NewDispute event raised by the BerryDispute contract.
type BerryDisputeNewDisputeIterator ¶
type BerryDisputeNewDisputeIterator struct { Event *BerryDisputeNewDispute // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryDisputeNewDisputeIterator is returned from FilterNewDispute and is used to iterate over the raw logs and unpacked data for NewDispute events raised by the BerryDispute contract.
func (*BerryDisputeNewDisputeIterator) Close ¶
func (it *BerryDisputeNewDisputeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryDisputeNewDisputeIterator) Error ¶
func (it *BerryDisputeNewDisputeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryDisputeNewDisputeIterator) Next ¶
func (it *BerryDisputeNewDisputeIterator) 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 BerryDisputeRaw ¶
type BerryDisputeRaw struct {
Contract *BerryDispute // Generic contract binding to access the raw methods on
}
BerryDisputeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryDisputeRaw) Call ¶
func (_BerryDispute *BerryDisputeRaw) 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 (*BerryDisputeRaw) Transact ¶
func (_BerryDispute *BerryDisputeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryDisputeRaw) Transfer ¶
func (_BerryDispute *BerryDisputeRaw) 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 BerryDisputeSession ¶
type BerryDisputeSession struct { Contract *BerryDispute // 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 }
BerryDisputeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryDisputeTransactor ¶
type BerryDisputeTransactor struct {
// contains filtered or unexported fields
}
BerryDisputeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryDisputeTransactor ¶
func NewBerryDisputeTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryDisputeTransactor, error)
NewBerryDisputeTransactor creates a new write-only instance of BerryDispute, bound to a specific deployed contract.
type BerryDisputeTransactorRaw ¶
type BerryDisputeTransactorRaw struct {
Contract *BerryDisputeTransactor // Generic write-only contract binding to access the raw methods on
}
BerryDisputeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryDisputeTransactorRaw) Transact ¶
func (_BerryDispute *BerryDisputeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryDisputeTransactorRaw) Transfer ¶
func (_BerryDispute *BerryDisputeTransactorRaw) 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 BerryDisputeTransactorSession ¶
type BerryDisputeTransactorSession struct { Contract *BerryDisputeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryDisputeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryDisputeVoted ¶
type BerryDisputeVoted struct { DisputeID *big.Int Position bool Voter common.Address Raw types.Log // Blockchain specific contextual infos }
BerryDisputeVoted represents a Voted event raised by the BerryDispute contract.
type BerryDisputeVotedIterator ¶
type BerryDisputeVotedIterator struct { Event *BerryDisputeVoted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryDisputeVotedIterator is returned from FilterVoted and is used to iterate over the raw logs and unpacked data for Voted events raised by the BerryDispute contract.
func (*BerryDisputeVotedIterator) Close ¶
func (it *BerryDisputeVotedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryDisputeVotedIterator) Error ¶
func (it *BerryDisputeVotedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryDisputeVotedIterator) Next ¶
func (it *BerryDisputeVotedIterator) 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 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 BerryGettersLibrary ¶
type BerryGettersLibrary struct { BerryGettersLibraryCaller // Read-only binding to the contract BerryGettersLibraryTransactor // Write-only binding to the contract BerryGettersLibraryFilterer // Log filterer for contract events }
BerryGettersLibrary is an auto generated Go binding around an Ethereum contract.
func DeployBerryGettersLibrary ¶
func DeployBerryGettersLibrary(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryGettersLibrary, error)
DeployBerryGettersLibrary deploys a new Ethereum contract, binding an instance of BerryGettersLibrary to it.
func NewBerryGettersLibrary ¶
func NewBerryGettersLibrary(address common.Address, backend bind.ContractBackend) (*BerryGettersLibrary, error)
NewBerryGettersLibrary creates a new instance of BerryGettersLibrary, bound to a specific deployed contract.
type BerryGettersLibraryCaller ¶
type BerryGettersLibraryCaller struct {
// contains filtered or unexported fields
}
BerryGettersLibraryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryGettersLibraryCaller ¶
func NewBerryGettersLibraryCaller(address common.Address, caller bind.ContractCaller) (*BerryGettersLibraryCaller, error)
NewBerryGettersLibraryCaller creates a new read-only instance of BerryGettersLibrary, bound to a specific deployed contract.
type BerryGettersLibraryCallerRaw ¶
type BerryGettersLibraryCallerRaw struct {
Contract *BerryGettersLibraryCaller // Generic read-only contract binding to access the raw methods on
}
BerryGettersLibraryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryGettersLibraryCallerRaw) Call ¶
func (_BerryGettersLibrary *BerryGettersLibraryCallerRaw) 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 BerryGettersLibraryCallerSession ¶
type BerryGettersLibraryCallerSession struct { Contract *BerryGettersLibraryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryGettersLibraryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryGettersLibraryFilterer ¶
type BerryGettersLibraryFilterer struct {
// contains filtered or unexported fields
}
BerryGettersLibraryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryGettersLibraryFilterer ¶
func NewBerryGettersLibraryFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryGettersLibraryFilterer, error)
NewBerryGettersLibraryFilterer creates a new log filterer instance of BerryGettersLibrary, bound to a specific deployed contract.
func (*BerryGettersLibraryFilterer) FilterNewBerryAddress ¶
func (_BerryGettersLibrary *BerryGettersLibraryFilterer) FilterNewBerryAddress(opts *bind.FilterOpts) (*BerryGettersLibraryNewBerryAddressIterator, error)
FilterNewBerryAddress is a free log retrieval operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
func (*BerryGettersLibraryFilterer) WatchNewBerryAddress ¶
func (_BerryGettersLibrary *BerryGettersLibraryFilterer) WatchNewBerryAddress(opts *bind.WatchOpts, sink chan<- *BerryGettersLibraryNewBerryAddress) (event.Subscription, error)
WatchNewBerryAddress is a free log subscription operation binding the contract event 0xc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d.
Solidity: e NewBerryAddress(_newBerry address)
type BerryGettersLibraryNewBerryAddress ¶
type BerryGettersLibraryNewBerryAddress struct { NewBerry common.Address Raw types.Log // Blockchain specific contextual infos }
BerryGettersLibraryNewBerryAddress represents a NewBerryAddress event raised by the BerryGettersLibrary contract.
type BerryGettersLibraryNewBerryAddressIterator ¶
type BerryGettersLibraryNewBerryAddressIterator struct { Event *BerryGettersLibraryNewBerryAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryGettersLibraryNewBerryAddressIterator is returned from FilterNewBerryAddress and is used to iterate over the raw logs and unpacked data for NewBerryAddress events raised by the BerryGettersLibrary contract.
func (*BerryGettersLibraryNewBerryAddressIterator) Close ¶
func (it *BerryGettersLibraryNewBerryAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryGettersLibraryNewBerryAddressIterator) Error ¶
func (it *BerryGettersLibraryNewBerryAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryGettersLibraryNewBerryAddressIterator) Next ¶
func (it *BerryGettersLibraryNewBerryAddressIterator) 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 BerryGettersLibraryRaw ¶
type BerryGettersLibraryRaw struct {
Contract *BerryGettersLibrary // Generic contract binding to access the raw methods on
}
BerryGettersLibraryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryGettersLibraryRaw) Call ¶
func (_BerryGettersLibrary *BerryGettersLibraryRaw) 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 (*BerryGettersLibraryRaw) Transact ¶
func (_BerryGettersLibrary *BerryGettersLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryGettersLibraryRaw) Transfer ¶
func (_BerryGettersLibrary *BerryGettersLibraryRaw) 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 BerryGettersLibrarySession ¶
type BerryGettersLibrarySession struct { Contract *BerryGettersLibrary // 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 }
BerryGettersLibrarySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryGettersLibraryTransactor ¶
type BerryGettersLibraryTransactor struct {
// contains filtered or unexported fields
}
BerryGettersLibraryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryGettersLibraryTransactor ¶
func NewBerryGettersLibraryTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryGettersLibraryTransactor, error)
NewBerryGettersLibraryTransactor creates a new write-only instance of BerryGettersLibrary, bound to a specific deployed contract.
type BerryGettersLibraryTransactorRaw ¶
type BerryGettersLibraryTransactorRaw struct {
Contract *BerryGettersLibraryTransactor // Generic write-only contract binding to access the raw methods on
}
BerryGettersLibraryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryGettersLibraryTransactorRaw) Transact ¶
func (_BerryGettersLibrary *BerryGettersLibraryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryGettersLibraryTransactorRaw) Transfer ¶
func (_BerryGettersLibrary *BerryGettersLibraryTransactorRaw) 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 BerryGettersLibraryTransactorSession ¶
type BerryGettersLibraryTransactorSession struct { Contract *BerryGettersLibraryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryGettersLibraryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryLibrary ¶
type BerryLibrary struct { BerryLibraryCaller // Read-only binding to the contract BerryLibraryTransactor // Write-only binding to the contract BerryLibraryFilterer // Log filterer for contract events }
BerryLibrary is an auto generated Go binding around an Ethereum contract.
func DeployBerryLibrary ¶
func DeployBerryLibrary(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryLibrary, error)
DeployBerryLibrary deploys a new Ethereum contract, binding an instance of BerryLibrary to it.
func NewBerryLibrary ¶
func NewBerryLibrary(address common.Address, backend bind.ContractBackend) (*BerryLibrary, error)
NewBerryLibrary creates a new instance of BerryLibrary, bound to a specific deployed contract.
type BerryLibraryCaller ¶
type BerryLibraryCaller struct {
// contains filtered or unexported fields
}
BerryLibraryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryLibraryCaller ¶
func NewBerryLibraryCaller(address common.Address, caller bind.ContractCaller) (*BerryLibraryCaller, error)
NewBerryLibraryCaller creates a new read-only instance of BerryLibrary, bound to a specific deployed contract.
type BerryLibraryCallerRaw ¶
type BerryLibraryCallerRaw struct {
Contract *BerryLibraryCaller // Generic read-only contract binding to access the raw methods on
}
BerryLibraryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryLibraryCallerRaw) Call ¶
func (_BerryLibrary *BerryLibraryCallerRaw) 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 BerryLibraryCallerSession ¶
type BerryLibraryCallerSession struct { Contract *BerryLibraryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryLibraryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryLibraryDataRequested ¶
type BerryLibraryDataRequested struct { Sender common.Address Query string QuerySymbol string Granularity *big.Int RequestId *big.Int TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
BerryLibraryDataRequested represents a DataRequested event raised by the BerryLibrary contract.
type BerryLibraryDataRequestedIterator ¶
type BerryLibraryDataRequestedIterator struct { Event *BerryLibraryDataRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryLibraryDataRequestedIterator is returned from FilterDataRequested and is used to iterate over the raw logs and unpacked data for DataRequested events raised by the BerryLibrary contract.
func (*BerryLibraryDataRequestedIterator) Close ¶
func (it *BerryLibraryDataRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryLibraryDataRequestedIterator) Error ¶
func (it *BerryLibraryDataRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryLibraryDataRequestedIterator) Next ¶
func (it *BerryLibraryDataRequestedIterator) 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 BerryLibraryFilterer ¶
type BerryLibraryFilterer struct {
// contains filtered or unexported fields
}
BerryLibraryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryLibraryFilterer ¶
func NewBerryLibraryFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryLibraryFilterer, error)
NewBerryLibraryFilterer creates a new log filterer instance of BerryLibrary, bound to a specific deployed contract.
func (*BerryLibraryFilterer) FilterDataRequested ¶
func (_BerryLibrary *BerryLibraryFilterer) FilterDataRequested(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*BerryLibraryDataRequestedIterator, error)
FilterDataRequested is a free log retrieval operation binding the contract event 0x6d7f869757848b19c8c2456e95cd98885bc6bed062fda4077bb07985e2f76cc9.
Solidity: e DataRequested(_sender indexed address, _query string, _querySymbol string, _granularity uint256, _requestId indexed uint256, _totalTips uint256)
func (*BerryLibraryFilterer) FilterNewChallenge ¶
func (_BerryLibrary *BerryLibraryFilterer) FilterNewChallenge(opts *bind.FilterOpts, _currentRequestId []*big.Int) (*BerryLibraryNewChallengeIterator, error)
FilterNewChallenge is a free log retrieval operation binding the contract event 0x9e959738f09af22daede9ff9563f8edf3f5cec8e17ce60287c911c95fa767f42.
Solidity: e NewChallenge(_currentChallenge bytes32, _currentRequestId indexed uint256, _difficulty uint256, _multiplier uint256, _query string, _totalTips uint256)
func (*BerryLibraryFilterer) FilterNewRequestOnDeck ¶
func (_BerryLibrary *BerryLibraryFilterer) FilterNewRequestOnDeck(opts *bind.FilterOpts, _requestId []*big.Int) (*BerryLibraryNewRequestOnDeckIterator, error)
FilterNewRequestOnDeck is a free log retrieval operation binding the contract event 0x5ab383fe3e28263c839564bc7545520a7dd34b78cbd7ab21b2da5d2fd027bf6c.
Solidity: e NewRequestOnDeck(_requestId indexed uint256, _query string, _onDeckQueryHash bytes32, _onDeckTotalTips uint256)
func (*BerryLibraryFilterer) FilterNewValue ¶
func (_BerryLibrary *BerryLibraryFilterer) FilterNewValue(opts *bind.FilterOpts, _requestId []*big.Int) (*BerryLibraryNewValueIterator, error)
FilterNewValue is a free log retrieval operation binding the contract event 0xc509d04e0782579ee59912139246ccbdf6c36c43abd90591d912017f3467dd16.
Solidity: e NewValue(_requestId indexed uint256, _time uint256, _value uint256, _totalTips uint256, _currentChallenge bytes32)
func (*BerryLibraryFilterer) FilterNonceSubmitted ¶
func (_BerryLibrary *BerryLibraryFilterer) FilterNonceSubmitted(opts *bind.FilterOpts, _miner []common.Address, _requestId []*big.Int) (*BerryLibraryNonceSubmittedIterator, error)
FilterNonceSubmitted is a free log retrieval operation binding the contract event 0xe6d63a2aee0aaed2ab49702313ce54114f2145af219d7db30d6624af9e6dffc4.
Solidity: e NonceSubmitted(_miner indexed address, _nonce string, _requestId indexed uint256, _value uint256, _currentChallenge bytes32)
func (*BerryLibraryFilterer) FilterOwnershipTransferred ¶
func (_BerryLibrary *BerryLibraryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, _previousOwner []common.Address, _newOwner []common.Address) (*BerryLibraryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: e OwnershipTransferred(_previousOwner indexed address, _newOwner indexed address)
func (*BerryLibraryFilterer) FilterTipAdded ¶
func (_BerryLibrary *BerryLibraryFilterer) FilterTipAdded(opts *bind.FilterOpts, _sender []common.Address, _requestId []*big.Int) (*BerryLibraryTipAddedIterator, error)
FilterTipAdded is a free log retrieval operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: e TipAdded(_sender indexed address, _requestId indexed uint256, _tip uint256, _totalTips uint256)
func (*BerryLibraryFilterer) WatchDataRequested ¶
func (_BerryLibrary *BerryLibraryFilterer) WatchDataRequested(opts *bind.WatchOpts, sink chan<- *BerryLibraryDataRequested, _sender []common.Address, _requestId []*big.Int) (event.Subscription, error)
WatchDataRequested is a free log subscription operation binding the contract event 0x6d7f869757848b19c8c2456e95cd98885bc6bed062fda4077bb07985e2f76cc9.
Solidity: e DataRequested(_sender indexed address, _query string, _querySymbol string, _granularity uint256, _requestId indexed uint256, _totalTips uint256)
func (*BerryLibraryFilterer) WatchNewChallenge ¶
func (_BerryLibrary *BerryLibraryFilterer) WatchNewChallenge(opts *bind.WatchOpts, sink chan<- *BerryLibraryNewChallenge, _currentRequestId []*big.Int) (event.Subscription, error)
WatchNewChallenge is a free log subscription operation binding the contract event 0x9e959738f09af22daede9ff9563f8edf3f5cec8e17ce60287c911c95fa767f42.
Solidity: e NewChallenge(_currentChallenge bytes32, _currentRequestId indexed uint256, _difficulty uint256, _multiplier uint256, _query string, _totalTips uint256)
func (*BerryLibraryFilterer) WatchNewRequestOnDeck ¶
func (_BerryLibrary *BerryLibraryFilterer) WatchNewRequestOnDeck(opts *bind.WatchOpts, sink chan<- *BerryLibraryNewRequestOnDeck, _requestId []*big.Int) (event.Subscription, error)
WatchNewRequestOnDeck is a free log subscription operation binding the contract event 0x5ab383fe3e28263c839564bc7545520a7dd34b78cbd7ab21b2da5d2fd027bf6c.
Solidity: e NewRequestOnDeck(_requestId indexed uint256, _query string, _onDeckQueryHash bytes32, _onDeckTotalTips uint256)
func (*BerryLibraryFilterer) WatchNewValue ¶
func (_BerryLibrary *BerryLibraryFilterer) WatchNewValue(opts *bind.WatchOpts, sink chan<- *BerryLibraryNewValue, _requestId []*big.Int) (event.Subscription, error)
WatchNewValue is a free log subscription operation binding the contract event 0xc509d04e0782579ee59912139246ccbdf6c36c43abd90591d912017f3467dd16.
Solidity: e NewValue(_requestId indexed uint256, _time uint256, _value uint256, _totalTips uint256, _currentChallenge bytes32)
func (*BerryLibraryFilterer) WatchNonceSubmitted ¶
func (_BerryLibrary *BerryLibraryFilterer) WatchNonceSubmitted(opts *bind.WatchOpts, sink chan<- *BerryLibraryNonceSubmitted, _miner []common.Address, _requestId []*big.Int) (event.Subscription, error)
WatchNonceSubmitted is a free log subscription operation binding the contract event 0xe6d63a2aee0aaed2ab49702313ce54114f2145af219d7db30d6624af9e6dffc4.
Solidity: e NonceSubmitted(_miner indexed address, _nonce string, _requestId indexed uint256, _value uint256, _currentChallenge bytes32)
func (*BerryLibraryFilterer) WatchOwnershipTransferred ¶
func (_BerryLibrary *BerryLibraryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BerryLibraryOwnershipTransferred, _previousOwner []common.Address, _newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: e OwnershipTransferred(_previousOwner indexed address, _newOwner indexed address)
func (*BerryLibraryFilterer) WatchTipAdded ¶
func (_BerryLibrary *BerryLibraryFilterer) WatchTipAdded(opts *bind.WatchOpts, sink chan<- *BerryLibraryTipAdded, _sender []common.Address, _requestId []*big.Int) (event.Subscription, error)
WatchTipAdded is a free log subscription operation binding the contract event 0xd32134405b68f6f7220f9c38ae310df1b648d16188006768d45be2f7c24e8820.
Solidity: e TipAdded(_sender indexed address, _requestId indexed uint256, _tip uint256, _totalTips uint256)
type BerryLibraryNewChallenge ¶
type BerryLibraryNewChallenge struct { CurrentChallenge [32]byte CurrentRequestId *big.Int Difficulty *big.Int Multiplier *big.Int Query string TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
BerryLibraryNewChallenge represents a NewChallenge event raised by the BerryLibrary contract.
type BerryLibraryNewChallengeIterator ¶
type BerryLibraryNewChallengeIterator struct { Event *BerryLibraryNewChallenge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryLibraryNewChallengeIterator is returned from FilterNewChallenge and is used to iterate over the raw logs and unpacked data for NewChallenge events raised by the BerryLibrary contract.
func (*BerryLibraryNewChallengeIterator) Close ¶
func (it *BerryLibraryNewChallengeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryLibraryNewChallengeIterator) Error ¶
func (it *BerryLibraryNewChallengeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryLibraryNewChallengeIterator) Next ¶
func (it *BerryLibraryNewChallengeIterator) 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 BerryLibraryNewRequestOnDeck ¶
type BerryLibraryNewRequestOnDeck struct { RequestId *big.Int Query string OnDeckQueryHash [32]byte OnDeckTotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
BerryLibraryNewRequestOnDeck represents a NewRequestOnDeck event raised by the BerryLibrary contract.
type BerryLibraryNewRequestOnDeckIterator ¶
type BerryLibraryNewRequestOnDeckIterator struct { Event *BerryLibraryNewRequestOnDeck // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryLibraryNewRequestOnDeckIterator is returned from FilterNewRequestOnDeck and is used to iterate over the raw logs and unpacked data for NewRequestOnDeck events raised by the BerryLibrary contract.
func (*BerryLibraryNewRequestOnDeckIterator) Close ¶
func (it *BerryLibraryNewRequestOnDeckIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryLibraryNewRequestOnDeckIterator) Error ¶
func (it *BerryLibraryNewRequestOnDeckIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryLibraryNewRequestOnDeckIterator) Next ¶
func (it *BerryLibraryNewRequestOnDeckIterator) 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 BerryLibraryNewValue ¶
type BerryLibraryNewValue struct { RequestId *big.Int Time *big.Int Value *big.Int TotalTips *big.Int CurrentChallenge [32]byte Raw types.Log // Blockchain specific contextual infos }
BerryLibraryNewValue represents a NewValue event raised by the BerryLibrary contract.
type BerryLibraryNewValueIterator ¶
type BerryLibraryNewValueIterator struct { Event *BerryLibraryNewValue // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryLibraryNewValueIterator is returned from FilterNewValue and is used to iterate over the raw logs and unpacked data for NewValue events raised by the BerryLibrary contract.
func (*BerryLibraryNewValueIterator) Close ¶
func (it *BerryLibraryNewValueIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryLibraryNewValueIterator) Error ¶
func (it *BerryLibraryNewValueIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryLibraryNewValueIterator) Next ¶
func (it *BerryLibraryNewValueIterator) 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 BerryLibraryNonceSubmitted ¶
type BerryLibraryNonceSubmitted struct { Miner common.Address Nonce string RequestId *big.Int Value *big.Int CurrentChallenge [32]byte Raw types.Log // Blockchain specific contextual infos }
BerryLibraryNonceSubmitted represents a NonceSubmitted event raised by the BerryLibrary contract.
type BerryLibraryNonceSubmittedIterator ¶
type BerryLibraryNonceSubmittedIterator struct { Event *BerryLibraryNonceSubmitted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryLibraryNonceSubmittedIterator is returned from FilterNonceSubmitted and is used to iterate over the raw logs and unpacked data for NonceSubmitted events raised by the BerryLibrary contract.
func (*BerryLibraryNonceSubmittedIterator) Close ¶
func (it *BerryLibraryNonceSubmittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryLibraryNonceSubmittedIterator) Error ¶
func (it *BerryLibraryNonceSubmittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryLibraryNonceSubmittedIterator) Next ¶
func (it *BerryLibraryNonceSubmittedIterator) 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 BerryLibraryOwnershipTransferred ¶
type BerryLibraryOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
BerryLibraryOwnershipTransferred represents a OwnershipTransferred event raised by the BerryLibrary contract.
type BerryLibraryOwnershipTransferredIterator ¶
type BerryLibraryOwnershipTransferredIterator struct { Event *BerryLibraryOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryLibraryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BerryLibrary contract.
func (*BerryLibraryOwnershipTransferredIterator) Close ¶
func (it *BerryLibraryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryLibraryOwnershipTransferredIterator) Error ¶
func (it *BerryLibraryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryLibraryOwnershipTransferredIterator) Next ¶
func (it *BerryLibraryOwnershipTransferredIterator) 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 BerryLibraryRaw ¶
type BerryLibraryRaw struct {
Contract *BerryLibrary // Generic contract binding to access the raw methods on
}
BerryLibraryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryLibraryRaw) Call ¶
func (_BerryLibrary *BerryLibraryRaw) 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 (*BerryLibraryRaw) Transact ¶
func (_BerryLibrary *BerryLibraryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryLibraryRaw) Transfer ¶
func (_BerryLibrary *BerryLibraryRaw) 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 BerryLibrarySession ¶
type BerryLibrarySession struct { Contract *BerryLibrary // 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 }
BerryLibrarySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryLibraryTipAdded ¶
type BerryLibraryTipAdded struct { Sender common.Address RequestId *big.Int Tip *big.Int TotalTips *big.Int Raw types.Log // Blockchain specific contextual infos }
BerryLibraryTipAdded represents a TipAdded event raised by the BerryLibrary contract.
type BerryLibraryTipAddedIterator ¶
type BerryLibraryTipAddedIterator struct { Event *BerryLibraryTipAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryLibraryTipAddedIterator is returned from FilterTipAdded and is used to iterate over the raw logs and unpacked data for TipAdded events raised by the BerryLibrary contract.
func (*BerryLibraryTipAddedIterator) Close ¶
func (it *BerryLibraryTipAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryLibraryTipAddedIterator) Error ¶
func (it *BerryLibraryTipAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryLibraryTipAddedIterator) Next ¶
func (it *BerryLibraryTipAddedIterator) 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 BerryLibraryTransactor ¶
type BerryLibraryTransactor struct {
// contains filtered or unexported fields
}
BerryLibraryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryLibraryTransactor ¶
func NewBerryLibraryTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryLibraryTransactor, error)
NewBerryLibraryTransactor creates a new write-only instance of BerryLibrary, bound to a specific deployed contract.
type BerryLibraryTransactorRaw ¶
type BerryLibraryTransactorRaw struct {
Contract *BerryLibraryTransactor // Generic write-only contract binding to access the raw methods on
}
BerryLibraryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryLibraryTransactorRaw) Transact ¶
func (_BerryLibrary *BerryLibraryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryLibraryTransactorRaw) Transfer ¶
func (_BerryLibrary *BerryLibraryTransactorRaw) 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 BerryLibraryTransactorSession ¶
type BerryLibraryTransactorSession struct { Contract *BerryLibraryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryLibraryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
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(_requestId uint256, _tip uint256) 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(_spender address, _amount uint256) 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(_requestId uint256, _timestamp uint256, _minerIndex uint256) returns()
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) 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(_propNewBerryAddress address) returns()
func (*BerrySession) RequestData ¶
func (_Berry *BerrySession) RequestData(_c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
RequestData is a paid mutator transaction binding the contract method 0x3fff2816.
Solidity: function requestData(_c_sapi string, _c_symbol string, _granularity uint256, _tip uint256) 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 *big.Int, _value *big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x68c180d5.
Solidity: function submitMiningSolution(_nonce string, _requestId uint256, _value uint256) returns()
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(_disputeId uint256) 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, _amount uint256) 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(_to address, _amount uint256) 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(_from address, _to address, _amount uint256) returns(bool)
func (*BerrySession) TransferOwnership ¶
func (_Berry *BerrySession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(_newOwner address) 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(_disputeId uint256, _supportsDispute bool) 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 BerryStake ¶
type BerryStake struct { BerryStakeCaller // Read-only binding to the contract BerryStakeTransactor // Write-only binding to the contract BerryStakeFilterer // Log filterer for contract events }
BerryStake is an auto generated Go binding around an Ethereum contract.
func DeployBerryStake ¶
func DeployBerryStake(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryStake, error)
DeployBerryStake deploys a new Ethereum contract, binding an instance of BerryStake to it.
func NewBerryStake ¶
func NewBerryStake(address common.Address, backend bind.ContractBackend) (*BerryStake, error)
NewBerryStake creates a new instance of BerryStake, bound to a specific deployed contract.
type BerryStakeCaller ¶
type BerryStakeCaller struct {
// contains filtered or unexported fields
}
BerryStakeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryStakeCaller ¶
func NewBerryStakeCaller(address common.Address, caller bind.ContractCaller) (*BerryStakeCaller, error)
NewBerryStakeCaller creates a new read-only instance of BerryStake, bound to a specific deployed contract.
type BerryStakeCallerRaw ¶
type BerryStakeCallerRaw struct {
Contract *BerryStakeCaller // Generic read-only contract binding to access the raw methods on
}
BerryStakeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryStakeCallerRaw) Call ¶
func (_BerryStake *BerryStakeCallerRaw) 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 BerryStakeCallerSession ¶
type BerryStakeCallerSession struct { Contract *BerryStakeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryStakeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryStakeFilterer ¶
type BerryStakeFilterer struct {
// contains filtered or unexported fields
}
BerryStakeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryStakeFilterer ¶
func NewBerryStakeFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryStakeFilterer, error)
NewBerryStakeFilterer creates a new log filterer instance of BerryStake, bound to a specific deployed contract.
func (*BerryStakeFilterer) FilterNewStake ¶
func (_BerryStake *BerryStakeFilterer) FilterNewStake(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeNewStakeIterator, error)
FilterNewStake is a free log retrieval operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: e NewStake(_sender indexed address)
func (*BerryStakeFilterer) FilterStakeWithdrawRequested ¶
func (_BerryStake *BerryStakeFilterer) FilterStakeWithdrawRequested(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeStakeWithdrawRequestedIterator, error)
FilterStakeWithdrawRequested is a free log retrieval operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: e StakeWithdrawRequested(_sender indexed address)
func (*BerryStakeFilterer) FilterStakeWithdrawn ¶
func (_BerryStake *BerryStakeFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, _sender []common.Address) (*BerryStakeStakeWithdrawnIterator, error)
FilterStakeWithdrawn is a free log retrieval operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: e StakeWithdrawn(_sender indexed address)
func (*BerryStakeFilterer) WatchNewStake ¶
func (_BerryStake *BerryStakeFilterer) WatchNewStake(opts *bind.WatchOpts, sink chan<- *BerryStakeNewStake, _sender []common.Address) (event.Subscription, error)
WatchNewStake is a free log subscription operation binding the contract event 0x46d8ab1385f70e5a3673e97c23c764f7600f7ed7a09b6687deae7131d51752e2.
Solidity: e NewStake(_sender indexed address)
func (*BerryStakeFilterer) WatchStakeWithdrawRequested ¶
func (_BerryStake *BerryStakeFilterer) WatchStakeWithdrawRequested(opts *bind.WatchOpts, sink chan<- *BerryStakeStakeWithdrawRequested, _sender []common.Address) (event.Subscription, error)
WatchStakeWithdrawRequested is a free log subscription operation binding the contract event 0x453865710d0cb4b14ad25de371c860da196368895daa9662e5087711d14daecf.
Solidity: e StakeWithdrawRequested(_sender indexed address)
func (*BerryStakeFilterer) WatchStakeWithdrawn ¶
func (_BerryStake *BerryStakeFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *BerryStakeStakeWithdrawn, _sender []common.Address) (event.Subscription, error)
WatchStakeWithdrawn is a free log subscription operation binding the contract event 0x4a7934670bd8304e7da22378be1368f7c4fef17c5aee81804beda8638fe428ec.
Solidity: e StakeWithdrawn(_sender indexed address)
type BerryStakeNewStake ¶
type BerryStakeNewStake struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BerryStakeNewStake represents a NewStake event raised by the BerryStake contract.
type BerryStakeNewStakeIterator ¶
type BerryStakeNewStakeIterator struct { Event *BerryStakeNewStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryStakeNewStakeIterator is returned from FilterNewStake and is used to iterate over the raw logs and unpacked data for NewStake events raised by the BerryStake contract.
func (*BerryStakeNewStakeIterator) Close ¶
func (it *BerryStakeNewStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryStakeNewStakeIterator) Error ¶
func (it *BerryStakeNewStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryStakeNewStakeIterator) Next ¶
func (it *BerryStakeNewStakeIterator) 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 BerryStakeRaw ¶
type BerryStakeRaw struct {
Contract *BerryStake // Generic contract binding to access the raw methods on
}
BerryStakeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryStakeRaw) Call ¶
func (_BerryStake *BerryStakeRaw) 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 (*BerryStakeRaw) Transact ¶
func (_BerryStake *BerryStakeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryStakeRaw) Transfer ¶
func (_BerryStake *BerryStakeRaw) 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 BerryStakeSession ¶
type BerryStakeSession struct { Contract *BerryStake // 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 }
BerryStakeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryStakeStakeWithdrawRequested ¶
type BerryStakeStakeWithdrawRequested struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BerryStakeStakeWithdrawRequested represents a StakeWithdrawRequested event raised by the BerryStake contract.
type BerryStakeStakeWithdrawRequestedIterator ¶
type BerryStakeStakeWithdrawRequestedIterator struct { Event *BerryStakeStakeWithdrawRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryStakeStakeWithdrawRequestedIterator is returned from FilterStakeWithdrawRequested and is used to iterate over the raw logs and unpacked data for StakeWithdrawRequested events raised by the BerryStake contract.
func (*BerryStakeStakeWithdrawRequestedIterator) Close ¶
func (it *BerryStakeStakeWithdrawRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryStakeStakeWithdrawRequestedIterator) Error ¶
func (it *BerryStakeStakeWithdrawRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryStakeStakeWithdrawRequestedIterator) Next ¶
func (it *BerryStakeStakeWithdrawRequestedIterator) 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 BerryStakeStakeWithdrawn ¶
type BerryStakeStakeWithdrawn struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BerryStakeStakeWithdrawn represents a StakeWithdrawn event raised by the BerryStake contract.
type BerryStakeStakeWithdrawnIterator ¶
type BerryStakeStakeWithdrawnIterator struct { Event *BerryStakeStakeWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryStakeStakeWithdrawnIterator is returned from FilterStakeWithdrawn and is used to iterate over the raw logs and unpacked data for StakeWithdrawn events raised by the BerryStake contract.
func (*BerryStakeStakeWithdrawnIterator) Close ¶
func (it *BerryStakeStakeWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryStakeStakeWithdrawnIterator) Error ¶
func (it *BerryStakeStakeWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryStakeStakeWithdrawnIterator) Next ¶
func (it *BerryStakeStakeWithdrawnIterator) 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 BerryStakeTransactor ¶
type BerryStakeTransactor struct {
// contains filtered or unexported fields
}
BerryStakeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryStakeTransactor ¶
func NewBerryStakeTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryStakeTransactor, error)
NewBerryStakeTransactor creates a new write-only instance of BerryStake, bound to a specific deployed contract.
type BerryStakeTransactorRaw ¶
type BerryStakeTransactorRaw struct {
Contract *BerryStakeTransactor // Generic write-only contract binding to access the raw methods on
}
BerryStakeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryStakeTransactorRaw) Transact ¶
func (_BerryStake *BerryStakeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryStakeTransactorRaw) Transfer ¶
func (_BerryStake *BerryStakeTransactorRaw) 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 BerryStakeTransactorSession ¶
type BerryStakeTransactorSession struct { Contract *BerryStakeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryStakeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryStorage ¶
type BerryStorage struct { BerryStorageCaller // Read-only binding to the contract BerryStorageTransactor // Write-only binding to the contract BerryStorageFilterer // Log filterer for contract events }
BerryStorage is an auto generated Go binding around an Ethereum contract.
func DeployBerryStorage ¶
func DeployBerryStorage(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryStorage, error)
DeployBerryStorage deploys a new Ethereum contract, binding an instance of BerryStorage to it.
func NewBerryStorage ¶
func NewBerryStorage(address common.Address, backend bind.ContractBackend) (*BerryStorage, error)
NewBerryStorage creates a new instance of BerryStorage, bound to a specific deployed contract.
type BerryStorageCaller ¶
type BerryStorageCaller struct {
// contains filtered or unexported fields
}
BerryStorageCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryStorageCaller ¶
func NewBerryStorageCaller(address common.Address, caller bind.ContractCaller) (*BerryStorageCaller, error)
NewBerryStorageCaller creates a new read-only instance of BerryStorage, bound to a specific deployed contract.
type BerryStorageCallerRaw ¶
type BerryStorageCallerRaw struct {
Contract *BerryStorageCaller // Generic read-only contract binding to access the raw methods on
}
BerryStorageCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryStorageCallerRaw) Call ¶
func (_BerryStorage *BerryStorageCallerRaw) 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 BerryStorageCallerSession ¶
type BerryStorageCallerSession struct { Contract *BerryStorageCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryStorageCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryStorageFilterer ¶
type BerryStorageFilterer struct {
// contains filtered or unexported fields
}
BerryStorageFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryStorageFilterer ¶
func NewBerryStorageFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryStorageFilterer, error)
NewBerryStorageFilterer creates a new log filterer instance of BerryStorage, bound to a specific deployed contract.
type BerryStorageRaw ¶
type BerryStorageRaw struct {
Contract *BerryStorage // Generic contract binding to access the raw methods on
}
BerryStorageRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryStorageRaw) Call ¶
func (_BerryStorage *BerryStorageRaw) 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 (*BerryStorageRaw) Transact ¶
func (_BerryStorage *BerryStorageRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryStorageRaw) Transfer ¶
func (_BerryStorage *BerryStorageRaw) 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 BerryStorageSession ¶
type BerryStorageSession struct { Contract *BerryStorage // 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 }
BerryStorageSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryStorageTransactor ¶
type BerryStorageTransactor struct {
// contains filtered or unexported fields
}
BerryStorageTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryStorageTransactor ¶
func NewBerryStorageTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryStorageTransactor, error)
NewBerryStorageTransactor creates a new write-only instance of BerryStorage, bound to a specific deployed contract.
type BerryStorageTransactorRaw ¶
type BerryStorageTransactorRaw struct {
Contract *BerryStorageTransactor // Generic write-only contract binding to access the raw methods on
}
BerryStorageTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryStorageTransactorRaw) Transact ¶
func (_BerryStorage *BerryStorageTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryStorageTransactorRaw) Transfer ¶
func (_BerryStorage *BerryStorageTransactorRaw) 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 BerryStorageTransactorSession ¶
type BerryStorageTransactorSession struct { Contract *BerryStorageTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryStorageTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
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(_requestId uint256, _tip uint256) 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(_spender address, _amount uint256) 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(_requestId uint256, _timestamp uint256, _minerIndex uint256) 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(_propNewBerryAddress address) returns()
func (*BerryTransactor) RequestData ¶
func (_Berry *BerryTransactor) RequestData(opts *bind.TransactOpts, _c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
RequestData is a paid mutator transaction binding the contract method 0x3fff2816.
Solidity: function requestData(_c_sapi string, _c_symbol string, _granularity uint256, _tip uint256) 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 *big.Int, _value *big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x68c180d5.
Solidity: function submitMiningSolution(_nonce string, _requestId uint256, _value uint256) 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(_disputeId uint256) 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, _amount uint256) 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(_to address, _amount uint256) 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(_from address, _to address, _amount uint256) returns(bool)
func (*BerryTransactor) TransferOwnership ¶
func (_Berry *BerryTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(_newOwner address) 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(_disputeId uint256, _supportsDispute bool) 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(_requestId uint256, _tip uint256) 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(_spender address, _amount uint256) 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(_requestId uint256, _timestamp uint256, _minerIndex uint256) 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(_propNewBerryAddress address) returns()
func (*BerryTransactorSession) RequestData ¶
func (_Berry *BerryTransactorSession) RequestData(_c_sapi string, _c_symbol string, _granularity *big.Int, _tip *big.Int) (*types.Transaction, error)
RequestData is a paid mutator transaction binding the contract method 0x3fff2816.
Solidity: function requestData(_c_sapi string, _c_symbol string, _granularity uint256, _tip uint256) 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 *big.Int, _value *big.Int) (*types.Transaction, error)
SubmitMiningSolution is a paid mutator transaction binding the contract method 0x68c180d5.
Solidity: function submitMiningSolution(_nonce string, _requestId uint256, _value uint256) 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(_disputeId uint256) 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, _amount uint256) 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(_to address, _amount uint256) 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(_from address, _to address, _amount uint256) returns(bool)
func (*BerryTransactorSession) TransferOwnership ¶
func (_Berry *BerryTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(_newOwner address) 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(_disputeId uint256, _supportsDispute bool) 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()
type BerryTransfer ¶
type BerryTransfer struct { BerryTransferCaller // Read-only binding to the contract BerryTransferTransactor // Write-only binding to the contract BerryTransferFilterer // Log filterer for contract events }
BerryTransfer is an auto generated Go binding around an Ethereum contract.
func DeployBerryTransfer ¶
func DeployBerryTransfer(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BerryTransfer, error)
DeployBerryTransfer deploys a new Ethereum contract, binding an instance of BerryTransfer to it.
func NewBerryTransfer ¶
func NewBerryTransfer(address common.Address, backend bind.ContractBackend) (*BerryTransfer, error)
NewBerryTransfer creates a new instance of BerryTransfer, bound to a specific deployed contract.
type BerryTransferApproval ¶
type BerryTransferApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BerryTransferApproval represents a Approval event raised by the BerryTransfer contract.
type BerryTransferApprovalIterator ¶
type BerryTransferApprovalIterator struct { Event *BerryTransferApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryTransferApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the BerryTransfer contract.
func (*BerryTransferApprovalIterator) Close ¶
func (it *BerryTransferApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryTransferApprovalIterator) Error ¶
func (it *BerryTransferApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryTransferApprovalIterator) Next ¶
func (it *BerryTransferApprovalIterator) 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 BerryTransferCaller ¶
type BerryTransferCaller struct {
// contains filtered or unexported fields
}
BerryTransferCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBerryTransferCaller ¶
func NewBerryTransferCaller(address common.Address, caller bind.ContractCaller) (*BerryTransferCaller, error)
NewBerryTransferCaller creates a new read-only instance of BerryTransfer, bound to a specific deployed contract.
type BerryTransferCallerRaw ¶
type BerryTransferCallerRaw struct {
Contract *BerryTransferCaller // Generic read-only contract binding to access the raw methods on
}
BerryTransferCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BerryTransferCallerRaw) Call ¶
func (_BerryTransfer *BerryTransferCallerRaw) 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 BerryTransferCallerSession ¶
type BerryTransferCallerSession struct { Contract *BerryTransferCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BerryTransferCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BerryTransferFilterer ¶
type BerryTransferFilterer struct {
// contains filtered or unexported fields
}
BerryTransferFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBerryTransferFilterer ¶
func NewBerryTransferFilterer(address common.Address, filterer bind.ContractFilterer) (*BerryTransferFilterer, error)
NewBerryTransferFilterer creates a new log filterer instance of BerryTransfer, bound to a specific deployed contract.
func (*BerryTransferFilterer) FilterApproval ¶
func (_BerryTransfer *BerryTransferFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*BerryTransferApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: e Approval(_owner indexed address, _spender indexed address, _value uint256)
func (*BerryTransferFilterer) FilterTransfer ¶
func (_BerryTransfer *BerryTransferFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*BerryTransferTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: e Transfer(_from indexed address, _to indexed address, _value uint256)
func (*BerryTransferFilterer) WatchApproval ¶
func (_BerryTransfer *BerryTransferFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BerryTransferApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: e Approval(_owner indexed address, _spender indexed address, _value uint256)
func (*BerryTransferFilterer) WatchTransfer ¶
func (_BerryTransfer *BerryTransferFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BerryTransferTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: e Transfer(_from indexed address, _to indexed address, _value uint256)
type BerryTransferRaw ¶
type BerryTransferRaw struct {
Contract *BerryTransfer // Generic contract binding to access the raw methods on
}
BerryTransferRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BerryTransferRaw) Call ¶
func (_BerryTransfer *BerryTransferRaw) 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 (*BerryTransferRaw) Transact ¶
func (_BerryTransfer *BerryTransferRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryTransferRaw) Transfer ¶
func (_BerryTransfer *BerryTransferRaw) 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 BerryTransferSession ¶
type BerryTransferSession struct { Contract *BerryTransfer // 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 }
BerryTransferSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type BerryTransferTransactor ¶
type BerryTransferTransactor struct {
// contains filtered or unexported fields
}
BerryTransferTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBerryTransferTransactor ¶
func NewBerryTransferTransactor(address common.Address, transactor bind.ContractTransactor) (*BerryTransferTransactor, error)
NewBerryTransferTransactor creates a new write-only instance of BerryTransfer, bound to a specific deployed contract.
type BerryTransferTransactorRaw ¶
type BerryTransferTransactorRaw struct {
Contract *BerryTransferTransactor // Generic write-only contract binding to access the raw methods on
}
BerryTransferTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BerryTransferTransactorRaw) Transact ¶
func (_BerryTransfer *BerryTransferTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BerryTransferTransactorRaw) Transfer ¶
func (_BerryTransfer *BerryTransferTransactorRaw) 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 BerryTransferTransactorSession ¶
type BerryTransferTransactorSession struct { Contract *BerryTransferTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BerryTransferTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BerryTransferTransfer ¶
type BerryTransferTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BerryTransferTransfer represents a Transfer event raised by the BerryTransfer contract.
type BerryTransferTransferIterator ¶
type BerryTransferTransferIterator struct { Event *BerryTransferTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BerryTransferTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BerryTransfer contract.
func (*BerryTransferTransferIterator) Close ¶
func (it *BerryTransferTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BerryTransferTransferIterator) Error ¶
func (it *BerryTransferTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BerryTransferTransferIterator) Next ¶
func (it *BerryTransferTransferIterator) 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 SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Utilities ¶
type Utilities struct { UtilitiesCaller // Read-only binding to the contract UtilitiesTransactor // Write-only binding to the contract UtilitiesFilterer // Log filterer for contract events }
Utilities is an auto generated Go binding around an Ethereum contract.
func DeployUtilities ¶
func DeployUtilities(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Utilities, error)
DeployUtilities deploys a new Ethereum contract, binding an instance of Utilities to it.
func NewUtilities ¶
NewUtilities creates a new instance of Utilities, bound to a specific deployed contract.
type UtilitiesCaller ¶
type UtilitiesCaller struct {
// contains filtered or unexported fields
}
UtilitiesCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUtilitiesCaller ¶
func NewUtilitiesCaller(address common.Address, caller bind.ContractCaller) (*UtilitiesCaller, error)
NewUtilitiesCaller creates a new read-only instance of Utilities, bound to a specific deployed contract.
type UtilitiesCallerRaw ¶
type UtilitiesCallerRaw struct {
Contract *UtilitiesCaller // Generic read-only contract binding to access the raw methods on
}
UtilitiesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UtilitiesCallerRaw) Call ¶
func (_Utilities *UtilitiesCallerRaw) 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 UtilitiesCallerSession ¶
type UtilitiesCallerSession struct { Contract *UtilitiesCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UtilitiesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type UtilitiesFilterer ¶
type UtilitiesFilterer struct {
// contains filtered or unexported fields
}
UtilitiesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUtilitiesFilterer ¶
func NewUtilitiesFilterer(address common.Address, filterer bind.ContractFilterer) (*UtilitiesFilterer, error)
NewUtilitiesFilterer creates a new log filterer instance of Utilities, bound to a specific deployed contract.
type UtilitiesRaw ¶
type UtilitiesRaw struct {
Contract *Utilities // Generic contract binding to access the raw methods on
}
UtilitiesRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UtilitiesRaw) Call ¶
func (_Utilities *UtilitiesRaw) 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 (*UtilitiesRaw) Transact ¶
func (_Utilities *UtilitiesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UtilitiesRaw) Transfer ¶
func (_Utilities *UtilitiesRaw) 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 UtilitiesSession ¶
type UtilitiesSession struct { Contract *Utilities // 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 }
UtilitiesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type UtilitiesTransactor ¶
type UtilitiesTransactor struct {
// contains filtered or unexported fields
}
UtilitiesTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUtilitiesTransactor ¶
func NewUtilitiesTransactor(address common.Address, transactor bind.ContractTransactor) (*UtilitiesTransactor, error)
NewUtilitiesTransactor creates a new write-only instance of Utilities, bound to a specific deployed contract.
type UtilitiesTransactorRaw ¶
type UtilitiesTransactorRaw struct {
Contract *UtilitiesTransactor // Generic write-only contract binding to access the raw methods on
}
UtilitiesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UtilitiesTransactorRaw) Transact ¶
func (_Utilities *UtilitiesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UtilitiesTransactorRaw) Transfer ¶
func (_Utilities *UtilitiesTransactorRaw) 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 UtilitiesTransactorSession ¶
type UtilitiesTransactorSession struct { Contract *UtilitiesTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UtilitiesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.