Documentation
¶
Overview ¶
Package pdpverifier contains the generated Go bindings for the PDPVerifier smart contract.
Regenerate with: go generate ./internal/contracts/...
Index ¶
- Variables
- type CidsCid
- type IPDPTypesPieceIdAndOffset
- type IPDPTypesProof
- type PDPVerifier
- type PDPVerifierCaller
- func (_PDPVerifier *PDPVerifierCaller) CalculateProofFee(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) CalculateProofFeeForSize(opts *bind.CallOpts, proofSize *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) DataSetLive(opts *bind.CallOpts, setId *big.Int) (bool, error)
- func (_PDPVerifier *PDPVerifierCaller) FILSYBILFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) FeeEffectiveTime(opts *bind.CallOpts) (uint64, error)
- func (_PDPVerifier *PDPVerifierCaller) FeePerTiB(opts *bind.CallOpts) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) FindPieceIds(opts *bind.CallOpts, setId *big.Int, leafIndexs []*big.Int) ([]IPDPTypesPieceIdAndOffset, error)
- func (_PDPVerifier *PDPVerifierCaller) FindPieceIdsByCid(opts *bind.CallOpts, setId *big.Int, pieceCid CidsCid, startPieceId *big.Int, ...) ([]*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetActivePieceCount(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetActivePieces(opts *bind.CallOpts, setId *big.Int, offset *big.Int, limit *big.Int) (struct{ ... }, error)
- func (_PDPVerifier *PDPVerifierCaller) GetActivePiecesByCursor(opts *bind.CallOpts, setId *big.Int, startPieceId *big.Int, limit *big.Int) (struct{ ... }, error)
- func (_PDPVerifier *PDPVerifierCaller) GetChallengeFinality(opts *bind.CallOpts) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetChallengeRange(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetDataSetLastProvenEpoch(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetDataSetLeafCount(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetDataSetListener(opts *bind.CallOpts, setId *big.Int) (common.Address, error)
- func (_PDPVerifier *PDPVerifierCaller) GetDataSetStorageProvider(opts *bind.CallOpts, setId *big.Int) (common.Address, common.Address, error)
- func (_PDPVerifier *PDPVerifierCaller) GetNextChallengeEpoch(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetNextDataSetId(opts *bind.CallOpts) (uint64, error)
- func (_PDPVerifier *PDPVerifierCaller) GetNextPieceId(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetPieceCid(opts *bind.CallOpts, setId *big.Int, pieceId *big.Int) (CidsCid, error)
- func (_PDPVerifier *PDPVerifierCaller) GetPieceLeafCount(opts *bind.CallOpts, setId *big.Int, pieceId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetRandomness(opts *bind.CallOpts, epoch *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) GetScheduledRemovals(opts *bind.CallOpts, setId *big.Int) ([]*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) MAXENQUEUEDREMOVALS(opts *bind.CallOpts) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) MAXPIECESIZELOG2(opts *bind.CallOpts) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) NOCHALLENGESCHEDULED(opts *bind.CallOpts) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) NOPROVENEPOCH(opts *bind.CallOpts) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) NextUpgrade(opts *bind.CallOpts) (struct{ ... }, error)
- func (_PDPVerifier *PDPVerifierCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_PDPVerifier *PDPVerifierCaller) PAYMENTSCONTRACTADDRESS(opts *bind.CallOpts) (common.Address, error)
- func (_PDPVerifier *PDPVerifierCaller) PieceChallengable(opts *bind.CallOpts, setId *big.Int, pieceId *big.Int) (bool, error)
- func (_PDPVerifier *PDPVerifierCaller) PieceLive(opts *bind.CallOpts, setId *big.Int, pieceId *big.Int) (bool, error)
- func (_PDPVerifier *PDPVerifierCaller) ProposedFeePerTiB(opts *bind.CallOpts) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_PDPVerifier *PDPVerifierCaller) UPGRADEINTERFACEVERSION(opts *bind.CallOpts) (string, error)
- func (_PDPVerifier *PDPVerifierCaller) USDFCSYBILFEE(opts *bind.CallOpts) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCaller) USDFCTOKENADDRESS(opts *bind.CallOpts) (common.Address, error)
- func (_PDPVerifier *PDPVerifierCaller) VERSION(opts *bind.CallOpts) (string, error)
- type PDPVerifierCallerRaw
- type PDPVerifierCallerSession
- func (_PDPVerifier *PDPVerifierCallerSession) CalculateProofFee(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) CalculateProofFeeForSize(proofSize *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) DataSetLive(setId *big.Int) (bool, error)
- func (_PDPVerifier *PDPVerifierCallerSession) FILSYBILFEE() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) FeeEffectiveTime() (uint64, error)
- func (_PDPVerifier *PDPVerifierCallerSession) FeePerTiB() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) FindPieceIds(setId *big.Int, leafIndexs []*big.Int) ([]IPDPTypesPieceIdAndOffset, error)
- func (_PDPVerifier *PDPVerifierCallerSession) FindPieceIdsByCid(setId *big.Int, pieceCid CidsCid, startPieceId *big.Int, limit *big.Int) ([]*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetActivePieceCount(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetActivePieces(setId *big.Int, offset *big.Int, limit *big.Int) (struct{ ... }, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetActivePiecesByCursor(setId *big.Int, startPieceId *big.Int, limit *big.Int) (struct{ ... }, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetChallengeFinality() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetChallengeRange(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetDataSetLastProvenEpoch(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetDataSetLeafCount(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetDataSetListener(setId *big.Int) (common.Address, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetDataSetStorageProvider(setId *big.Int) (common.Address, common.Address, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetNextChallengeEpoch(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetNextDataSetId() (uint64, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetNextPieceId(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetPieceCid(setId *big.Int, pieceId *big.Int) (CidsCid, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetPieceLeafCount(setId *big.Int, pieceId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetRandomness(epoch *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) GetScheduledRemovals(setId *big.Int) ([]*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) MAXENQUEUEDREMOVALS() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) MAXPIECESIZELOG2() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) NOCHALLENGESCHEDULED() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) NOPROVENEPOCH() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) NextUpgrade() (struct{ ... }, error)
- func (_PDPVerifier *PDPVerifierCallerSession) Owner() (common.Address, error)
- func (_PDPVerifier *PDPVerifierCallerSession) PAYMENTSCONTRACTADDRESS() (common.Address, error)
- func (_PDPVerifier *PDPVerifierCallerSession) PieceChallengable(setId *big.Int, pieceId *big.Int) (bool, error)
- func (_PDPVerifier *PDPVerifierCallerSession) PieceLive(setId *big.Int, pieceId *big.Int) (bool, error)
- func (_PDPVerifier *PDPVerifierCallerSession) ProposedFeePerTiB() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) ProxiableUUID() ([32]byte, error)
- func (_PDPVerifier *PDPVerifierCallerSession) UPGRADEINTERFACEVERSION() (string, error)
- func (_PDPVerifier *PDPVerifierCallerSession) USDFCSYBILFEE() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierCallerSession) USDFCTOKENADDRESS() (common.Address, error)
- func (_PDPVerifier *PDPVerifierCallerSession) VERSION() (string, error)
- type PDPVerifierContractUpgraded
- type PDPVerifierContractUpgradedIterator
- type PDPVerifierDataSetCreated
- type PDPVerifierDataSetCreatedIterator
- type PDPVerifierDataSetDeleted
- type PDPVerifierDataSetDeletedIterator
- type PDPVerifierDataSetEmpty
- type PDPVerifierDataSetEmptyIterator
- type PDPVerifierFeeUpdateProposed
- type PDPVerifierFeeUpdateProposedIterator
- type PDPVerifierFilterer
- func (_PDPVerifier *PDPVerifierFilterer) FilterContractUpgraded(opts *bind.FilterOpts) (*PDPVerifierContractUpgradedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterDataSetCreated(opts *bind.FilterOpts, setId []*big.Int, storageProvider []common.Address) (*PDPVerifierDataSetCreatedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterDataSetDeleted(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierDataSetDeletedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterDataSetEmpty(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierDataSetEmptyIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterFeeUpdateProposed(opts *bind.FilterOpts) (*PDPVerifierFeeUpdateProposedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterInitialized(opts *bind.FilterOpts) (*PDPVerifierInitializedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterNextProvingPeriod(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierNextProvingPeriodIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*PDPVerifierOwnershipTransferredIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterPiecesAdded(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierPiecesAddedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterPiecesRemoved(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierPiecesRemovedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterPossessionProven(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierPossessionProvenIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterProofFeePaid(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierProofFeePaidIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterStorageProviderChanged(opts *bind.FilterOpts, setId []*big.Int, oldStorageProvider []common.Address, ...) (*PDPVerifierStorageProviderChangedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterUpgradeAnnounced(opts *bind.FilterOpts) (*PDPVerifierUpgradeAnnouncedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*PDPVerifierUpgradedIterator, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseContractUpgraded(log types.Log) (*PDPVerifierContractUpgraded, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseDataSetCreated(log types.Log) (*PDPVerifierDataSetCreated, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseDataSetDeleted(log types.Log) (*PDPVerifierDataSetDeleted, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseDataSetEmpty(log types.Log) (*PDPVerifierDataSetEmpty, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseFeeUpdateProposed(log types.Log) (*PDPVerifierFeeUpdateProposed, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseInitialized(log types.Log) (*PDPVerifierInitialized, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseNextProvingPeriod(log types.Log) (*PDPVerifierNextProvingPeriod, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseOwnershipTransferred(log types.Log) (*PDPVerifierOwnershipTransferred, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParsePiecesAdded(log types.Log) (*PDPVerifierPiecesAdded, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParsePiecesRemoved(log types.Log) (*PDPVerifierPiecesRemoved, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParsePossessionProven(log types.Log) (*PDPVerifierPossessionProven, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseProofFeePaid(log types.Log) (*PDPVerifierProofFeePaid, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseStorageProviderChanged(log types.Log) (*PDPVerifierStorageProviderChanged, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseUpgradeAnnounced(log types.Log) (*PDPVerifierUpgradeAnnounced, error)
- func (_PDPVerifier *PDPVerifierFilterer) ParseUpgraded(log types.Log) (*PDPVerifierUpgraded, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchContractUpgraded(opts *bind.WatchOpts, sink chan<- *PDPVerifierContractUpgraded) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchDataSetCreated(opts *bind.WatchOpts, sink chan<- *PDPVerifierDataSetCreated, setId []*big.Int, ...) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchDataSetDeleted(opts *bind.WatchOpts, sink chan<- *PDPVerifierDataSetDeleted, setId []*big.Int) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchDataSetEmpty(opts *bind.WatchOpts, sink chan<- *PDPVerifierDataSetEmpty, setId []*big.Int) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchFeeUpdateProposed(opts *bind.WatchOpts, sink chan<- *PDPVerifierFeeUpdateProposed) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PDPVerifierInitialized) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchNextProvingPeriod(opts *bind.WatchOpts, sink chan<- *PDPVerifierNextProvingPeriod, ...) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PDPVerifierOwnershipTransferred, ...) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchPiecesAdded(opts *bind.WatchOpts, sink chan<- *PDPVerifierPiecesAdded, setId []*big.Int) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchPiecesRemoved(opts *bind.WatchOpts, sink chan<- *PDPVerifierPiecesRemoved, setId []*big.Int) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchPossessionProven(opts *bind.WatchOpts, sink chan<- *PDPVerifierPossessionProven, ...) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchProofFeePaid(opts *bind.WatchOpts, sink chan<- *PDPVerifierProofFeePaid, setId []*big.Int) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchStorageProviderChanged(opts *bind.WatchOpts, sink chan<- *PDPVerifierStorageProviderChanged, ...) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchUpgradeAnnounced(opts *bind.WatchOpts, sink chan<- *PDPVerifierUpgradeAnnounced) (event.Subscription, error)
- func (_PDPVerifier *PDPVerifierFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *PDPVerifierUpgraded, ...) (event.Subscription, error)
- type PDPVerifierInitialized
- type PDPVerifierInitializedIterator
- type PDPVerifierNextProvingPeriod
- type PDPVerifierNextProvingPeriodIterator
- type PDPVerifierOwnershipTransferred
- type PDPVerifierOwnershipTransferredIterator
- type PDPVerifierPiecesAdded
- type PDPVerifierPiecesAddedIterator
- type PDPVerifierPiecesRemoved
- type PDPVerifierPiecesRemovedIterator
- type PDPVerifierPlannedUpgrade
- type PDPVerifierPossessionProven
- type PDPVerifierPossessionProvenIterator
- type PDPVerifierProofFeePaid
- type PDPVerifierProofFeePaidIterator
- type PDPVerifierRaw
- func (_PDPVerifier *PDPVerifierRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PDPVerifier *PDPVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PDPVerifierSession
- func (_PDPVerifier *PDPVerifierSession) AddPieces(setId *big.Int, listenerAddr common.Address, pieceData []CidsCid, ...) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) AnnouncePlannedUpgrade(plannedUpgrade PDPVerifierPlannedUpgrade) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) CalculateProofFee(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) CalculateProofFeeForSize(proofSize *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) ClaimDataSetStorageProvider(setId *big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) CreateDataSet(listenerAddr common.Address, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) DataSetLive(setId *big.Int) (bool, error)
- func (_PDPVerifier *PDPVerifierSession) DeleteDataSet(setId *big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) FILSYBILFEE() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) FeeEffectiveTime() (uint64, error)
- func (_PDPVerifier *PDPVerifierSession) FeePerTiB() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) FindPieceIds(setId *big.Int, leafIndexs []*big.Int) ([]IPDPTypesPieceIdAndOffset, error)
- func (_PDPVerifier *PDPVerifierSession) FindPieceIdsByCid(setId *big.Int, pieceCid CidsCid, startPieceId *big.Int, limit *big.Int) ([]*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetActivePieceCount(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetActivePieces(setId *big.Int, offset *big.Int, limit *big.Int) (struct{ ... }, error)
- func (_PDPVerifier *PDPVerifierSession) GetActivePiecesByCursor(setId *big.Int, startPieceId *big.Int, limit *big.Int) (struct{ ... }, error)
- func (_PDPVerifier *PDPVerifierSession) GetChallengeFinality() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetChallengeRange(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetDataSetLastProvenEpoch(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetDataSetLeafCount(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetDataSetListener(setId *big.Int) (common.Address, error)
- func (_PDPVerifier *PDPVerifierSession) GetDataSetStorageProvider(setId *big.Int) (common.Address, common.Address, error)
- func (_PDPVerifier *PDPVerifierSession) GetNextChallengeEpoch(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetNextDataSetId() (uint64, error)
- func (_PDPVerifier *PDPVerifierSession) GetNextPieceId(setId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetPieceCid(setId *big.Int, pieceId *big.Int) (CidsCid, error)
- func (_PDPVerifier *PDPVerifierSession) GetPieceLeafCount(setId *big.Int, pieceId *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetRandomness(epoch *big.Int) (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) GetScheduledRemovals(setId *big.Int) ([]*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) Initialize(_challengeFinality *big.Int) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) MAXENQUEUEDREMOVALS() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) MAXPIECESIZELOG2() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) Migrate() (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) NOCHALLENGESCHEDULED() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) NOPROVENEPOCH() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) NextProvingPeriod(setId *big.Int, challengeEpoch *big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) NextUpgrade() (struct{ ... }, error)
- func (_PDPVerifier *PDPVerifierSession) Owner() (common.Address, error)
- func (_PDPVerifier *PDPVerifierSession) PAYMENTSCONTRACTADDRESS() (common.Address, error)
- func (_PDPVerifier *PDPVerifierSession) PieceChallengable(setId *big.Int, pieceId *big.Int) (bool, error)
- func (_PDPVerifier *PDPVerifierSession) PieceLive(setId *big.Int, pieceId *big.Int) (bool, error)
- func (_PDPVerifier *PDPVerifierSession) ProposeDataSetStorageProvider(setId *big.Int, newStorageProvider common.Address) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) ProposedFeePerTiB() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) ProvePossession(setId *big.Int, proofs []IPDPTypesProof) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) ProxiableUUID() ([32]byte, error)
- func (_PDPVerifier *PDPVerifierSession) RenounceOwnership() (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) SchedulePieceDeletions(setId *big.Int, pieceIds []*big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) UPGRADEINTERFACEVERSION() (string, error)
- func (_PDPVerifier *PDPVerifierSession) USDFCSYBILFEE() (*big.Int, error)
- func (_PDPVerifier *PDPVerifierSession) USDFCTOKENADDRESS() (common.Address, error)
- func (_PDPVerifier *PDPVerifierSession) UpdateProofFee(newFeePerTiB *big.Int) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierSession) VERSION() (string, error)
- type PDPVerifierStorageProviderChanged
- type PDPVerifierStorageProviderChangedIterator
- type PDPVerifierTransactor
- func (_PDPVerifier *PDPVerifierTransactor) AddPieces(opts *bind.TransactOpts, setId *big.Int, listenerAddr common.Address, ...) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) AnnouncePlannedUpgrade(opts *bind.TransactOpts, plannedUpgrade PDPVerifierPlannedUpgrade) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) ClaimDataSetStorageProvider(opts *bind.TransactOpts, setId *big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) CreateDataSet(opts *bind.TransactOpts, listenerAddr common.Address, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) DeleteDataSet(opts *bind.TransactOpts, setId *big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) Initialize(opts *bind.TransactOpts, _challengeFinality *big.Int) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) Migrate(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) NextProvingPeriod(opts *bind.TransactOpts, setId *big.Int, challengeEpoch *big.Int, ...) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) ProposeDataSetStorageProvider(opts *bind.TransactOpts, setId *big.Int, newStorageProvider common.Address) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) ProvePossession(opts *bind.TransactOpts, setId *big.Int, proofs []IPDPTypesProof) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) SchedulePieceDeletions(opts *bind.TransactOpts, setId *big.Int, pieceIds []*big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) UpdateProofFee(opts *bind.TransactOpts, newFeePerTiB *big.Int) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type PDPVerifierTransactorRaw
- type PDPVerifierTransactorSession
- func (_PDPVerifier *PDPVerifierTransactorSession) AddPieces(setId *big.Int, listenerAddr common.Address, pieceData []CidsCid, ...) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) AnnouncePlannedUpgrade(plannedUpgrade PDPVerifierPlannedUpgrade) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) ClaimDataSetStorageProvider(setId *big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) CreateDataSet(listenerAddr common.Address, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) DeleteDataSet(setId *big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) Initialize(_challengeFinality *big.Int) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) Migrate() (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) NextProvingPeriod(setId *big.Int, challengeEpoch *big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) ProposeDataSetStorageProvider(setId *big.Int, newStorageProvider common.Address) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) ProvePossession(setId *big.Int, proofs []IPDPTypesProof) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) SchedulePieceDeletions(setId *big.Int, pieceIds []*big.Int, extraData []byte) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) UpdateProofFee(newFeePerTiB *big.Int) (*types.Transaction, error)
- func (_PDPVerifier *PDPVerifierTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type PDPVerifierUpgradeAnnounced
- type PDPVerifierUpgradeAnnouncedIterator
- type PDPVerifierUpgraded
- type PDPVerifierUpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var PDPVerifierABI = PDPVerifierMetaData.ABI
PDPVerifierABI is the input ABI used to generate the binding from. Deprecated: Use PDPVerifierMetaData.ABI instead.
var PDPVerifierMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_initializerVersion\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_usdfcTokenAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_usdfcSybilFee\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_paymentsContractAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"FIL_SYBIL_FEE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"MAX_ENQUEUED_REMOVALS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"MAX_PIECE_SIZE_LOG2\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"NO_CHALLENGE_SCHEDULED\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"NO_PROVEN_EPOCH\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"PAYMENTS_CONTRACT_ADDRESS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"UPGRADE_INTERFACE_VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"USDFC_SYBIL_FEE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"USDFC_TOKEN_ADDRESS\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"VERSION\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"addPieces\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"listenerAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"pieceData\",\"type\":\"tuple[]\",\"internalType\":\"structCids.Cid[]\",\"components\":[{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"announcePlannedUpgrade\",\"inputs\":[{\"name\":\"plannedUpgrade\",\"type\":\"tuple\",\"internalType\":\"structPDPVerifier.PlannedUpgrade\",\"components\":[{\"name\":\"nextImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"afterEpoch\",\"type\":\"uint96\",\"internalType\":\"uint96\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"calculateProofFee\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"calculateProofFeeForSize\",\"inputs\":[{\"name\":\"proofSize\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"claimDataSetStorageProvider\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"createDataSet\",\"inputs\":[{\"name\":\"listenerAddr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"dataSetLive\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"deleteDataSet\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"feeEffectiveTime\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"feePerTiB\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"findPieceIds\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"leafIndexs\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"internalType\":\"structIPDPTypes.PieceIdAndOffset[]\",\"components\":[{\"name\":\"pieceId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"offset\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"findPieceIdsByCid\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pieceCid\",\"type\":\"tuple\",\"internalType\":\"structCids.Cid\",\"components\":[{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"startPieceId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"limit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"pieceIds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getActivePieceCount\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"activeCount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getActivePieces\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"offset\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"limit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"pieces\",\"type\":\"tuple[]\",\"internalType\":\"structCids.Cid[]\",\"components\":[{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"pieceIds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"hasMore\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getActivePiecesByCursor\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"startPieceId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"limit\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"pieces\",\"type\":\"tuple[]\",\"internalType\":\"structCids.Cid[]\",\"components\":[{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"pieceIds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"hasMore\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getChallengeFinality\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getChallengeRange\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getDataSetLastProvenEpoch\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getDataSetLeafCount\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getDataSetListener\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getDataSetStorageProvider\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getNextChallengeEpoch\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getNextDataSetId\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getNextPieceId\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPieceCid\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pieceId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structCids.Cid\",\"components\":[{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPieceLeafCount\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pieceId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRandomness\",\"inputs\":[{\"name\":\"epoch\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getScheduledRemovals\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_challengeFinality\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"migrate\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"nextProvingPeriod\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"challengeEpoch\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"nextUpgrade\",\"inputs\":[],\"outputs\":[{\"name\":\"nextImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"afterEpoch\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pieceChallengable\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pieceId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pieceLive\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pieceId\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proposeDataSetStorageProvider\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"newStorageProvider\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"proposedFeePerTiB\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint96\",\"internalType\":\"uint96\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"provePossession\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"proofs\",\"type\":\"tuple[]\",\"internalType\":\"structIPDPTypes.Proof[]\",\"components\":[{\"name\":\"leaf\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"proof\",\"type\":\"bytes32[]\",\"internalType\":\"bytes32[]\"}]}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"schedulePieceDeletions\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pieceIds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"extraData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateProofFee\",\"inputs\":[{\"name\":\"newFeePerTiB\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"event\",\"name\":\"ContractUpgraded\",\"inputs\":[{\"name\":\"version\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DataSetCreated\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"storageProvider\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DataSetDeleted\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"deletedLeafCount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DataSetEmpty\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"FeeUpdateProposed\",\"inputs\":[{\"name\":\"currentFee\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"newFee\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"effectiveTime\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"NextProvingPeriod\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"challengeEpoch\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"leafCount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"PiecesAdded\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"pieceIds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"},{\"name\":\"pieceCids\",\"type\":\"tuple[]\",\"indexed\":false,\"internalType\":\"structCids.Cid[]\",\"components\":[{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"PiecesRemoved\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"pieceIds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"PossessionProven\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"challenges\",\"type\":\"tuple[]\",\"indexed\":false,\"internalType\":\"structIPDPTypes.PieceIdAndOffset[]\",\"components\":[{\"name\":\"pieceId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"offset\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ProofFeePaid\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"StorageProviderChanged\",\"inputs\":[{\"name\":\"setId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"oldStorageProvider\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newStorageProvider\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UpgradeAnnounced\",\"inputs\":[{\"name\":\"plannedUpgrade\",\"type\":\"tuple\",\"indexed\":false,\"internalType\":\"structPDPVerifier.PlannedUpgrade\",\"components\":[{\"name\":\"nextImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"afterEpoch\",\"type\":\"uint96\",\"internalType\":\"uint96\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AddressEmptyCode\",\"inputs\":[{\"name\":\"target\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC1967InvalidImplementation\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC1967NonPayable\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FailedCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FilRefundFailed\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"IndexedError\",\"inputs\":[{\"name\":\"idx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"msg\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OwnableInvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"UUPSUnauthorizedCallContext\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"UUPSUnsupportedProxiableUUID\",\"inputs\":[{\"name\":\"slot\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"UsdfcSybilFeeNotMet\",\"inputs\":[]}]",
}
PDPVerifierMetaData contains all meta data concerning the PDPVerifier contract.
Functions ¶
This section is empty.
Types ¶
type CidsCid ¶
type CidsCid struct {
Data []byte
}
CidsCid is an auto generated low-level Go binding around an user-defined struct.
type IPDPTypesPieceIdAndOffset ¶
IPDPTypesPieceIdAndOffset is an auto generated low-level Go binding around an user-defined struct.
type IPDPTypesProof ¶
IPDPTypesProof is an auto generated low-level Go binding around an user-defined struct.
type PDPVerifier ¶
type PDPVerifier struct {
PDPVerifierCaller // Read-only binding to the contract
PDPVerifierTransactor // Write-only binding to the contract
PDPVerifierFilterer // Log filterer for contract events
}
PDPVerifier is an auto generated Go binding around an Ethereum contract.
func NewPDPVerifier ¶
func NewPDPVerifier(address common.Address, backend bind.ContractBackend) (*PDPVerifier, error)
NewPDPVerifier creates a new instance of PDPVerifier, bound to a specific deployed contract.
type PDPVerifierCaller ¶
type PDPVerifierCaller struct {
// contains filtered or unexported fields
}
PDPVerifierCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewPDPVerifierCaller ¶
func NewPDPVerifierCaller(address common.Address, caller bind.ContractCaller) (*PDPVerifierCaller, error)
NewPDPVerifierCaller creates a new read-only instance of PDPVerifier, bound to a specific deployed contract.
func (*PDPVerifierCaller) CalculateProofFee ¶
func (_PDPVerifier *PDPVerifierCaller) CalculateProofFee(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
CalculateProofFee is a free data retrieval call binding the contract method 0x86981308.
Solidity: function calculateProofFee(uint256 setId) view returns(uint256)
func (*PDPVerifierCaller) CalculateProofFeeForSize ¶
func (_PDPVerifier *PDPVerifierCaller) CalculateProofFeeForSize(opts *bind.CallOpts, proofSize *big.Int) (*big.Int, error)
CalculateProofFeeForSize is a free data retrieval call binding the contract method 0xe9a31a55.
Solidity: function calculateProofFeeForSize(uint256 proofSize) view returns(uint256)
func (*PDPVerifierCaller) DataSetLive ¶
func (_PDPVerifier *PDPVerifierCaller) DataSetLive(opts *bind.CallOpts, setId *big.Int) (bool, error)
DataSetLive is a free data retrieval call binding the contract method 0xca759f27.
Solidity: function dataSetLive(uint256 setId) view returns(bool)
func (*PDPVerifierCaller) FILSYBILFEE ¶
FILSYBILFEE is a free data retrieval call binding the contract method 0x264b14cc.
Solidity: function FIL_SYBIL_FEE() pure returns(uint256)
func (*PDPVerifierCaller) FeeEffectiveTime ¶
func (_PDPVerifier *PDPVerifierCaller) FeeEffectiveTime(opts *bind.CallOpts) (uint64, error)
FeeEffectiveTime is a free data retrieval call binding the contract method 0x996ad96a.
Solidity: function feeEffectiveTime() view returns(uint64)
func (*PDPVerifierCaller) FeePerTiB ¶
FeePerTiB is a free data retrieval call binding the contract method 0x22ef3f73.
Solidity: function feePerTiB() view returns(uint96)
func (*PDPVerifierCaller) FindPieceIds ¶
func (_PDPVerifier *PDPVerifierCaller) FindPieceIds(opts *bind.CallOpts, setId *big.Int, leafIndexs []*big.Int) ([]IPDPTypesPieceIdAndOffset, error)
FindPieceIds is a free data retrieval call binding the contract method 0x349c9179.
Solidity: function findPieceIds(uint256 setId, uint256[] leafIndexs) view returns((uint256,uint256)[])
func (*PDPVerifierCaller) FindPieceIdsByCid ¶
func (_PDPVerifier *PDPVerifierCaller) FindPieceIdsByCid(opts *bind.CallOpts, setId *big.Int, pieceCid CidsCid, startPieceId *big.Int, limit *big.Int) ([]*big.Int, error)
FindPieceIdsByCid is a free data retrieval call binding the contract method 0x6a4991a1.
Solidity: function findPieceIdsByCid(uint256 setId, (bytes) pieceCid, uint256 startPieceId, uint256 limit) view returns(uint256[] pieceIds)
func (*PDPVerifierCaller) GetActivePieceCount ¶
func (_PDPVerifier *PDPVerifierCaller) GetActivePieceCount(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
GetActivePieceCount is a free data retrieval call binding the contract method 0x5353bdfd.
Solidity: function getActivePieceCount(uint256 setId) view returns(uint256 activeCount)
func (*PDPVerifierCaller) GetActivePieces ¶
func (_PDPVerifier *PDPVerifierCaller) GetActivePieces(opts *bind.CallOpts, setId *big.Int, offset *big.Int, limit *big.Int) (struct { Pieces []CidsCid PieceIds []*big.Int HasMore bool }, error)
GetActivePieces is a free data retrieval call binding the contract method 0x39f51544.
Solidity: function getActivePieces(uint256 setId, uint256 offset, uint256 limit) view returns((bytes)[] pieces, uint256[] pieceIds, bool hasMore)
func (*PDPVerifierCaller) GetActivePiecesByCursor ¶
func (_PDPVerifier *PDPVerifierCaller) GetActivePiecesByCursor(opts *bind.CallOpts, setId *big.Int, startPieceId *big.Int, limit *big.Int) (struct { Pieces []CidsCid PieceIds []*big.Int HasMore bool }, error)
GetActivePiecesByCursor is a free data retrieval call binding the contract method 0x9fbc9f1b.
Solidity: function getActivePiecesByCursor(uint256 setId, uint256 startPieceId, uint256 limit) view returns((bytes)[] pieces, uint256[] pieceIds, bool hasMore)
func (*PDPVerifierCaller) GetChallengeFinality ¶
GetChallengeFinality is a free data retrieval call binding the contract method 0xf83758fe.
Solidity: function getChallengeFinality() view returns(uint256)
func (*PDPVerifierCaller) GetChallengeRange ¶
func (_PDPVerifier *PDPVerifierCaller) GetChallengeRange(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
GetChallengeRange is a free data retrieval call binding the contract method 0x89208ba9.
Solidity: function getChallengeRange(uint256 setId) view returns(uint256)
func (*PDPVerifierCaller) GetDataSetLastProvenEpoch ¶
func (_PDPVerifier *PDPVerifierCaller) GetDataSetLastProvenEpoch(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
GetDataSetLastProvenEpoch is a free data retrieval call binding the contract method 0x04595c1a.
Solidity: function getDataSetLastProvenEpoch(uint256 setId) view returns(uint256)
func (*PDPVerifierCaller) GetDataSetLeafCount ¶
func (_PDPVerifier *PDPVerifierCaller) GetDataSetLeafCount(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
GetDataSetLeafCount is a free data retrieval call binding the contract method 0xa531998c.
Solidity: function getDataSetLeafCount(uint256 setId) view returns(uint256)
func (*PDPVerifierCaller) GetDataSetListener ¶
func (_PDPVerifier *PDPVerifierCaller) GetDataSetListener(opts *bind.CallOpts, setId *big.Int) (common.Address, error)
GetDataSetListener is a free data retrieval call binding the contract method 0x2b3129bb.
Solidity: function getDataSetListener(uint256 setId) view returns(address)
func (*PDPVerifierCaller) GetDataSetStorageProvider ¶
func (_PDPVerifier *PDPVerifierCaller) GetDataSetStorageProvider(opts *bind.CallOpts, setId *big.Int) (common.Address, common.Address, error)
GetDataSetStorageProvider is a free data retrieval call binding the contract method 0x21b7cd1c.
Solidity: function getDataSetStorageProvider(uint256 setId) view returns(address, address)
func (*PDPVerifierCaller) GetNextChallengeEpoch ¶
func (_PDPVerifier *PDPVerifierCaller) GetNextChallengeEpoch(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
GetNextChallengeEpoch is a free data retrieval call binding the contract method 0x6ba4608f.
Solidity: function getNextChallengeEpoch(uint256 setId) view returns(uint256)
func (*PDPVerifierCaller) GetNextDataSetId ¶
func (_PDPVerifier *PDPVerifierCaller) GetNextDataSetId(opts *bind.CallOpts) (uint64, error)
GetNextDataSetId is a free data retrieval call binding the contract method 0x442cded3.
Solidity: function getNextDataSetId() view returns(uint64)
func (*PDPVerifierCaller) GetNextPieceId ¶
func (_PDPVerifier *PDPVerifierCaller) GetNextPieceId(opts *bind.CallOpts, setId *big.Int) (*big.Int, error)
GetNextPieceId is a free data retrieval call binding the contract method 0x1c5ae80f.
Solidity: function getNextPieceId(uint256 setId) view returns(uint256)
func (*PDPVerifierCaller) GetPieceCid ¶
func (_PDPVerifier *PDPVerifierCaller) GetPieceCid(opts *bind.CallOpts, setId *big.Int, pieceId *big.Int) (CidsCid, error)
GetPieceCid is a free data retrieval call binding the contract method 0x25bbbedf.
Solidity: function getPieceCid(uint256 setId, uint256 pieceId) view returns((bytes))
func (*PDPVerifierCaller) GetPieceLeafCount ¶
func (_PDPVerifier *PDPVerifierCaller) GetPieceLeafCount(opts *bind.CallOpts, setId *big.Int, pieceId *big.Int) (*big.Int, error)
GetPieceLeafCount is a free data retrieval call binding the contract method 0x0cd7b880.
Solidity: function getPieceLeafCount(uint256 setId, uint256 pieceId) view returns(uint256)
func (*PDPVerifierCaller) GetRandomness ¶
func (_PDPVerifier *PDPVerifierCaller) GetRandomness(opts *bind.CallOpts, epoch *big.Int) (*big.Int, error)
GetRandomness is a free data retrieval call binding the contract method 0x453f4f62.
Solidity: function getRandomness(uint256 epoch) view returns(uint256)
func (*PDPVerifierCaller) GetScheduledRemovals ¶
func (_PDPVerifier *PDPVerifierCaller) GetScheduledRemovals(opts *bind.CallOpts, setId *big.Int) ([]*big.Int, error)
GetScheduledRemovals is a free data retrieval call binding the contract method 0x6fa44692.
Solidity: function getScheduledRemovals(uint256 setId) view returns(uint256[])
func (*PDPVerifierCaller) MAXENQUEUEDREMOVALS ¶
MAXENQUEUEDREMOVALS is a free data retrieval call binding the contract method 0x9f8cb3bd.
Solidity: function MAX_ENQUEUED_REMOVALS() view returns(uint256)
func (*PDPVerifierCaller) MAXPIECESIZELOG2 ¶
MAXPIECESIZELOG2 is a free data retrieval call binding the contract method 0xf8eb8276.
Solidity: function MAX_PIECE_SIZE_LOG2() view returns(uint256)
func (*PDPVerifierCaller) NOCHALLENGESCHEDULED ¶
NOCHALLENGESCHEDULED is a free data retrieval call binding the contract method 0x462dd449.
Solidity: function NO_CHALLENGE_SCHEDULED() view returns(uint256)
func (*PDPVerifierCaller) NOPROVENEPOCH ¶
NOPROVENEPOCH is a free data retrieval call binding the contract method 0xf178b1be.
Solidity: function NO_PROVEN_EPOCH() view returns(uint256)
func (*PDPVerifierCaller) NextUpgrade ¶
func (_PDPVerifier *PDPVerifierCaller) NextUpgrade(opts *bind.CallOpts) (struct { NextImplementation common.Address AfterEpoch *big.Int }, error)
NextUpgrade is a free data retrieval call binding the contract method 0x315e49ea.
Solidity: function nextUpgrade() view returns(address nextImplementation, uint96 afterEpoch)
func (*PDPVerifierCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PDPVerifierCaller) PAYMENTSCONTRACTADDRESS ¶
func (_PDPVerifier *PDPVerifierCaller) PAYMENTSCONTRACTADDRESS(opts *bind.CallOpts) (common.Address, error)
PAYMENTSCONTRACTADDRESS is a free data retrieval call binding the contract method 0x3684528d.
Solidity: function PAYMENTS_CONTRACT_ADDRESS() view returns(address)
func (*PDPVerifierCaller) PieceChallengable ¶
func (_PDPVerifier *PDPVerifierCaller) PieceChallengable(opts *bind.CallOpts, setId *big.Int, pieceId *big.Int) (bool, error)
PieceChallengable is a free data retrieval call binding the contract method 0xdc635266.
Solidity: function pieceChallengable(uint256 setId, uint256 pieceId) view returns(bool)
func (*PDPVerifierCaller) PieceLive ¶
func (_PDPVerifier *PDPVerifierCaller) PieceLive(opts *bind.CallOpts, setId *big.Int, pieceId *big.Int) (bool, error)
PieceLive is a free data retrieval call binding the contract method 0x1a271225.
Solidity: function pieceLive(uint256 setId, uint256 pieceId) view returns(bool)
func (*PDPVerifierCaller) ProposedFeePerTiB ¶
ProposedFeePerTiB is a free data retrieval call binding the contract method 0xba74d94c.
Solidity: function proposedFeePerTiB() view returns(uint96)
func (*PDPVerifierCaller) ProxiableUUID ¶
func (_PDPVerifier *PDPVerifierCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*PDPVerifierCaller) UPGRADEINTERFACEVERSION ¶
func (_PDPVerifier *PDPVerifierCaller) UPGRADEINTERFACEVERSION(opts *bind.CallOpts) (string, error)
UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.
Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)
func (*PDPVerifierCaller) USDFCSYBILFEE ¶
USDFCSYBILFEE is a free data retrieval call binding the contract method 0x4db5e177.
Solidity: function USDFC_SYBIL_FEE() view returns(uint256)
func (*PDPVerifierCaller) USDFCTOKENADDRESS ¶
func (_PDPVerifier *PDPVerifierCaller) USDFCTOKENADDRESS(opts *bind.CallOpts) (common.Address, error)
USDFCTOKENADDRESS is a free data retrieval call binding the contract method 0xcc457690.
Solidity: function USDFC_TOKEN_ADDRESS() view returns(address)
type PDPVerifierCallerRaw ¶
type PDPVerifierCallerRaw struct {
Contract *PDPVerifierCaller // Generic read-only contract binding to access the raw methods on
}
PDPVerifierCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PDPVerifierCallerRaw) Call ¶
func (_PDPVerifier *PDPVerifierCallerRaw) 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 PDPVerifierCallerSession ¶
type PDPVerifierCallerSession struct {
Contract *PDPVerifierCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
PDPVerifierCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PDPVerifierCallerSession) CalculateProofFee ¶
CalculateProofFee is a free data retrieval call binding the contract method 0x86981308.
Solidity: function calculateProofFee(uint256 setId) view returns(uint256)
func (*PDPVerifierCallerSession) CalculateProofFeeForSize ¶
func (_PDPVerifier *PDPVerifierCallerSession) CalculateProofFeeForSize(proofSize *big.Int) (*big.Int, error)
CalculateProofFeeForSize is a free data retrieval call binding the contract method 0xe9a31a55.
Solidity: function calculateProofFeeForSize(uint256 proofSize) view returns(uint256)
func (*PDPVerifierCallerSession) DataSetLive ¶
func (_PDPVerifier *PDPVerifierCallerSession) DataSetLive(setId *big.Int) (bool, error)
DataSetLive is a free data retrieval call binding the contract method 0xca759f27.
Solidity: function dataSetLive(uint256 setId) view returns(bool)
func (*PDPVerifierCallerSession) FILSYBILFEE ¶
func (_PDPVerifier *PDPVerifierCallerSession) FILSYBILFEE() (*big.Int, error)
FILSYBILFEE is a free data retrieval call binding the contract method 0x264b14cc.
Solidity: function FIL_SYBIL_FEE() pure returns(uint256)
func (*PDPVerifierCallerSession) FeeEffectiveTime ¶
func (_PDPVerifier *PDPVerifierCallerSession) FeeEffectiveTime() (uint64, error)
FeeEffectiveTime is a free data retrieval call binding the contract method 0x996ad96a.
Solidity: function feeEffectiveTime() view returns(uint64)
func (*PDPVerifierCallerSession) FeePerTiB ¶
func (_PDPVerifier *PDPVerifierCallerSession) FeePerTiB() (*big.Int, error)
FeePerTiB is a free data retrieval call binding the contract method 0x22ef3f73.
Solidity: function feePerTiB() view returns(uint96)
func (*PDPVerifierCallerSession) FindPieceIds ¶
func (_PDPVerifier *PDPVerifierCallerSession) FindPieceIds(setId *big.Int, leafIndexs []*big.Int) ([]IPDPTypesPieceIdAndOffset, error)
FindPieceIds is a free data retrieval call binding the contract method 0x349c9179.
Solidity: function findPieceIds(uint256 setId, uint256[] leafIndexs) view returns((uint256,uint256)[])
func (*PDPVerifierCallerSession) FindPieceIdsByCid ¶
func (_PDPVerifier *PDPVerifierCallerSession) FindPieceIdsByCid(setId *big.Int, pieceCid CidsCid, startPieceId *big.Int, limit *big.Int) ([]*big.Int, error)
FindPieceIdsByCid is a free data retrieval call binding the contract method 0x6a4991a1.
Solidity: function findPieceIdsByCid(uint256 setId, (bytes) pieceCid, uint256 startPieceId, uint256 limit) view returns(uint256[] pieceIds)
func (*PDPVerifierCallerSession) GetActivePieceCount ¶
GetActivePieceCount is a free data retrieval call binding the contract method 0x5353bdfd.
Solidity: function getActivePieceCount(uint256 setId) view returns(uint256 activeCount)
func (*PDPVerifierCallerSession) GetActivePieces ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetActivePieces(setId *big.Int, offset *big.Int, limit *big.Int) (struct { Pieces []CidsCid PieceIds []*big.Int HasMore bool }, error)
GetActivePieces is a free data retrieval call binding the contract method 0x39f51544.
Solidity: function getActivePieces(uint256 setId, uint256 offset, uint256 limit) view returns((bytes)[] pieces, uint256[] pieceIds, bool hasMore)
func (*PDPVerifierCallerSession) GetActivePiecesByCursor ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetActivePiecesByCursor(setId *big.Int, startPieceId *big.Int, limit *big.Int) (struct { Pieces []CidsCid PieceIds []*big.Int HasMore bool }, error)
GetActivePiecesByCursor is a free data retrieval call binding the contract method 0x9fbc9f1b.
Solidity: function getActivePiecesByCursor(uint256 setId, uint256 startPieceId, uint256 limit) view returns((bytes)[] pieces, uint256[] pieceIds, bool hasMore)
func (*PDPVerifierCallerSession) GetChallengeFinality ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetChallengeFinality() (*big.Int, error)
GetChallengeFinality is a free data retrieval call binding the contract method 0xf83758fe.
Solidity: function getChallengeFinality() view returns(uint256)
func (*PDPVerifierCallerSession) GetChallengeRange ¶
GetChallengeRange is a free data retrieval call binding the contract method 0x89208ba9.
Solidity: function getChallengeRange(uint256 setId) view returns(uint256)
func (*PDPVerifierCallerSession) GetDataSetLastProvenEpoch ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetDataSetLastProvenEpoch(setId *big.Int) (*big.Int, error)
GetDataSetLastProvenEpoch is a free data retrieval call binding the contract method 0x04595c1a.
Solidity: function getDataSetLastProvenEpoch(uint256 setId) view returns(uint256)
func (*PDPVerifierCallerSession) GetDataSetLeafCount ¶
GetDataSetLeafCount is a free data retrieval call binding the contract method 0xa531998c.
Solidity: function getDataSetLeafCount(uint256 setId) view returns(uint256)
func (*PDPVerifierCallerSession) GetDataSetListener ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetDataSetListener(setId *big.Int) (common.Address, error)
GetDataSetListener is a free data retrieval call binding the contract method 0x2b3129bb.
Solidity: function getDataSetListener(uint256 setId) view returns(address)
func (*PDPVerifierCallerSession) GetDataSetStorageProvider ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetDataSetStorageProvider(setId *big.Int) (common.Address, common.Address, error)
GetDataSetStorageProvider is a free data retrieval call binding the contract method 0x21b7cd1c.
Solidity: function getDataSetStorageProvider(uint256 setId) view returns(address, address)
func (*PDPVerifierCallerSession) GetNextChallengeEpoch ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetNextChallengeEpoch(setId *big.Int) (*big.Int, error)
GetNextChallengeEpoch is a free data retrieval call binding the contract method 0x6ba4608f.
Solidity: function getNextChallengeEpoch(uint256 setId) view returns(uint256)
func (*PDPVerifierCallerSession) GetNextDataSetId ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetNextDataSetId() (uint64, error)
GetNextDataSetId is a free data retrieval call binding the contract method 0x442cded3.
Solidity: function getNextDataSetId() view returns(uint64)
func (*PDPVerifierCallerSession) GetNextPieceId ¶
GetNextPieceId is a free data retrieval call binding the contract method 0x1c5ae80f.
Solidity: function getNextPieceId(uint256 setId) view returns(uint256)
func (*PDPVerifierCallerSession) GetPieceCid ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetPieceCid(setId *big.Int, pieceId *big.Int) (CidsCid, error)
GetPieceCid is a free data retrieval call binding the contract method 0x25bbbedf.
Solidity: function getPieceCid(uint256 setId, uint256 pieceId) view returns((bytes))
func (*PDPVerifierCallerSession) GetPieceLeafCount ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetPieceLeafCount(setId *big.Int, pieceId *big.Int) (*big.Int, error)
GetPieceLeafCount is a free data retrieval call binding the contract method 0x0cd7b880.
Solidity: function getPieceLeafCount(uint256 setId, uint256 pieceId) view returns(uint256)
func (*PDPVerifierCallerSession) GetRandomness ¶
GetRandomness is a free data retrieval call binding the contract method 0x453f4f62.
Solidity: function getRandomness(uint256 epoch) view returns(uint256)
func (*PDPVerifierCallerSession) GetScheduledRemovals ¶
func (_PDPVerifier *PDPVerifierCallerSession) GetScheduledRemovals(setId *big.Int) ([]*big.Int, error)
GetScheduledRemovals is a free data retrieval call binding the contract method 0x6fa44692.
Solidity: function getScheduledRemovals(uint256 setId) view returns(uint256[])
func (*PDPVerifierCallerSession) MAXENQUEUEDREMOVALS ¶
func (_PDPVerifier *PDPVerifierCallerSession) MAXENQUEUEDREMOVALS() (*big.Int, error)
MAXENQUEUEDREMOVALS is a free data retrieval call binding the contract method 0x9f8cb3bd.
Solidity: function MAX_ENQUEUED_REMOVALS() view returns(uint256)
func (*PDPVerifierCallerSession) MAXPIECESIZELOG2 ¶
func (_PDPVerifier *PDPVerifierCallerSession) MAXPIECESIZELOG2() (*big.Int, error)
MAXPIECESIZELOG2 is a free data retrieval call binding the contract method 0xf8eb8276.
Solidity: function MAX_PIECE_SIZE_LOG2() view returns(uint256)
func (*PDPVerifierCallerSession) NOCHALLENGESCHEDULED ¶
func (_PDPVerifier *PDPVerifierCallerSession) NOCHALLENGESCHEDULED() (*big.Int, error)
NOCHALLENGESCHEDULED is a free data retrieval call binding the contract method 0x462dd449.
Solidity: function NO_CHALLENGE_SCHEDULED() view returns(uint256)
func (*PDPVerifierCallerSession) NOPROVENEPOCH ¶
func (_PDPVerifier *PDPVerifierCallerSession) NOPROVENEPOCH() (*big.Int, error)
NOPROVENEPOCH is a free data retrieval call binding the contract method 0xf178b1be.
Solidity: function NO_PROVEN_EPOCH() view returns(uint256)
func (*PDPVerifierCallerSession) NextUpgrade ¶
func (_PDPVerifier *PDPVerifierCallerSession) NextUpgrade() (struct { NextImplementation common.Address AfterEpoch *big.Int }, error)
NextUpgrade is a free data retrieval call binding the contract method 0x315e49ea.
Solidity: function nextUpgrade() view returns(address nextImplementation, uint96 afterEpoch)
func (*PDPVerifierCallerSession) Owner ¶
func (_PDPVerifier *PDPVerifierCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PDPVerifierCallerSession) PAYMENTSCONTRACTADDRESS ¶
func (_PDPVerifier *PDPVerifierCallerSession) PAYMENTSCONTRACTADDRESS() (common.Address, error)
PAYMENTSCONTRACTADDRESS is a free data retrieval call binding the contract method 0x3684528d.
Solidity: function PAYMENTS_CONTRACT_ADDRESS() view returns(address)
func (*PDPVerifierCallerSession) PieceChallengable ¶
func (_PDPVerifier *PDPVerifierCallerSession) PieceChallengable(setId *big.Int, pieceId *big.Int) (bool, error)
PieceChallengable is a free data retrieval call binding the contract method 0xdc635266.
Solidity: function pieceChallengable(uint256 setId, uint256 pieceId) view returns(bool)
func (*PDPVerifierCallerSession) PieceLive ¶
func (_PDPVerifier *PDPVerifierCallerSession) PieceLive(setId *big.Int, pieceId *big.Int) (bool, error)
PieceLive is a free data retrieval call binding the contract method 0x1a271225.
Solidity: function pieceLive(uint256 setId, uint256 pieceId) view returns(bool)
func (*PDPVerifierCallerSession) ProposedFeePerTiB ¶
func (_PDPVerifier *PDPVerifierCallerSession) ProposedFeePerTiB() (*big.Int, error)
ProposedFeePerTiB is a free data retrieval call binding the contract method 0xba74d94c.
Solidity: function proposedFeePerTiB() view returns(uint96)
func (*PDPVerifierCallerSession) ProxiableUUID ¶
func (_PDPVerifier *PDPVerifierCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*PDPVerifierCallerSession) UPGRADEINTERFACEVERSION ¶
func (_PDPVerifier *PDPVerifierCallerSession) UPGRADEINTERFACEVERSION() (string, error)
UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.
Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)
func (*PDPVerifierCallerSession) USDFCSYBILFEE ¶
func (_PDPVerifier *PDPVerifierCallerSession) USDFCSYBILFEE() (*big.Int, error)
USDFCSYBILFEE is a free data retrieval call binding the contract method 0x4db5e177.
Solidity: function USDFC_SYBIL_FEE() view returns(uint256)
func (*PDPVerifierCallerSession) USDFCTOKENADDRESS ¶
func (_PDPVerifier *PDPVerifierCallerSession) USDFCTOKENADDRESS() (common.Address, error)
USDFCTOKENADDRESS is a free data retrieval call binding the contract method 0xcc457690.
Solidity: function USDFC_TOKEN_ADDRESS() view returns(address)
func (*PDPVerifierCallerSession) VERSION ¶
func (_PDPVerifier *PDPVerifierCallerSession) VERSION() (string, error)
VERSION is a free data retrieval call binding the contract method 0xffa1ad74.
Solidity: function VERSION() view returns(string)
type PDPVerifierContractUpgraded ¶
type PDPVerifierContractUpgraded struct {
Version string
Implementation common.Address
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierContractUpgraded represents a ContractUpgraded event raised by the PDPVerifier contract.
type PDPVerifierContractUpgradedIterator ¶
type PDPVerifierContractUpgradedIterator struct {
Event *PDPVerifierContractUpgraded // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierContractUpgradedIterator is returned from FilterContractUpgraded and is used to iterate over the raw logs and unpacked data for ContractUpgraded events raised by the PDPVerifier contract.
func (*PDPVerifierContractUpgradedIterator) Close ¶
func (it *PDPVerifierContractUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierContractUpgradedIterator) Error ¶
func (it *PDPVerifierContractUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierContractUpgradedIterator) Next ¶
func (it *PDPVerifierContractUpgradedIterator) 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 PDPVerifierDataSetCreated ¶
type PDPVerifierDataSetCreated struct {
SetId *big.Int
StorageProvider common.Address
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierDataSetCreated represents a DataSetCreated event raised by the PDPVerifier contract.
type PDPVerifierDataSetCreatedIterator ¶
type PDPVerifierDataSetCreatedIterator struct {
Event *PDPVerifierDataSetCreated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierDataSetCreatedIterator is returned from FilterDataSetCreated and is used to iterate over the raw logs and unpacked data for DataSetCreated events raised by the PDPVerifier contract.
func (*PDPVerifierDataSetCreatedIterator) Close ¶
func (it *PDPVerifierDataSetCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierDataSetCreatedIterator) Error ¶
func (it *PDPVerifierDataSetCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierDataSetCreatedIterator) Next ¶
func (it *PDPVerifierDataSetCreatedIterator) 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 PDPVerifierDataSetDeleted ¶
type PDPVerifierDataSetDeleted struct {
SetId *big.Int
DeletedLeafCount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierDataSetDeleted represents a DataSetDeleted event raised by the PDPVerifier contract.
type PDPVerifierDataSetDeletedIterator ¶
type PDPVerifierDataSetDeletedIterator struct {
Event *PDPVerifierDataSetDeleted // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierDataSetDeletedIterator is returned from FilterDataSetDeleted and is used to iterate over the raw logs and unpacked data for DataSetDeleted events raised by the PDPVerifier contract.
func (*PDPVerifierDataSetDeletedIterator) Close ¶
func (it *PDPVerifierDataSetDeletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierDataSetDeletedIterator) Error ¶
func (it *PDPVerifierDataSetDeletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierDataSetDeletedIterator) Next ¶
func (it *PDPVerifierDataSetDeletedIterator) 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 PDPVerifierDataSetEmpty ¶
type PDPVerifierDataSetEmpty struct {
SetId *big.Int
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierDataSetEmpty represents a DataSetEmpty event raised by the PDPVerifier contract.
type PDPVerifierDataSetEmptyIterator ¶
type PDPVerifierDataSetEmptyIterator struct {
Event *PDPVerifierDataSetEmpty // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierDataSetEmptyIterator is returned from FilterDataSetEmpty and is used to iterate over the raw logs and unpacked data for DataSetEmpty events raised by the PDPVerifier contract.
func (*PDPVerifierDataSetEmptyIterator) Close ¶
func (it *PDPVerifierDataSetEmptyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierDataSetEmptyIterator) Error ¶
func (it *PDPVerifierDataSetEmptyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierDataSetEmptyIterator) Next ¶
func (it *PDPVerifierDataSetEmptyIterator) 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 PDPVerifierFeeUpdateProposed ¶
type PDPVerifierFeeUpdateProposed struct {
CurrentFee *big.Int
NewFee *big.Int
EffectiveTime *big.Int
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierFeeUpdateProposed represents a FeeUpdateProposed event raised by the PDPVerifier contract.
type PDPVerifierFeeUpdateProposedIterator ¶
type PDPVerifierFeeUpdateProposedIterator struct {
Event *PDPVerifierFeeUpdateProposed // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierFeeUpdateProposedIterator is returned from FilterFeeUpdateProposed and is used to iterate over the raw logs and unpacked data for FeeUpdateProposed events raised by the PDPVerifier contract.
func (*PDPVerifierFeeUpdateProposedIterator) Close ¶
func (it *PDPVerifierFeeUpdateProposedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierFeeUpdateProposedIterator) Error ¶
func (it *PDPVerifierFeeUpdateProposedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierFeeUpdateProposedIterator) Next ¶
func (it *PDPVerifierFeeUpdateProposedIterator) 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 PDPVerifierFilterer ¶
type PDPVerifierFilterer struct {
// contains filtered or unexported fields
}
PDPVerifierFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPDPVerifierFilterer ¶
func NewPDPVerifierFilterer(address common.Address, filterer bind.ContractFilterer) (*PDPVerifierFilterer, error)
NewPDPVerifierFilterer creates a new log filterer instance of PDPVerifier, bound to a specific deployed contract.
func (*PDPVerifierFilterer) FilterContractUpgraded ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterContractUpgraded(opts *bind.FilterOpts) (*PDPVerifierContractUpgradedIterator, error)
FilterContractUpgraded is a free log retrieval operation binding the contract event 0x2b51ff7c4cc8e6fe1c72e9d9685b7d2a88a5d82ad3a644afbdceb0272c89c1c3.
Solidity: event ContractUpgraded(string version, address implementation)
func (*PDPVerifierFilterer) FilterDataSetCreated ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterDataSetCreated(opts *bind.FilterOpts, setId []*big.Int, storageProvider []common.Address) (*PDPVerifierDataSetCreatedIterator, error)
FilterDataSetCreated is a free log retrieval operation binding the contract event 0x11369440e1b7135015c16acb9bc14b55b0f4b23b02010c363d34aec2e5b96281.
Solidity: event DataSetCreated(uint256 indexed setId, address indexed storageProvider)
func (*PDPVerifierFilterer) FilterDataSetDeleted ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterDataSetDeleted(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierDataSetDeletedIterator, error)
FilterDataSetDeleted is a free log retrieval operation binding the contract event 0x14eeeef7679fcb051c6572811f61c07bedccd0f1cfc1f9b79b23e47c5c52aeb7.
Solidity: event DataSetDeleted(uint256 indexed setId, uint256 deletedLeafCount)
func (*PDPVerifierFilterer) FilterDataSetEmpty ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterDataSetEmpty(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierDataSetEmptyIterator, error)
FilterDataSetEmpty is a free log retrieval operation binding the contract event 0x02a8400fc343f45098cb00c3a6ea694174771939a5503f663e0ff6f4eb7c2842.
Solidity: event DataSetEmpty(uint256 indexed setId)
func (*PDPVerifierFilterer) FilterFeeUpdateProposed ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterFeeUpdateProposed(opts *bind.FilterOpts) (*PDPVerifierFeeUpdateProposedIterator, error)
FilterFeeUpdateProposed is a free log retrieval operation binding the contract event 0x239c396012e4038117d18910fba2aab3452e37696f685a457098e4c4864d8bcb.
Solidity: event FeeUpdateProposed(uint256 currentFee, uint256 newFee, uint256 effectiveTime)
func (*PDPVerifierFilterer) FilterInitialized ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterInitialized(opts *bind.FilterOpts) (*PDPVerifierInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*PDPVerifierFilterer) FilterNextProvingPeriod ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterNextProvingPeriod(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierNextProvingPeriodIterator, error)
FilterNextProvingPeriod is a free log retrieval operation binding the contract event 0xc099ffec4e3e773644a4d1dda368c46af853a0eeb15babde217f53a657396e1e.
Solidity: event NextProvingPeriod(uint256 indexed setId, uint256 challengeEpoch, uint256 leafCount)
func (*PDPVerifierFilterer) FilterOwnershipTransferred ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PDPVerifierOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*PDPVerifierFilterer) FilterPiecesAdded ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterPiecesAdded(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierPiecesAddedIterator, error)
FilterPiecesAdded is a free log retrieval operation binding the contract event 0x396df50222a87662e94bb7d173792d5e61fe0b193b6ccf791f7ce433f0b28207.
Solidity: event PiecesAdded(uint256 indexed setId, uint256[] pieceIds, (bytes)[] pieceCids)
func (*PDPVerifierFilterer) FilterPiecesRemoved ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterPiecesRemoved(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierPiecesRemovedIterator, error)
FilterPiecesRemoved is a free log retrieval operation binding the contract event 0x6e87df804629ac17804b57ba7abbdfac8bdc36bab504fb8a8801eb313a8ce7b1.
Solidity: event PiecesRemoved(uint256 indexed setId, uint256[] pieceIds)
func (*PDPVerifierFilterer) FilterPossessionProven ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterPossessionProven(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierPossessionProvenIterator, error)
FilterPossessionProven is a free log retrieval operation binding the contract event 0x1acf7df9f0c1b0208c23be6178950c0273f89b766805a2c0bd1e53d25c700e50.
Solidity: event PossessionProven(uint256 indexed setId, (uint256,uint256)[] challenges)
func (*PDPVerifierFilterer) FilterProofFeePaid ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterProofFeePaid(opts *bind.FilterOpts, setId []*big.Int) (*PDPVerifierProofFeePaidIterator, error)
FilterProofFeePaid is a free log retrieval operation binding the contract event 0x58b7742b13c8873fc0ba58f695b33ca0044b2db7ff9c5208181dbaec2a5b291e.
Solidity: event ProofFeePaid(uint256 indexed setId, uint256 fee)
func (*PDPVerifierFilterer) FilterStorageProviderChanged ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterStorageProviderChanged(opts *bind.FilterOpts, setId []*big.Int, oldStorageProvider []common.Address, newStorageProvider []common.Address) (*PDPVerifierStorageProviderChangedIterator, error)
FilterStorageProviderChanged is a free log retrieval operation binding the contract event 0x686146a80f2bf4dc855942926481871515b39b508826d7982a2e0212d20552c9.
Solidity: event StorageProviderChanged(uint256 indexed setId, address indexed oldStorageProvider, address indexed newStorageProvider)
func (*PDPVerifierFilterer) FilterUpgradeAnnounced ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterUpgradeAnnounced(opts *bind.FilterOpts) (*PDPVerifierUpgradeAnnouncedIterator, error)
FilterUpgradeAnnounced is a free log retrieval operation binding the contract event 0xbcf8666408d712c75c2cbd790925afbec6495ca9e04186b1182902260a1d53cd.
Solidity: event UpgradeAnnounced((address,uint96) plannedUpgrade)
func (*PDPVerifierFilterer) FilterUpgraded ¶
func (_PDPVerifier *PDPVerifierFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*PDPVerifierUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*PDPVerifierFilterer) ParseContractUpgraded ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseContractUpgraded(log types.Log) (*PDPVerifierContractUpgraded, error)
ParseContractUpgraded is a log parse operation binding the contract event 0x2b51ff7c4cc8e6fe1c72e9d9685b7d2a88a5d82ad3a644afbdceb0272c89c1c3.
Solidity: event ContractUpgraded(string version, address implementation)
func (*PDPVerifierFilterer) ParseDataSetCreated ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseDataSetCreated(log types.Log) (*PDPVerifierDataSetCreated, error)
ParseDataSetCreated is a log parse operation binding the contract event 0x11369440e1b7135015c16acb9bc14b55b0f4b23b02010c363d34aec2e5b96281.
Solidity: event DataSetCreated(uint256 indexed setId, address indexed storageProvider)
func (*PDPVerifierFilterer) ParseDataSetDeleted ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseDataSetDeleted(log types.Log) (*PDPVerifierDataSetDeleted, error)
ParseDataSetDeleted is a log parse operation binding the contract event 0x14eeeef7679fcb051c6572811f61c07bedccd0f1cfc1f9b79b23e47c5c52aeb7.
Solidity: event DataSetDeleted(uint256 indexed setId, uint256 deletedLeafCount)
func (*PDPVerifierFilterer) ParseDataSetEmpty ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseDataSetEmpty(log types.Log) (*PDPVerifierDataSetEmpty, error)
ParseDataSetEmpty is a log parse operation binding the contract event 0x02a8400fc343f45098cb00c3a6ea694174771939a5503f663e0ff6f4eb7c2842.
Solidity: event DataSetEmpty(uint256 indexed setId)
func (*PDPVerifierFilterer) ParseFeeUpdateProposed ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseFeeUpdateProposed(log types.Log) (*PDPVerifierFeeUpdateProposed, error)
ParseFeeUpdateProposed is a log parse operation binding the contract event 0x239c396012e4038117d18910fba2aab3452e37696f685a457098e4c4864d8bcb.
Solidity: event FeeUpdateProposed(uint256 currentFee, uint256 newFee, uint256 effectiveTime)
func (*PDPVerifierFilterer) ParseInitialized ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseInitialized(log types.Log) (*PDPVerifierInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*PDPVerifierFilterer) ParseNextProvingPeriod ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseNextProvingPeriod(log types.Log) (*PDPVerifierNextProvingPeriod, error)
ParseNextProvingPeriod is a log parse operation binding the contract event 0xc099ffec4e3e773644a4d1dda368c46af853a0eeb15babde217f53a657396e1e.
Solidity: event NextProvingPeriod(uint256 indexed setId, uint256 challengeEpoch, uint256 leafCount)
func (*PDPVerifierFilterer) ParseOwnershipTransferred ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseOwnershipTransferred(log types.Log) (*PDPVerifierOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*PDPVerifierFilterer) ParsePiecesAdded ¶
func (_PDPVerifier *PDPVerifierFilterer) ParsePiecesAdded(log types.Log) (*PDPVerifierPiecesAdded, error)
ParsePiecesAdded is a log parse operation binding the contract event 0x396df50222a87662e94bb7d173792d5e61fe0b193b6ccf791f7ce433f0b28207.
Solidity: event PiecesAdded(uint256 indexed setId, uint256[] pieceIds, (bytes)[] pieceCids)
func (*PDPVerifierFilterer) ParsePiecesRemoved ¶
func (_PDPVerifier *PDPVerifierFilterer) ParsePiecesRemoved(log types.Log) (*PDPVerifierPiecesRemoved, error)
ParsePiecesRemoved is a log parse operation binding the contract event 0x6e87df804629ac17804b57ba7abbdfac8bdc36bab504fb8a8801eb313a8ce7b1.
Solidity: event PiecesRemoved(uint256 indexed setId, uint256[] pieceIds)
func (*PDPVerifierFilterer) ParsePossessionProven ¶
func (_PDPVerifier *PDPVerifierFilterer) ParsePossessionProven(log types.Log) (*PDPVerifierPossessionProven, error)
ParsePossessionProven is a log parse operation binding the contract event 0x1acf7df9f0c1b0208c23be6178950c0273f89b766805a2c0bd1e53d25c700e50.
Solidity: event PossessionProven(uint256 indexed setId, (uint256,uint256)[] challenges)
func (*PDPVerifierFilterer) ParseProofFeePaid ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseProofFeePaid(log types.Log) (*PDPVerifierProofFeePaid, error)
ParseProofFeePaid is a log parse operation binding the contract event 0x58b7742b13c8873fc0ba58f695b33ca0044b2db7ff9c5208181dbaec2a5b291e.
Solidity: event ProofFeePaid(uint256 indexed setId, uint256 fee)
func (*PDPVerifierFilterer) ParseStorageProviderChanged ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseStorageProviderChanged(log types.Log) (*PDPVerifierStorageProviderChanged, error)
ParseStorageProviderChanged is a log parse operation binding the contract event 0x686146a80f2bf4dc855942926481871515b39b508826d7982a2e0212d20552c9.
Solidity: event StorageProviderChanged(uint256 indexed setId, address indexed oldStorageProvider, address indexed newStorageProvider)
func (*PDPVerifierFilterer) ParseUpgradeAnnounced ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseUpgradeAnnounced(log types.Log) (*PDPVerifierUpgradeAnnounced, error)
ParseUpgradeAnnounced is a log parse operation binding the contract event 0xbcf8666408d712c75c2cbd790925afbec6495ca9e04186b1182902260a1d53cd.
Solidity: event UpgradeAnnounced((address,uint96) plannedUpgrade)
func (*PDPVerifierFilterer) ParseUpgraded ¶
func (_PDPVerifier *PDPVerifierFilterer) ParseUpgraded(log types.Log) (*PDPVerifierUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*PDPVerifierFilterer) WatchContractUpgraded ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchContractUpgraded(opts *bind.WatchOpts, sink chan<- *PDPVerifierContractUpgraded) (event.Subscription, error)
WatchContractUpgraded is a free log subscription operation binding the contract event 0x2b51ff7c4cc8e6fe1c72e9d9685b7d2a88a5d82ad3a644afbdceb0272c89c1c3.
Solidity: event ContractUpgraded(string version, address implementation)
func (*PDPVerifierFilterer) WatchDataSetCreated ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchDataSetCreated(opts *bind.WatchOpts, sink chan<- *PDPVerifierDataSetCreated, setId []*big.Int, storageProvider []common.Address) (event.Subscription, error)
WatchDataSetCreated is a free log subscription operation binding the contract event 0x11369440e1b7135015c16acb9bc14b55b0f4b23b02010c363d34aec2e5b96281.
Solidity: event DataSetCreated(uint256 indexed setId, address indexed storageProvider)
func (*PDPVerifierFilterer) WatchDataSetDeleted ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchDataSetDeleted(opts *bind.WatchOpts, sink chan<- *PDPVerifierDataSetDeleted, setId []*big.Int) (event.Subscription, error)
WatchDataSetDeleted is a free log subscription operation binding the contract event 0x14eeeef7679fcb051c6572811f61c07bedccd0f1cfc1f9b79b23e47c5c52aeb7.
Solidity: event DataSetDeleted(uint256 indexed setId, uint256 deletedLeafCount)
func (*PDPVerifierFilterer) WatchDataSetEmpty ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchDataSetEmpty(opts *bind.WatchOpts, sink chan<- *PDPVerifierDataSetEmpty, setId []*big.Int) (event.Subscription, error)
WatchDataSetEmpty is a free log subscription operation binding the contract event 0x02a8400fc343f45098cb00c3a6ea694174771939a5503f663e0ff6f4eb7c2842.
Solidity: event DataSetEmpty(uint256 indexed setId)
func (*PDPVerifierFilterer) WatchFeeUpdateProposed ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchFeeUpdateProposed(opts *bind.WatchOpts, sink chan<- *PDPVerifierFeeUpdateProposed) (event.Subscription, error)
WatchFeeUpdateProposed is a free log subscription operation binding the contract event 0x239c396012e4038117d18910fba2aab3452e37696f685a457098e4c4864d8bcb.
Solidity: event FeeUpdateProposed(uint256 currentFee, uint256 newFee, uint256 effectiveTime)
func (*PDPVerifierFilterer) WatchInitialized ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PDPVerifierInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*PDPVerifierFilterer) WatchNextProvingPeriod ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchNextProvingPeriod(opts *bind.WatchOpts, sink chan<- *PDPVerifierNextProvingPeriod, setId []*big.Int) (event.Subscription, error)
WatchNextProvingPeriod is a free log subscription operation binding the contract event 0xc099ffec4e3e773644a4d1dda368c46af853a0eeb15babde217f53a657396e1e.
Solidity: event NextProvingPeriod(uint256 indexed setId, uint256 challengeEpoch, uint256 leafCount)
func (*PDPVerifierFilterer) WatchOwnershipTransferred ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PDPVerifierOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*PDPVerifierFilterer) WatchPiecesAdded ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchPiecesAdded(opts *bind.WatchOpts, sink chan<- *PDPVerifierPiecesAdded, setId []*big.Int) (event.Subscription, error)
WatchPiecesAdded is a free log subscription operation binding the contract event 0x396df50222a87662e94bb7d173792d5e61fe0b193b6ccf791f7ce433f0b28207.
Solidity: event PiecesAdded(uint256 indexed setId, uint256[] pieceIds, (bytes)[] pieceCids)
func (*PDPVerifierFilterer) WatchPiecesRemoved ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchPiecesRemoved(opts *bind.WatchOpts, sink chan<- *PDPVerifierPiecesRemoved, setId []*big.Int) (event.Subscription, error)
WatchPiecesRemoved is a free log subscription operation binding the contract event 0x6e87df804629ac17804b57ba7abbdfac8bdc36bab504fb8a8801eb313a8ce7b1.
Solidity: event PiecesRemoved(uint256 indexed setId, uint256[] pieceIds)
func (*PDPVerifierFilterer) WatchPossessionProven ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchPossessionProven(opts *bind.WatchOpts, sink chan<- *PDPVerifierPossessionProven, setId []*big.Int) (event.Subscription, error)
WatchPossessionProven is a free log subscription operation binding the contract event 0x1acf7df9f0c1b0208c23be6178950c0273f89b766805a2c0bd1e53d25c700e50.
Solidity: event PossessionProven(uint256 indexed setId, (uint256,uint256)[] challenges)
func (*PDPVerifierFilterer) WatchProofFeePaid ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchProofFeePaid(opts *bind.WatchOpts, sink chan<- *PDPVerifierProofFeePaid, setId []*big.Int) (event.Subscription, error)
WatchProofFeePaid is a free log subscription operation binding the contract event 0x58b7742b13c8873fc0ba58f695b33ca0044b2db7ff9c5208181dbaec2a5b291e.
Solidity: event ProofFeePaid(uint256 indexed setId, uint256 fee)
func (*PDPVerifierFilterer) WatchStorageProviderChanged ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchStorageProviderChanged(opts *bind.WatchOpts, sink chan<- *PDPVerifierStorageProviderChanged, setId []*big.Int, oldStorageProvider []common.Address, newStorageProvider []common.Address) (event.Subscription, error)
WatchStorageProviderChanged is a free log subscription operation binding the contract event 0x686146a80f2bf4dc855942926481871515b39b508826d7982a2e0212d20552c9.
Solidity: event StorageProviderChanged(uint256 indexed setId, address indexed oldStorageProvider, address indexed newStorageProvider)
func (*PDPVerifierFilterer) WatchUpgradeAnnounced ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchUpgradeAnnounced(opts *bind.WatchOpts, sink chan<- *PDPVerifierUpgradeAnnounced) (event.Subscription, error)
WatchUpgradeAnnounced is a free log subscription operation binding the contract event 0xbcf8666408d712c75c2cbd790925afbec6495ca9e04186b1182902260a1d53cd.
Solidity: event UpgradeAnnounced((address,uint96) plannedUpgrade)
func (*PDPVerifierFilterer) WatchUpgraded ¶
func (_PDPVerifier *PDPVerifierFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *PDPVerifierUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type PDPVerifierInitialized ¶
type PDPVerifierInitialized struct {
Version uint64
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierInitialized represents a Initialized event raised by the PDPVerifier contract.
type PDPVerifierInitializedIterator ¶
type PDPVerifierInitializedIterator struct {
Event *PDPVerifierInitialized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the PDPVerifier contract.
func (*PDPVerifierInitializedIterator) Close ¶
func (it *PDPVerifierInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierInitializedIterator) Error ¶
func (it *PDPVerifierInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierInitializedIterator) Next ¶
func (it *PDPVerifierInitializedIterator) 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 PDPVerifierNextProvingPeriod ¶
type PDPVerifierNextProvingPeriod struct {
SetId *big.Int
ChallengeEpoch *big.Int
LeafCount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierNextProvingPeriod represents a NextProvingPeriod event raised by the PDPVerifier contract.
type PDPVerifierNextProvingPeriodIterator ¶
type PDPVerifierNextProvingPeriodIterator struct {
Event *PDPVerifierNextProvingPeriod // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierNextProvingPeriodIterator is returned from FilterNextProvingPeriod and is used to iterate over the raw logs and unpacked data for NextProvingPeriod events raised by the PDPVerifier contract.
func (*PDPVerifierNextProvingPeriodIterator) Close ¶
func (it *PDPVerifierNextProvingPeriodIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierNextProvingPeriodIterator) Error ¶
func (it *PDPVerifierNextProvingPeriodIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierNextProvingPeriodIterator) Next ¶
func (it *PDPVerifierNextProvingPeriodIterator) 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 PDPVerifierOwnershipTransferred ¶
type PDPVerifierOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierOwnershipTransferred represents a OwnershipTransferred event raised by the PDPVerifier contract.
type PDPVerifierOwnershipTransferredIterator ¶
type PDPVerifierOwnershipTransferredIterator struct {
Event *PDPVerifierOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the PDPVerifier contract.
func (*PDPVerifierOwnershipTransferredIterator) Close ¶
func (it *PDPVerifierOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierOwnershipTransferredIterator) Error ¶
func (it *PDPVerifierOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierOwnershipTransferredIterator) Next ¶
func (it *PDPVerifierOwnershipTransferredIterator) 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 PDPVerifierPiecesAdded ¶
type PDPVerifierPiecesAdded struct {
SetId *big.Int
PieceIds []*big.Int
PieceCids []CidsCid
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierPiecesAdded represents a PiecesAdded event raised by the PDPVerifier contract.
type PDPVerifierPiecesAddedIterator ¶
type PDPVerifierPiecesAddedIterator struct {
Event *PDPVerifierPiecesAdded // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierPiecesAddedIterator is returned from FilterPiecesAdded and is used to iterate over the raw logs and unpacked data for PiecesAdded events raised by the PDPVerifier contract.
func (*PDPVerifierPiecesAddedIterator) Close ¶
func (it *PDPVerifierPiecesAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierPiecesAddedIterator) Error ¶
func (it *PDPVerifierPiecesAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierPiecesAddedIterator) Next ¶
func (it *PDPVerifierPiecesAddedIterator) 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 PDPVerifierPiecesRemoved ¶
type PDPVerifierPiecesRemoved struct {
SetId *big.Int
PieceIds []*big.Int
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierPiecesRemoved represents a PiecesRemoved event raised by the PDPVerifier contract.
type PDPVerifierPiecesRemovedIterator ¶
type PDPVerifierPiecesRemovedIterator struct {
Event *PDPVerifierPiecesRemoved // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierPiecesRemovedIterator is returned from FilterPiecesRemoved and is used to iterate over the raw logs and unpacked data for PiecesRemoved events raised by the PDPVerifier contract.
func (*PDPVerifierPiecesRemovedIterator) Close ¶
func (it *PDPVerifierPiecesRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierPiecesRemovedIterator) Error ¶
func (it *PDPVerifierPiecesRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierPiecesRemovedIterator) Next ¶
func (it *PDPVerifierPiecesRemovedIterator) 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 PDPVerifierPlannedUpgrade ¶
PDPVerifierPlannedUpgrade is an auto generated low-level Go binding around an user-defined struct.
type PDPVerifierPossessionProven ¶
type PDPVerifierPossessionProven struct {
SetId *big.Int
Challenges []IPDPTypesPieceIdAndOffset
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierPossessionProven represents a PossessionProven event raised by the PDPVerifier contract.
type PDPVerifierPossessionProvenIterator ¶
type PDPVerifierPossessionProvenIterator struct {
Event *PDPVerifierPossessionProven // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierPossessionProvenIterator is returned from FilterPossessionProven and is used to iterate over the raw logs and unpacked data for PossessionProven events raised by the PDPVerifier contract.
func (*PDPVerifierPossessionProvenIterator) Close ¶
func (it *PDPVerifierPossessionProvenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierPossessionProvenIterator) Error ¶
func (it *PDPVerifierPossessionProvenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierPossessionProvenIterator) Next ¶
func (it *PDPVerifierPossessionProvenIterator) 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 PDPVerifierProofFeePaid ¶
type PDPVerifierProofFeePaid struct {
SetId *big.Int
Fee *big.Int
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierProofFeePaid represents a ProofFeePaid event raised by the PDPVerifier contract.
type PDPVerifierProofFeePaidIterator ¶
type PDPVerifierProofFeePaidIterator struct {
Event *PDPVerifierProofFeePaid // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierProofFeePaidIterator is returned from FilterProofFeePaid and is used to iterate over the raw logs and unpacked data for ProofFeePaid events raised by the PDPVerifier contract.
func (*PDPVerifierProofFeePaidIterator) Close ¶
func (it *PDPVerifierProofFeePaidIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierProofFeePaidIterator) Error ¶
func (it *PDPVerifierProofFeePaidIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierProofFeePaidIterator) Next ¶
func (it *PDPVerifierProofFeePaidIterator) 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 PDPVerifierRaw ¶
type PDPVerifierRaw struct {
Contract *PDPVerifier // Generic contract binding to access the raw methods on
}
PDPVerifierRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*PDPVerifierRaw) Call ¶
func (_PDPVerifier *PDPVerifierRaw) 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 (*PDPVerifierRaw) Transact ¶
func (_PDPVerifier *PDPVerifierRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PDPVerifierRaw) Transfer ¶
func (_PDPVerifier *PDPVerifierRaw) 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 PDPVerifierSession ¶
type PDPVerifierSession struct {
Contract *PDPVerifier // 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
}
PDPVerifierSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PDPVerifierSession) AddPieces ¶
func (_PDPVerifier *PDPVerifierSession) AddPieces(setId *big.Int, listenerAddr common.Address, pieceData []CidsCid, extraData []byte) (*types.Transaction, error)
AddPieces is a paid mutator transaction binding the contract method 0x9afd37f2.
Solidity: function addPieces(uint256 setId, address listenerAddr, (bytes)[] pieceData, bytes extraData) payable returns(uint256)
func (*PDPVerifierSession) AnnouncePlannedUpgrade ¶
func (_PDPVerifier *PDPVerifierSession) AnnouncePlannedUpgrade(plannedUpgrade PDPVerifierPlannedUpgrade) (*types.Transaction, error)
AnnouncePlannedUpgrade is a paid mutator transaction binding the contract method 0xbd003827.
Solidity: function announcePlannedUpgrade((address,uint96) plannedUpgrade) returns()
func (*PDPVerifierSession) CalculateProofFee ¶
CalculateProofFee is a free data retrieval call binding the contract method 0x86981308.
Solidity: function calculateProofFee(uint256 setId) view returns(uint256)
func (*PDPVerifierSession) CalculateProofFeeForSize ¶
func (_PDPVerifier *PDPVerifierSession) CalculateProofFeeForSize(proofSize *big.Int) (*big.Int, error)
CalculateProofFeeForSize is a free data retrieval call binding the contract method 0xe9a31a55.
Solidity: function calculateProofFeeForSize(uint256 proofSize) view returns(uint256)
func (*PDPVerifierSession) ClaimDataSetStorageProvider ¶
func (_PDPVerifier *PDPVerifierSession) ClaimDataSetStorageProvider(setId *big.Int, extraData []byte) (*types.Transaction, error)
ClaimDataSetStorageProvider is a paid mutator transaction binding the contract method 0xdf0f3248.
Solidity: function claimDataSetStorageProvider(uint256 setId, bytes extraData) returns()
func (*PDPVerifierSession) CreateDataSet ¶
func (_PDPVerifier *PDPVerifierSession) CreateDataSet(listenerAddr common.Address, extraData []byte) (*types.Transaction, error)
CreateDataSet is a paid mutator transaction binding the contract method 0xbbae41cb.
Solidity: function createDataSet(address listenerAddr, bytes extraData) payable returns(uint256)
func (*PDPVerifierSession) DataSetLive ¶
func (_PDPVerifier *PDPVerifierSession) DataSetLive(setId *big.Int) (bool, error)
DataSetLive is a free data retrieval call binding the contract method 0xca759f27.
Solidity: function dataSetLive(uint256 setId) view returns(bool)
func (*PDPVerifierSession) DeleteDataSet ¶
func (_PDPVerifier *PDPVerifierSession) DeleteDataSet(setId *big.Int, extraData []byte) (*types.Transaction, error)
DeleteDataSet is a paid mutator transaction binding the contract method 0x7a1e2990.
Solidity: function deleteDataSet(uint256 setId, bytes extraData) returns()
func (*PDPVerifierSession) FILSYBILFEE ¶
func (_PDPVerifier *PDPVerifierSession) FILSYBILFEE() (*big.Int, error)
FILSYBILFEE is a free data retrieval call binding the contract method 0x264b14cc.
Solidity: function FIL_SYBIL_FEE() pure returns(uint256)
func (*PDPVerifierSession) FeeEffectiveTime ¶
func (_PDPVerifier *PDPVerifierSession) FeeEffectiveTime() (uint64, error)
FeeEffectiveTime is a free data retrieval call binding the contract method 0x996ad96a.
Solidity: function feeEffectiveTime() view returns(uint64)
func (*PDPVerifierSession) FeePerTiB ¶
func (_PDPVerifier *PDPVerifierSession) FeePerTiB() (*big.Int, error)
FeePerTiB is a free data retrieval call binding the contract method 0x22ef3f73.
Solidity: function feePerTiB() view returns(uint96)
func (*PDPVerifierSession) FindPieceIds ¶
func (_PDPVerifier *PDPVerifierSession) FindPieceIds(setId *big.Int, leafIndexs []*big.Int) ([]IPDPTypesPieceIdAndOffset, error)
FindPieceIds is a free data retrieval call binding the contract method 0x349c9179.
Solidity: function findPieceIds(uint256 setId, uint256[] leafIndexs) view returns((uint256,uint256)[])
func (*PDPVerifierSession) FindPieceIdsByCid ¶
func (_PDPVerifier *PDPVerifierSession) FindPieceIdsByCid(setId *big.Int, pieceCid CidsCid, startPieceId *big.Int, limit *big.Int) ([]*big.Int, error)
FindPieceIdsByCid is a free data retrieval call binding the contract method 0x6a4991a1.
Solidity: function findPieceIdsByCid(uint256 setId, (bytes) pieceCid, uint256 startPieceId, uint256 limit) view returns(uint256[] pieceIds)
func (*PDPVerifierSession) GetActivePieceCount ¶
GetActivePieceCount is a free data retrieval call binding the contract method 0x5353bdfd.
Solidity: function getActivePieceCount(uint256 setId) view returns(uint256 activeCount)
func (*PDPVerifierSession) GetActivePieces ¶
func (_PDPVerifier *PDPVerifierSession) GetActivePieces(setId *big.Int, offset *big.Int, limit *big.Int) (struct { Pieces []CidsCid PieceIds []*big.Int HasMore bool }, error)
GetActivePieces is a free data retrieval call binding the contract method 0x39f51544.
Solidity: function getActivePieces(uint256 setId, uint256 offset, uint256 limit) view returns((bytes)[] pieces, uint256[] pieceIds, bool hasMore)
func (*PDPVerifierSession) GetActivePiecesByCursor ¶
func (_PDPVerifier *PDPVerifierSession) GetActivePiecesByCursor(setId *big.Int, startPieceId *big.Int, limit *big.Int) (struct { Pieces []CidsCid PieceIds []*big.Int HasMore bool }, error)
GetActivePiecesByCursor is a free data retrieval call binding the contract method 0x9fbc9f1b.
Solidity: function getActivePiecesByCursor(uint256 setId, uint256 startPieceId, uint256 limit) view returns((bytes)[] pieces, uint256[] pieceIds, bool hasMore)
func (*PDPVerifierSession) GetChallengeFinality ¶
func (_PDPVerifier *PDPVerifierSession) GetChallengeFinality() (*big.Int, error)
GetChallengeFinality is a free data retrieval call binding the contract method 0xf83758fe.
Solidity: function getChallengeFinality() view returns(uint256)
func (*PDPVerifierSession) GetChallengeRange ¶
GetChallengeRange is a free data retrieval call binding the contract method 0x89208ba9.
Solidity: function getChallengeRange(uint256 setId) view returns(uint256)
func (*PDPVerifierSession) GetDataSetLastProvenEpoch ¶
GetDataSetLastProvenEpoch is a free data retrieval call binding the contract method 0x04595c1a.
Solidity: function getDataSetLastProvenEpoch(uint256 setId) view returns(uint256)
func (*PDPVerifierSession) GetDataSetLeafCount ¶
GetDataSetLeafCount is a free data retrieval call binding the contract method 0xa531998c.
Solidity: function getDataSetLeafCount(uint256 setId) view returns(uint256)
func (*PDPVerifierSession) GetDataSetListener ¶
GetDataSetListener is a free data retrieval call binding the contract method 0x2b3129bb.
Solidity: function getDataSetListener(uint256 setId) view returns(address)
func (*PDPVerifierSession) GetDataSetStorageProvider ¶
func (_PDPVerifier *PDPVerifierSession) GetDataSetStorageProvider(setId *big.Int) (common.Address, common.Address, error)
GetDataSetStorageProvider is a free data retrieval call binding the contract method 0x21b7cd1c.
Solidity: function getDataSetStorageProvider(uint256 setId) view returns(address, address)
func (*PDPVerifierSession) GetNextChallengeEpoch ¶
GetNextChallengeEpoch is a free data retrieval call binding the contract method 0x6ba4608f.
Solidity: function getNextChallengeEpoch(uint256 setId) view returns(uint256)
func (*PDPVerifierSession) GetNextDataSetId ¶
func (_PDPVerifier *PDPVerifierSession) GetNextDataSetId() (uint64, error)
GetNextDataSetId is a free data retrieval call binding the contract method 0x442cded3.
Solidity: function getNextDataSetId() view returns(uint64)
func (*PDPVerifierSession) GetNextPieceId ¶
GetNextPieceId is a free data retrieval call binding the contract method 0x1c5ae80f.
Solidity: function getNextPieceId(uint256 setId) view returns(uint256)
func (*PDPVerifierSession) GetPieceCid ¶
func (_PDPVerifier *PDPVerifierSession) GetPieceCid(setId *big.Int, pieceId *big.Int) (CidsCid, error)
GetPieceCid is a free data retrieval call binding the contract method 0x25bbbedf.
Solidity: function getPieceCid(uint256 setId, uint256 pieceId) view returns((bytes))
func (*PDPVerifierSession) GetPieceLeafCount ¶
func (_PDPVerifier *PDPVerifierSession) GetPieceLeafCount(setId *big.Int, pieceId *big.Int) (*big.Int, error)
GetPieceLeafCount is a free data retrieval call binding the contract method 0x0cd7b880.
Solidity: function getPieceLeafCount(uint256 setId, uint256 pieceId) view returns(uint256)
func (*PDPVerifierSession) GetRandomness ¶
GetRandomness is a free data retrieval call binding the contract method 0x453f4f62.
Solidity: function getRandomness(uint256 epoch) view returns(uint256)
func (*PDPVerifierSession) GetScheduledRemovals ¶
GetScheduledRemovals is a free data retrieval call binding the contract method 0x6fa44692.
Solidity: function getScheduledRemovals(uint256 setId) view returns(uint256[])
func (*PDPVerifierSession) Initialize ¶
func (_PDPVerifier *PDPVerifierSession) Initialize(_challengeFinality *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xfe4b84df.
Solidity: function initialize(uint256 _challengeFinality) returns()
func (*PDPVerifierSession) MAXENQUEUEDREMOVALS ¶
func (_PDPVerifier *PDPVerifierSession) MAXENQUEUEDREMOVALS() (*big.Int, error)
MAXENQUEUEDREMOVALS is a free data retrieval call binding the contract method 0x9f8cb3bd.
Solidity: function MAX_ENQUEUED_REMOVALS() view returns(uint256)
func (*PDPVerifierSession) MAXPIECESIZELOG2 ¶
func (_PDPVerifier *PDPVerifierSession) MAXPIECESIZELOG2() (*big.Int, error)
MAXPIECESIZELOG2 is a free data retrieval call binding the contract method 0xf8eb8276.
Solidity: function MAX_PIECE_SIZE_LOG2() view returns(uint256)
func (*PDPVerifierSession) Migrate ¶
func (_PDPVerifier *PDPVerifierSession) Migrate() (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.
Solidity: function migrate() returns()
func (*PDPVerifierSession) NOCHALLENGESCHEDULED ¶
func (_PDPVerifier *PDPVerifierSession) NOCHALLENGESCHEDULED() (*big.Int, error)
NOCHALLENGESCHEDULED is a free data retrieval call binding the contract method 0x462dd449.
Solidity: function NO_CHALLENGE_SCHEDULED() view returns(uint256)
func (*PDPVerifierSession) NOPROVENEPOCH ¶
func (_PDPVerifier *PDPVerifierSession) NOPROVENEPOCH() (*big.Int, error)
NOPROVENEPOCH is a free data retrieval call binding the contract method 0xf178b1be.
Solidity: function NO_PROVEN_EPOCH() view returns(uint256)
func (*PDPVerifierSession) NextProvingPeriod ¶
func (_PDPVerifier *PDPVerifierSession) NextProvingPeriod(setId *big.Int, challengeEpoch *big.Int, extraData []byte) (*types.Transaction, error)
NextProvingPeriod is a paid mutator transaction binding the contract method 0x45c0b92d.
Solidity: function nextProvingPeriod(uint256 setId, uint256 challengeEpoch, bytes extraData) returns()
func (*PDPVerifierSession) NextUpgrade ¶
func (_PDPVerifier *PDPVerifierSession) NextUpgrade() (struct { NextImplementation common.Address AfterEpoch *big.Int }, error)
NextUpgrade is a free data retrieval call binding the contract method 0x315e49ea.
Solidity: function nextUpgrade() view returns(address nextImplementation, uint96 afterEpoch)
func (*PDPVerifierSession) Owner ¶
func (_PDPVerifier *PDPVerifierSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*PDPVerifierSession) PAYMENTSCONTRACTADDRESS ¶
func (_PDPVerifier *PDPVerifierSession) PAYMENTSCONTRACTADDRESS() (common.Address, error)
PAYMENTSCONTRACTADDRESS is a free data retrieval call binding the contract method 0x3684528d.
Solidity: function PAYMENTS_CONTRACT_ADDRESS() view returns(address)
func (*PDPVerifierSession) PieceChallengable ¶
func (_PDPVerifier *PDPVerifierSession) PieceChallengable(setId *big.Int, pieceId *big.Int) (bool, error)
PieceChallengable is a free data retrieval call binding the contract method 0xdc635266.
Solidity: function pieceChallengable(uint256 setId, uint256 pieceId) view returns(bool)
func (*PDPVerifierSession) PieceLive ¶
PieceLive is a free data retrieval call binding the contract method 0x1a271225.
Solidity: function pieceLive(uint256 setId, uint256 pieceId) view returns(bool)
func (*PDPVerifierSession) ProposeDataSetStorageProvider ¶
func (_PDPVerifier *PDPVerifierSession) ProposeDataSetStorageProvider(setId *big.Int, newStorageProvider common.Address) (*types.Transaction, error)
ProposeDataSetStorageProvider is a paid mutator transaction binding the contract method 0x43186080.
Solidity: function proposeDataSetStorageProvider(uint256 setId, address newStorageProvider) returns()
func (*PDPVerifierSession) ProposedFeePerTiB ¶
func (_PDPVerifier *PDPVerifierSession) ProposedFeePerTiB() (*big.Int, error)
ProposedFeePerTiB is a free data retrieval call binding the contract method 0xba74d94c.
Solidity: function proposedFeePerTiB() view returns(uint96)
func (*PDPVerifierSession) ProvePossession ¶
func (_PDPVerifier *PDPVerifierSession) ProvePossession(setId *big.Int, proofs []IPDPTypesProof) (*types.Transaction, error)
ProvePossession is a paid mutator transaction binding the contract method 0xf58f952b.
Solidity: function provePossession(uint256 setId, (bytes32,bytes32[])[] proofs) payable returns()
func (*PDPVerifierSession) ProxiableUUID ¶
func (_PDPVerifier *PDPVerifierSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*PDPVerifierSession) RenounceOwnership ¶
func (_PDPVerifier *PDPVerifierSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*PDPVerifierSession) SchedulePieceDeletions ¶
func (_PDPVerifier *PDPVerifierSession) SchedulePieceDeletions(setId *big.Int, pieceIds []*big.Int, extraData []byte) (*types.Transaction, error)
SchedulePieceDeletions is a paid mutator transaction binding the contract method 0x0c292024.
Solidity: function schedulePieceDeletions(uint256 setId, uint256[] pieceIds, bytes extraData) returns()
func (*PDPVerifierSession) TransferOwnership ¶
func (_PDPVerifier *PDPVerifierSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*PDPVerifierSession) UPGRADEINTERFACEVERSION ¶
func (_PDPVerifier *PDPVerifierSession) UPGRADEINTERFACEVERSION() (string, error)
UPGRADEINTERFACEVERSION is a free data retrieval call binding the contract method 0xad3cb1cc.
Solidity: function UPGRADE_INTERFACE_VERSION() view returns(string)
func (*PDPVerifierSession) USDFCSYBILFEE ¶
func (_PDPVerifier *PDPVerifierSession) USDFCSYBILFEE() (*big.Int, error)
USDFCSYBILFEE is a free data retrieval call binding the contract method 0x4db5e177.
Solidity: function USDFC_SYBIL_FEE() view returns(uint256)
func (*PDPVerifierSession) USDFCTOKENADDRESS ¶
func (_PDPVerifier *PDPVerifierSession) USDFCTOKENADDRESS() (common.Address, error)
USDFCTOKENADDRESS is a free data retrieval call binding the contract method 0xcc457690.
Solidity: function USDFC_TOKEN_ADDRESS() view returns(address)
func (*PDPVerifierSession) UpdateProofFee ¶
func (_PDPVerifier *PDPVerifierSession) UpdateProofFee(newFeePerTiB *big.Int) (*types.Transaction, error)
UpdateProofFee is a paid mutator transaction binding the contract method 0x46bf7ed3.
Solidity: function updateProofFee(uint256 newFeePerTiB) returns()
func (*PDPVerifierSession) UpgradeToAndCall ¶
func (_PDPVerifier *PDPVerifierSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*PDPVerifierSession) VERSION ¶
func (_PDPVerifier *PDPVerifierSession) VERSION() (string, error)
VERSION is a free data retrieval call binding the contract method 0xffa1ad74.
Solidity: function VERSION() view returns(string)
type PDPVerifierStorageProviderChanged ¶
type PDPVerifierStorageProviderChanged struct {
SetId *big.Int
OldStorageProvider common.Address
NewStorageProvider common.Address
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierStorageProviderChanged represents a StorageProviderChanged event raised by the PDPVerifier contract.
type PDPVerifierStorageProviderChangedIterator ¶
type PDPVerifierStorageProviderChangedIterator struct {
Event *PDPVerifierStorageProviderChanged // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierStorageProviderChangedIterator is returned from FilterStorageProviderChanged and is used to iterate over the raw logs and unpacked data for StorageProviderChanged events raised by the PDPVerifier contract.
func (*PDPVerifierStorageProviderChangedIterator) Close ¶
func (it *PDPVerifierStorageProviderChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierStorageProviderChangedIterator) Error ¶
func (it *PDPVerifierStorageProviderChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierStorageProviderChangedIterator) Next ¶
func (it *PDPVerifierStorageProviderChangedIterator) 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 PDPVerifierTransactor ¶
type PDPVerifierTransactor struct {
// contains filtered or unexported fields
}
PDPVerifierTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPDPVerifierTransactor ¶
func NewPDPVerifierTransactor(address common.Address, transactor bind.ContractTransactor) (*PDPVerifierTransactor, error)
NewPDPVerifierTransactor creates a new write-only instance of PDPVerifier, bound to a specific deployed contract.
func (*PDPVerifierTransactor) AddPieces ¶
func (_PDPVerifier *PDPVerifierTransactor) AddPieces(opts *bind.TransactOpts, setId *big.Int, listenerAddr common.Address, pieceData []CidsCid, extraData []byte) (*types.Transaction, error)
AddPieces is a paid mutator transaction binding the contract method 0x9afd37f2.
Solidity: function addPieces(uint256 setId, address listenerAddr, (bytes)[] pieceData, bytes extraData) payable returns(uint256)
func (*PDPVerifierTransactor) AnnouncePlannedUpgrade ¶
func (_PDPVerifier *PDPVerifierTransactor) AnnouncePlannedUpgrade(opts *bind.TransactOpts, plannedUpgrade PDPVerifierPlannedUpgrade) (*types.Transaction, error)
AnnouncePlannedUpgrade is a paid mutator transaction binding the contract method 0xbd003827.
Solidity: function announcePlannedUpgrade((address,uint96) plannedUpgrade) returns()
func (*PDPVerifierTransactor) ClaimDataSetStorageProvider ¶
func (_PDPVerifier *PDPVerifierTransactor) ClaimDataSetStorageProvider(opts *bind.TransactOpts, setId *big.Int, extraData []byte) (*types.Transaction, error)
ClaimDataSetStorageProvider is a paid mutator transaction binding the contract method 0xdf0f3248.
Solidity: function claimDataSetStorageProvider(uint256 setId, bytes extraData) returns()
func (*PDPVerifierTransactor) CreateDataSet ¶
func (_PDPVerifier *PDPVerifierTransactor) CreateDataSet(opts *bind.TransactOpts, listenerAddr common.Address, extraData []byte) (*types.Transaction, error)
CreateDataSet is a paid mutator transaction binding the contract method 0xbbae41cb.
Solidity: function createDataSet(address listenerAddr, bytes extraData) payable returns(uint256)
func (*PDPVerifierTransactor) DeleteDataSet ¶
func (_PDPVerifier *PDPVerifierTransactor) DeleteDataSet(opts *bind.TransactOpts, setId *big.Int, extraData []byte) (*types.Transaction, error)
DeleteDataSet is a paid mutator transaction binding the contract method 0x7a1e2990.
Solidity: function deleteDataSet(uint256 setId, bytes extraData) returns()
func (*PDPVerifierTransactor) Initialize ¶
func (_PDPVerifier *PDPVerifierTransactor) Initialize(opts *bind.TransactOpts, _challengeFinality *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xfe4b84df.
Solidity: function initialize(uint256 _challengeFinality) returns()
func (*PDPVerifierTransactor) Migrate ¶
func (_PDPVerifier *PDPVerifierTransactor) Migrate(opts *bind.TransactOpts) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.
Solidity: function migrate() returns()
func (*PDPVerifierTransactor) NextProvingPeriod ¶
func (_PDPVerifier *PDPVerifierTransactor) NextProvingPeriod(opts *bind.TransactOpts, setId *big.Int, challengeEpoch *big.Int, extraData []byte) (*types.Transaction, error)
NextProvingPeriod is a paid mutator transaction binding the contract method 0x45c0b92d.
Solidity: function nextProvingPeriod(uint256 setId, uint256 challengeEpoch, bytes extraData) returns()
func (*PDPVerifierTransactor) ProposeDataSetStorageProvider ¶
func (_PDPVerifier *PDPVerifierTransactor) ProposeDataSetStorageProvider(opts *bind.TransactOpts, setId *big.Int, newStorageProvider common.Address) (*types.Transaction, error)
ProposeDataSetStorageProvider is a paid mutator transaction binding the contract method 0x43186080.
Solidity: function proposeDataSetStorageProvider(uint256 setId, address newStorageProvider) returns()
func (*PDPVerifierTransactor) ProvePossession ¶
func (_PDPVerifier *PDPVerifierTransactor) ProvePossession(opts *bind.TransactOpts, setId *big.Int, proofs []IPDPTypesProof) (*types.Transaction, error)
ProvePossession is a paid mutator transaction binding the contract method 0xf58f952b.
Solidity: function provePossession(uint256 setId, (bytes32,bytes32[])[] proofs) payable returns()
func (*PDPVerifierTransactor) RenounceOwnership ¶
func (_PDPVerifier *PDPVerifierTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*PDPVerifierTransactor) SchedulePieceDeletions ¶
func (_PDPVerifier *PDPVerifierTransactor) SchedulePieceDeletions(opts *bind.TransactOpts, setId *big.Int, pieceIds []*big.Int, extraData []byte) (*types.Transaction, error)
SchedulePieceDeletions is a paid mutator transaction binding the contract method 0x0c292024.
Solidity: function schedulePieceDeletions(uint256 setId, uint256[] pieceIds, bytes extraData) returns()
func (*PDPVerifierTransactor) TransferOwnership ¶
func (_PDPVerifier *PDPVerifierTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*PDPVerifierTransactor) UpdateProofFee ¶
func (_PDPVerifier *PDPVerifierTransactor) UpdateProofFee(opts *bind.TransactOpts, newFeePerTiB *big.Int) (*types.Transaction, error)
UpdateProofFee is a paid mutator transaction binding the contract method 0x46bf7ed3.
Solidity: function updateProofFee(uint256 newFeePerTiB) returns()
func (*PDPVerifierTransactor) UpgradeToAndCall ¶
func (_PDPVerifier *PDPVerifierTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type PDPVerifierTransactorRaw ¶
type PDPVerifierTransactorRaw struct {
Contract *PDPVerifierTransactor // Generic write-only contract binding to access the raw methods on
}
PDPVerifierTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PDPVerifierTransactorRaw) Transact ¶
func (_PDPVerifier *PDPVerifierTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PDPVerifierTransactorRaw) Transfer ¶
func (_PDPVerifier *PDPVerifierTransactorRaw) 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 PDPVerifierTransactorSession ¶
type PDPVerifierTransactorSession struct {
Contract *PDPVerifierTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
PDPVerifierTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PDPVerifierTransactorSession) AddPieces ¶
func (_PDPVerifier *PDPVerifierTransactorSession) AddPieces(setId *big.Int, listenerAddr common.Address, pieceData []CidsCid, extraData []byte) (*types.Transaction, error)
AddPieces is a paid mutator transaction binding the contract method 0x9afd37f2.
Solidity: function addPieces(uint256 setId, address listenerAddr, (bytes)[] pieceData, bytes extraData) payable returns(uint256)
func (*PDPVerifierTransactorSession) AnnouncePlannedUpgrade ¶
func (_PDPVerifier *PDPVerifierTransactorSession) AnnouncePlannedUpgrade(plannedUpgrade PDPVerifierPlannedUpgrade) (*types.Transaction, error)
AnnouncePlannedUpgrade is a paid mutator transaction binding the contract method 0xbd003827.
Solidity: function announcePlannedUpgrade((address,uint96) plannedUpgrade) returns()
func (*PDPVerifierTransactorSession) ClaimDataSetStorageProvider ¶
func (_PDPVerifier *PDPVerifierTransactorSession) ClaimDataSetStorageProvider(setId *big.Int, extraData []byte) (*types.Transaction, error)
ClaimDataSetStorageProvider is a paid mutator transaction binding the contract method 0xdf0f3248.
Solidity: function claimDataSetStorageProvider(uint256 setId, bytes extraData) returns()
func (*PDPVerifierTransactorSession) CreateDataSet ¶
func (_PDPVerifier *PDPVerifierTransactorSession) CreateDataSet(listenerAddr common.Address, extraData []byte) (*types.Transaction, error)
CreateDataSet is a paid mutator transaction binding the contract method 0xbbae41cb.
Solidity: function createDataSet(address listenerAddr, bytes extraData) payable returns(uint256)
func (*PDPVerifierTransactorSession) DeleteDataSet ¶
func (_PDPVerifier *PDPVerifierTransactorSession) DeleteDataSet(setId *big.Int, extraData []byte) (*types.Transaction, error)
DeleteDataSet is a paid mutator transaction binding the contract method 0x7a1e2990.
Solidity: function deleteDataSet(uint256 setId, bytes extraData) returns()
func (*PDPVerifierTransactorSession) Initialize ¶
func (_PDPVerifier *PDPVerifierTransactorSession) Initialize(_challengeFinality *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xfe4b84df.
Solidity: function initialize(uint256 _challengeFinality) returns()
func (*PDPVerifierTransactorSession) Migrate ¶
func (_PDPVerifier *PDPVerifierTransactorSession) Migrate() (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.
Solidity: function migrate() returns()
func (*PDPVerifierTransactorSession) NextProvingPeriod ¶
func (_PDPVerifier *PDPVerifierTransactorSession) NextProvingPeriod(setId *big.Int, challengeEpoch *big.Int, extraData []byte) (*types.Transaction, error)
NextProvingPeriod is a paid mutator transaction binding the contract method 0x45c0b92d.
Solidity: function nextProvingPeriod(uint256 setId, uint256 challengeEpoch, bytes extraData) returns()
func (*PDPVerifierTransactorSession) ProposeDataSetStorageProvider ¶
func (_PDPVerifier *PDPVerifierTransactorSession) ProposeDataSetStorageProvider(setId *big.Int, newStorageProvider common.Address) (*types.Transaction, error)
ProposeDataSetStorageProvider is a paid mutator transaction binding the contract method 0x43186080.
Solidity: function proposeDataSetStorageProvider(uint256 setId, address newStorageProvider) returns()
func (*PDPVerifierTransactorSession) ProvePossession ¶
func (_PDPVerifier *PDPVerifierTransactorSession) ProvePossession(setId *big.Int, proofs []IPDPTypesProof) (*types.Transaction, error)
ProvePossession is a paid mutator transaction binding the contract method 0xf58f952b.
Solidity: function provePossession(uint256 setId, (bytes32,bytes32[])[] proofs) payable returns()
func (*PDPVerifierTransactorSession) RenounceOwnership ¶
func (_PDPVerifier *PDPVerifierTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*PDPVerifierTransactorSession) SchedulePieceDeletions ¶
func (_PDPVerifier *PDPVerifierTransactorSession) SchedulePieceDeletions(setId *big.Int, pieceIds []*big.Int, extraData []byte) (*types.Transaction, error)
SchedulePieceDeletions is a paid mutator transaction binding the contract method 0x0c292024.
Solidity: function schedulePieceDeletions(uint256 setId, uint256[] pieceIds, bytes extraData) returns()
func (*PDPVerifierTransactorSession) TransferOwnership ¶
func (_PDPVerifier *PDPVerifierTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*PDPVerifierTransactorSession) UpdateProofFee ¶
func (_PDPVerifier *PDPVerifierTransactorSession) UpdateProofFee(newFeePerTiB *big.Int) (*types.Transaction, error)
UpdateProofFee is a paid mutator transaction binding the contract method 0x46bf7ed3.
Solidity: function updateProofFee(uint256 newFeePerTiB) returns()
func (*PDPVerifierTransactorSession) UpgradeToAndCall ¶
func (_PDPVerifier *PDPVerifierTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type PDPVerifierUpgradeAnnounced ¶
type PDPVerifierUpgradeAnnounced struct {
PlannedUpgrade PDPVerifierPlannedUpgrade
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierUpgradeAnnounced represents a UpgradeAnnounced event raised by the PDPVerifier contract.
type PDPVerifierUpgradeAnnouncedIterator ¶
type PDPVerifierUpgradeAnnouncedIterator struct {
Event *PDPVerifierUpgradeAnnounced // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierUpgradeAnnouncedIterator is returned from FilterUpgradeAnnounced and is used to iterate over the raw logs and unpacked data for UpgradeAnnounced events raised by the PDPVerifier contract.
func (*PDPVerifierUpgradeAnnouncedIterator) Close ¶
func (it *PDPVerifierUpgradeAnnouncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierUpgradeAnnouncedIterator) Error ¶
func (it *PDPVerifierUpgradeAnnouncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierUpgradeAnnouncedIterator) Next ¶
func (it *PDPVerifierUpgradeAnnouncedIterator) 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 PDPVerifierUpgraded ¶
type PDPVerifierUpgraded struct {
Implementation common.Address
Raw types.Log // Blockchain specific contextual infos
}
PDPVerifierUpgraded represents a Upgraded event raised by the PDPVerifier contract.
type PDPVerifierUpgradedIterator ¶
type PDPVerifierUpgradedIterator struct {
Event *PDPVerifierUpgraded // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
PDPVerifierUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the PDPVerifier contract.
func (*PDPVerifierUpgradedIterator) Close ¶
func (it *PDPVerifierUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PDPVerifierUpgradedIterator) Error ¶
func (it *PDPVerifierUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PDPVerifierUpgradedIterator) Next ¶
func (it *PDPVerifierUpgradedIterator) 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.