Skip to main content

Tables

Controller_BurnShort_event

BurnShort events from Opyn v1 options protocol on Ethereum, recording when users burn (close) short option positions from their vaults. Used for tracking option position lifecycle and vault collateral management analysis.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_senderSTRINGAddress that initiated the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_vaultIdSTRINGUnique identifier for a vault within the protocol. Numeric string representation.
addressremovedin_amountin_senderlog_indexin_vaultIdblock_numberblock_timestamptransaction_hash
0x64187ae08781b09368e6253f9e94951243a493d5false21846626233639936060x3b960e47784150f5a63777201ee2b15253d713e8240286166648412023-02-19T19:54:23.000Z0xee37a1d2972ca3337d7f979136e1bc5006b99248b3eee127c33bc0a20f1f1673
0x64187ae08781b09368e6253f9e94951243a493d5false26847630167331921120x3b960e47784150f5a63777201ee2b15253d713e8587286179772662023-08-23T11:59:59.000Z0x2b7ad15bbe11df16d0bbb25d86d8b11a3dea524a0d61962fa4a2f2a4e6d550ab
0x64187ae08781b09368e6253f9e94951243a493d5false32722709279853858090x3b960e47784150f5a63777201ee2b15253d713e8302286179737292023-08-23T00:07:35.000Z0xd252c46eb91ebcb11b53c68815b1c6df8c1d6f01d3b407746d97e96b325a015e
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.Controller_BurnShort_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Controller_MintShort_event

Short position minting events from Opyn v1 options protocol on Ethereum, capturing vault-level issuance of options contracts. Records vault ID, minted option amounts, and sender addresses for tracking collateralized options creation and position management.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_senderSTRINGAddress that initiated the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_amountSTRINGInput amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.
in_vaultIdSTRINGUnique identifier for a vault within the protocol. Numeric string representation.
addressremovedin_amountin_senderlog_indexin_vaultIdblock_numberblock_timestamptransaction_hash
0x64187ae08781b09368e6253f9e94951243a493d5false1257457025315584142940x3b4095d5ff0e629972caaa50bd3004b09a1632c5588309154158562022-08-26T14:18:13.000Z0x7d58dd09580786cee1020bb2ebb4850443dff6d215efd490961af519dff6ec57
0x64187ae08781b09368e6253f9e94951243a493d5false174982749958194702230x3b4095d5ff0e629972caaa50bd3004b09a1632c541860154146662022-08-26T09:49:34.000Z0x33e168d023524be0186422365af43841c8290f3e7ae13b1ed70038efcee5d2b0
0x64187ae08781b09368e6253f9e94951243a493d5false1112992606068852970x3b960e47784150f5a63777201ee2b15253d713e8548286154140222022-08-26T07:15:13.000Z0xd0f14530516d0fb7e7dd427a94686d296c22ac320b6b46e4a3f73caffa8cc626
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.Controller_MintShort_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

Controller_OpenVault_event

Vault creation events from Opyn v1 options protocol on Ethereum, recording when users open new collateralized positions for minting options. Useful for tracking vault lifecycle and user position management activity.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_senderSTRINGAddress that initiated the transaction or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_vaultIdSTRINGUnique identifier for a vault within the protocol. Numeric string representation.
addressremovedin_senderlog_indexin_vaultIdblock_numberblock_timestamptransaction_hash
0x64187ae08781b09368e6253f9e94951243a493d5false0x3b4095d5ff0e629972caaa50bd3004b09a1632c577368161306902022-12-07T05:08:47.000Z0x5d29424599a4b2d414ed943635d86b8af6835eb3c4a6d9ccfbff3f5fc600679a
0x64187ae08781b09368e6253f9e94951243a493d5false0x1433c27dc3cb0567aa84ea17bfb48509a42b171b553107141798242022-02-10T18:05:00.000Z0x895a93dd7d6b9a60b27cdafc1150e16454841476a402b3d970d898220b06dd8f
0x64187ae08781b09368e6253f9e94951243a493d5false0x3b4095d5ff0e629972caaa50bd3004b09a1632c5157108141802042022-02-10T19:29:51.000Z0x1bf74dd5b93fc43d15fc30451a2bea8eb050fbbcca9ba2530fb82adc1bb2974f
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.Controller_OpenVault_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

CrabStrategyV1_FlashDeposit_event

Flash deposit events from Opyn’s Crab Strategy V1 vault on Ethereum, capturing instant deposits with corresponding strategy token outputs. Used for tracking vault entry transactions, depositor behavior, and deposit-to-share conversion rates.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_depositorSTRINGAddress of the user who initiated the deposit or cross-chain transfer. Hex-encoded, 0x-prefixed, 42-character string.
in_depositedAmountSTRINGAmount of tokens deposited by the user in the flash deposit transaction. String-encoded integer representing the value in smallest unit (wei).
in_tradedAmountOutSTRINGAmount of tokens received by the depositor from the trade executed during the flash deposit. String-encoded integer representing the value in smallest unit (wei).
addressremovedlog_indexblock_numberin_depositorblock_timestamptransaction_hashin_depositedAmountin_tradedAmountOut
0xf205ad80bb86ac92247638914265887a8baa437dfalse665141583860x9897a13dcb54b4e8743b86c3724f98b185e94e692022-02-07T10:25:28.000Z0xf5bd8046943811a605f8222390bc5e40433348e32176b8ee8b3819bdc3f2755c9831008911132812501756866682611163206
0xf205ad80bb86ac92247638914265887a8baa437dfalse279141584400x4e481165b434eb76d09e82bd16b6b649c01c664a2022-02-07T10:37:28.000Z0x43a9288f7314fccfda3e75c6b0e731fa0b01b237f4461fc8c2289847f240ef3419687194824218750003518232662934221643
0xf205ad80bb86ac92247638914265887a8baa437dfalse366141569160x5edf60c9dc63efa6b9cd41d0aed34ea1c7e7f6032022-02-07T04:48:52.000Z0xee75391425547f6e874f22aa8002cac3c0c4090c77f3f68ff7077d2a8f26ac5c296163940429687500529264660662177625
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.CrabStrategyV1_FlashDeposit_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

CrabStrategyV1_FlashWithdraw_event

Flash withdrawal events from Opyn’s Crab Strategy V1 vault on Ethereum, recording instantaneous redemptions of Crab vault shares (crabAmount) for wSqueeth (wrapped Squeeth power perpetual) tokens. Tracks user exits from the delta-neutral ETH² strategy with withdrawer addresses and redeemed token amounts.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_withdrawerSTRINGAddress of the account receiving the withdrawn assets. Hex-encoded, 0x-prefixed, 42-character string.
in_crabAmountSTRINGAmount of Crab strategy tokens involved in the operation. Decimal string representing the token quantity in smallest units (wei-equivalent, 18 decimals).
in_wSqueethAmountSTRINGAmount of wSqueeth tokens withdrawn in the flash withdrawal operation. Decimal string representing the token quantity in smallest units (wei-equivalent, 18 decimals).
addressremovedlog_indexblock_numberin_crabAmountin_withdrawerblock_timestamptransaction_hashin_wSqueethAmount
0xf205ad80bb86ac92247638914265887a8baa437dfalse2791415900316272616237436049740xd435231bed0d4de8541d94ec93e1e094ae633b722022-02-07T12:49:46.000Z0x88cc846ff4ac50e1a458ea9e21dec673f57b2ece19c51da286beaa12f117b4c62662196389823904424
0xf205ad80bb86ac92247638914265887a8baa437dfalse1061415784510808479904212246070x7fc55ecf955f1c0072b3b6cacab654532f10f0172022-02-07T08:19:12.000Z0x3f1ea30d77fe34f29f9e17fced2542ab4578a445eac7c8aa6e2091ade3efed2c1768264903481298165
0xf205ad80bb86ac92247638914265887a8baa437dfalse1621415595616777583590388685280x45f47efaed81d5c4fb1bf4446621e1ff720c3b4c2022-02-07T01:12:54.000Z0x4dc94ae44e66b5e51556851bf1acad98498e161ed10ae4fdef0f85d30467586a2933867487619672674
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.CrabStrategyV1_FlashWithdraw_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

CrabStrategyV2_FlashDeposit_event

Flash deposit events from Opyn’s Crab Strategy V2 vault on Ethereum, capturing instant deposits where users exchange ETH for strategy tokens in atomic transactions. Records depositor addresses, input amounts (in wei), and output token amounts for analyzing vault entry flows and conversion rates.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_depositorSTRINGAddress of the user who initiated the deposit or cross-chain transfer. Hex-encoded, 0x-prefixed, 42-character string.
in_depositedAmountSTRINGAmount of tokens deposited by the user in the flash deposit transaction. String-encoded integer representing the value in smallest unit (wei).
in_tradedAmountOutSTRINGAmount of tokens received by the depositor from the trade executed during the flash deposit. String-encoded integer representing the value in smallest unit (wei).
addressremovedlog_indexblock_numberin_depositorblock_timestamptransaction_hashin_depositedAmountin_tradedAmountOut
0x3b960e47784150f5a63777201ee2b15253d713e8false251161257360x1e04a53c92e81cdba0aa55ccaa623dbb385016fc2022-12-06T12:24:59.000Z0xa9dce11bbee35dc270c513f3fe21f4579f9a89617590bbfc4c150686ce4c13e31965744689941406251922589706952583347
0x3b960e47784150f5a63777201ee2b15253d713e8false804161228500x96ad6be504d153a25d41a476d5202425e85135fb2022-12-06T02:45:35.000Z0x095376cd71fd8a358600548315e1043b8ce9ca5f738575cd72abcb816aecf5b21985671997070312501942079539874100726
0x3b960e47784150f5a63777201ee2b15253d713e8false225161254040xfbaa6104ce2321ea98f0ad6c5ab3d49871bc0f4f2022-12-06T11:18:23.000Z0x5dfc3e97526dc4f66c04b1ce8c46a986057eeba60763c315fa41f1a93a1b358e7878234863281250007705280006403580935
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.CrabStrategyV2_FlashDeposit_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

CrabStrategyV2_FlashWithdraw_event

Flash withdrawal events from Opyn’s Crab Strategy V2 vault on Ethereum, tracking instant redemptions of Crab vault tokens for wSqueeth (wrapped Squeeth power perpetuals). Records withdrawer addresses and amounts of both Crab tokens burned and wSqueeth received for analyzing vault exit activity.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_withdrawerSTRINGAddress of the account receiving the withdrawn assets. Hex-encoded, 0x-prefixed, 42-character string.
in_crabAmountSTRINGAmount of Crab strategy tokens involved in the operation. Decimal string representing the token quantity in smallest units (wei-equivalent, 18 decimals).
in_wSqueethAmountSTRINGAmount of wSqueeth tokens withdrawn in the flash withdrawal operation. Decimal string representing the token quantity in smallest units (wei-equivalent, 18 decimals).
addressremovedlog_indexblock_numberin_crabAmountin_withdrawerblock_timestamptransaction_hashin_wSqueethAmount
0x3b960e47784150f5a63777201ee2b15253d713e8false33218391528454790310305333540x2f55e27e669f070def7b5771db72f6b31a6d4df82023-10-20T12:26:47.000Z0x4eb5b9fe2b1567baab581df7c4c5e6b475f4f89fa5e04b0e2a9ba9a14686a673948198426536019214
0x3b960e47784150f5a63777201ee2b15253d713e8false317183896422326621052904717350x2f55e27e669f070def7b5771db72f6b31a6d4df82023-10-20T06:06:35.000Z0xda012243c59d749d4ea3015e09e070ad361b8086db48329297220d986f56fcd74850803483541055017
0x3b960e47784150f5a63777201ee2b15253d713e8false290183898482465712528893577290x2f55e27e669f070def7b5771db72f6b31a6d4df82023-10-20T06:47:47.000Z0x246f34836183431ec266f2298a2733c25703436fa772a8bae974688631f31bbb5140797170057077518
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.CrabStrategyV2_FlashWithdraw_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

FlashZen_FlashDeposit_event

FlashZen deposit events from Opyn v1 on Ethereum capturing single-transaction positions combining ETH deposits, USDC borrowing, WETH lending, Crab strategy tokens, and wPowerPerp (wrapped Power Perpetual) minting. Used for analyzing leveraged DeFi strategy executions and position compositions in Opyn’s options protocol.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_fromSTRINGAddress originating the transfer or operation. Hex-encoded, 0x-prefixed, 42-character string.
in_crabAmountSTRINGAmount of Crab strategy tokens involved in the operation. Decimal string representing the token quantity in smallest units (wei-equivalent, 18 decimals).
in_ethDepositedSTRINGAmount of ETH deposited by the user in this flash deposit transaction, denominated in wei (1e18 wei = 1 ETH). Sample values show deposits ranging from 0.1 to 1 ETH.
in_wPowerPerpToMintSTRINGQuantity of wPowerPerp (wrapped power perpetual) tokens minted in this flash deposit transaction. Denominated in wei (18 decimals), typically ranges from less than 1 to over 9 wPowerPerp tokens.
in_usdcToBorrowSTRINGAmount of USDC borrowed through the flash loan mechanism in the deposit transaction, denominated in the smallest USDC unit (6 decimals). This represents the USDC liquidity accessed to facilitate the leveraged position entry.
in_wethToLendSTRINGAmount of Wrapped Ether (WETH) designated for lending in the flash deposit transaction, denominated in wei (smallest ETH unit). Typically slightly less than the deposited ETH amount due to transaction costs or protocol requirements.
addressin_fromremovedlog_indexblock_numberin_crabAmountin_wethToLendblock_timestampin_ethDepositedin_usdcToBorrowtransaction_hashin_wPowerPerpToMint
0x11a56a3a7a6eb768a9125798b1eabe9ebd9ece020x10cc16d56358168e9b286f2c2f93d27f52b8d675false4091639995951905642525856685997036547838363592023-01-13T19:27:59.000Z100000000000000000662092490xb115907ef8bfb2b545e2b1aa653ac1a1c20424abba4cb996ef01e7d4c1e8b39a857444211863996756
0x11a56a3a7a6eb768a9125798b1eabe9ebd9ece020xf2719419a42fd83f9a30b9a73b3eabc61c3c6c84false4011640092551489855109323975989056592140226862023-01-13T22:41:35.000Z100000000000000000656796540x54953f9cf631905162cd008c9be4faf3623b2509e783eda66c5472ff37790614850575700150760973
0x11a56a3a7a6eb768a9125798b1eabe9ebd9ece020x6b96ea754bc1f36b9d2c145c786119ebe74e4190false448164000851296479645781836402490362658692118102023-01-13T19:53:11.000Z2500000000000000001653752270xf6641eeb2d9a9296696212fad38fa8acabc0812d25e675ce3abd93968850aba32141691950969143904
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.FlashZen_FlashDeposit_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

FlashZen_FlashWithdraw_event

Flash withdrawal events from Opyn v1’s FlashZen contract on Ethereum, recording bull token amounts redeemed and ETH returned to users. Useful for tracking options position closures and liquidity flows in the Opyn protocol.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
log_indexINT64Position of the event within the block’s transaction logs. Zero-indexed integer representing the sequential order of log emission.
addressSTRINGContract address that emitted the event. Hex-encoded, 0x-prefixed, 42-character string.
removedBOOLBoolean flag indicating whether the event log was removed from the blockchain due to a chain reorganization.
in_toSTRINGDestination address receiving tokens or assets in the operation. Hex-encoded, 0x-prefixed, 42-character string.
in_bullAmountSTRINGAmount of BULL tokens (Opyn’s bullish position tokens) withdrawn via flash transaction, denominated in wei (base units of 10^-18). Values represent precise token quantities being withdrawn from the FlashZen contract on Ethereum.
in_ethReturnedSTRINGAmount of ETH returned to the recipient in wei (10^-18 ETH). String-encoded integer representing the ETH proceeds from the flash withdrawal operation.
in_toaddressremovedlog_indexblock_numberin_bullAmountin_ethReturnedblock_timestamptransaction_hash
0x7d4ad2e4bc426a45f34bcd53766f39e6eb61f0130x11a56a3a7a6eb768a9125798b1eabe9ebd9ece02false401162982193657847173728293877967560148249237872022-12-30T14:36:11.000Z0x545ba89a93257d584dd71e43afce4815191923df2dae68a109f7133c3dadbdd4
0x7833175e5aca23ddc9268ec43148a68e3389b00a0x11a56a3a7a6eb768a9125798b1eabe9ebd9ece02false252162998114589025441718164529974575285250798582022-12-30T19:56:35.000Z0xbe3b950d9765141ce63131b085acf02f5a2aa9ec4257b14ff9b671ae95e26650
0xf74d66c85ee082cb4921864ff0bb67145f97ae480x11a56a3a7a6eb768a9125798b1eabe9ebd9ece02false188162952864584532689567853819973316047774496362022-12-30T04:45:59.000Z0xe88b28842f7fbf6a5f760c15761dd8c916d9a198c1239a595263260c8aa35fc6
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.FlashZen_FlashWithdraw_event`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

ShortHelper_closeShort_function

Short position closure transactions on Opyn v1 Ethereum power perpetuals (Squeeth). Records vault closures with collateral withdrawals and perpetual buybacks via Uniswap V3, including swap parameters and gas costs for position exit analysis.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
trace_addressSTRINGHierarchical position of the internal call within a transaction’s execution trace. Comma-separated sequence of integers representing the call path, where each number indicates the index of the call at that nesting level, with null representing top-level calls.
statusBOOLTransaction execution outcome indicator. Boolean value where true represents successful execution and false represents failed execution.
from_addressSTRINGAddress that initiated the transaction or contract call. Hex-encoded, 0x-prefixed, 42-character string.
to_addressSTRINGAddress receiving the transaction or contract call. Hex-encoded, 0x-prefixed, 42-character string.
valueFLOAT64Amount of native cryptocurrency sent with the transaction. Floating-point representation in whole units (e.g., ETH, BNB, MATIC).
gas_usedINT64Amount of gas consumed by the transaction execution. Integer representing the actual computational steps used.
gasINT64Gas limit allocated for the transaction execution. Integer representing the maximum computational steps allowed.
signatureSTRINGFunction selector identifying which contract function was called. 10-character hex string including 0x prefix.
in__vaultIdSTRINGUnique identifier for the vault position. String-encoded integer used to reference a specific vault instance within the protocol.
in__wPowerPerpAmountSTRINGAmount of wrapped Power Perpetual (wPowerPerp) tokens being closed from the vault, denominated in wei. Typically represents standard amounts like 25 ETH or 50 ETH worth of perpetual position being unwound.
in__withdrawAmountSTRINGAmount of collateral (in wei) withdrawn from the Opyn vault upon closing the short position. Null for failed transactions or when no withdrawal occurs.
in__exactOutputParamsSTRUCT<tokenIn STRING, tokenOut STRING, fee STRING, recipient STRING, deadline STRING, amountOut STRING, amountInMaximum STRING, sqrtPriceLimitX96 STRING>Swap parameters for exact output trades executed via Uniswap V3 to close the short position. Includes token addresses, amounts, slippage limits, and deadline timestamp for the DEX transaction.
gasvaluestatusgas_usedsignatureto_addressin__vaultIdblock_numberfrom_addresstrace_addressblock_timestamptransaction_hashin__withdrawAmountin__wPowerPerpAmountin__exactOutputParams
8071805997158070489633000true4878060x17fd9e0e0x3b4095d5ff0e629972caaa50bd3004b09a1632c5341156967910xb9d7a0daa17c1ffe90c27b0fe3b38ff07edc99372022-10-07T14:22:23.000Z0x5e63b864d590924e3345ebf4e8cd80079039474ed05f963fa11dadc7515177e713816275336755294646100000000000000000000{“fee”:“3000”,“tokenIn”:“0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2”,“deadline”:“1665238925”,“tokenOut”:“0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b”,“amountOut”:“100000000000000000000”,“recipient”:“0x3b4095d5ff0e629972caaa50bd3004b09a1632c5”,“amountInMaximum”:“5997158070489633000”,“sqrtPriceLimitX96”:“0”}
7601622762969853210307000true4543950x17fd9e0e0x3b4095d5ff0e629972caaa50bd3004b09a1632c552141120610x1b1ef65bb57862c88fb3ca5aaab87467919284852022-01-31T06:39:40.000Z0x69dbaed2085ae450038939027a79baaea1bbeab7fef0cd8509394dc64b75d079690000000000000000011349959584492119929{“fee”:“3000”,“tokenIn”:“0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2”,“deadline”:“1643697561”,“tokenOut”:“0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b”,“amountOut”:“11349959584492119929”,“recipient”:“0x3b4095d5ff0e629972caaa50bd3004b09a1632c5”,“amountInMaximum”:“2762969853210307050”,“sqrtPriceLimitX96”:“0”}
65366212032540106166501000true3853190x17fd9e0e0x3b4095d5ff0e629972caaa50bd3004b09a1632c574141145250xdd1722fa301bf9036eedca5e290dfbcb33a16a1f2022-01-31T15:48:28.000Z0x5ec7f60737192a5ac9cabde49f4d8215ec23399345fbc0ac84e5c6ab553b2a392132943441884486769950000000000000000000{“fee”:“3000”,“tokenIn”:“0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2”,“deadline”:“1643730491”,“tokenOut”:“0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b”,“amountOut”:“50000000000000000000”,“recipient”:“0x3b4095d5ff0e629972caaa50bd3004b09a1632c5”,“amountInMaximum”:“12032540106166502000”,“sqrtPriceLimitX96”:“0”}
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.ShortHelper_closeShort_function`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100

ShortHelper_openShort_function

Function calls to Opyn v1’s ShortHelper contract for opening short positions with collateral and power perpetual amounts on Ethereum. Includes Uniswap v3 swap parameters for hedging and vault identifiers for position tracking.
ColumnTypeDescription
block_timestampTIMESTAMPTimestamp when the block was produced. UTC timezone, millisecond precision.
block_numberINT64Sequential identifier for the block in which the event or transaction was recorded. Integer value indicating the block’s position in the blockchain.
transaction_hashSTRINGUnique identifier for the transaction. 66-character hex string including 0x prefix.
trace_addressSTRINGHierarchical position of the internal call within a transaction’s execution trace. Comma-separated sequence of integers representing the call path, where each number indicates the index of the call at that nesting level, with null representing top-level calls.
statusBOOLTransaction execution outcome indicator. Boolean value where true represents successful execution and false represents failed execution.
from_addressSTRINGAddress that initiated the transaction or contract call. Hex-encoded, 0x-prefixed, 42-character string.
to_addressSTRINGAddress receiving the transaction or contract call. Hex-encoded, 0x-prefixed, 42-character string.
valueFLOAT64Amount of native cryptocurrency sent with the transaction. Floating-point representation in whole units (e.g., ETH, BNB, MATIC).
gas_usedINT64Amount of gas consumed by the transaction execution. Integer representing the actual computational steps used.
gasINT64Gas limit allocated for the transaction execution. Integer representing the maximum computational steps allowed.
signatureSTRINGFunction selector identifying which contract function was called. 10-character hex string including 0x prefix.
in__vaultIdSTRINGUnique identifier for the vault position. String-encoded integer used to reference a specific vault instance within the protocol.
in__powerPerpAmountSTRINGAmount of power perpetual (oSQTH) tokens being shorted in the position. Value is in wei (18 decimals), typically ranging from ~10 to ~200 oSQTH tokens based on collateral.
in__uniNftIdSTRINGIdentifier for an existing Uniswap V3 liquidity position NFT used in this short position operation. Typically ‘0’ when opening a new short without an existing LP position.
in__exactInputParamsSTRUCT<tokenIn STRING, tokenOut STRING, fee STRING, recipient STRING, deadline STRING, amountIn STRING, amountOutMinimum STRING, sqrtPriceLimitX96 STRING>Structured parameters for the Uniswap V3 swap executed as part of opening the short position, including token addresses, amounts, slippage limits, and fee tier. Contains nested fields defining the exact swap routing and execution constraints for converting collateral or power perpetual tokens.
gasvaluestatusgas_usedsignatureto_addressin__vaultIdblock_numberfrom_addressin__uniNftIdtrace_addressblock_timestamptransaction_hashin__powerPerpAmountin__exactInputParams
113073369000000000000000000true6464700xe56cfbbe0x3b4095d5ff0e629972caaa50bd3004b09a1632c50140476490x84832e0e6678a6d505c76c2c97112524aaeb64cc02022-01-21T07:40:00.000Z0xc630cde4c51796ae2dd4b9014aa9bba1d076b96339324e270f6b1bfc2503f2e5105874210272559284203{“fee”:“3000”,“tokenIn”:“0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b”,“amountIn”:“111860323301922880640”,“deadline”:“1642837201”,“tokenOut”:“0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2”,“recipient”:“0x3b4095d5ff0e629972caaa50bd3004b09a1632c5”,“amountOutMinimum”:“32983619700291708800”,“sqrtPriceLimitX96”:“0”}
10491166900000000000000000true5920730xe56cfbbe0x3b4095d5ff0e629972caaa50bd3004b09a1632c50140478620xd9a220fc883d60aeb81d99ebe668f1b990f63cdd02022-01-21T08:30:16.000Z0x8360895217a7b801c7c4f0b2f770e5001a94f4834648f18ac224a5696ee21b0311941388463054457413{“fee”:“3000”,“tokenIn”:“0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b”,“amountIn”:“12618257484044342837”,“deadline”:“1642840183”,“tokenOut”:“0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2”,“recipient”:“0x3b4095d5ff0e629972caaa50bd3004b09a1632c5”,“amountOutMinimum”:“3651849476834203550”,“sqrtPriceLimitX96”:“0”}
114555783000000000000000000true6564410xe56cfbbe0x3b4095d5ff0e629972caaa50bd3004b09a1632c50140497120x7bdfe11c4981dd4c33e1aa62457b8773253791b302022-01-21T15:25:56.000Z0x6ee2a54b507bec29c189943afdf2175c1631cc5f9c864d4cc5e35496883a2fa4132265328112534060253{“fee”:“3000”,“tokenIn”:“0xf1b99e3e573a1a9c5e6b2ce818b617f0e664e86b”,“amountIn”:“139978769795633714030”,“deadline”:“1642865144”,“tokenOut”:“0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2”,“recipient”:“0x3b4095d5ff0e629972caaa50bd3004b09a1632c5”,“amountOutMinimum”:“41791373916939780700”,“sqrtPriceLimitX96”:“0”}
Query with partition filter
SELECT *
FROM `tt-contracts.opyn_v1_ethereum.ShortHelper_openShort_function`
WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
LIMIT 100