dataSources: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmZ55G1yYFzde8Vcq4cpLfNgPSEibpLi9aYCqS1jEvCKQ9 name: DolomiteAmmFactory - file: /: /ipfs/QmXuTbDkNrN27VydxbS2huvKRk62PMgUTdPDWkxcr2w7j2 name: FactoryERC20 apiVersion: 0.0.7 entities: - AmmFactory - AmmPair - Token - Transaction eventHandlers: - event: 'PairCreated(indexed address,indexed address,address,uint256)' handler: handleNewPair file: /: /ipfs/QmPeVo73ciBAwYRtbbvMLvBr6qwNssvDM65d1NExoGsxJp kind: ethereum/events language: wasm/assemblyscript name: AmmFactory network: arbitrum-one source: abi: DolomiteAmmFactory address: '0xD99c21C96103F36BC1FA26DD6448af4DA030c1EF' startBlock: 28220369 - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin - file: /: /ipfs/QmUFZJ8pjsCS6xj8vK4La6ziaCVVbRgnCkgzYFC27shR93 name: DolomiteMarginExpiry apiVersion: 0.0.7 entities: - MarginPosition - Token - Transaction eventHandlers: - event: 'LogIndexUpdate(indexed uint256,(uint96,uint96,uint32))' handler: handleIndexUpdateOld - event: 'LogIndexUpdate(indexed uint256,(uint112,uint112,uint32))' handler: handleIndexUpdateNew - event: 'LogOraclePrice(indexed uint256,(uint256))' handler: handleOraclePriceUpdate - event: >- LogDeposit(indexed address,uint256,uint256,((bool,uint256),(bool,uint128)),address) handler: handleDeposit - event: >- LogWithdraw(indexed address,uint256,uint256,((bool,uint256),(bool,uint128)),address) handler: handleWithdraw - event: >- LogTransfer(indexed address,uint256,indexed address,uint256,uint256,((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128))) handler: handleTransfer - event: >- LogBuy(indexed address,uint256,uint256,uint256,((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),address) handler: handleBuy - event: >- LogSell(indexed address,uint256,uint256,uint256,((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),address) handler: handleSell - event: >- LogTrade(indexed address,uint256,indexed address,uint256,uint256,uint256,((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),address) handler: handleTrade - event: >- LogLiquidate(indexed address,uint256,indexed address,uint256,uint256,uint256,((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128))) handler: handleLiquidate - event: >- LogVaporize(indexed address,uint256,indexed address,uint256,uint256,uint256,((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128))) handler: handleVaporize - event: 'LogCall(indexed address,uint256,address)' handler: handleCall file: /: /ipfs/QmdW569TH6knriJdoQuLJ8itzhXKQqxbn7tuyqFpgwYtmX kind: ethereum/events language: wasm/assemblyscript name: MarginCore network: arbitrum-one source: abi: DolomiteMargin address: '0x6Bd780E7fDf01D77e4d475c821f1e7AE05409072' startBlock: 28220369 - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin - file: /: /ipfs/QmUFZJ8pjsCS6xj8vK4La6ziaCVVbRgnCkgzYFC27shR93 name: DolomiteMarginExpiry - file: /: /ipfs/QmXuTbDkNrN27VydxbS2huvKRk62PMgUTdPDWkxcr2w7j2 name: DolomiteMarginERC20 - file: /: /ipfs/Qmc5xpwdTFBU6HhSH6nF6vNpu7XgAoyz143kN4WRdiRNpQ name: LinearStepFunctionInterestSetter apiVersion: 0.0.7 entities: - MarginPosition - Token - Transaction eventHandlers: - event: 'LogAddMarket(uint256,address)' handler: handleMarketAdded - event: 'LogRemoveMarket(uint256,address)' handler: handleMarketRemoved - event: 'LogSetIsClosing(uint256,bool)' handler: handleSetIsMarketClosing - event: 'LogSetPriceOracle(uint256,address)' handler: handleSetPriceOracle - event: 'LogSetInterestSetter(uint256,address)' handler: handleSetInterestSetter - event: 'LogSetMarginPremium(uint256,(uint256))' handler: handleSetMarginPremium - event: 'LogSetSpreadPremium(uint256,(uint256))' handler: handleSetLiquidationSpreadPremium - event: 'LogSetLiquidationSpreadPremium(uint256,(uint256))' handler: handleSetLiquidationSpreadPremiumV2 - event: 'LogSetMaxWei(uint256,(bool,uint256))' handler: handleSetMaxSupplyWei - event: 'LogSetMaxSupplyWei(uint256,(bool,uint256))' handler: handleSetMaxSupplyWeiV2 - event: 'LogSetMaxBorrowWei(uint256,(bool,uint256))' handler: handleSetMaxBorrowWei - event: 'LogSetEarningsRateOverride(uint256,(uint256))' handler: handleSetEarningsRateOverride - event: LogSetMarginRatio((uint256)) handler: handleMarginRatioUpdate - event: LogSetLiquidationSpread((uint256)) handler: handleLiquidationSpreadUpdate - event: LogSetEarningsRate((uint256)) handler: handleEarningsRateUpdate - event: LogSetMinBorrowedValue((uint256)) handler: handleSetMinBorrowedValue - event: LogSetAccountMaxNumberOfMarketsWithBalances(uint256) handler: handleSetMaxNumberOfMarketsWithBalances - event: LogSetOracleSentinel(address) handler: handleSetOracleSentinel - event: LogSetCallbackGasLimit(uint256) handler: handleSetCallbackGasLimit - event: LogSetDefaultAccountRiskOverrideSetter(address) handler: handleSetDefaultAccountRiskOverrideSetter - event: 'LogSetAccountRiskOverrideSetter(address,address)' handler: handleSetAccountRiskOverrideSetter - event: 'LogSetGlobalOperator(address,bool)' handler: handleSetGlobalOperator - event: 'LogSetAutoTraderIsSpecial(address,bool)' handler: handleSetAutoTraderIsSpecial file: /: /ipfs/QmY16rURbYjcgHPyrJkohm1iKp7SL1GPyz6j9E1mCS52as kind: ethereum/events language: wasm/assemblyscript name: MarginAdmin network: arbitrum-one source: abi: DolomiteMargin address: '0x6Bd780E7fDf01D77e4d475c821f1e7AE05409072' startBlock: 28220369 - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmamenruusR4Ujx9aL9yUPwaZaAzsW4U9jtbcAywHy97wE name: DolomiteAmmRouterProxy - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin apiVersion: 0.0.7 entities: - MarginPosition - Transaction eventHandlers: - event: >- MarginPositionOpen(indexed address,indexed uint256,address,address,address,((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128))) handler: handleMarginPositionOpen - event: >- MarginPositionClose(indexed address,indexed uint256,address,address,address,((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128)),((bool,uint256),(bool,uint128))) handler: handleMarginPositionClose file: /: /ipfs/QmdZ5SyGGuecxEXbqMdQYHxkMM1ishLPmvoYX6CjDLqAjT kind: ethereum/events language: wasm/assemblyscript name: DolomiteAmmRouter network: arbitrum-one source: abi: DolomiteAmmRouterProxy startBlock: 28220369 - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmUFZJ8pjsCS6xj8vK4La6ziaCVVbRgnCkgzYFC27shR93 name: DolomiteMarginExpiry - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin apiVersion: 0.0.7 entities: - MarginPosition - Transaction eventHandlers: - event: 'ExpirySet(address,uint256,uint256,uint32)' handler: handleSetExpiry - event: LogExpiryRampTimeSet(uint256) handler: handleSetExpiryRampTime file: /: /ipfs/QmdjqwiCEfvMjbQkgTyToKGkzf8XcsD2qdoc12BmU8gHtY kind: ethereum/events language: wasm/assemblyscript name: MarginExpiry network: arbitrum-one source: abi: DolomiteMarginExpiry address: '0xDEc1ae3b570ac3c57871BBD7bFeacC807f973Bea' startBlock: 28220369 - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmedjzgDc7Pap7BJh5hPDygBbLXgT1ubQ4PG4eCiHNfjdw name: BorrowPositionProxy - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin apiVersion: 0.0.7 entities: - BorrowPosition eventHandlers: - event: 'BorrowPositionOpen(indexed address,indexed uint256)' handler: handleOpenBorrowPosition file: /: /ipfs/QmPJcCUUeZYb8wkqpmdLSCn3RXt1q9cTNCPZsponqX9NAr kind: ethereum/events language: wasm/assemblyscript name: BorrowPositionProxy network: arbitrum-one source: abi: BorrowPositionProxy startBlock: 28220369 - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmaAtrjGiE4QX29E7Lbe3AgEPqEvTh6BLrcrxtYXhsdisx name: GenericTraderProxy - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin apiVersion: 0.0.7 entities: - Zap eventHandlers: - event: >- ZapExecuted(indexed address,uint256,uint256[],(uint8,uint256,address,bytes)[]) handler: handleZapExecuted file: /: /ipfs/QmYTnyEQfXYFU1FKFjUUy6o82h4N612vWbq6ELZXNwM38G kind: ethereum/events language: wasm/assemblyscript name: Zap network: arbitrum-one source: abi: GenericTraderProxy startBlock: 112488348 - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmRVCf1QvHDe8M4ym9D6G5DTzb7uA5PMW51KwPCpWkFrUt name: LiquidityMiningClaimer - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin apiVersion: 0.0.7 entities: - LiquidityMiningVestingPosition eventHandlers: - event: 'Claimed(indexed address,uint256,uint256)' handler: handleOArbClaimed file: /: /ipfs/QmcHcR6HpD8cweKiM6ocTTc6SMHUiyrUWqbZzdhtEBSENx kind: ethereum/events language: wasm/assemblyscript name: LiquidityMiningClaimer network: arbitrum-one source: abi: LiquidityMiningClaimer address: '0x66Cd7D0cC677F42f6662622C60A5E60EF573db67' startBlock: 150036313 description: Dolomite is a next-gen lending platform for L2s repository: 'https://github.com/dolomite-exchange/dolomite-subgraph' schema: file: /: /ipfs/QmX3hRNuyXewZ4NSeBUwjMKjhk698NYL7tYJ6no8vBJiYK specVersion: 1.0.0 templates: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmXysXmfig9sqqp1M6dqTtHNmVdadUDaLgf6M8JFH4i36A name: AmmPair - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin apiVersion: 0.0.7 entities: - AmmPair - Token - Transaction eventHandlers: - event: 'Mint(indexed address,uint256,uint256)' handler: handleMint - event: 'Burn(indexed address,uint256,uint256,indexed address)' handler: handleBurn - event: >- Swap(indexed address,uint256,uint256,uint256,uint256,indexed address) handler: handleSwap - event: 'Transfer(indexed address,indexed address,uint256)' handler: handleERC20Transfer - event: 'Sync(uint112,uint112)' handler: handleSync file: /: /ipfs/QmcoGKkwB7QV13ZfwFcqCedhFJCEuKtkEhpMqXVYmhRyMP kind: ethereum/events language: wasm/assemblyscript name: AmmPair network: arbitrum-one source: abi: AmmPair - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmYnoTgcxY2ypf73ZqNE5CKUEcaGFXJhqcBnGAp6J8cCmJ name: IsolationModeFactory apiVersion: 0.0.7 entities: - IsolationModeVaultMap eventHandlers: - event: 'VaultCreated(indexed address,address)' handler: handleVaultCreated file: /: /ipfs/QmSacYHAfYu665dx5UN5pdzu4v4pHb915z4Ss4CLh7SW5W kind: ethereum/events language: wasm/assemblyscript name: IsolationModeVault network: arbitrum-one source: abi: IsolationModeFactory - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmYGGQXnv2qCvKKkSG4XRzCS6iWrea1FT8sTYWecqHpEYK name: EventEmitterRegistry - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin apiVersion: 0.0.7 entities: - AsyncDeposit - AsyncWithdrawal eventHandlers: - event: >- AsyncDepositCreated(indexed bytes32,indexed address,(bytes32,address,uint256,address,uint256,uint256,bool)) handler: handleAsyncDepositCreated - event: >- AsyncDepositOutputAmountUpdated(indexed bytes32,indexed address,uint256) handler: handleAsyncDepositOutputAmountUpdated - event: 'AsyncDepositExecuted(indexed bytes32,indexed address)' handler: handleAsyncDepositExecuted - event: 'AsyncDepositFailed(indexed bytes32,indexed address,string)' handler: handleAsyncDepositFailed - event: 'AsyncDepositCancelled(indexed bytes32,indexed address)' handler: handleAsyncDepositCancelled - event: 'AsyncDepositCancelledFailed(indexed bytes32,indexed address,string)' handler: handleAsyncDepositCancelledFailed - event: >- AsyncWithdrawalCreated(indexed bytes32,indexed address,(bytes32,address,uint256,uint256,address,uint256,bool,bool,bytes)) handler: handleAsyncWithdrawalCreated - event: >- AsyncWithdrawalOutputAmountUpdated(indexed bytes32,indexed address,uint256) handler: handleAsyncWithdrawalOutputAmountUpdated - event: 'AsyncWithdrawalExecuted(indexed bytes32,indexed address)' handler: handleAsyncWithdrawalExecuted - event: 'AsyncWithdrawalFailed(indexed bytes32,indexed address,string)' handler: handleAsyncWithdrawalFailed - event: 'AsyncWithdrawalCancelled(indexed bytes32,indexed address)' handler: handleAsyncWithdrawalCancelled - event: 'RewardClaimed(indexed address,indexed address,uint256,uint256)' handler: handleRewardClaimed - event: 'DistributorRegistered(address,address,address)' handler: handleDistributorRegistered file: /: /ipfs/QmbJ2Fi31hpvJMA7XsbjpNGU4gsQ5fG1fTRmKGXWGoa4rn kind: ethereum/events language: wasm/assemblyscript name: EventEmitterRegistry network: arbitrum-one source: abi: EventEmitterRegistry - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmNpit1asE5ncrf3oSXvgifN3wKoQSKqYrXbXv8YEZDQSF name: LiquidityMiningVester - file: /: /ipfs/QmRtZ2z3bUFvhp9HC4upyZEXoAd3vYCe1pCjgEdUzPyV4W name: DolomiteMargin apiVersion: 0.0.7 entities: - LiquidityMiningVestingPosition eventHandlers: - event: 'VestingPositionCreated((address,uint256,uint256,uint256,uint256))' handler: handleVestingPositionCreatedOld - event: >- VestingPositionCreated((address,uint256,uint256,uint256,uint256,uint256)) handler: handleVestingPositionCreatedNew - event: 'VestingStarted(indexed address,uint256,uint256,uint256)' handler: handleVestingPositionStartedOld - event: 'VestingStarted(indexed address,uint256,uint256,uint256,uint256)' handler: handleVestingPositionStartedNew - event: 'PositionDurationExtended(indexed uint256,uint256)' handler: handleVestingPositionDurationExtended - event: 'Transfer(indexed address,indexed address,indexed uint256)' handler: handleVestingPositionTransfer - event: 'PositionClosed(indexed address,uint256,uint256)' handler: handleVestingPositionClosed - event: 'PositionForceClosed(indexed address,uint256,uint256)' handler: handleVestingPositionForceClosed - event: 'EmergencyWithdraw(indexed address,uint256,uint256)' handler: handleVestingPositionEmergencyWithdraw - event: 'LevelRequestInitiated(address,uint256)' handler: handleLevelRequestInitiated - event: 'LevelRequestFinalized(address,uint256,uint256)' handler: handleLevelRequestFinalized file: /: /ipfs/QmcHcR6HpD8cweKiM6ocTTc6SMHUiyrUWqbZzdhtEBSENx kind: ethereum/events language: wasm/assemblyscript name: LiquidityMiningVester network: arbitrum-one source: abi: LiquidityMiningVester