read read : { balanceOf : ( ( ... parameters ) => Promise < bigint > ) ; balanceOfBatch : ( ( ... parameters ) => Promise < readonly bigint [] > ) ; claim : ( ( ... parameters ) => Promise < { amountExercised : bigint ; amountWritten : bigint ; optionId : bigint ; } > ) ; feeBalance : ( ( ... parameters ) => Promise < bigint > ) ; feeBps : ( ( ... parameters ) => Promise < number > ) ; feeTo : ( ( ... parameters ) => Promise < ` 0x ${ string } ` > ) ; feesEnabled : ( ( ... parameters ) => Promise < boolean > ) ; isApprovedForAll : ( ( ... parameters ) => Promise < boolean > ) ; option : ( ( ... parameters ) => Promise < { exerciseAmount : bigint ; exerciseAsset : ` 0x ${ string } ` ; exerciseTimestamp : number ; expiryTimestamp : number ; nextClaimKey : bigint ; settlementSeed : bigint ; underlyingAmount : bigint ; underlyingAsset : ` 0x ${ string } ` ; } > ) ; position : ( ( ... parameters ) => Promise < { exerciseAmount : bigint ; exerciseAsset : ` 0x ${ string } ` ; underlyingAmount : bigint ; underlyingAsset : ` 0x ${ string } ` ; } > ) ; supportsInterface : ( ( ... parameters ) => Promise < boolean > ) ; tokenType : ( ( ... parameters ) => Promise < number > ) ; tokenURIGenerator : ( ( ... parameters ) => Promise < ` 0x ${ string } ` > ) ; uri : ( ( ... parameters ) => Promise < string > ) ; }
Type declaration balance Of : ( ( ... parameters ) => Promise < bigint > ) ( ... parameters ) : Promise < bigint > Parameters Rest
... parameters : [ args: readonly [ ` 0x ${ string } ` , bigint ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < bigint > balance Of Batch : ( ( ... parameters ) => Promise < readonly bigint [] > ) ( ... parameters ) : Promise < readonly bigint [] > Parameters Rest
... parameters : [ args: readonly [ readonly ` 0x ${ string } ` [] , readonly bigint [] ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < readonly bigint [] > claim : ( ( ... parameters ) => Promise < { amountExercised : bigint ; amountWritten : bigint ; optionId : bigint ; } > ) ( ... parameters ) : Promise < { amountExercised : bigint ; amountWritten : bigint ; optionId : bigint ; } > Parameters Rest
... parameters : [ args: readonly [ bigint ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < { amountExercised : bigint ; amountWritten : bigint ; optionId : bigint ; } > fee Balance : ( ( ... parameters ) => Promise < bigint > ) ( ... parameters ) : Promise < bigint > Parameters Rest
... parameters : [ args: readonly [ ` 0x ${ string } ` ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < bigint > fee Bps : ( ( ... parameters ) => Promise < number > ) ( ... parameters ) : Promise < number > Parameters Rest
... parameters : [ options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < number > fee To : ( ( ... parameters ) => Promise < ` 0x ${ string } ` > ) ( ... parameters ) : Promise < ` 0x ${ string } ` > Parameters Rest
... parameters : [ options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < ` 0x ${ string } ` > fees Enabled : ( ( ... parameters ) => Promise < boolean > ) ( ... parameters ) : Promise < boolean > Parameters Rest
... parameters : [ options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < boolean > is Approved For All : ( ( ... parameters ) => Promise < boolean > ) ( ... parameters ) : Promise < boolean > Parameters Rest
... parameters : [ args: readonly [ ` 0x ${ string } ` , ` 0x ${ string } ` ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < boolean > option : ( ( ... parameters ) => Promise < { exerciseAmount : bigint ; exerciseAsset : ` 0x ${ string } ` ; exerciseTimestamp : number ; expiryTimestamp : number ; nextClaimKey : bigint ; settlementSeed : bigint ; underlyingAmount : bigint ; underlyingAsset : ` 0x ${ string } ` ; } > ) ( ... parameters ) : Promise < { exerciseAmount : bigint ; exerciseAsset : ` 0x ${ string } ` ; exerciseTimestamp : number ; expiryTimestamp : number ; nextClaimKey : bigint ; settlementSeed : bigint ; underlyingAmount : bigint ; underlyingAsset : ` 0x ${ string } ` ; } > Parameters Rest
... parameters : [ args: readonly [ bigint ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < { exerciseAmount : bigint ; exerciseAsset : ` 0x ${ string } ` ; exerciseTimestamp : number ; expiryTimestamp : number ; nextClaimKey : bigint ; settlementSeed : bigint ; underlyingAmount : bigint ; underlyingAsset : ` 0x ${ string } ` ; } > position : ( ( ... parameters ) => Promise < { exerciseAmount : bigint ; exerciseAsset : ` 0x ${ string } ` ; underlyingAmount : bigint ; underlyingAsset : ` 0x ${ string } ` ; } > ) ( ... parameters ) : Promise < { exerciseAmount : bigint ; exerciseAsset : ` 0x ${ string } ` ; underlyingAmount : bigint ; underlyingAsset : ` 0x ${ string } ` ; } > Parameters Rest
... parameters : [ args: readonly [ bigint ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < { exerciseAmount : bigint ; exerciseAsset : ` 0x ${ string } ` ; underlyingAmount : bigint ; underlyingAsset : ` 0x ${ string } ` ; } > supports Interface : ( ( ... parameters ) => Promise < boolean > ) ( ... parameters ) : Promise < boolean > Parameters Rest
... parameters : [ args: readonly [ ` 0x ${ string } ` ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < boolean > token Type : ( ( ... parameters ) => Promise < number > ) ( ... parameters ) : Promise < number > Parameters Rest
... parameters : [ args: readonly [ bigint ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < number > tokenURIGenerator : ( ( ... parameters ) => Promise < ` 0x ${ string } ` > ) ( ... parameters ) : Promise < ` 0x ${ string } ` > Parameters Rest
... parameters : [ options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < ` 0x ${ string } ` > uri : ( ( ... parameters ) => Promise < string > ) ( ... parameters ) : Promise < string > Parameters Rest
... parameters : [ args: readonly [ bigint ] , options?: { account ?: ` 0x ${ string } ` | Account ; blockNumber ?: bigint ; blockTag ?: BlockTag ; } ] Returns Promise < string >
Specialized contract that extends the generic Contract class to interact specifically with the Valorem Clearinghouse. It encapsulates the functionality to write and settle option contracts on-chain.
The ClearinghouseContract enables users to write options, execute them, and redeem claim tokens post-expiration, handling ERC-20 asset pairs.