Chain
Defined in: packages/iso-filecoin-synapse/src/types.ts:7
Extends
Section titled “Extends”Chain
<number
>
Properties
Section titled “Properties”blockExplorers?
Section titled “blockExplorers?”
optional
blockExplorers:object
Defined in: packages/iso-filecoin/dist/src/types.d.ts:123
Index Signature
Section titled “Index Signature”[key
: string
]: ChainBlockExplorer
default
Section titled “default”default:
ChainBlockExplorer
Inherited from
Section titled “Inherited from”caipNetworkId
Section titled “caipNetworkId”caipNetworkId:
`${string}:${string}`
Defined in: packages/iso-filecoin/dist/src/types.d.ts:134
CAIP-2 ID
Inherited from
Section titled “Inherited from”chainId
Section titled “chainId”chainId:
string
Defined in: packages/iso-filecoin/dist/src/types.d.ts:138
Chain ID 0x prefixed hex string
Inherited from
Section titled “Inherited from”chainNamespace
Section titled “chainNamespace”chainNamespace:
string
Defined in: packages/iso-filecoin/dist/src/types.d.ts:130
Inherited from
Section titled “Inherited from”contracts
Section titled “contracts”contracts:
object
Defined in: packages/iso-filecoin-synapse/src/types.ts:10
pandora
Section titled “pandora”pandora:
object
pandora.abi
Section titled “pandora.abi”abi: readonly [{
inputs
: readonly [{name
:"pdpUrl"
;type
:"string"
; }, {name
:"pieceRetrievalUrl"
;type
:"string"
; }];name
:"registerServiceProvider"
;outputs
: readonly [];stateMutability
:"nonpayable"
;type
:"function"
; }, {inputs
: readonly [{name
:"provider"
;type
:"address"
; }];name
:"approveServiceProvider"
;outputs
: readonly [];stateMutability
:"nonpayable"
;type
:"function"
; }, {inputs
: readonly [{name
:"provider"
;type
:"address"
; }];name
:"rejectServiceProvider"
;outputs
: readonly [];stateMutability
:"nonpayable"
;type
:"function"
; }, {inputs
: readonly [{name
:"providerId"
;type
:"uint256"
; }];name
:"removeServiceProvider"
;outputs
: readonly [];stateMutability
:"nonpayable"
;type
:"function"
; }, {inputs
: readonly [{name
:"provider"
;type
:"address"
; }, {name
:"pdpUrl"
;type
:"string"
; }, {name
:"pieceRetrievalUrl"
;type
:"string"
; }];name
:"addServiceProvider"
;outputs
: readonly [];stateMutability
:"nonpayable"
;type
:"function"
; }, {inputs
: readonly [{name
:"provider"
;type
:"address"
; }];name
:"isProviderApproved"
;outputs
: readonly [{type
:"bool"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"provider"
;type
:"address"
; }];name
:"getProviderIdByAddress"
;outputs
: readonly [{type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"providerId"
;type
:"uint256"
; }];name
:"getApprovedProvider"
;outputs
: readonly [{components
: readonly [{name
:"owner"
;type
:"address"
; }, {name
:"pdpUrl"
;type
:"string"
; }, {name
:"pieceRetrievalUrl"
;type
:"string"
; }, {name
:"registeredAt"
;type
:"uint256"
; }, {name
:"approvedAt"
;type
:"uint256"
; }];type
:"tuple"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"provider"
;type
:"address"
; }];name
:"pendingProviders"
;outputs
: readonly [{name
:"pdpUrl"
;type
:"string"
; }, {name
:"pieceRetrievalUrl"
;type
:"string"
; }, {name
:"registeredAt"
;type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"providerId"
;type
:"uint256"
; }];name
:"approvedProviders"
;outputs
: readonly [{name
:"owner"
;type
:"address"
; }, {name
:"pdpUrl"
;type
:"string"
; }, {name
:"pieceRetrievalUrl"
;type
:"string"
; }, {name
:"registeredAt"
;type
:"uint256"
; }, {name
:"approvedAt"
;type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [];name
:"nextServiceProviderId"
;outputs
: readonly [{type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [];name
:"owner"
;outputs
: readonly [{type
:"address"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [];name
:"getServicePrice"
;outputs
: readonly [{components
: readonly [{name
:"pricePerTiBPerMonthNoCDN"
;type
:"uint256"
; }, {name
:"pricePerTiBPerMonthWithCDN"
;type
:"uint256"
; }, {name
:"tokenAddress"
;type
:"address"
; }, {name
:"epochsPerMonth"
;type
:"uint256"
; }];name
:"pricing"
;type
:"tuple"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{type
:"address"
; }];name
:"approvedProvidersMap"
;outputs
: readonly [{type
:"bool"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{type
:"address"
; }];name
:"providerToId"
;outputs
: readonly [{type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [];name
:"getAllApprovedProviders"
;outputs
: readonly [{components
: readonly [{name
:"owner"
;type
:"address"
; }, {name
:"pdpUrl"
;type
:"string"
; }, {name
:"pieceRetrievalUrl"
;type
:"string"
; }, {name
:"registeredAt"
;type
:"uint256"
; }, {name
:"approvedAt"
;type
:"uint256"
; }];type
:"tuple[]"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"client"
;type
:"address"
; }];name
:"getClientProofSets"
;outputs
: readonly [{components
: readonly [{name
:"railId"
;type
:"uint256"
; }, {name
:"payer"
;type
:"address"
; }, {name
:"payee"
;type
:"address"
; }, {name
:"commissionBps"
;type
:"uint256"
; }, {name
:"metadata"
;type
:"string"
; }, {name
:"rootMetadata"
;type
:"string[]"
; }, {name
:"clientDataSetId"
;type
:"uint256"
; }, {name
:"withCDN"
;type
:"bool"
; }];type
:"tuple[]"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"client"
;type
:"address"
; }];name
:"clientDataSetIDs"
;outputs
: readonly [{type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"railId"
;type
:"uint256"
; }];name
:"railToProofSet"
;outputs
: readonly [{name
:"proofSetId"
;type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"id"
;type
:"uint256"
; }];name
:"getProofSet"
;outputs
: readonly [{components
: readonly [{name
:"railId"
;type
:"uint256"
; }, {name
:"payer"
;type
:"address"
; }, {name
:"payee"
;type
:"address"
; }, {name
:"commissionBps"
;type
:"uint256"
; }, {name
:"metadata"
;type
:"string"
; }, {name
:"rootMetadata"
;type
:"string[]"
; }, {name
:"clientDataSetId"
;type
:"uint256"
; }, {name
:"withCDN"
;type
:"bool"
; }];name
:"info"
;type
:"tuple"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [];name
:"getMaxProvingPeriod"
;outputs
: readonly [{type
:"uint64"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [];name
:"challengeWindow"
;outputs
: readonly [{type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [];name
:"maxProvingPeriod"
;outputs
: readonly [{type
:"uint64"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [];name
:"challengeWindowSize"
;outputs
: readonly [{type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }]
pandora.address
Section titled “pandora.address”address:
`0x${string}`
payments
Section titled “payments”payments:
object
payments.abi
Section titled “payments.abi”abi: readonly [{
inputs
: readonly [{name
:"token"
;type
:"address"
; }, {name
:"to"
;type
:"address"
; }, {name
:"amount"
;type
:"uint256"
; }];name
:"deposit"
;outputs
: readonly [];stateMutability
:"nonpayable"
;type
:"function"
; }, {inputs
: readonly [{name
:"token"
;type
:"address"
; }, {name
:"amount"
;type
:"uint256"
; }];name
:"withdraw"
;outputs
: readonly [];stateMutability
:"nonpayable"
;type
:"function"
; }, {inputs
: readonly [{name
:"token"
;type
:"address"
; }, {name
:"owner"
;type
:"address"
; }];name
:"accounts"
;outputs
: readonly [{name
:"funds"
;type
:"uint256"
; }, {name
:"lockupCurrent"
;type
:"uint256"
; }, {name
:"lockupRate"
;type
:"uint256"
; }, {name
:"lockupLastSettledAt"
;type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"token"
;type
:"address"
; }, {name
:"operator"
;type
:"address"
; }, {name
:"approved"
;type
:"bool"
; }, {name
:"rateAllowance"
;type
:"uint256"
; }, {name
:"lockupAllowance"
;type
:"uint256"
; }];name
:"setOperatorApproval"
;outputs
: readonly [];stateMutability
:"nonpayable"
;type
:"function"
; }, {inputs
: readonly [{name
:"token"
;type
:"address"
; }, {name
:"client"
;type
:"address"
; }, {name
:"operator"
;type
:"address"
; }];name
:"operatorApprovals"
;outputs
: readonly [{name
:"isApproved"
;type
:"bool"
; }, {name
:"rateAllowance"
;type
:"uint256"
; }, {name
:"rateUsed"
;type
:"uint256"
; }, {name
:"lockupAllowance"
;type
:"uint256"
; }, {name
:"lockupUsed"
;type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }]
payments.address
Section titled “payments.address”address:
`0x${string}`
pdp:
object
pdp.abi
Section titled “pdp.abi”abi: readonly [{
inputs
: readonly [{name
:"setId"
;type
:"uint256"
; }];name
:"getNextRootId"
;outputs
: readonly [{type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"setId"
;type
:"uint256"
; }];name
:"proofSetLive"
;outputs
: readonly [{type
:"bool"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"setId"
;type
:"uint256"
; }];name
:"getProofSetLeafCount"
;outputs
: readonly [{type
:"uint256"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"setId"
;type
:"uint256"
; }];name
:"getProofSetOwner"
;outputs
: readonly [{type
:"address"
; }, {type
:"address"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{name
:"setId"
;type
:"uint256"
; }];name
:"getProofSetListener"
;outputs
: readonly [{type
:"address"
; }];stateMutability
:"view"
;type
:"function"
; }, {inputs
: readonly [{indexed
:true
;name
:"setId"
;type
:"uint256"
; }, {indexed
:true
;name
:"owner"
;type
:"address"
; }];name
:"ProofSetCreated"
;type
:"event"
; }]
pdp.address
Section titled “pdp.address”address:
`0x${string}`
usdfc:
object
usdfc.abi
Section titled “usdfc.abi”abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]
usdfc.address
Section titled “usdfc.address”address:
`0x${string}`
Overrides
Section titled “Overrides”genesis
Section titled “genesis”genesis:
number
Defined in: packages/iso-filecoin-synapse/src/types.ts:9
iconUrls?
Section titled “iconUrls?”
optional
iconUrls:string
[]
Defined in: packages/iso-filecoin/dist/src/types.d.ts:139
Inherited from
Section titled “Inherited from”id:
number
Defined in: packages/iso-filecoin-synapse/src/types.ts:8
Overrides
Section titled “Overrides”name:
string
Defined in: packages/iso-filecoin/dist/src/types.d.ts:112
Inherited from
Section titled “Inherited from”nativeCurrency
Section titled “nativeCurrency”nativeCurrency:
object
Defined in: packages/iso-filecoin/dist/src/types.d.ts:114
decimals
Section titled “decimals”decimals:
number
name:
string
symbol
Section titled “symbol”symbol:
string
Inherited from
Section titled “Inherited from”rpcUrls
Section titled “rpcUrls”rpcUrls:
object
Defined in: packages/iso-filecoin/dist/src/types.d.ts:119
Index Signature
Section titled “Index Signature”[key
: string
]: ChainRpcUrls
default
Section titled “default”default:
ChainRpcUrls
Inherited from
Section titled “Inherited from”testnet?
Section titled “testnet?”
optional
testnet:boolean
Defined in: packages/iso-filecoin/dist/src/types.d.ts:113