Skip to content

Chain

Defined in: packages/iso-filecoin-synapse/src/types.ts:7

optional blockExplorers: object

Defined in: packages/iso-filecoin/dist/src/types.d.ts:123

[key: string]: ChainBlockExplorer

default: ChainBlockExplorer

Chain.blockExplorers


caipNetworkId: `${string}:${string}`

Defined in: packages/iso-filecoin/dist/src/types.d.ts:134

CAIP-2 ID

Chain.caipNetworkId


chainId: string

Defined in: packages/iso-filecoin/dist/src/types.d.ts:138

Chain ID 0x prefixed hex string

Chain.chainId


chainNamespace: string

Defined in: packages/iso-filecoin/dist/src/types.d.ts:130

Chain.chainNamespace


contracts: object

Defined in: packages/iso-filecoin-synapse/src/types.ts:10

pandora: object

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"; }]

address: `0x${string}`

payments: object

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"; }]

address: `0x${string}`

pdp: object

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"; }]

address: `0x${string}`

usdfc: object

abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]

address: `0x${string}`

Chain.contracts


genesis: number

Defined in: packages/iso-filecoin-synapse/src/types.ts:9


optional iconUrls: string[]

Defined in: packages/iso-filecoin/dist/src/types.d.ts:139

Chain.iconUrls


id: number

Defined in: packages/iso-filecoin-synapse/src/types.ts:8

Chain.id


name: string

Defined in: packages/iso-filecoin/dist/src/types.d.ts:112

Chain.name


nativeCurrency: object

Defined in: packages/iso-filecoin/dist/src/types.d.ts:114

decimals: number

name: string

symbol: string

Chain.nativeCurrency


rpcUrls: object

Defined in: packages/iso-filecoin/dist/src/types.d.ts:119

[key: string]: ChainRpcUrls

default: ChainRpcUrls

Chain.rpcUrls


optional testnet: boolean

Defined in: packages/iso-filecoin/dist/src/types.d.ts:113

Chain.testnet