Skip to content

pdpVerifierAbi

const pdpVerifierAbi: readonly [{
inputs: readonly [];
stateMutability: "nonpayable";
type: "constructor";
}, {
inputs: readonly [];
name: "MAX_ENQUEUED_REMOVALS";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "MAX_PIECE_SIZE_LOG2";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "NO_CHALLENGE_SCHEDULED";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "NO_PROVEN_EPOCH";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "UPGRADE_INTERFACE_VERSION";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "VERSION";
outputs: readonly [{
internalType: "string";
name: "";
type: "string";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "address";
name: "listenerAddr";
type: "address";
}, {
components: readonly [{
internalType: "bytes";
name: "data";
type: "bytes";
}];
internalType: "struct Cids.Cid[]";
name: "pieceData";
type: "tuple[]";
}, {
internalType: "bytes";
name: "extraData";
type: "bytes";
}];
name: "addPieces";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "calculateProofFee";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "proofSize";
type: "uint256";
}];
name: "calculateProofFeeForSize";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "bytes";
name: "extraData";
type: "bytes";
}];
name: "claimDataSetStorageProvider";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "listenerAddr";
type: "address";
}, {
internalType: "bytes";
name: "extraData";
type: "bytes";
}];
name: "createDataSet";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "dataSetLive";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "bytes";
name: "extraData";
type: "bytes";
}];
name: "deleteDataSet";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "feeEffectiveTime";
outputs: readonly [{
internalType: "uint64";
name: "";
type: "uint64";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "feePerTiB";
outputs: readonly [{
internalType: "uint96";
name: "";
type: "uint96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "uint256[]";
name: "leafIndexs";
type: "uint256[]";
}];
name: "findPieceIds";
outputs: readonly [{
components: readonly [{
internalType: "uint256";
name: "pieceId";
type: "uint256";
}, {
internalType: "uint256";
name: "offset";
type: "uint256";
}];
internalType: "struct IPDPTypes.PieceIdAndOffset[]";
name: "";
type: "tuple[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "getActivePieceCount";
outputs: readonly [{
internalType: "uint256";
name: "activeCount";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "uint256";
name: "offset";
type: "uint256";
}, {
internalType: "uint256";
name: "limit";
type: "uint256";
}];
name: "getActivePieces";
outputs: readonly [{
components: readonly [{
internalType: "bytes";
name: "data";
type: "bytes";
}];
internalType: "struct Cids.Cid[]";
name: "pieces";
type: "tuple[]";
}, {
internalType: "uint256[]";
name: "pieceIds";
type: "uint256[]";
}, {
internalType: "bool";
name: "hasMore";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getChallengeFinality";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "getChallengeRange";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "getDataSetLastProvenEpoch";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "getDataSetLeafCount";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "getDataSetListener";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "getDataSetStorageProvider";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}, {
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "getNextChallengeEpoch";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "getNextDataSetId";
outputs: readonly [{
internalType: "uint64";
name: "";
type: "uint64";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "getNextPieceId";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "uint256";
name: "pieceId";
type: "uint256";
}];
name: "getPieceCid";
outputs: readonly [{
components: readonly [{
internalType: "bytes";
name: "data";
type: "bytes";
}];
internalType: "struct Cids.Cid";
name: "";
type: "tuple";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "uint256";
name: "pieceId";
type: "uint256";
}];
name: "getPieceLeafCount";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "epoch";
type: "uint256";
}];
name: "getRandomness";
outputs: readonly [{
internalType: "uint256";
name: "";
type: "uint256";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "getScheduledRemovals";
outputs: readonly [{
internalType: "uint256[]";
name: "";
type: "uint256[]";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "_challengeFinality";
type: "uint256";
}];
name: "initialize";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "migrate";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "uint256";
name: "challengeEpoch";
type: "uint256";
}, {
internalType: "bytes";
name: "extraData";
type: "bytes";
}];
name: "nextProvingPeriod";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "owner";
outputs: readonly [{
internalType: "address";
name: "";
type: "address";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "uint256";
name: "pieceId";
type: "uint256";
}];
name: "pieceChallengable";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "uint256";
name: "pieceId";
type: "uint256";
}];
name: "pieceLive";
outputs: readonly [{
internalType: "bool";
name: "";
type: "bool";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "address";
name: "newStorageProvider";
type: "address";
}];
name: "proposeDataSetStorageProvider";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [];
name: "proposedFeePerTiB";
outputs: readonly [{
internalType: "uint96";
name: "";
type: "uint96";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
components: readonly [{
internalType: "bytes32";
name: "leaf";
type: "bytes32";
}, {
internalType: "bytes32[]";
name: "proof";
type: "bytes32[]";
}];
internalType: "struct IPDPTypes.Proof[]";
name: "proofs";
type: "tuple[]";
}];
name: "provePossession";
outputs: readonly [];
stateMutability: "payable";
type: "function";
}, {
inputs: readonly [];
name: "proxiableUUID";
outputs: readonly [{
internalType: "bytes32";
name: "";
type: "bytes32";
}];
stateMutability: "view";
type: "function";
}, {
inputs: readonly [];
name: "renounceOwnership";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
internalType: "uint256[]";
name: "pieceIds";
type: "uint256[]";
}, {
internalType: "bytes";
name: "extraData";
type: "bytes";
}];
name: "schedulePieceDeletions";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "newOwner";
type: "address";
}];
name: "transferOwnership";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "uint256";
name: "newFeePerTiB";
type: "uint256";
}];
name: "updateProofFee";
outputs: readonly [];
stateMutability: "nonpayable";
type: "function";
}, {
inputs: readonly [{
internalType: "address";
name: "newImplementation";
type: "address";
}, {
internalType: "bytes";
name: "data";
type: "bytes";
}];
name: "upgradeToAndCall";
outputs: readonly [];
stateMutability: "payable";
type: "function";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "string";
name: "version";
type: "string";
}, {
indexed: false;
internalType: "address";
name: "implementation";
type: "address";
}];
name: "ContractUpgraded";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "storageProvider";
type: "address";
}];
name: "DataSetCreated";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
indexed: false;
internalType: "uint256";
name: "deletedLeafCount";
type: "uint256";
}];
name: "DataSetDeleted";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "uint256";
name: "setId";
type: "uint256";
}];
name: "DataSetEmpty";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint256";
name: "currentFee";
type: "uint256";
}, {
indexed: false;
internalType: "uint256";
name: "newFee";
type: "uint256";
}, {
indexed: false;
internalType: "uint256";
name: "effectiveTime";
type: "uint256";
}];
name: "FeeUpdateProposed";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: false;
internalType: "uint64";
name: "version";
type: "uint64";
}];
name: "Initialized";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
indexed: false;
internalType: "uint256";
name: "challengeEpoch";
type: "uint256";
}, {
indexed: false;
internalType: "uint256";
name: "leafCount";
type: "uint256";
}];
name: "NextProvingPeriod";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "address";
name: "previousOwner";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "newOwner";
type: "address";
}];
name: "OwnershipTransferred";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
indexed: false;
internalType: "uint256[]";
name: "pieceIds";
type: "uint256[]";
}, {
components: readonly [{
internalType: "bytes";
name: "data";
type: "bytes";
}];
indexed: false;
internalType: "struct Cids.Cid[]";
name: "pieceCids";
type: "tuple[]";
}];
name: "PiecesAdded";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
indexed: false;
internalType: "uint256[]";
name: "pieceIds";
type: "uint256[]";
}];
name: "PiecesRemoved";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
components: readonly [{
internalType: "uint256";
name: "pieceId";
type: "uint256";
}, {
internalType: "uint256";
name: "offset";
type: "uint256";
}];
indexed: false;
internalType: "struct IPDPTypes.PieceIdAndOffset[]";
name: "challenges";
type: "tuple[]";
}];
name: "PossessionProven";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
indexed: false;
internalType: "uint256";
name: "fee";
type: "uint256";
}];
name: "ProofFeePaid";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "uint256";
name: "setId";
type: "uint256";
}, {
indexed: true;
internalType: "address";
name: "oldStorageProvider";
type: "address";
}, {
indexed: true;
internalType: "address";
name: "newStorageProvider";
type: "address";
}];
name: "StorageProviderChanged";
type: "event";
}, {
anonymous: false;
inputs: readonly [{
indexed: true;
internalType: "address";
name: "implementation";
type: "address";
}];
name: "Upgraded";
type: "event";
}, {
inputs: readonly [{
internalType: "address";
name: "target";
type: "address";
}];
name: "AddressEmptyCode";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "implementation";
type: "address";
}];
name: "ERC1967InvalidImplementation";
type: "error";
}, {
inputs: readonly [];
name: "ERC1967NonPayable";
type: "error";
}, {
inputs: readonly [];
name: "FailedCall";
type: "error";
}, {
inputs: readonly [{
internalType: "uint256";
name: "idx";
type: "uint256";
}, {
internalType: "string";
name: "msg";
type: "string";
}];
name: "IndexedError";
type: "error";
}, {
inputs: readonly [];
name: "InvalidInitialization";
type: "error";
}, {
inputs: readonly [];
name: "NotInitializing";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "owner";
type: "address";
}];
name: "OwnableInvalidOwner";
type: "error";
}, {
inputs: readonly [{
internalType: "address";
name: "account";
type: "address";
}];
name: "OwnableUnauthorizedAccount";
type: "error";
}, {
inputs: readonly [];
name: "UUPSUnauthorizedCallContext";
type: "error";
}, {
inputs: readonly [{
internalType: "bytes32";
name: "slot";
type: "bytes32";
}];
name: "UUPSUnsupportedProxiableUUID";
type: "error";
}];

Defined in: packages/synapse-core/src/abis/generated.ts:3530