Documentation ¶
Index ¶
- Constants
- type Listing
- type ListingAccessRewardClaimed
- type ListingAccessRewardClaimedIterator
- type ListingApplicationFailed
- type ListingApplicationFailedIterator
- type ListingApplied
- type ListingAppliedIterator
- type ListingCaller
- type ListingCallerRaw
- type ListingCallerSession
- type ListingChallengeFailed
- type ListingChallengeFailedIterator
- type ListingChallengeSucceeded
- type ListingChallengeSucceededIterator
- type ListingChallenged
- type ListingChallengedIterator
- type ListingFilterer
- func (_Listing *ListingFilterer) FilterAccessRewardClaimed(opts *bind.FilterOpts, hash [][32]byte) (*ListingAccessRewardClaimedIterator, error)
- func (_Listing *ListingFilterer) FilterApplicationFailed(opts *bind.FilterOpts, hash [][32]byte, applicant []common.Address) (*ListingApplicationFailedIterator, error)
- func (_Listing *ListingFilterer) FilterApplied(opts *bind.FilterOpts, hash [][32]byte, applicant []common.Address) (*ListingAppliedIterator, error)
- func (_Listing *ListingFilterer) FilterChallengeFailed(opts *bind.FilterOpts, hash [][32]byte, challenger []common.Address) (*ListingChallengeFailedIterator, error)
- func (_Listing *ListingFilterer) FilterChallengeSucceeded(opts *bind.FilterOpts, hash [][32]byte, challenger []common.Address) (*ListingChallengeSucceededIterator, error)
- func (_Listing *ListingFilterer) FilterChallenged(opts *bind.FilterOpts, hash [][32]byte, challenger []common.Address) (*ListingChallengedIterator, error)
- func (_Listing *ListingFilterer) FilterListed(opts *bind.FilterOpts, hash [][32]byte, owner []common.Address) (*ListingListedIterator, error)
- func (_Listing *ListingFilterer) FilterListingRemoved(opts *bind.FilterOpts, hash [][32]byte) (*ListingListingRemovedIterator, error)
- func (_Listing *ListingFilterer) FilterWithdrawnFromListing(opts *bind.FilterOpts, hash [][32]byte, owner []common.Address) (*ListingWithdrawnFromListingIterator, error)
- func (_Listing *ListingFilterer) WatchAccessRewardClaimed(opts *bind.WatchOpts, sink chan<- *ListingAccessRewardClaimed, hash [][32]byte) (event.Subscription, error)
- func (_Listing *ListingFilterer) WatchApplicationFailed(opts *bind.WatchOpts, sink chan<- *ListingApplicationFailed, hash [][32]byte, ...) (event.Subscription, error)
- func (_Listing *ListingFilterer) WatchApplied(opts *bind.WatchOpts, sink chan<- *ListingApplied, hash [][32]byte, ...) (event.Subscription, error)
- func (_Listing *ListingFilterer) WatchChallengeFailed(opts *bind.WatchOpts, sink chan<- *ListingChallengeFailed, hash [][32]byte, ...) (event.Subscription, error)
- func (_Listing *ListingFilterer) WatchChallengeSucceeded(opts *bind.WatchOpts, sink chan<- *ListingChallengeSucceeded, hash [][32]byte, ...) (event.Subscription, error)
- func (_Listing *ListingFilterer) WatchChallenged(opts *bind.WatchOpts, sink chan<- *ListingChallenged, hash [][32]byte, ...) (event.Subscription, error)
- func (_Listing *ListingFilterer) WatchListed(opts *bind.WatchOpts, sink chan<- *ListingListed, hash [][32]byte, ...) (event.Subscription, error)
- func (_Listing *ListingFilterer) WatchListingRemoved(opts *bind.WatchOpts, sink chan<- *ListingListingRemoved, hash [][32]byte) (event.Subscription, error)
- func (_Listing *ListingFilterer) WatchWithdrawnFromListing(opts *bind.WatchOpts, sink chan<- *ListingWithdrawnFromListing, ...) (event.Subscription, error)
- type ListingListed
- type ListingListedIterator
- type ListingListingRemoved
- type ListingListingRemovedIterator
- type ListingRaw
- func (_Listing *ListingRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Listing *ListingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Listing *ListingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ListingSession
- func (_Listing *ListingSession) Challenge(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingSession) ClaimAccessReward(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingSession) Exit(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingSession) GetListing(hash [32]byte) (common.Address, *big.Int, error)
- func (_Listing *ListingSession) IsListed(hash [32]byte) (bool, error)
- func (_Listing *ListingSession) List(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingSession) ResolveApplication(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingSession) ResolveChallenge(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingSession) WithdrawFromListing(hash [32]byte, amount *big.Int) (*types.Transaction, error)
- type ListingTransactor
- func (_Listing *ListingTransactor) Challenge(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactor) ClaimAccessReward(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactor) Exit(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactor) List(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactor) ResolveApplication(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactor) ResolveChallenge(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactor) WithdrawFromListing(opts *bind.TransactOpts, hash [32]byte, amount *big.Int) (*types.Transaction, error)
- type ListingTransactorRaw
- type ListingTransactorSession
- func (_Listing *ListingTransactorSession) Challenge(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactorSession) ClaimAccessReward(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactorSession) Exit(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactorSession) List(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactorSession) ResolveApplication(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactorSession) ResolveChallenge(hash [32]byte) (*types.Transaction, error)
- func (_Listing *ListingTransactorSession) WithdrawFromListing(hash [32]byte, amount *big.Int) (*types.Transaction, error)
- type ListingWithdrawnFromListing
- type ListingWithdrawnFromListingIterator
Constants ¶
const ListingABI = "" /* 4043-byte string literal not displayed */
ListingABI is the input ABI used to generate the binding from.
const ListingBin = `` /* 9386-byte string literal not displayed */
ListingBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listing ¶
type Listing struct { ListingCaller // Read-only binding to the contract ListingTransactor // Write-only binding to the contract ListingFilterer // Log filterer for contract events }
Listing is an auto generated Go binding around an Ethereum contract.
func DeployListing ¶
func DeployListing(auth *bind.TransactOpts, backend bind.ContractBackend, market_token_addr common.Address, voting_addr common.Address, p11r_addr common.Address, res_addr common.Address, data_addr common.Address) (common.Address, *types.Transaction, *Listing, error)
DeployListing deploys a new Ethereum contract, binding an instance of Listing to it.
func NewListing ¶
NewListing creates a new instance of Listing, bound to a specific deployed contract.
type ListingAccessRewardClaimed ¶
type ListingAccessRewardClaimed struct { Hash [32]byte MakerFee *big.Int Minted *big.Int Raw types.Log // Blockchain specific contextual infos }
ListingAccessRewardClaimed represents a AccessRewardClaimed event raised by the Listing contract.
type ListingAccessRewardClaimedIterator ¶
type ListingAccessRewardClaimedIterator struct { Event *ListingAccessRewardClaimed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ListingAccessRewardClaimedIterator is returned from FilterAccessRewardClaimed and is used to iterate over the raw logs and unpacked data for AccessRewardClaimed events raised by the Listing contract.
func (*ListingAccessRewardClaimedIterator) Close ¶
func (it *ListingAccessRewardClaimedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ListingAccessRewardClaimedIterator) Error ¶
func (it *ListingAccessRewardClaimedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ListingAccessRewardClaimedIterator) Next ¶
func (it *ListingAccessRewardClaimedIterator) 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 ListingApplicationFailed ¶
type ListingApplicationFailed struct { Hash [32]byte Applicant common.Address Raw types.Log // Blockchain specific contextual infos }
ListingApplicationFailed represents a ApplicationFailed event raised by the Listing contract.
type ListingApplicationFailedIterator ¶
type ListingApplicationFailedIterator struct { Event *ListingApplicationFailed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ListingApplicationFailedIterator is returned from FilterApplicationFailed and is used to iterate over the raw logs and unpacked data for ApplicationFailed events raised by the Listing contract.
func (*ListingApplicationFailedIterator) Close ¶
func (it *ListingApplicationFailedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ListingApplicationFailedIterator) Error ¶
func (it *ListingApplicationFailedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ListingApplicationFailedIterator) Next ¶
func (it *ListingApplicationFailedIterator) 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 ListingApplied ¶
type ListingApplied struct { Hash [32]byte Applicant common.Address Raw types.Log // Blockchain specific contextual infos }
ListingApplied represents a Applied event raised by the Listing contract.
type ListingAppliedIterator ¶
type ListingAppliedIterator struct { Event *ListingApplied // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ListingAppliedIterator is returned from FilterApplied and is used to iterate over the raw logs and unpacked data for Applied events raised by the Listing contract.
func (*ListingAppliedIterator) Close ¶
func (it *ListingAppliedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ListingAppliedIterator) Error ¶
func (it *ListingAppliedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ListingAppliedIterator) Next ¶
func (it *ListingAppliedIterator) 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 ListingCaller ¶
type ListingCaller struct {
// contains filtered or unexported fields
}
ListingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewListingCaller ¶
func NewListingCaller(address common.Address, caller bind.ContractCaller) (*ListingCaller, error)
NewListingCaller creates a new read-only instance of Listing, bound to a specific deployed contract.
func (*ListingCaller) GetListing ¶
func (_Listing *ListingCaller) GetListing(opts *bind.CallOpts, hash [32]byte) (common.Address, *big.Int, error)
GetListing is a free data retrieval call binding the contract method 0x175c0d16.
Solidity: function getListing(bytes32 hash) constant returns(address out, uint256 out)
type ListingCallerRaw ¶
type ListingCallerRaw struct {
Contract *ListingCaller // Generic read-only contract binding to access the raw methods on
}
ListingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ListingCallerRaw) Call ¶
func (_Listing *ListingCallerRaw) 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 ListingCallerSession ¶
type ListingCallerSession struct { Contract *ListingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ListingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ListingCallerSession) GetListing ¶
GetListing is a free data retrieval call binding the contract method 0x175c0d16.
Solidity: function getListing(bytes32 hash) constant returns(address out, uint256 out)
type ListingChallengeFailed ¶
type ListingChallengeFailed struct { Hash [32]byte Challenger common.Address Raw types.Log // Blockchain specific contextual infos }
ListingChallengeFailed represents a ChallengeFailed event raised by the Listing contract.
type ListingChallengeFailedIterator ¶
type ListingChallengeFailedIterator struct { Event *ListingChallengeFailed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ListingChallengeFailedIterator is returned from FilterChallengeFailed and is used to iterate over the raw logs and unpacked data for ChallengeFailed events raised by the Listing contract.
func (*ListingChallengeFailedIterator) Close ¶
func (it *ListingChallengeFailedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ListingChallengeFailedIterator) Error ¶
func (it *ListingChallengeFailedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ListingChallengeFailedIterator) Next ¶
func (it *ListingChallengeFailedIterator) 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 ListingChallengeSucceeded ¶
type ListingChallengeSucceeded struct { Hash [32]byte Challenger common.Address Raw types.Log // Blockchain specific contextual infos }
ListingChallengeSucceeded represents a ChallengeSucceeded event raised by the Listing contract.
type ListingChallengeSucceededIterator ¶
type ListingChallengeSucceededIterator struct { Event *ListingChallengeSucceeded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ListingChallengeSucceededIterator is returned from FilterChallengeSucceeded and is used to iterate over the raw logs and unpacked data for ChallengeSucceeded events raised by the Listing contract.
func (*ListingChallengeSucceededIterator) Close ¶
func (it *ListingChallengeSucceededIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ListingChallengeSucceededIterator) Error ¶
func (it *ListingChallengeSucceededIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ListingChallengeSucceededIterator) Next ¶
func (it *ListingChallengeSucceededIterator) 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 ListingChallenged ¶
type ListingChallenged struct { Hash [32]byte Challenger common.Address Raw types.Log // Blockchain specific contextual infos }
ListingChallenged represents a Challenged event raised by the Listing contract.
type ListingChallengedIterator ¶
type ListingChallengedIterator struct { Event *ListingChallenged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ListingChallengedIterator is returned from FilterChallenged and is used to iterate over the raw logs and unpacked data for Challenged events raised by the Listing contract.
func (*ListingChallengedIterator) Close ¶
func (it *ListingChallengedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ListingChallengedIterator) Error ¶
func (it *ListingChallengedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ListingChallengedIterator) Next ¶
func (it *ListingChallengedIterator) 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 ListingFilterer ¶
type ListingFilterer struct {
// contains filtered or unexported fields
}
ListingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewListingFilterer ¶
func NewListingFilterer(address common.Address, filterer bind.ContractFilterer) (*ListingFilterer, error)
NewListingFilterer creates a new log filterer instance of Listing, bound to a specific deployed contract.
func (*ListingFilterer) FilterAccessRewardClaimed ¶
func (_Listing *ListingFilterer) FilterAccessRewardClaimed(opts *bind.FilterOpts, hash [][32]byte) (*ListingAccessRewardClaimedIterator, error)
FilterAccessRewardClaimed is a free log retrieval operation binding the contract event 0x62a55a6ea8da38f525b224c00efe75612d76b6915424c77216157e621865cfcf.
Solidity: event AccessRewardClaimed(bytes32 indexed hash, uint256 maker_fee, uint256 minted)
func (*ListingFilterer) FilterApplicationFailed ¶
func (_Listing *ListingFilterer) FilterApplicationFailed(opts *bind.FilterOpts, hash [][32]byte, applicant []common.Address) (*ListingApplicationFailedIterator, error)
FilterApplicationFailed is a free log retrieval operation binding the contract event 0x163b66974440f1696d484dfc777282273c42ff2fa247d72dbdbb3510d92cbda6.
Solidity: event ApplicationFailed(bytes32 indexed hash, address indexed applicant)
func (*ListingFilterer) FilterApplied ¶
func (_Listing *ListingFilterer) FilterApplied(opts *bind.FilterOpts, hash [][32]byte, applicant []common.Address) (*ListingAppliedIterator, error)
FilterApplied is a free log retrieval operation binding the contract event 0x26f7438941d95dc8495c99ef33fac91b2b04f98c73290027562cd3e612a3c85f.
Solidity: event Applied(bytes32 indexed hash, address indexed applicant)
func (*ListingFilterer) FilterChallengeFailed ¶
func (_Listing *ListingFilterer) FilterChallengeFailed(opts *bind.FilterOpts, hash [][32]byte, challenger []common.Address) (*ListingChallengeFailedIterator, error)
FilterChallengeFailed is a free log retrieval operation binding the contract event 0xa0e6c0bd204f59362c8b2ebdf77c63242bf779d8ac30c347933db099abcc0370.
Solidity: event ChallengeFailed(bytes32 indexed hash, address indexed challenger)
func (*ListingFilterer) FilterChallengeSucceeded ¶
func (_Listing *ListingFilterer) FilterChallengeSucceeded(opts *bind.FilterOpts, hash [][32]byte, challenger []common.Address) (*ListingChallengeSucceededIterator, error)
FilterChallengeSucceeded is a free log retrieval operation binding the contract event 0xb7e10908a54924c8e096789495f5a4958fed82b49d856d22b208a23b398306bb.
Solidity: event ChallengeSucceeded(bytes32 indexed hash, address indexed challenger)
func (*ListingFilterer) FilterChallenged ¶
func (_Listing *ListingFilterer) FilterChallenged(opts *bind.FilterOpts, hash [][32]byte, challenger []common.Address) (*ListingChallengedIterator, error)
FilterChallenged is a free log retrieval operation binding the contract event 0xe9479421670c3425a1497ce47a53af8bd96ce5bd0741e96221ba0acace3f7d47.
Solidity: event Challenged(bytes32 indexed hash, address indexed challenger)
func (*ListingFilterer) FilterListed ¶
func (_Listing *ListingFilterer) FilterListed(opts *bind.FilterOpts, hash [][32]byte, owner []common.Address) (*ListingListedIterator, error)
FilterListed is a free log retrieval operation binding the contract event 0x7f1a2c3e2883554425dc0f9f24dcfcdf54213b186c550080373dcc65813aa8d0.
Solidity: event Listed(bytes32 indexed hash, address indexed owner, uint256 reward)
func (*ListingFilterer) FilterListingRemoved ¶
func (_Listing *ListingFilterer) FilterListingRemoved(opts *bind.FilterOpts, hash [][32]byte) (*ListingListingRemovedIterator, error)
FilterListingRemoved is a free log retrieval operation binding the contract event 0x50425cae216bd151d26c8e8bb9779cc899c99d72f78081f2ceec9a99f001ff79.
Solidity: event ListingRemoved(bytes32 indexed hash)
func (*ListingFilterer) FilterWithdrawnFromListing ¶
func (_Listing *ListingFilterer) FilterWithdrawnFromListing(opts *bind.FilterOpts, hash [][32]byte, owner []common.Address) (*ListingWithdrawnFromListingIterator, error)
FilterWithdrawnFromListing is a free log retrieval operation binding the contract event 0x80c60c72ccf40c5034d79902057aa92a89ffffda44f36fc89355c808e8106adf.
Solidity: event WithdrawnFromListing(bytes32 indexed hash, address indexed owner, uint256 withdrawn)
func (*ListingFilterer) WatchAccessRewardClaimed ¶
func (_Listing *ListingFilterer) WatchAccessRewardClaimed(opts *bind.WatchOpts, sink chan<- *ListingAccessRewardClaimed, hash [][32]byte) (event.Subscription, error)
WatchAccessRewardClaimed is a free log subscription operation binding the contract event 0x62a55a6ea8da38f525b224c00efe75612d76b6915424c77216157e621865cfcf.
Solidity: event AccessRewardClaimed(bytes32 indexed hash, uint256 maker_fee, uint256 minted)
func (*ListingFilterer) WatchApplicationFailed ¶
func (_Listing *ListingFilterer) WatchApplicationFailed(opts *bind.WatchOpts, sink chan<- *ListingApplicationFailed, hash [][32]byte, applicant []common.Address) (event.Subscription, error)
WatchApplicationFailed is a free log subscription operation binding the contract event 0x163b66974440f1696d484dfc777282273c42ff2fa247d72dbdbb3510d92cbda6.
Solidity: event ApplicationFailed(bytes32 indexed hash, address indexed applicant)
func (*ListingFilterer) WatchApplied ¶
func (_Listing *ListingFilterer) WatchApplied(opts *bind.WatchOpts, sink chan<- *ListingApplied, hash [][32]byte, applicant []common.Address) (event.Subscription, error)
WatchApplied is a free log subscription operation binding the contract event 0x26f7438941d95dc8495c99ef33fac91b2b04f98c73290027562cd3e612a3c85f.
Solidity: event Applied(bytes32 indexed hash, address indexed applicant)
func (*ListingFilterer) WatchChallengeFailed ¶
func (_Listing *ListingFilterer) WatchChallengeFailed(opts *bind.WatchOpts, sink chan<- *ListingChallengeFailed, hash [][32]byte, challenger []common.Address) (event.Subscription, error)
WatchChallengeFailed is a free log subscription operation binding the contract event 0xa0e6c0bd204f59362c8b2ebdf77c63242bf779d8ac30c347933db099abcc0370.
Solidity: event ChallengeFailed(bytes32 indexed hash, address indexed challenger)
func (*ListingFilterer) WatchChallengeSucceeded ¶
func (_Listing *ListingFilterer) WatchChallengeSucceeded(opts *bind.WatchOpts, sink chan<- *ListingChallengeSucceeded, hash [][32]byte, challenger []common.Address) (event.Subscription, error)
WatchChallengeSucceeded is a free log subscription operation binding the contract event 0xb7e10908a54924c8e096789495f5a4958fed82b49d856d22b208a23b398306bb.
Solidity: event ChallengeSucceeded(bytes32 indexed hash, address indexed challenger)
func (*ListingFilterer) WatchChallenged ¶
func (_Listing *ListingFilterer) WatchChallenged(opts *bind.WatchOpts, sink chan<- *ListingChallenged, hash [][32]byte, challenger []common.Address) (event.Subscription, error)
WatchChallenged is a free log subscription operation binding the contract event 0xe9479421670c3425a1497ce47a53af8bd96ce5bd0741e96221ba0acace3f7d47.
Solidity: event Challenged(bytes32 indexed hash, address indexed challenger)
func (*ListingFilterer) WatchListed ¶
func (_Listing *ListingFilterer) WatchListed(opts *bind.WatchOpts, sink chan<- *ListingListed, hash [][32]byte, owner []common.Address) (event.Subscription, error)
WatchListed is a free log subscription operation binding the contract event 0x7f1a2c3e2883554425dc0f9f24dcfcdf54213b186c550080373dcc65813aa8d0.
Solidity: event Listed(bytes32 indexed hash, address indexed owner, uint256 reward)
func (*ListingFilterer) WatchListingRemoved ¶
func (_Listing *ListingFilterer) WatchListingRemoved(opts *bind.WatchOpts, sink chan<- *ListingListingRemoved, hash [][32]byte) (event.Subscription, error)
WatchListingRemoved is a free log subscription operation binding the contract event 0x50425cae216bd151d26c8e8bb9779cc899c99d72f78081f2ceec9a99f001ff79.
Solidity: event ListingRemoved(bytes32 indexed hash)
func (*ListingFilterer) WatchWithdrawnFromListing ¶
func (_Listing *ListingFilterer) WatchWithdrawnFromListing(opts *bind.WatchOpts, sink chan<- *ListingWithdrawnFromListing, hash [][32]byte, owner []common.Address) (event.Subscription, error)
WatchWithdrawnFromListing is a free log subscription operation binding the contract event 0x80c60c72ccf40c5034d79902057aa92a89ffffda44f36fc89355c808e8106adf.
Solidity: event WithdrawnFromListing(bytes32 indexed hash, address indexed owner, uint256 withdrawn)
type ListingListed ¶
type ListingListed struct { Hash [32]byte Owner common.Address Reward *big.Int Raw types.Log // Blockchain specific contextual infos }
ListingListed represents a Listed event raised by the Listing contract.
type ListingListedIterator ¶
type ListingListedIterator struct { Event *ListingListed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ListingListedIterator is returned from FilterListed and is used to iterate over the raw logs and unpacked data for Listed events raised by the Listing contract.
func (*ListingListedIterator) Close ¶
func (it *ListingListedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ListingListedIterator) Error ¶
func (it *ListingListedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ListingListedIterator) Next ¶
func (it *ListingListedIterator) 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 ListingListingRemoved ¶
type ListingListingRemoved struct { Hash [32]byte Raw types.Log // Blockchain specific contextual infos }
ListingListingRemoved represents a ListingRemoved event raised by the Listing contract.
type ListingListingRemovedIterator ¶
type ListingListingRemovedIterator struct { Event *ListingListingRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ListingListingRemovedIterator is returned from FilterListingRemoved and is used to iterate over the raw logs and unpacked data for ListingRemoved events raised by the Listing contract.
func (*ListingListingRemovedIterator) Close ¶
func (it *ListingListingRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ListingListingRemovedIterator) Error ¶
func (it *ListingListingRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ListingListingRemovedIterator) Next ¶
func (it *ListingListingRemovedIterator) 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 ListingRaw ¶
type ListingRaw struct {
Contract *Listing // Generic contract binding to access the raw methods on
}
ListingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ListingRaw) Call ¶
func (_Listing *ListingRaw) 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 (*ListingRaw) Transact ¶
func (_Listing *ListingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ListingRaw) Transfer ¶
func (_Listing *ListingRaw) 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 ListingSession ¶
type ListingSession struct { Contract *Listing // 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 }
ListingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ListingSession) Challenge ¶
func (_Listing *ListingSession) Challenge(hash [32]byte) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0xcffd46dc.
Solidity: function challenge(bytes32 hash) returns()
func (*ListingSession) ClaimAccessReward ¶
func (_Listing *ListingSession) ClaimAccessReward(hash [32]byte) (*types.Transaction, error)
ClaimAccessReward is a paid mutator transaction binding the contract method 0x58fb1aa2.
Solidity: function claimAccessReward(bytes32 hash) returns()
func (*ListingSession) Exit ¶
func (_Listing *ListingSession) Exit(hash [32]byte) (*types.Transaction, error)
Exit is a paid mutator transaction binding the contract method 0x0ca36263.
Solidity: function exit(bytes32 hash) returns()
func (*ListingSession) GetListing ¶
GetListing is a free data retrieval call binding the contract method 0x175c0d16.
Solidity: function getListing(bytes32 hash) constant returns(address out, uint256 out)
func (*ListingSession) IsListed ¶
func (_Listing *ListingSession) IsListed(hash [32]byte) (bool, error)
IsListed is a free data retrieval call binding the contract method 0xecefbdc6.
Solidity: function isListed(bytes32 hash) constant returns(bool out)
func (*ListingSession) List ¶
func (_Listing *ListingSession) List(hash [32]byte) (*types.Transaction, error)
List is a paid mutator transaction binding the contract method 0x13d49a8b.
Solidity: function list(bytes32 hash) returns()
func (*ListingSession) ResolveApplication ¶
func (_Listing *ListingSession) ResolveApplication(hash [32]byte) (*types.Transaction, error)
ResolveApplication is a paid mutator transaction binding the contract method 0x18e28e1c.
Solidity: function resolveApplication(bytes32 hash) returns()
func (*ListingSession) ResolveChallenge ¶
func (_Listing *ListingSession) ResolveChallenge(hash [32]byte) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0xd32c943a.
Solidity: function resolveChallenge(bytes32 hash) returns()
func (*ListingSession) WithdrawFromListing ¶
func (_Listing *ListingSession) WithdrawFromListing(hash [32]byte, amount *big.Int) (*types.Transaction, error)
WithdrawFromListing is a paid mutator transaction binding the contract method 0xa7e78675.
Solidity: function withdrawFromListing(bytes32 hash, uint256 amount) returns()
type ListingTransactor ¶
type ListingTransactor struct {
// contains filtered or unexported fields
}
ListingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewListingTransactor ¶
func NewListingTransactor(address common.Address, transactor bind.ContractTransactor) (*ListingTransactor, error)
NewListingTransactor creates a new write-only instance of Listing, bound to a specific deployed contract.
func (*ListingTransactor) Challenge ¶
func (_Listing *ListingTransactor) Challenge(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0xcffd46dc.
Solidity: function challenge(bytes32 hash) returns()
func (*ListingTransactor) ClaimAccessReward ¶
func (_Listing *ListingTransactor) ClaimAccessReward(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
ClaimAccessReward is a paid mutator transaction binding the contract method 0x58fb1aa2.
Solidity: function claimAccessReward(bytes32 hash) returns()
func (*ListingTransactor) Exit ¶
func (_Listing *ListingTransactor) Exit(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
Exit is a paid mutator transaction binding the contract method 0x0ca36263.
Solidity: function exit(bytes32 hash) returns()
func (*ListingTransactor) List ¶
func (_Listing *ListingTransactor) List(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
List is a paid mutator transaction binding the contract method 0x13d49a8b.
Solidity: function list(bytes32 hash) returns()
func (*ListingTransactor) ResolveApplication ¶
func (_Listing *ListingTransactor) ResolveApplication(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
ResolveApplication is a paid mutator transaction binding the contract method 0x18e28e1c.
Solidity: function resolveApplication(bytes32 hash) returns()
func (*ListingTransactor) ResolveChallenge ¶
func (_Listing *ListingTransactor) ResolveChallenge(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0xd32c943a.
Solidity: function resolveChallenge(bytes32 hash) returns()
func (*ListingTransactor) WithdrawFromListing ¶
func (_Listing *ListingTransactor) WithdrawFromListing(opts *bind.TransactOpts, hash [32]byte, amount *big.Int) (*types.Transaction, error)
WithdrawFromListing is a paid mutator transaction binding the contract method 0xa7e78675.
Solidity: function withdrawFromListing(bytes32 hash, uint256 amount) returns()
type ListingTransactorRaw ¶
type ListingTransactorRaw struct {
Contract *ListingTransactor // Generic write-only contract binding to access the raw methods on
}
ListingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ListingTransactorRaw) Transact ¶
func (_Listing *ListingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ListingTransactorRaw) Transfer ¶
func (_Listing *ListingTransactorRaw) 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 ListingTransactorSession ¶
type ListingTransactorSession struct { Contract *ListingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ListingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ListingTransactorSession) Challenge ¶
func (_Listing *ListingTransactorSession) Challenge(hash [32]byte) (*types.Transaction, error)
Challenge is a paid mutator transaction binding the contract method 0xcffd46dc.
Solidity: function challenge(bytes32 hash) returns()
func (*ListingTransactorSession) ClaimAccessReward ¶
func (_Listing *ListingTransactorSession) ClaimAccessReward(hash [32]byte) (*types.Transaction, error)
ClaimAccessReward is a paid mutator transaction binding the contract method 0x58fb1aa2.
Solidity: function claimAccessReward(bytes32 hash) returns()
func (*ListingTransactorSession) Exit ¶
func (_Listing *ListingTransactorSession) Exit(hash [32]byte) (*types.Transaction, error)
Exit is a paid mutator transaction binding the contract method 0x0ca36263.
Solidity: function exit(bytes32 hash) returns()
func (*ListingTransactorSession) List ¶
func (_Listing *ListingTransactorSession) List(hash [32]byte) (*types.Transaction, error)
List is a paid mutator transaction binding the contract method 0x13d49a8b.
Solidity: function list(bytes32 hash) returns()
func (*ListingTransactorSession) ResolveApplication ¶
func (_Listing *ListingTransactorSession) ResolveApplication(hash [32]byte) (*types.Transaction, error)
ResolveApplication is a paid mutator transaction binding the contract method 0x18e28e1c.
Solidity: function resolveApplication(bytes32 hash) returns()
func (*ListingTransactorSession) ResolveChallenge ¶
func (_Listing *ListingTransactorSession) ResolveChallenge(hash [32]byte) (*types.Transaction, error)
ResolveChallenge is a paid mutator transaction binding the contract method 0xd32c943a.
Solidity: function resolveChallenge(bytes32 hash) returns()
func (*ListingTransactorSession) WithdrawFromListing ¶
func (_Listing *ListingTransactorSession) WithdrawFromListing(hash [32]byte, amount *big.Int) (*types.Transaction, error)
WithdrawFromListing is a paid mutator transaction binding the contract method 0xa7e78675.
Solidity: function withdrawFromListing(bytes32 hash, uint256 amount) returns()
type ListingWithdrawnFromListing ¶
type ListingWithdrawnFromListing struct { Hash [32]byte Owner common.Address Withdrawn *big.Int Raw types.Log // Blockchain specific contextual infos }
ListingWithdrawnFromListing represents a WithdrawnFromListing event raised by the Listing contract.
type ListingWithdrawnFromListingIterator ¶
type ListingWithdrawnFromListingIterator struct { Event *ListingWithdrawnFromListing // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ListingWithdrawnFromListingIterator is returned from FilterWithdrawnFromListing and is used to iterate over the raw logs and unpacked data for WithdrawnFromListing events raised by the Listing contract.
func (*ListingWithdrawnFromListingIterator) Close ¶
func (it *ListingWithdrawnFromListingIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ListingWithdrawnFromListingIterator) Error ¶
func (it *ListingWithdrawnFromListingIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ListingWithdrawnFromListingIterator) Next ¶
func (it *ListingWithdrawnFromListingIterator) 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.