Documentation ¶
Index ¶
- Constants
- type ScryProtocol
- type ScryProtocolBuy
- type ScryProtocolBuyIterator
- type ScryProtocolCaller
- type ScryProtocolCallerRaw
- type ScryProtocolCallerSession
- type ScryProtocolDataPublish
- type ScryProtocolDataPublishIterator
- type ScryProtocolFilterer
- func (_ScryProtocol *ScryProtocolFilterer) FilterBuy(opts *bind.FilterOpts) (*ScryProtocolBuyIterator, error)
- func (_ScryProtocol *ScryProtocolFilterer) FilterDataPublish(opts *bind.FilterOpts) (*ScryProtocolDataPublishIterator, error)
- func (_ScryProtocol *ScryProtocolFilterer) FilterReadyForDownload(opts *bind.FilterOpts) (*ScryProtocolReadyForDownloadIterator, error)
- func (_ScryProtocol *ScryProtocolFilterer) FilterRegisterVerifier(opts *bind.FilterOpts) (*ScryProtocolRegisterVerifierIterator, error)
- func (_ScryProtocol *ScryProtocolFilterer) FilterTransactionClose(opts *bind.FilterOpts) (*ScryProtocolTransactionCloseIterator, error)
- func (_ScryProtocol *ScryProtocolFilterer) FilterTransactionCreate(opts *bind.FilterOpts) (*ScryProtocolTransactionCreateIterator, error)
- func (_ScryProtocol *ScryProtocolFilterer) FilterVerifierDisable(opts *bind.FilterOpts) (*ScryProtocolVerifierDisableIterator, error)
- func (_ScryProtocol *ScryProtocolFilterer) FilterVerifiersChosen(opts *bind.FilterOpts) (*ScryProtocolVerifiersChosenIterator, error)
- func (_ScryProtocol *ScryProtocolFilterer) FilterVote(opts *bind.FilterOpts) (*ScryProtocolVoteIterator, error)
- func (_ScryProtocol *ScryProtocolFilterer) WatchBuy(opts *bind.WatchOpts, sink chan<- *ScryProtocolBuy) (event.Subscription, error)
- func (_ScryProtocol *ScryProtocolFilterer) WatchDataPublish(opts *bind.WatchOpts, sink chan<- *ScryProtocolDataPublish) (event.Subscription, error)
- func (_ScryProtocol *ScryProtocolFilterer) WatchReadyForDownload(opts *bind.WatchOpts, sink chan<- *ScryProtocolReadyForDownload) (event.Subscription, error)
- func (_ScryProtocol *ScryProtocolFilterer) WatchRegisterVerifier(opts *bind.WatchOpts, sink chan<- *ScryProtocolRegisterVerifier) (event.Subscription, error)
- func (_ScryProtocol *ScryProtocolFilterer) WatchTransactionClose(opts *bind.WatchOpts, sink chan<- *ScryProtocolTransactionClose) (event.Subscription, error)
- func (_ScryProtocol *ScryProtocolFilterer) WatchTransactionCreate(opts *bind.WatchOpts, sink chan<- *ScryProtocolTransactionCreate) (event.Subscription, error)
- func (_ScryProtocol *ScryProtocolFilterer) WatchVerifierDisable(opts *bind.WatchOpts, sink chan<- *ScryProtocolVerifierDisable) (event.Subscription, error)
- func (_ScryProtocol *ScryProtocolFilterer) WatchVerifiersChosen(opts *bind.WatchOpts, sink chan<- *ScryProtocolVerifiersChosen) (event.Subscription, error)
- func (_ScryProtocol *ScryProtocolFilterer) WatchVote(opts *bind.WatchOpts, sink chan<- *ScryProtocolVote) (event.Subscription, error)
- type ScryProtocolRaw
- func (_ScryProtocol *ScryProtocolRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ScryProtocol *ScryProtocolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ScryProtocolReadyForDownload
- type ScryProtocolReadyForDownloadIterator
- type ScryProtocolRegisterVerifier
- type ScryProtocolRegisterVerifierIterator
- type ScryProtocolSession
- func (_ScryProtocol *ScryProtocolSession) BuyData(seqNo string, txId *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) CancelTransaction(seqNo string, txId *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) ConfirmDataTruth(seqNo string, txId *big.Int, truth bool) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) CreateTransaction(seqNo string, publishId string, startVerify bool) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) CreditsToVerifier(seqNo string, txId *big.Int, verifierIndex uint8, credit uint8) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) PublishDataInfo(seqNo string, publishId string, price *big.Int, metaDataIdEncSeller []byte, ...) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) RegisterAsVerifier(seqNo string) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) SetVerifierBonus(bonus *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) SetVerifierDepositToken(deposit *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) SetVerifierNum(num uint8) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) SubmitMetaDataIdEncWithBuyer(seqNo string, txId *big.Int, encryptedMetaDataId []byte) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolSession) Vote(seqNo string, txId *big.Int, judge bool, comments string) (*types.Transaction, error)
- type ScryProtocolTransactionClose
- type ScryProtocolTransactionCloseIterator
- type ScryProtocolTransactionCreate
- type ScryProtocolTransactionCreateIterator
- type ScryProtocolTransactor
- func (_ScryProtocol *ScryProtocolTransactor) BuyData(opts *bind.TransactOpts, seqNo string, txId *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) CancelTransaction(opts *bind.TransactOpts, seqNo string, txId *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) ConfirmDataTruth(opts *bind.TransactOpts, seqNo string, txId *big.Int, truth bool) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) CreateTransaction(opts *bind.TransactOpts, seqNo string, publishId string, startVerify bool) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) CreditsToVerifier(opts *bind.TransactOpts, seqNo string, txId *big.Int, verifierIndex uint8, ...) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) PublishDataInfo(opts *bind.TransactOpts, seqNo string, publishId string, price *big.Int, ...) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) RegisterAsVerifier(opts *bind.TransactOpts, seqNo string) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) SetVerifierBonus(opts *bind.TransactOpts, bonus *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) SetVerifierDepositToken(opts *bind.TransactOpts, deposit *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) SetVerifierNum(opts *bind.TransactOpts, num uint8) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) SubmitMetaDataIdEncWithBuyer(opts *bind.TransactOpts, seqNo string, txId *big.Int, ...) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactor) Vote(opts *bind.TransactOpts, seqNo string, txId *big.Int, judge bool, ...) (*types.Transaction, error)
- type ScryProtocolTransactorRaw
- type ScryProtocolTransactorSession
- func (_ScryProtocol *ScryProtocolTransactorSession) BuyData(seqNo string, txId *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) CancelTransaction(seqNo string, txId *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) ConfirmDataTruth(seqNo string, txId *big.Int, truth bool) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) CreateTransaction(seqNo string, publishId string, startVerify bool) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) CreditsToVerifier(seqNo string, txId *big.Int, verifierIndex uint8, credit uint8) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) PublishDataInfo(seqNo string, publishId string, price *big.Int, metaDataIdEncSeller []byte, ...) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) RegisterAsVerifier(seqNo string) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) SetVerifierBonus(bonus *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) SetVerifierDepositToken(deposit *big.Int) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) SetVerifierNum(num uint8) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) SubmitMetaDataIdEncWithBuyer(seqNo string, txId *big.Int, encryptedMetaDataId []byte) (*types.Transaction, error)
- func (_ScryProtocol *ScryProtocolTransactorSession) Vote(seqNo string, txId *big.Int, judge bool, comments string) (*types.Transaction, error)
- type ScryProtocolVerifierDisable
- type ScryProtocolVerifierDisableIterator
- type ScryProtocolVerifiersChosen
- type ScryProtocolVerifiersChosenIterator
- type ScryProtocolVote
- type ScryProtocolVoteIterator
- type ScryToken
- type ScryTokenApproval
- type ScryTokenApprovalIterator
- type ScryTokenCaller
- func (_ScryToken *ScryTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ScryToken *ScryTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_ScryToken *ScryTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ScryToken *ScryTokenCaller) INITIALSUPPLY(opts *bind.CallOpts) (*big.Int, error)
- func (_ScryToken *ScryTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ScryToken *ScryTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ScryToken *ScryTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ScryTokenCallerRaw
- type ScryTokenCallerSession
- func (_ScryToken *ScryTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ScryToken *ScryTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_ScryToken *ScryTokenCallerSession) Decimals() (uint8, error)
- func (_ScryToken *ScryTokenCallerSession) INITIALSUPPLY() (*big.Int, error)
- func (_ScryToken *ScryTokenCallerSession) Name() (string, error)
- func (_ScryToken *ScryTokenCallerSession) Symbol() (string, error)
- func (_ScryToken *ScryTokenCallerSession) TotalSupply() (*big.Int, error)
- type ScryTokenFilterer
- func (_ScryToken *ScryTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ScryTokenApprovalIterator, error)
- func (_ScryToken *ScryTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ScryTokenTransferIterator, error)
- func (_ScryToken *ScryTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ScryTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_ScryToken *ScryTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ScryTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type ScryTokenRaw
- func (_ScryToken *ScryTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ScryToken *ScryTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ScryToken *ScryTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ScryTokenSession
- func (_ScryToken *ScryTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_ScryToken *ScryTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_ScryToken *ScryTokenSession) Decimals() (uint8, error)
- func (_ScryToken *ScryTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenSession) INITIALSUPPLY() (*big.Int, error)
- func (_ScryToken *ScryTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenSession) Name() (string, error)
- func (_ScryToken *ScryTokenSession) Symbol() (string, error)
- func (_ScryToken *ScryTokenSession) TotalSupply() (*big.Int, error)
- func (_ScryToken *ScryTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type ScryTokenTransactor
- func (_ScryToken *ScryTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type ScryTokenTransactorRaw
- type ScryTokenTransactorSession
- func (_ScryToken *ScryTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_ScryToken *ScryTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type ScryTokenTransfer
- type ScryTokenTransferIterator
Constants ¶
const ScryProtocolABI = "" /* 7184-byte string literal not displayed */
ScryProtocolABI is the input ABI used to generate the binding from.
const ScryTokenABI = "" /* 3364-byte string literal not displayed */
ScryTokenABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScryProtocol ¶
type ScryProtocol struct { ScryProtocolCaller // Read-only binding to the contract ScryProtocolTransactor // Write-only binding to the contract ScryProtocolFilterer // Log filterer for contract events }
ScryProtocol is an auto generated Go binding around an Ethereum contract.
func NewScryProtocol ¶
func NewScryProtocol(address common.Address, backend bind.ContractBackend) (*ScryProtocol, error)
NewScryProtocol creates a new instance of ScryProtocol, bound to a specific deployed contract.
type ScryProtocolBuy ¶
type ScryProtocolBuy struct { SeqNo string TransactionId *big.Int PublishId string MetaDataIdEncSeller []byte State uint8 Buyer common.Address Index uint8 Users []common.Address Raw types.Log // Blockchain specific contextual infos }
ScryProtocolBuy represents a Buy event raised by the ScryProtocol contract.
type ScryProtocolBuyIterator ¶
type ScryProtocolBuyIterator struct { Event *ScryProtocolBuy // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryProtocolBuyIterator is returned from FilterBuy and is used to iterate over the raw logs and unpacked data for Buy events raised by the ScryProtocol contract.
func (*ScryProtocolBuyIterator) Close ¶
func (it *ScryProtocolBuyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryProtocolBuyIterator) Error ¶
func (it *ScryProtocolBuyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryProtocolBuyIterator) Next ¶
func (it *ScryProtocolBuyIterator) 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 ScryProtocolCaller ¶
type ScryProtocolCaller struct {
// contains filtered or unexported fields
}
ScryProtocolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewScryProtocolCaller ¶
func NewScryProtocolCaller(address common.Address, caller bind.ContractCaller) (*ScryProtocolCaller, error)
NewScryProtocolCaller creates a new read-only instance of ScryProtocol, bound to a specific deployed contract.
type ScryProtocolCallerRaw ¶
type ScryProtocolCallerRaw struct {
Contract *ScryProtocolCaller // Generic read-only contract binding to access the raw methods on
}
ScryProtocolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ScryProtocolCallerRaw) Call ¶
func (_ScryProtocol *ScryProtocolCallerRaw) 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 ScryProtocolCallerSession ¶
type ScryProtocolCallerSession struct { Contract *ScryProtocolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ScryProtocolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ScryProtocolDataPublish ¶
type ScryProtocolDataPublish struct { SeqNo string PublishId string Price *big.Int DespDataId string SupportVerify bool Users []common.Address Raw types.Log // Blockchain specific contextual infos }
ScryProtocolDataPublish represents a DataPublish event raised by the ScryProtocol contract.
type ScryProtocolDataPublishIterator ¶
type ScryProtocolDataPublishIterator struct { Event *ScryProtocolDataPublish // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryProtocolDataPublishIterator is returned from FilterDataPublish and is used to iterate over the raw logs and unpacked data for DataPublish events raised by the ScryProtocol contract.
func (*ScryProtocolDataPublishIterator) Close ¶
func (it *ScryProtocolDataPublishIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryProtocolDataPublishIterator) Error ¶
func (it *ScryProtocolDataPublishIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryProtocolDataPublishIterator) Next ¶
func (it *ScryProtocolDataPublishIterator) 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 ScryProtocolFilterer ¶
type ScryProtocolFilterer struct {
// contains filtered or unexported fields
}
ScryProtocolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewScryProtocolFilterer ¶
func NewScryProtocolFilterer(address common.Address, filterer bind.ContractFilterer) (*ScryProtocolFilterer, error)
NewScryProtocolFilterer creates a new log filterer instance of ScryProtocol, bound to a specific deployed contract.
func (*ScryProtocolFilterer) FilterBuy ¶
func (_ScryProtocol *ScryProtocolFilterer) FilterBuy(opts *bind.FilterOpts) (*ScryProtocolBuyIterator, error)
FilterBuy is a free log retrieval operation binding the contract event 0xdd679d1f7e2e03a245cf4676746f400cddba0d80e6171d23f0b11686f0edfa2c.
Solidity: event Buy(string seqNo, uint256 transactionId, string publishId, bytes metaDataIdEncSeller, uint8 state, address buyer, uint8 index, address[] users)
func (*ScryProtocolFilterer) FilterDataPublish ¶
func (_ScryProtocol *ScryProtocolFilterer) FilterDataPublish(opts *bind.FilterOpts) (*ScryProtocolDataPublishIterator, error)
FilterDataPublish is a free log retrieval operation binding the contract event 0x382c732523b607b116dd2681b4e54c31b1ee534cf9eed7bcb98e1ec8d43ecbea.
Solidity: event DataPublish(string seqNo, string publishId, uint256 price, string despDataId, bool supportVerify, address[] users)
func (*ScryProtocolFilterer) FilterReadyForDownload ¶
func (_ScryProtocol *ScryProtocolFilterer) FilterReadyForDownload(opts *bind.FilterOpts) (*ScryProtocolReadyForDownloadIterator, error)
FilterReadyForDownload is a free log retrieval operation binding the contract event 0xef3b9511479459f28053c72c9c2deba123aa2ddf021496d5cce3b788f7494e5c.
Solidity: event ReadyForDownload(string seqNo, uint256 transactionId, bytes metaDataIdEncBuyer, uint8 state, uint8 index, address[] users)
func (*ScryProtocolFilterer) FilterRegisterVerifier ¶
func (_ScryProtocol *ScryProtocolFilterer) FilterRegisterVerifier(opts *bind.FilterOpts) (*ScryProtocolRegisterVerifierIterator, error)
FilterRegisterVerifier is a free log retrieval operation binding the contract event 0x476785064b6fb8cce78cd4377a03177c7bac7803ef345a1eaf34d1dbdbf0e864.
Solidity: event RegisterVerifier(string seqNo, address[] users)
func (*ScryProtocolFilterer) FilterTransactionClose ¶
func (_ScryProtocol *ScryProtocolFilterer) FilterTransactionClose(opts *bind.FilterOpts) (*ScryProtocolTransactionCloseIterator, error)
FilterTransactionClose is a free log retrieval operation binding the contract event 0xef210c4e1a93373cd651f7dea507cd35c6eb5b14f64ce0f9dd941e0d4be1cbb7.
Solidity: event TransactionClose(string seqNo, uint256 transactionId, uint8 state, uint8 index, address[] users)
func (*ScryProtocolFilterer) FilterTransactionCreate ¶
func (_ScryProtocol *ScryProtocolFilterer) FilterTransactionCreate(opts *bind.FilterOpts) (*ScryProtocolTransactionCreateIterator, error)
FilterTransactionCreate is a free log retrieval operation binding the contract event 0x87712a8083757ec54dddd564e3755ff6db99131f0a2f8e8db57795d71926a781.
Solidity: event TransactionCreate(string seqNo, uint256 transactionId, string publishId, bytes32[] proofIds, bool needVerify, uint8 state, address[] users)
func (*ScryProtocolFilterer) FilterVerifierDisable ¶
func (_ScryProtocol *ScryProtocolFilterer) FilterVerifierDisable(opts *bind.FilterOpts) (*ScryProtocolVerifierDisableIterator, error)
FilterVerifierDisable is a free log retrieval operation binding the contract event 0xd0e2127bc672e5762b6852e277e4d77594e1eecad47e50f41f56d9a87c1f7505.
Solidity: event VerifierDisable(string seqNo, address verifier, address[] users)
func (*ScryProtocolFilterer) FilterVerifiersChosen ¶
func (_ScryProtocol *ScryProtocolFilterer) FilterVerifiersChosen(opts *bind.FilterOpts) (*ScryProtocolVerifiersChosenIterator, error)
FilterVerifiersChosen is a free log retrieval operation binding the contract event 0x8c48707022c17239432366b846b96252d3a8c7f241cbba874edb30ec41c1acb3.
Solidity: event VerifiersChosen(string seqNo, uint256 transactionId, string publishId, bytes32[] proofIds, uint8 state, address[] users)
func (*ScryProtocolFilterer) FilterVote ¶
func (_ScryProtocol *ScryProtocolFilterer) FilterVote(opts *bind.FilterOpts) (*ScryProtocolVoteIterator, error)
FilterVote is a free log retrieval operation binding the contract event 0x0ffb7cbdd6a39a576bf0eedc7cf48b5d1da05a4d9e868397dafb21ffc1df9c6b.
Solidity: event Vote(string seqNo, uint256 transactionId, bool judge, string comments, uint8 state, uint8 index, address[] users)
func (*ScryProtocolFilterer) WatchBuy ¶
func (_ScryProtocol *ScryProtocolFilterer) WatchBuy(opts *bind.WatchOpts, sink chan<- *ScryProtocolBuy) (event.Subscription, error)
WatchBuy is a free log subscription operation binding the contract event 0xdd679d1f7e2e03a245cf4676746f400cddba0d80e6171d23f0b11686f0edfa2c.
Solidity: event Buy(string seqNo, uint256 transactionId, string publishId, bytes metaDataIdEncSeller, uint8 state, address buyer, uint8 index, address[] users)
func (*ScryProtocolFilterer) WatchDataPublish ¶
func (_ScryProtocol *ScryProtocolFilterer) WatchDataPublish(opts *bind.WatchOpts, sink chan<- *ScryProtocolDataPublish) (event.Subscription, error)
WatchDataPublish is a free log subscription operation binding the contract event 0x382c732523b607b116dd2681b4e54c31b1ee534cf9eed7bcb98e1ec8d43ecbea.
Solidity: event DataPublish(string seqNo, string publishId, uint256 price, string despDataId, bool supportVerify, address[] users)
func (*ScryProtocolFilterer) WatchReadyForDownload ¶
func (_ScryProtocol *ScryProtocolFilterer) WatchReadyForDownload(opts *bind.WatchOpts, sink chan<- *ScryProtocolReadyForDownload) (event.Subscription, error)
WatchReadyForDownload is a free log subscription operation binding the contract event 0xef3b9511479459f28053c72c9c2deba123aa2ddf021496d5cce3b788f7494e5c.
Solidity: event ReadyForDownload(string seqNo, uint256 transactionId, bytes metaDataIdEncBuyer, uint8 state, uint8 index, address[] users)
func (*ScryProtocolFilterer) WatchRegisterVerifier ¶
func (_ScryProtocol *ScryProtocolFilterer) WatchRegisterVerifier(opts *bind.WatchOpts, sink chan<- *ScryProtocolRegisterVerifier) (event.Subscription, error)
WatchRegisterVerifier is a free log subscription operation binding the contract event 0x476785064b6fb8cce78cd4377a03177c7bac7803ef345a1eaf34d1dbdbf0e864.
Solidity: event RegisterVerifier(string seqNo, address[] users)
func (*ScryProtocolFilterer) WatchTransactionClose ¶
func (_ScryProtocol *ScryProtocolFilterer) WatchTransactionClose(opts *bind.WatchOpts, sink chan<- *ScryProtocolTransactionClose) (event.Subscription, error)
WatchTransactionClose is a free log subscription operation binding the contract event 0xef210c4e1a93373cd651f7dea507cd35c6eb5b14f64ce0f9dd941e0d4be1cbb7.
Solidity: event TransactionClose(string seqNo, uint256 transactionId, uint8 state, uint8 index, address[] users)
func (*ScryProtocolFilterer) WatchTransactionCreate ¶
func (_ScryProtocol *ScryProtocolFilterer) WatchTransactionCreate(opts *bind.WatchOpts, sink chan<- *ScryProtocolTransactionCreate) (event.Subscription, error)
WatchTransactionCreate is a free log subscription operation binding the contract event 0x87712a8083757ec54dddd564e3755ff6db99131f0a2f8e8db57795d71926a781.
Solidity: event TransactionCreate(string seqNo, uint256 transactionId, string publishId, bytes32[] proofIds, bool needVerify, uint8 state, address[] users)
func (*ScryProtocolFilterer) WatchVerifierDisable ¶
func (_ScryProtocol *ScryProtocolFilterer) WatchVerifierDisable(opts *bind.WatchOpts, sink chan<- *ScryProtocolVerifierDisable) (event.Subscription, error)
WatchVerifierDisable is a free log subscription operation binding the contract event 0xd0e2127bc672e5762b6852e277e4d77594e1eecad47e50f41f56d9a87c1f7505.
Solidity: event VerifierDisable(string seqNo, address verifier, address[] users)
func (*ScryProtocolFilterer) WatchVerifiersChosen ¶
func (_ScryProtocol *ScryProtocolFilterer) WatchVerifiersChosen(opts *bind.WatchOpts, sink chan<- *ScryProtocolVerifiersChosen) (event.Subscription, error)
WatchVerifiersChosen is a free log subscription operation binding the contract event 0x8c48707022c17239432366b846b96252d3a8c7f241cbba874edb30ec41c1acb3.
Solidity: event VerifiersChosen(string seqNo, uint256 transactionId, string publishId, bytes32[] proofIds, uint8 state, address[] users)
func (*ScryProtocolFilterer) WatchVote ¶
func (_ScryProtocol *ScryProtocolFilterer) WatchVote(opts *bind.WatchOpts, sink chan<- *ScryProtocolVote) (event.Subscription, error)
WatchVote is a free log subscription operation binding the contract event 0x0ffb7cbdd6a39a576bf0eedc7cf48b5d1da05a4d9e868397dafb21ffc1df9c6b.
Solidity: event Vote(string seqNo, uint256 transactionId, bool judge, string comments, uint8 state, uint8 index, address[] users)
type ScryProtocolRaw ¶
type ScryProtocolRaw struct {
Contract *ScryProtocol // Generic contract binding to access the raw methods on
}
ScryProtocolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ScryProtocolRaw) Call ¶
func (_ScryProtocol *ScryProtocolRaw) 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 (*ScryProtocolRaw) Transact ¶
func (_ScryProtocol *ScryProtocolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ScryProtocolRaw) Transfer ¶
func (_ScryProtocol *ScryProtocolRaw) 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 ScryProtocolReadyForDownload ¶
type ScryProtocolReadyForDownload struct { SeqNo string TransactionId *big.Int MetaDataIdEncBuyer []byte State uint8 Index uint8 Users []common.Address Raw types.Log // Blockchain specific contextual infos }
ScryProtocolReadyForDownload represents a ReadyForDownload event raised by the ScryProtocol contract.
type ScryProtocolReadyForDownloadIterator ¶
type ScryProtocolReadyForDownloadIterator struct { Event *ScryProtocolReadyForDownload // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryProtocolReadyForDownloadIterator is returned from FilterReadyForDownload and is used to iterate over the raw logs and unpacked data for ReadyForDownload events raised by the ScryProtocol contract.
func (*ScryProtocolReadyForDownloadIterator) Close ¶
func (it *ScryProtocolReadyForDownloadIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryProtocolReadyForDownloadIterator) Error ¶
func (it *ScryProtocolReadyForDownloadIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryProtocolReadyForDownloadIterator) Next ¶
func (it *ScryProtocolReadyForDownloadIterator) 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 ScryProtocolRegisterVerifier ¶
type ScryProtocolRegisterVerifier struct { SeqNo string Users []common.Address Raw types.Log // Blockchain specific contextual infos }
ScryProtocolRegisterVerifier represents a RegisterVerifier event raised by the ScryProtocol contract.
type ScryProtocolRegisterVerifierIterator ¶
type ScryProtocolRegisterVerifierIterator struct { Event *ScryProtocolRegisterVerifier // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryProtocolRegisterVerifierIterator is returned from FilterRegisterVerifier and is used to iterate over the raw logs and unpacked data for RegisterVerifier events raised by the ScryProtocol contract.
func (*ScryProtocolRegisterVerifierIterator) Close ¶
func (it *ScryProtocolRegisterVerifierIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryProtocolRegisterVerifierIterator) Error ¶
func (it *ScryProtocolRegisterVerifierIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryProtocolRegisterVerifierIterator) Next ¶
func (it *ScryProtocolRegisterVerifierIterator) 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 ScryProtocolSession ¶
type ScryProtocolSession struct { Contract *ScryProtocol // 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 }
ScryProtocolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ScryProtocolSession) BuyData ¶
func (_ScryProtocol *ScryProtocolSession) BuyData(seqNo string, txId *big.Int) (*types.Transaction, error)
BuyData is a paid mutator transaction binding the contract method 0x9a756a99.
Solidity: function buyData(string seqNo, uint256 txId) returns()
func (*ScryProtocolSession) CancelTransaction ¶
func (_ScryProtocol *ScryProtocolSession) CancelTransaction(seqNo string, txId *big.Int) (*types.Transaction, error)
CancelTransaction is a paid mutator transaction binding the contract method 0xcca8f8c3.
Solidity: function cancelTransaction(string seqNo, uint256 txId) returns()
func (*ScryProtocolSession) ConfirmDataTruth ¶
func (_ScryProtocol *ScryProtocolSession) ConfirmDataTruth(seqNo string, txId *big.Int, truth bool) (*types.Transaction, error)
ConfirmDataTruth is a paid mutator transaction binding the contract method 0xdd16673b.
Solidity: function confirmDataTruth(string seqNo, uint256 txId, bool truth) returns()
func (*ScryProtocolSession) CreateTransaction ¶
func (_ScryProtocol *ScryProtocolSession) CreateTransaction(seqNo string, publishId string, startVerify bool) (*types.Transaction, error)
CreateTransaction is a paid mutator transaction binding the contract method 0xccc2ba76.
Solidity: function createTransaction(string seqNo, string publishId, bool startVerify) returns()
func (*ScryProtocolSession) CreditsToVerifier ¶
func (_ScryProtocol *ScryProtocolSession) CreditsToVerifier(seqNo string, txId *big.Int, verifierIndex uint8, credit uint8) (*types.Transaction, error)
CreditsToVerifier is a paid mutator transaction binding the contract method 0xbd7ff8e5.
Solidity: function creditsToVerifier(string seqNo, uint256 txId, uint8 verifierIndex, uint8 credit) returns()
func (*ScryProtocolSession) PublishDataInfo ¶
func (_ScryProtocol *ScryProtocolSession) PublishDataInfo(seqNo string, publishId string, price *big.Int, metaDataIdEncSeller []byte, proofDataIds [][32]byte, despDataId string, supportVerify bool) (*types.Transaction, error)
PublishDataInfo is a paid mutator transaction binding the contract method 0x377caed1.
Solidity: function publishDataInfo(string seqNo, string publishId, uint256 price, bytes metaDataIdEncSeller, bytes32[] proofDataIds, string despDataId, bool supportVerify) returns()
func (*ScryProtocolSession) RegisterAsVerifier ¶
func (_ScryProtocol *ScryProtocolSession) RegisterAsVerifier(seqNo string) (*types.Transaction, error)
RegisterAsVerifier is a paid mutator transaction binding the contract method 0x93151dd5.
Solidity: function registerAsVerifier(string seqNo) returns()
func (*ScryProtocolSession) SetVerifierBonus ¶
func (_ScryProtocol *ScryProtocolSession) SetVerifierBonus(bonus *big.Int) (*types.Transaction, error)
SetVerifierBonus is a paid mutator transaction binding the contract method 0xa129886c.
Solidity: function setVerifierBonus(uint256 bonus) returns()
func (*ScryProtocolSession) SetVerifierDepositToken ¶
func (_ScryProtocol *ScryProtocolSession) SetVerifierDepositToken(deposit *big.Int) (*types.Transaction, error)
SetVerifierDepositToken is a paid mutator transaction binding the contract method 0x71ab5c0e.
Solidity: function setVerifierDepositToken(uint256 deposit) returns()
func (*ScryProtocolSession) SetVerifierNum ¶
func (_ScryProtocol *ScryProtocolSession) SetVerifierNum(num uint8) (*types.Transaction, error)
SetVerifierNum is a paid mutator transaction binding the contract method 0x5a39eba2.
Solidity: function setVerifierNum(uint8 num) returns()
func (*ScryProtocolSession) SubmitMetaDataIdEncWithBuyer ¶
func (_ScryProtocol *ScryProtocolSession) SubmitMetaDataIdEncWithBuyer(seqNo string, txId *big.Int, encryptedMetaDataId []byte) (*types.Transaction, error)
SubmitMetaDataIdEncWithBuyer is a paid mutator transaction binding the contract method 0x8ba737ee.
Solidity: function submitMetaDataIdEncWithBuyer(string seqNo, uint256 txId, bytes encryptedMetaDataId) returns()
func (*ScryProtocolSession) Vote ¶
func (_ScryProtocol *ScryProtocolSession) Vote(seqNo string, txId *big.Int, judge bool, comments string) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0x980da40d.
Solidity: function vote(string seqNo, uint256 txId, bool judge, string comments) returns()
type ScryProtocolTransactionClose ¶
type ScryProtocolTransactionClose struct { SeqNo string TransactionId *big.Int State uint8 Index uint8 Users []common.Address Raw types.Log // Blockchain specific contextual infos }
ScryProtocolTransactionClose represents a TransactionClose event raised by the ScryProtocol contract.
type ScryProtocolTransactionCloseIterator ¶
type ScryProtocolTransactionCloseIterator struct { Event *ScryProtocolTransactionClose // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryProtocolTransactionCloseIterator is returned from FilterTransactionClose and is used to iterate over the raw logs and unpacked data for TransactionClose events raised by the ScryProtocol contract.
func (*ScryProtocolTransactionCloseIterator) Close ¶
func (it *ScryProtocolTransactionCloseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryProtocolTransactionCloseIterator) Error ¶
func (it *ScryProtocolTransactionCloseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryProtocolTransactionCloseIterator) Next ¶
func (it *ScryProtocolTransactionCloseIterator) 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 ScryProtocolTransactionCreate ¶
type ScryProtocolTransactionCreate struct { SeqNo string TransactionId *big.Int PublishId string ProofIds [][32]byte NeedVerify bool State uint8 Users []common.Address Raw types.Log // Blockchain specific contextual infos }
ScryProtocolTransactionCreate represents a TransactionCreate event raised by the ScryProtocol contract.
type ScryProtocolTransactionCreateIterator ¶
type ScryProtocolTransactionCreateIterator struct { Event *ScryProtocolTransactionCreate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryProtocolTransactionCreateIterator is returned from FilterTransactionCreate and is used to iterate over the raw logs and unpacked data for TransactionCreate events raised by the ScryProtocol contract.
func (*ScryProtocolTransactionCreateIterator) Close ¶
func (it *ScryProtocolTransactionCreateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryProtocolTransactionCreateIterator) Error ¶
func (it *ScryProtocolTransactionCreateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryProtocolTransactionCreateIterator) Next ¶
func (it *ScryProtocolTransactionCreateIterator) 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 ScryProtocolTransactor ¶
type ScryProtocolTransactor struct {
// contains filtered or unexported fields
}
ScryProtocolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewScryProtocolTransactor ¶
func NewScryProtocolTransactor(address common.Address, transactor bind.ContractTransactor) (*ScryProtocolTransactor, error)
NewScryProtocolTransactor creates a new write-only instance of ScryProtocol, bound to a specific deployed contract.
func (*ScryProtocolTransactor) BuyData ¶
func (_ScryProtocol *ScryProtocolTransactor) BuyData(opts *bind.TransactOpts, seqNo string, txId *big.Int) (*types.Transaction, error)
BuyData is a paid mutator transaction binding the contract method 0x9a756a99.
Solidity: function buyData(string seqNo, uint256 txId) returns()
func (*ScryProtocolTransactor) CancelTransaction ¶
func (_ScryProtocol *ScryProtocolTransactor) CancelTransaction(opts *bind.TransactOpts, seqNo string, txId *big.Int) (*types.Transaction, error)
CancelTransaction is a paid mutator transaction binding the contract method 0xcca8f8c3.
Solidity: function cancelTransaction(string seqNo, uint256 txId) returns()
func (*ScryProtocolTransactor) ConfirmDataTruth ¶
func (_ScryProtocol *ScryProtocolTransactor) ConfirmDataTruth(opts *bind.TransactOpts, seqNo string, txId *big.Int, truth bool) (*types.Transaction, error)
ConfirmDataTruth is a paid mutator transaction binding the contract method 0xdd16673b.
Solidity: function confirmDataTruth(string seqNo, uint256 txId, bool truth) returns()
func (*ScryProtocolTransactor) CreateTransaction ¶
func (_ScryProtocol *ScryProtocolTransactor) CreateTransaction(opts *bind.TransactOpts, seqNo string, publishId string, startVerify bool) (*types.Transaction, error)
CreateTransaction is a paid mutator transaction binding the contract method 0xccc2ba76.
Solidity: function createTransaction(string seqNo, string publishId, bool startVerify) returns()
func (*ScryProtocolTransactor) CreditsToVerifier ¶
func (_ScryProtocol *ScryProtocolTransactor) CreditsToVerifier(opts *bind.TransactOpts, seqNo string, txId *big.Int, verifierIndex uint8, credit uint8) (*types.Transaction, error)
CreditsToVerifier is a paid mutator transaction binding the contract method 0xbd7ff8e5.
Solidity: function creditsToVerifier(string seqNo, uint256 txId, uint8 verifierIndex, uint8 credit) returns()
func (*ScryProtocolTransactor) PublishDataInfo ¶
func (_ScryProtocol *ScryProtocolTransactor) PublishDataInfo(opts *bind.TransactOpts, seqNo string, publishId string, price *big.Int, metaDataIdEncSeller []byte, proofDataIds [][32]byte, despDataId string, supportVerify bool) (*types.Transaction, error)
PublishDataInfo is a paid mutator transaction binding the contract method 0x377caed1.
Solidity: function publishDataInfo(string seqNo, string publishId, uint256 price, bytes metaDataIdEncSeller, bytes32[] proofDataIds, string despDataId, bool supportVerify) returns()
func (*ScryProtocolTransactor) RegisterAsVerifier ¶
func (_ScryProtocol *ScryProtocolTransactor) RegisterAsVerifier(opts *bind.TransactOpts, seqNo string) (*types.Transaction, error)
RegisterAsVerifier is a paid mutator transaction binding the contract method 0x93151dd5.
Solidity: function registerAsVerifier(string seqNo) returns()
func (*ScryProtocolTransactor) SetVerifierBonus ¶
func (_ScryProtocol *ScryProtocolTransactor) SetVerifierBonus(opts *bind.TransactOpts, bonus *big.Int) (*types.Transaction, error)
SetVerifierBonus is a paid mutator transaction binding the contract method 0xa129886c.
Solidity: function setVerifierBonus(uint256 bonus) returns()
func (*ScryProtocolTransactor) SetVerifierDepositToken ¶
func (_ScryProtocol *ScryProtocolTransactor) SetVerifierDepositToken(opts *bind.TransactOpts, deposit *big.Int) (*types.Transaction, error)
SetVerifierDepositToken is a paid mutator transaction binding the contract method 0x71ab5c0e.
Solidity: function setVerifierDepositToken(uint256 deposit) returns()
func (*ScryProtocolTransactor) SetVerifierNum ¶
func (_ScryProtocol *ScryProtocolTransactor) SetVerifierNum(opts *bind.TransactOpts, num uint8) (*types.Transaction, error)
SetVerifierNum is a paid mutator transaction binding the contract method 0x5a39eba2.
Solidity: function setVerifierNum(uint8 num) returns()
func (*ScryProtocolTransactor) SubmitMetaDataIdEncWithBuyer ¶
func (_ScryProtocol *ScryProtocolTransactor) SubmitMetaDataIdEncWithBuyer(opts *bind.TransactOpts, seqNo string, txId *big.Int, encryptedMetaDataId []byte) (*types.Transaction, error)
SubmitMetaDataIdEncWithBuyer is a paid mutator transaction binding the contract method 0x8ba737ee.
Solidity: function submitMetaDataIdEncWithBuyer(string seqNo, uint256 txId, bytes encryptedMetaDataId) returns()
func (*ScryProtocolTransactor) Vote ¶
func (_ScryProtocol *ScryProtocolTransactor) Vote(opts *bind.TransactOpts, seqNo string, txId *big.Int, judge bool, comments string) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0x980da40d.
Solidity: function vote(string seqNo, uint256 txId, bool judge, string comments) returns()
type ScryProtocolTransactorRaw ¶
type ScryProtocolTransactorRaw struct {
Contract *ScryProtocolTransactor // Generic write-only contract binding to access the raw methods on
}
ScryProtocolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ScryProtocolTransactorRaw) Transact ¶
func (_ScryProtocol *ScryProtocolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ScryProtocolTransactorRaw) Transfer ¶
func (_ScryProtocol *ScryProtocolTransactorRaw) 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 ScryProtocolTransactorSession ¶
type ScryProtocolTransactorSession struct { Contract *ScryProtocolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ScryProtocolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ScryProtocolTransactorSession) BuyData ¶
func (_ScryProtocol *ScryProtocolTransactorSession) BuyData(seqNo string, txId *big.Int) (*types.Transaction, error)
BuyData is a paid mutator transaction binding the contract method 0x9a756a99.
Solidity: function buyData(string seqNo, uint256 txId) returns()
func (*ScryProtocolTransactorSession) CancelTransaction ¶
func (_ScryProtocol *ScryProtocolTransactorSession) CancelTransaction(seqNo string, txId *big.Int) (*types.Transaction, error)
CancelTransaction is a paid mutator transaction binding the contract method 0xcca8f8c3.
Solidity: function cancelTransaction(string seqNo, uint256 txId) returns()
func (*ScryProtocolTransactorSession) ConfirmDataTruth ¶
func (_ScryProtocol *ScryProtocolTransactorSession) ConfirmDataTruth(seqNo string, txId *big.Int, truth bool) (*types.Transaction, error)
ConfirmDataTruth is a paid mutator transaction binding the contract method 0xdd16673b.
Solidity: function confirmDataTruth(string seqNo, uint256 txId, bool truth) returns()
func (*ScryProtocolTransactorSession) CreateTransaction ¶
func (_ScryProtocol *ScryProtocolTransactorSession) CreateTransaction(seqNo string, publishId string, startVerify bool) (*types.Transaction, error)
CreateTransaction is a paid mutator transaction binding the contract method 0xccc2ba76.
Solidity: function createTransaction(string seqNo, string publishId, bool startVerify) returns()
func (*ScryProtocolTransactorSession) CreditsToVerifier ¶
func (_ScryProtocol *ScryProtocolTransactorSession) CreditsToVerifier(seqNo string, txId *big.Int, verifierIndex uint8, credit uint8) (*types.Transaction, error)
CreditsToVerifier is a paid mutator transaction binding the contract method 0xbd7ff8e5.
Solidity: function creditsToVerifier(string seqNo, uint256 txId, uint8 verifierIndex, uint8 credit) returns()
func (*ScryProtocolTransactorSession) PublishDataInfo ¶
func (_ScryProtocol *ScryProtocolTransactorSession) PublishDataInfo(seqNo string, publishId string, price *big.Int, metaDataIdEncSeller []byte, proofDataIds [][32]byte, despDataId string, supportVerify bool) (*types.Transaction, error)
PublishDataInfo is a paid mutator transaction binding the contract method 0x377caed1.
Solidity: function publishDataInfo(string seqNo, string publishId, uint256 price, bytes metaDataIdEncSeller, bytes32[] proofDataIds, string despDataId, bool supportVerify) returns()
func (*ScryProtocolTransactorSession) RegisterAsVerifier ¶
func (_ScryProtocol *ScryProtocolTransactorSession) RegisterAsVerifier(seqNo string) (*types.Transaction, error)
RegisterAsVerifier is a paid mutator transaction binding the contract method 0x93151dd5.
Solidity: function registerAsVerifier(string seqNo) returns()
func (*ScryProtocolTransactorSession) SetVerifierBonus ¶
func (_ScryProtocol *ScryProtocolTransactorSession) SetVerifierBonus(bonus *big.Int) (*types.Transaction, error)
SetVerifierBonus is a paid mutator transaction binding the contract method 0xa129886c.
Solidity: function setVerifierBonus(uint256 bonus) returns()
func (*ScryProtocolTransactorSession) SetVerifierDepositToken ¶
func (_ScryProtocol *ScryProtocolTransactorSession) SetVerifierDepositToken(deposit *big.Int) (*types.Transaction, error)
SetVerifierDepositToken is a paid mutator transaction binding the contract method 0x71ab5c0e.
Solidity: function setVerifierDepositToken(uint256 deposit) returns()
func (*ScryProtocolTransactorSession) SetVerifierNum ¶
func (_ScryProtocol *ScryProtocolTransactorSession) SetVerifierNum(num uint8) (*types.Transaction, error)
SetVerifierNum is a paid mutator transaction binding the contract method 0x5a39eba2.
Solidity: function setVerifierNum(uint8 num) returns()
func (*ScryProtocolTransactorSession) SubmitMetaDataIdEncWithBuyer ¶
func (_ScryProtocol *ScryProtocolTransactorSession) SubmitMetaDataIdEncWithBuyer(seqNo string, txId *big.Int, encryptedMetaDataId []byte) (*types.Transaction, error)
SubmitMetaDataIdEncWithBuyer is a paid mutator transaction binding the contract method 0x8ba737ee.
Solidity: function submitMetaDataIdEncWithBuyer(string seqNo, uint256 txId, bytes encryptedMetaDataId) returns()
func (*ScryProtocolTransactorSession) Vote ¶
func (_ScryProtocol *ScryProtocolTransactorSession) Vote(seqNo string, txId *big.Int, judge bool, comments string) (*types.Transaction, error)
Vote is a paid mutator transaction binding the contract method 0x980da40d.
Solidity: function vote(string seqNo, uint256 txId, bool judge, string comments) returns()
type ScryProtocolVerifierDisable ¶
type ScryProtocolVerifierDisable struct { SeqNo string Verifier common.Address Users []common.Address Raw types.Log // Blockchain specific contextual infos }
ScryProtocolVerifierDisable represents a VerifierDisable event raised by the ScryProtocol contract.
type ScryProtocolVerifierDisableIterator ¶
type ScryProtocolVerifierDisableIterator struct { Event *ScryProtocolVerifierDisable // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryProtocolVerifierDisableIterator is returned from FilterVerifierDisable and is used to iterate over the raw logs and unpacked data for VerifierDisable events raised by the ScryProtocol contract.
func (*ScryProtocolVerifierDisableIterator) Close ¶
func (it *ScryProtocolVerifierDisableIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryProtocolVerifierDisableIterator) Error ¶
func (it *ScryProtocolVerifierDisableIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryProtocolVerifierDisableIterator) Next ¶
func (it *ScryProtocolVerifierDisableIterator) 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 ScryProtocolVerifiersChosen ¶
type ScryProtocolVerifiersChosen struct { SeqNo string TransactionId *big.Int PublishId string ProofIds [][32]byte State uint8 Users []common.Address Raw types.Log // Blockchain specific contextual infos }
ScryProtocolVerifiersChosen represents a VerifiersChosen event raised by the ScryProtocol contract.
type ScryProtocolVerifiersChosenIterator ¶
type ScryProtocolVerifiersChosenIterator struct { Event *ScryProtocolVerifiersChosen // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryProtocolVerifiersChosenIterator is returned from FilterVerifiersChosen and is used to iterate over the raw logs and unpacked data for VerifiersChosen events raised by the ScryProtocol contract.
func (*ScryProtocolVerifiersChosenIterator) Close ¶
func (it *ScryProtocolVerifiersChosenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryProtocolVerifiersChosenIterator) Error ¶
func (it *ScryProtocolVerifiersChosenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryProtocolVerifiersChosenIterator) Next ¶
func (it *ScryProtocolVerifiersChosenIterator) 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 ScryProtocolVote ¶
type ScryProtocolVote struct { SeqNo string TransactionId *big.Int Judge bool Comments string State uint8 Index uint8 Users []common.Address Raw types.Log // Blockchain specific contextual infos }
ScryProtocolVote represents a Vote event raised by the ScryProtocol contract.
type ScryProtocolVoteIterator ¶
type ScryProtocolVoteIterator struct { Event *ScryProtocolVote // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryProtocolVoteIterator is returned from FilterVote and is used to iterate over the raw logs and unpacked data for Vote events raised by the ScryProtocol contract.
func (*ScryProtocolVoteIterator) Close ¶
func (it *ScryProtocolVoteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryProtocolVoteIterator) Error ¶
func (it *ScryProtocolVoteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryProtocolVoteIterator) Next ¶
func (it *ScryProtocolVoteIterator) 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 ScryToken ¶
type ScryToken struct { ScryTokenCaller // Read-only binding to the contract ScryTokenTransactor // Write-only binding to the contract ScryTokenFilterer // Log filterer for contract events }
ScryToken is an auto generated Go binding around an Ethereum contract.
func NewScryToken ¶
NewScryToken creates a new instance of ScryToken, bound to a specific deployed contract.
type ScryTokenApproval ¶
type ScryTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ScryTokenApproval represents a Approval event raised by the ScryToken contract.
type ScryTokenApprovalIterator ¶
type ScryTokenApprovalIterator struct { Event *ScryTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ScryToken contract.
func (*ScryTokenApprovalIterator) Close ¶
func (it *ScryTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryTokenApprovalIterator) Error ¶
func (it *ScryTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryTokenApprovalIterator) Next ¶
func (it *ScryTokenApprovalIterator) 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 ScryTokenCaller ¶
type ScryTokenCaller struct {
// contains filtered or unexported fields
}
ScryTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewScryTokenCaller ¶
func NewScryTokenCaller(address common.Address, caller bind.ContractCaller) (*ScryTokenCaller, error)
NewScryTokenCaller creates a new read-only instance of ScryToken, bound to a specific deployed contract.
func (*ScryTokenCaller) Allowance ¶
func (_ScryToken *ScryTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*ScryTokenCaller) BalanceOf ¶
func (_ScryToken *ScryTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*ScryTokenCaller) Decimals ¶
func (_ScryToken *ScryTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*ScryTokenCaller) INITIALSUPPLY ¶
INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.
Solidity: function INITIAL_SUPPLY() constant returns(uint256)
func (*ScryTokenCaller) Name ¶
func (_ScryToken *ScryTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*ScryTokenCaller) Symbol ¶
func (_ScryToken *ScryTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*ScryTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ScryTokenCallerRaw ¶
type ScryTokenCallerRaw struct {
Contract *ScryTokenCaller // Generic read-only contract binding to access the raw methods on
}
ScryTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ScryTokenCallerRaw) Call ¶
func (_ScryToken *ScryTokenCallerRaw) 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 ScryTokenCallerSession ¶
type ScryTokenCallerSession struct { Contract *ScryTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ScryTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ScryTokenCallerSession) Allowance ¶
func (_ScryToken *ScryTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*ScryTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*ScryTokenCallerSession) Decimals ¶
func (_ScryToken *ScryTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*ScryTokenCallerSession) INITIALSUPPLY ¶
func (_ScryToken *ScryTokenCallerSession) INITIALSUPPLY() (*big.Int, error)
INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.
Solidity: function INITIAL_SUPPLY() constant returns(uint256)
func (*ScryTokenCallerSession) Name ¶
func (_ScryToken *ScryTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*ScryTokenCallerSession) Symbol ¶
func (_ScryToken *ScryTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*ScryTokenCallerSession) TotalSupply ¶
func (_ScryToken *ScryTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type ScryTokenFilterer ¶
type ScryTokenFilterer struct {
// contains filtered or unexported fields
}
ScryTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewScryTokenFilterer ¶
func NewScryTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*ScryTokenFilterer, error)
NewScryTokenFilterer creates a new log filterer instance of ScryToken, bound to a specific deployed contract.
func (*ScryTokenFilterer) FilterApproval ¶
func (_ScryToken *ScryTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ScryTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ScryTokenFilterer) FilterTransfer ¶
func (_ScryToken *ScryTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ScryTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ScryTokenFilterer) WatchApproval ¶
func (_ScryToken *ScryTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ScryTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ScryTokenFilterer) WatchTransfer ¶
func (_ScryToken *ScryTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ScryTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ScryTokenRaw ¶
type ScryTokenRaw struct {
Contract *ScryToken // Generic contract binding to access the raw methods on
}
ScryTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ScryTokenRaw) Call ¶
func (_ScryToken *ScryTokenRaw) 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 (*ScryTokenRaw) Transact ¶
func (_ScryToken *ScryTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ScryTokenRaw) Transfer ¶
func (_ScryToken *ScryTokenRaw) 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 ScryTokenSession ¶
type ScryTokenSession struct { Contract *ScryToken // 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 }
ScryTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ScryTokenSession) Allowance ¶
func (_ScryToken *ScryTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) constant returns(uint256)
func (*ScryTokenSession) Approve ¶
func (_ScryToken *ScryTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ScryTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) constant returns(uint256)
func (*ScryTokenSession) Decimals ¶
func (_ScryToken *ScryTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*ScryTokenSession) DecreaseApproval ¶
func (_ScryToken *ScryTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*ScryTokenSession) INITIALSUPPLY ¶
func (_ScryToken *ScryTokenSession) INITIALSUPPLY() (*big.Int, error)
INITIALSUPPLY is a free data retrieval call binding the contract method 0x2ff2e9dc.
Solidity: function INITIAL_SUPPLY() constant returns(uint256)
func (*ScryTokenSession) IncreaseApproval ¶
func (_ScryToken *ScryTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*ScryTokenSession) Name ¶
func (_ScryToken *ScryTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*ScryTokenSession) Symbol ¶
func (_ScryToken *ScryTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*ScryTokenSession) TotalSupply ¶
func (_ScryToken *ScryTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*ScryTokenSession) Transfer ¶
func (_ScryToken *ScryTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ScryTokenSession) TransferFrom ¶
func (_ScryToken *ScryTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ScryTokenTransactor ¶
type ScryTokenTransactor struct {
// contains filtered or unexported fields
}
ScryTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewScryTokenTransactor ¶
func NewScryTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*ScryTokenTransactor, error)
NewScryTokenTransactor creates a new write-only instance of ScryToken, bound to a specific deployed contract.
func (*ScryTokenTransactor) Approve ¶
func (_ScryToken *ScryTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ScryTokenTransactor) DecreaseApproval ¶
func (_ScryToken *ScryTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*ScryTokenTransactor) IncreaseApproval ¶
func (_ScryToken *ScryTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*ScryTokenTransactor) Transfer ¶
func (_ScryToken *ScryTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ScryTokenTransactor) TransferFrom ¶
func (_ScryToken *ScryTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ScryTokenTransactorRaw ¶
type ScryTokenTransactorRaw struct {
Contract *ScryTokenTransactor // Generic write-only contract binding to access the raw methods on
}
ScryTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ScryTokenTransactorRaw) Transact ¶
func (_ScryToken *ScryTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ScryTokenTransactorRaw) Transfer ¶
func (_ScryToken *ScryTokenTransactorRaw) 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 ScryTokenTransactorSession ¶
type ScryTokenTransactorSession struct { Contract *ScryTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ScryTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ScryTokenTransactorSession) Approve ¶
func (_ScryToken *ScryTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ScryTokenTransactorSession) DecreaseApproval ¶
func (_ScryToken *ScryTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*ScryTokenTransactorSession) IncreaseApproval ¶
func (_ScryToken *ScryTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*ScryTokenTransactorSession) Transfer ¶
func (_ScryToken *ScryTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*ScryTokenTransactorSession) TransferFrom ¶
func (_ScryToken *ScryTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
type ScryTokenTransfer ¶
type ScryTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ScryTokenTransfer represents a Transfer event raised by the ScryToken contract.
type ScryTokenTransferIterator ¶
type ScryTokenTransferIterator struct { Event *ScryTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ScryTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ScryToken contract.
func (*ScryTokenTransferIterator) Close ¶
func (it *ScryTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ScryTokenTransferIterator) Error ¶
func (it *ScryTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ScryTokenTransferIterator) Next ¶
func (it *ScryTokenTransferIterator) 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.