Properties
Readonly
[internal]
[internal]: any
_takerFeeLowLevel
_takerFeeLowLevel: TypedContractMethod<[taker: AddressLike, size: BigNumberish, premium: BigNumberish, isPremiumNormalized: boolean, strike: BigNumberish, isCallPool: boolean], [bigint], "view">
accountsByToken
accountsByToken: TypedContractMethod<[id: BigNumberish], [string[]], "view">
annihilate
annihilate: TypedContractMethod<[size: BigNumberish], [void], "nonpayable">
annihilateFor
annihilateFor: TypedContractMethod<[owner: AddressLike, size: BigNumberish], [void], "nonpayable">
balanceOf
balanceOf: TypedContractMethod<[account: AddressLike, id: BigNumberish], [bigint], "view">
balanceOfBatch
balanceOfBatch: TypedContractMethod<[accounts: AddressLike[], ids: BigNumberish[]], [bigint[]], "view">
cancelQuotesOB
cancelQuotesOB: TypedContractMethod<[hashes: BytesLike[]], [void], "nonpayable">
claim
claim: TypedContractMethod<[p: KeyStruct], [bigint], "nonpayable">
deposit((address,address,uint256,uint256,uint8),uint256,uint256,uint256,uint256,uint256)
deposit((address,address,uint256,uint256,uint8),uint256,uint256,uint256,uint256,uint256): TypedContractMethod<[p: KeyStruct, belowLower: BigNumberish, belowUpper: BigNumberish, size: BigNumberish, minMarketPrice: BigNumberish, maxMarketPrice: BigNumberish], [DeltaStructOutput], "nonpayable">
deposit((address,address,uint256,uint256,uint8),uint256,uint256,uint256,uint256,uint256,bool)
deposit((address,address,uint256,uint256,uint8),uint256,uint256,uint256,uint256,uint256,bool): TypedContractMethod<[p: KeyStruct, belowLower: BigNumberish, belowUpper: BigNumberish, size: BigNumberish, minMarketPrice: BigNumberish, maxMarketPrice: BigNumberish, isBidIfStrandedMarketPrice: boolean], [DeltaStructOutput], "nonpayable">
exercise
exercise: TypedContractMethod<[], [[bigint, bigint] & {
exerciseFee: bigint;
exerciseValue: bigint;
}], "nonpayable">
exerciseFor
exerciseFor: TypedContractMethod<[holders: AddressLike[], costPerHolder: BigNumberish], [[bigint[], bigint[]] & {
exerciseFees: bigint[];
exerciseValues: bigint[];
}], "nonpayable">
Readonly
fallback
fallback: null | WrappedFallback
fillQuoteOB
fillQuoteOB: TypedContractMethod<[quoteOB: QuoteOBStruct, size: BigNumberish, signature: SignatureStruct, referrer: AddressLike], [[bigint, DeltaStructOutput] & {
delta: DeltaStructOutput;
premiumTaker: bigint;
}], "nonpayable">
filters
filters: {
Annihilate: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Annihilate(address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
ApprovalForAll: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
ApprovalForAll(address,address,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
CancelQuoteOB: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
CancelQuoteOB(address,bytes32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
ClaimFees: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
ClaimFees(address,uint256,uint256,int256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
ClaimProtocolFees: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
ClaimProtocolFees(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Deposit: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Deposit(address,uint256,uint256,uint256,uint256,int256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Exercise: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Exercise(address,address,uint256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
FillQuoteOB: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
FillQuoteOB(bytes32,address,address,uint256,tuple,tuple,uint256,uint256,uint256,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
FlashLoan: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
FlashLoan(address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Settle: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Settle(address,address,uint256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SettlePosition: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
SettlePosition(address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Trade: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Trade(address,uint256,tuple,uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
TransferBatch: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
TransferBatch(address,address,address,uint256[],uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
TransferPosition: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
TransferPosition(address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
TransferSingle: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
TransferSingle(address,address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
UpdateTick: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
UpdateTick(uint256,uint256,uint256,int256,uint256,int256,int256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Withdrawal: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
Withdrawal(address,uint256,uint256,uint256,uint256,int256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
WriteFrom: TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
WriteFrom(address,address,address,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
}
Type declaration
-
Annihilate: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Annihilate(address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
ApprovalForAll: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
ApprovalForAll(address,address,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
CancelQuoteOB: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
CancelQuoteOB(address,bytes32): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
ClaimFees: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
ClaimFees(address,uint256,uint256,int256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
ClaimProtocolFees: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
ClaimProtocolFees(address,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Deposit: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Deposit(address,uint256,uint256,uint256,uint256,int256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Exercise: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Exercise(address,address,uint256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
FillQuoteOB: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
FillQuoteOB(bytes32,address,address,uint256,tuple,tuple,uint256,uint256,uint256,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
FlashLoan: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
FlashLoan(address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Settle: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Settle(address,address,uint256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SettlePosition: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
SettlePosition(address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Trade: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Trade(address,uint256,tuple,uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
TransferBatch: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
TransferBatch(address,address,address,uint256[],uint256[]): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
TransferPosition: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
TransferPosition(address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
TransferSingle: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
TransferSingle(address,address,address,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
UpdateTick: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
UpdateTick(uint256,uint256,uint256,int256,uint256,int256,int256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Withdrawal: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
Withdrawal(address,uint256,uint256,uint256,uint256,int256,uint256,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
WriteFrom: TypedContractEvent<InputTuple, OutputTuple, OutputObject>
-
WriteFrom(address,address,address,uint256,uint256,uint256): TypedContractEvent<InputTuple, OutputTuple, OutputObject>
flashFee
flashFee: TypedContractMethod<[token: AddressLike, amount: BigNumberish], [bigint], "view">
flashLoan
flashLoan: TypedContractMethod<[receiver: AddressLike, token: AddressLike, amount: BigNumberish, data: BytesLike], [boolean], "nonpayable">
getClaimableFees
getClaimableFees: TypedContractMethod<[p: KeyStruct], [bigint], "view">
getNearestTicksBelow
getNearestTicksBelow: TypedContractMethod<[lower: BigNumberish, upper: BigNumberish], [[bigint, bigint] & {
nearestBelowLower: bigint;
nearestBelowUpper: bigint;
}], "view">
getPoolSettings
getPoolSettings: TypedContractMethod<[], [[string, string, string, bigint, bigint, boolean] & {
base: string;
isCallPool: boolean;
maturity: bigint;
oracleAdapter: string;
quote: string;
strike: bigint;
}], "view">
getQuoteAMM
getQuoteAMM: TypedContractMethod<[taker: AddressLike, size: BigNumberish, isBuy: boolean], [[bigint, bigint] & {
premiumNet: bigint;
takerFee: bigint;
}], "view">
getQuoteOBFilledAmount
getQuoteOBFilledAmount: TypedContractMethod<[provider: AddressLike, quoteOBHash: BytesLike], [bigint], "view">
getSettlementPrice
getSettlementPrice: TypedContractMethod<[], [bigint], "view">
getStrandedArea
getStrandedArea: TypedContractMethod<[], [[bigint, bigint] & {
lower: bigint;
upper: bigint;
}], "view">
getTokenIds
getTokenIds: TypedContractMethod<[], [bigint[]], "view">
interface
interface: IPoolInterface
isApprovedForAll
isApprovedForAll: TypedContractMethod<[account: AddressLike, operator: AddressLike], [boolean], "view">
isQuoteOBValid
isQuoteOBValid: TypedContractMethod<[quoteOB: QuoteOBStruct, size: BigNumberish, sig: SignatureStruct], [[boolean, bigint]], "view">
marketPrice
marketPrice: TypedContractMethod<[], [bigint], "view">
maxFlashLoan
maxFlashLoan: TypedContractMethod<[token: AddressLike], [bigint], "view">
multicall
multicall: TypedContractMethod<[data: BytesLike[]], [string[]], "nonpayable">
name
name: TypedContractMethod<[], [string], "view">
Readonly
runner
runner: null | ContractRunner
safeBatchTransferFrom
safeBatchTransferFrom: TypedContractMethod<[from: AddressLike, to: AddressLike, ids: BigNumberish[], amounts: BigNumberish[], data: BytesLike], [void], "nonpayable">
safeTransferFrom
safeTransferFrom: TypedContractMethod<[from: AddressLike, to: AddressLike, id: BigNumberish, amount: BigNumberish, data: BytesLike], [void], "nonpayable">
setApprovalForAll
setApprovalForAll: TypedContractMethod<[operator: AddressLike, status: boolean], [void], "nonpayable">
settle
settle: TypedContractMethod<[], [bigint], "nonpayable">
settleFor
settleFor: TypedContractMethod<[holders: AddressLike[], costPerHolder: BigNumberish], [bigint[]], "nonpayable">
settlePosition
settlePosition: TypedContractMethod<[p: KeyStruct], [bigint], "nonpayable">
settlePositionFor
settlePositionFor: TypedContractMethod<[p: KeyStruct[], costPerHolder: BigNumberish], [bigint[]], "nonpayable">
supportsInterface
supportsInterface: TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">
takerFee
takerFee: TypedContractMethod<[taker: AddressLike, size: BigNumberish, premium: BigNumberish, isPremiumNormalized: boolean], [bigint], "view">
Readonly
target
target: string | Addressable
ticks
ticks: TypedContractMethod<[], [TickWithRatesStructOutput[]], "view">
tokensByAccount
tokensByAccount: TypedContractMethod<[account: AddressLike], [bigint[]], "view">
totalHolders
totalHolders: TypedContractMethod<[id: BigNumberish], [bigint], "view">
totalSupply
totalSupply: TypedContractMethod<[id: BigNumberish], [bigint], "view">
trade
trade: TypedContractMethod<[size: BigNumberish, isBuy: boolean, premiumLimit: BigNumberish, referrer: AddressLike], [[bigint, DeltaStructOutput] & {
delta: DeltaStructOutput;
totalPremium: bigint;
}], "nonpayable">
transferPosition
transferPosition: TypedContractMethod<[srcP: KeyStruct, newOwner: AddressLike, newOperator: AddressLike, size: BigNumberish], [void], "nonpayable">
withdraw
withdraw: TypedContractMethod<[p: KeyStruct, size: BigNumberish, minMarketPrice: BigNumberish, maxMarketPrice: BigNumberish], [DeltaStructOutput], "nonpayable">
writeFrom
writeFrom: TypedContractMethod<[underwriter: AddressLike, longReceiver: AddressLike, size: BigNumberish, referrer: AddressLike], [void], "nonpayable">