synthetix-v3
Monorepo of Synthetix's core smart contracts.
File Explorer
Download Latest Version (.zip)- config.yml
- test-batch.js
- cannon-update.yml
- dependabot.yml
- yarn-4.6.0.cjs
- yarn-4.7.0.cjs
- ArbGasInfo.sol
- ArbGasPriceOracle.sol
- ArbGasPriceOracle.test.sol
- .gitignore
- cannonfile.test.toml
- cannonfile.toml
- foundry.toml
- hardhat.config.ts
- LICENSE
- package.json
- README.md
- remappings.txt
- storage.dump.json
- BuybackSnx.sol
- bootstrap.ts
- BuybackSnx.test.ts
- .gitignore
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- LICENSE
- package.json
- storage.dump.json
- IERC20.sol
- IERC20Metadata.sol
- IERC4626.sol
- Math.sol
- Panic.sol
- SafeCast.sol
- ERC20Mock.sol
- ERC4626Mock.sol
- ERC4626ToAssetsRatioOracle.sol
- ERC4626ToAssetsRatioOracle.test.ts
- bootstrap.ts
- .gitignore
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- LICENSE
- package.json
- storage.dump.json
- IOVM_GasPriceOracle_bedrock.sol
- IOVM_GasPriceOracle_ecotone.sol
- IOVM_GasPriceOracle_fjord.sol
- OpGasPriceOracle.sol
- OpGasPriceOracle.test.sol
- .gitignore
- cannonfile.test.toml
- cannonfile.toml
- foundry.toml
- hardhat.config.ts
- LICENSE
- package.json
- remappings.txt
- storage.dump.json
- OwnedFeeCollector.sol
- bootstrap.ts
- OwnedFeeCollector.test.ts
- .gitignore
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- LICENSE
- package.json
- IERC7412.sol
- Price.sol
- PythERC7412Wrapper.sol
- PythERC7412Wrapper.test.sol
- .gitignore
- cannonfile.test.toml
- cannonfile.toml
- foundry.toml
- hardhat.config.ts
- LICENSE
- package.json
- remappings.txt
- storage.dump.json
- RewardsDistributor.sol
- SnapshotRewardsDistributor.sol
- MintableToken.sol
- RewardsDistributorConstructorTest.sol
- RewardsDistributorPrecisionTest.sol
- RewardsDistributorTest.sol
- SnapshotRewardsDistributorUnitTest.sol
- .gitignore
- cannonfile.snapshot.toml
- cannonfile.toml
- foundry.toml
- package.json
- README.md
- RewardsDistributorExternal.sol
- MintableToken.sol
- RewardsDistributorExternalConstructorTest.sol
- RewardsDistributorExternalTest.sol
- .gitignore
- cannonfile.toml
- foundry.toml
- package.json
- README.md
- ISpotMarketSystem.sol
- SpotMarketOracle.sol
- .gitignore
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- LICENSE
- package.json
- storage.dump.json
- TrustedMulticallForwarder.sol
- EtherSink.sol
- MockCallee.sol
- Multicall3.t.sol
- TrustedMulticallForwarder.t.sol
- .gitignore
- cannonfile.clone.toml
- cannonfile.toml
- foundry.toml
- README.md
- remappings.txt
- IWstETH.sol
- AggregatorV3Mock.sol
- WstETHMock.sol
- WstEthToStEthRatioOracle.sol
- LidoWstEthToStEthRatioOracle.test.ts
- bootstrap.ts
- .gitignore
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- LICENSE
- package.json
- storage.dump.json
- README.md
- diagram.png
- overview.png
- ISynthetixSystem.sol
- ISettlementHook.sol
- IBasePerpMarket.sol
- IFeatureFlagModule.sol
- ILiquidationModule.sol
- IMarginModule.sol
- IMarketConfigurationModule.sol
- IOrderModule.sol
- IPerpAccountModule.sol
- IPerpMarketFactoryModule.sol
- IPerpRewardDistributor.sol
- IPerpRewardDistributorFactoryModule.sol
- ISettlementHookModule.sol
- ISplitAccountConfigurationModule.sol
- __TestHelperModule.sol
- CollateralMock.sol
- ExternalMocks.sol
- MergeAccountSettlementHookMock.sol
- SettlementHookMock.sol
- PerpRewardDistributor.sol
- PerpRewardDistributorFactoryModule.sol
- CoreModule.sol
- FeatureFlagModule.sol
- LiquidationModule.sol
- MarginModule.sol
- MarketConfigurationModule.sol
- OrderModule.sol
- PerpAccountModule.sol
- PerpMarketFactoryModule.sol
- SettlementHookModule.sol
- SplitAccountConfigurationModule.sol
- AddressRegistry.sol
- Margin.sol
- Order.sol
- PerpMarket.sol
- PerpMarketConfiguration.sol
- Position.sol
- SettlementHookConfiguration.sol
- SplitAccountConfiguration.sol
- ErrorUtil.sol
- Flags.sol
- MathUtil.sol
- PythUtil.sol
- Proxy.sol
- stable_test.sh
- markets.fixture.ts
- FeatureFlagModule.test.ts
- LiquidationModule.flagPosition.test.ts
- LiquidationModule.getHealthFactor.test.ts
- LiquidationModule.getLiquidationMarginUsd.test.ts
- LiquidationModule.getRemainingLiquidatableSizeCapacity.test.ts
- LiquidationModule.liquidatePostion.test.ts
- LiquidationModule.partialLiquidation.test.ts
- MarginModule.debt.test.ts
- MarginModule.test.ts
- MarketConfigurationModule.test.ts
- OrderModule.cancel.test.ts
- OrderModule.fees.test.ts
- OrderModule.test.ts
- PerpAccountModule.mergeAccounts.test.ts
- PerpAccountModule.splitAccount.test.ts
- PerpAccountModule.test.ts
- PerpMarketFactoryModule.minimumCredit.test.ts
- PerpMarketFactoryModule.test.ts
- PerpMarketFactoryModule.utilisation.test.ts
- PerpRewardDistributor.test.ts
- PerpRewardDistributorFactoryModule.test.ts
- SettlementHookModule.test.ts
- SplitAccountConfigurationModule.test.ts
- __TestHelperModule.test.ts
- assert.ts
- bootstrap.ts
- calculations.ts
- generators.ts
- helpers.ts
- typed.ts
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- package.json
- README.md
- storage.dump.json
- tsconfig.json
- IAddressResolver.sol
- IIssuer.sol
- ILiquidatorRewards.sol
- IRewardEscrowV2.sol
- ISynth.sol
- ISynthetix.sol
- ISynthetixDebtShare.sol
- IV3CoreProxy.sol
- ILegacyMarket.sol
- ISNXDistributor.sol
- InitialModuleBundle.sol
- LegacyMarket.sol
- Proxy.sol
- SNXDistributor.sol
- LegacyMarket.iosiroInfiniteMoney.ts
- LegacyMarket.ts
- utils.ts
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- package.json
- regenerate-external-interfaces.sh
- storage.dump.json
- IFeeCollector.sol
- IPythERC7412Wrapper.sol
- ISpotMarketSystem.sol
- ISynthetixSystem.sol
- IAccountEvents.sol
- IAsyncOrderCancelModule.sol
- IAsyncOrderModule.sol
- IAsyncOrderSettlementPythModule.sol
- ICollateralConfigurationModule.sol
- IDistributorErrors.sol
- IGlobalPerpsMarketModule.sol
- ILiquidationModule.sol
- IMarketConfigurationModule.sol
- IMarketEvents.sol
- IPerpsAccountModule.sol
- IPerpsMarketFactoryModule.sol
- IPerpsMarketModule.sol
- FeeCollectorMock.sol
- MockGasPriceNode.sol
- MockPyth.sol
- MockPythERC7412Wrapper.sol
- MockRewardsDistributorExternal.sol
- AssociatedSystemsModule.sol
- AsyncOrderCancelModule.sol
- AsyncOrderModule.sol
- AsyncOrderSettlementPythModule.sol
- CollateralConfigurationModule.sol
- CoreModule.sol
- FeatureFlagModule.sol
- GlobalPerpsMarketModule.sol
- LiquidationModule.sol
- MarketConfigurationModule.sol
- PerpsAccountModule.sol
- PerpsMarketFactoryModule.sol
- PerpsMarketModule.sol
- AsyncOrder.sol
- GlobalPerpsMarket.sol
- GlobalPerpsMarketConfiguration.sol
- InterestRate.sol
- KeeperCosts.sol
- Liquidation.sol
- LiquidationAssetManager.sol
- MarketUpdate.sol
- OrderFee.sol
- PerpsAccount.sol
- PerpsCollateralConfiguration.sol
- PerpsMarket.sol
- PerpsMarketConfiguration.sol
- PerpsMarketFactory.sol
- PerpsPrice.sol
- Position.sol
- SettlementStrategy.sol
- BigNumber.sol
- Flags.sol
- MathUtil.sol
- .gitignore
- Mocks.sol
- Proxy.sol
- PerpsMarketProxy.ts
- schema.ts
- handleAccountCreated.ts
- handleCollateralModified.ts
- handleFundingParametersSet.ts
- handleLiquidationParametersSet.ts
- handleLockedOiRatioSet.ts
- handleMarketCreated.ts
- handleMarketPriceDataUpdated.ts
- handleMarketUpdated.ts
- handleMaxLiquidationParametersSet.ts
- handleOrderCommitted.ts
- handleOrderFeesSet.ts
- handleOrderSettled.ts
- handlePositionLiquidated.ts
- handlePreviousOrderExpired.ts
- handleReferrerShareUpdated.ts
- handleSettlementStrategyAdded.ts
- handleSettlementStrategySet.ts
- index.ts
- schema.graphql
- PerpsMarketProxy.ts
- schema.ts
- index.ts
- schema.graphql
- createAccountCreatedEvent.ts
- createCollateralModifiedEvent.ts
- createFundingParametersSetEvent.ts
- createLiquidationParametersSetEvent.ts
- createLockedOiRatioSetEvent.ts
- createMarketCreatedEvent.ts
- createMarketPriceDataUpdatedEvent.ts
- createMarketUpdatedEvent.ts
- createMaxLiquidationParametersSetEvent.ts
- createOrderCommittedEvent.ts
- createOrderFeesSetEvent.ts
- createOrderSettledEvent.ts
- createPositionLiquidatedEvent.ts
- createPreviousOrderExpiredEvent.ts
- createReferrerShareUpdatedEvent.ts
- createSettlementStrategyAddedEvent.ts
- createSettlementStrategySetEvent.ts
- handleAccountCreated.ts
- handleCollateralModified.ts
- handleFundingParametersSet.ts
- handleLiquidationParametersSet.ts
- handleLockedOiRatioSet.ts
- handleMarketCreated.ts
- handleMarketPriceDataUpdated.ts
- handleMarketUpdated.ts
- handleMaxLiquidationParametersSet.ts
- handleOrderCommitted.ts
- handleOrderFeesSet.ts
- handleOrderSettled.ts
- handlePositionLiquidated.ts
- handlePreviousOrderExpired.ts
- handleReferrerShareUpdated.ts
- handleSettlementStrategyAdded.ts
- handleSettlementStrategySet.ts
- PerpsMarketProxy.test.ts
- .gitignore
- build.sh
- codegen.sh
- matchstick.yaml
- package.json
- startBlock.js
- subgraph.base-mainnet-andromeda.yaml
- subgraph.base-sepolia-andromeda.yaml
- tsconfig.json
- Debt.test.ts
- Margins.multiCollateral.failure.test.ts
- Margins.multiCollateral.test.ts
- Margins.test.ts
- ModifyCollateral.deposit.test.ts
- ModifyCollateral.failures.test.ts
- ModifyCollateral.withdraw.test.ts
- ModifyCollateral.withdrawFull.test.ts
- PayDebt.test.ts
- bootstrap.ts
- bootstrapPerpsMarkets.ts
- bootstrapTraders.ts
- createKeeperCostNode.ts
- createRewardsDistributor.ts
- index.ts
- collateralHelper.ts
- computeFees.ts
- createAccountAndPosition.ts
- fillPrice.ts
- funding-calcs.ts
- index.ts
- interestRate.ts
- maxSize.ts
- openPosition.ts
- requiredMargins.ts
- settleHelper.ts
- KeeperRewards.Caps.test.ts
- KeeperRewards.Large-Position.test.ts
- KeeperRewards.N-Collaterals.test.ts
- KeeperRewards.N-Positions.test.ts
- KeeperRewards.Settlement.test.ts
- Liquidation.flaggedLiquidation.test.ts
- Liquidation.margin.test.ts
- Liquidation.marginOnly.test.ts
- Liquidation.maxLiquidationAmount.endorsedLiquidator.test.ts
- Liquidation.maxLiquidationAmount.macro.test.ts
- Liquidation.maxLiquidationAmount.maxPd.test.ts
- Liquidation.maxLiquidationAmount.test.ts
- Liquidation.multi-collateral.test.ts
- Liquidation.strictStaleness.test.ts
- CreateMarket.failures.test.ts
- CreateMarket.test.ts
- Market.maxCollateralsPerAccount.test.ts
- Market.maxPositionsPerAccount.test.ts
- Market.minimumCredit.test.ts
- Market.RewardDistributor.test.ts
- MarketConfiguration.test.ts
- MarketDebt.test.ts
- MarketDebt.withFunding.test.ts
- PerpsMarketModule.test.ts
- Size.test.ts
- GlobalPerpsMarket.test.ts
- LargSizePosition.test.ts
- OffchainAsyncOrder.cancel.test.ts
- OffchainAsyncOrder.commit.test.ts
- OffchainAsyncOrder.fees.test.ts
- OffchainAsyncOrder.orderSettledEvent.test.ts
- OffchainAsyncOrder.pending.test.ts
- OffchainAsyncOrder.price.test.ts
- OffchainAsyncOrder.referrer.test.ts
- OffchainAsyncOrder.settle.test.ts
- OffchainAsyncOrder.zeroFees.test.ts
- Order.marginValidation.capped.test.ts
- Order.marginValidation.test.ts
- Order.marginWithPd.test.ts
- Order.marginWithPrice.test.ts
- Order.reduceSize.test.ts
- Funding.test.ts
- InterestRate.reset.test.ts
- InterestRate.test.ts
- InterestRate.tolerance.test.ts
- Insolvent.test.ts
- OrdersFunding.poly.test.ts
- Suspend.test.ts
- .gitignore
- .solcover.js
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- package.json
- README.md
- storage.dump.json
- IAggregatorV3Interface.sol
- IChainlinkVerifier.sol
- IFeeCollector.sol
- IPythERC7412Wrapper.sol
- ISynthetixSystem.sol
- IAsyncOrderConfigurationModule.sol
- IAsyncOrderModule.sol
- IAsyncOrderSettlementModule.sol
- IAtomicOrderModule.sol
- IMarketConfigurationModule.sol
- ISpotMarketFactoryModule.sol
- ISynthTokenModule.sol
- IWrapperModule.sol
- AggregatorV3Mock.sol
- CollateralMock.sol
- ERC20Mock.sol
- FeeCollectorMock.sol
- MockPythERC7412Wrapper.sol
- SynthTokenModule.sol
- AsyncOrderConfigurationModule.sol
- AsyncOrderModule.sol
- AsyncOrderSettlementModule.sol
- AtomicOrderModule.sol
- CoreModule.sol
- FeatureFlagModule.sol
- MarketConfigurationModule.sol
- SpotMarketFactoryModule.sol
- WrapperModule.sol
- AsyncOrder.sol
- AsyncOrderClaim.sol
- AsyncOrderConfiguration.sol
- MarketConfiguration.sol
- OrderFees.sol
- Price.sol
- SettlementStrategy.sol
- SpotMarketFactory.sol
- Wrapper.sol
- Flags.sol
- MathUtil.sol
- SynthUtil.sol
- TransactionUtil.sol
- .gitignore
- Mocks.sol
- Proxy.sol
- SpotMarketProxy.ts
- schema.ts
- index.ts
- schema.graphql
- SpotMarketProxy.ts
- schema.ts
- index.ts
- schema.graphql
- SpotMarketProxy.ts
- schema.ts
- handleOrderCancelled.ts
- handleOrderCommitted.ts
- handleOrderSettled.ts
- handleSettlementStrategyAdded.ts
- handleSettlementStrategySet.ts
- handleSynthPriceDataUpdated.ts
- handleSynthUnwrapped.ts
- handleSynthWrapped.ts
- handleWrapperSet.ts
- index.ts
- schema.graphql
- createOrderCancelledEvent.ts
- createOrderCommittedEvent.ts
- createOrderSettledEvent.ts
- createSettlementStrategyAddedEvent.ts
- createSettlementStrategySetEvent.ts
- createSynthPriceDataUpdatedEvent.ts
- createSynthUnwrappedEvent.ts
- createSynthWrappedEvent.ts
- createWrapperSetEvent.ts
- handleOrderCancelled.ts
- handleOrderCommitted.ts
- handleOrderSettled.ts
- handleSettlementStrategyAdded.ts
- handleSettlementStrategySet.ts
- handleSynthPriceDataUpdated.ts
- handleSynthUnwrapped.ts
- handleSynthWrapped.ts
- handleWrapperSet.ts
- SpotMarketProxy.test.ts
- .gitignore
- build.sh
- codegen.sh
- matchstick.yaml
- package.json
- startBlock.js
- subgraph.base-mainnet-andromeda.yaml
- subgraph.base-sepolia-andromeda.yaml
- subgraph.optimism-mainnet.yaml
- tsconfig.json
- bootstrapSynthMarkets.ts
- index.ts
- Orders.skew.balance.test.ts
- Orders.skew.test.ts
- AsyncOrderConfigurationModule.test.ts
- AsyncOrderModule.escrow.test.ts
- AsyncOrderModule.onchain.test.ts
- AsyncOrderModule.pyth.test.ts
- AsyncOrderModule.test.ts
- AtomicOrderModule.buy.test.ts
- AtomicOrderModule.referrer.test.ts
- AtomicOrderModule.sell.test.ts
- AtomicOrderModule.utilization.test.ts
- bootstrap.ts
- SpotMarketFactory.test.ts
- WrapperModule.test.ts
- AsyncOrdersModule.e2e.test.ts
- .gitignore
- .solcover.js
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- package.json
- README.md
- storage.dump.json
- IOracleManagerProxy.sol
- IV3CoreProxy.sol
- ITreasuryMarket.sol
- ITreasuryStakingRewards.sol
- InitialModuleBundle.sol
- SynthetixTreasuryProxy.sol
- TreasuryMarket.sol
- TreasuryStakingRewards.sol
- Deploy.sol
- RestorePosition.sol
- TreasuryMarket.test.sol
- TreasuryStakingRewards.test.sol
- cannonfile.test.toml
- cannonfile.toml
- foundry.toml
- hardhat.config.ts
- package.json
- remappings.txt
- storage.dump.json
- ISnapshotRecord.sol
- ICouncilTokenModule.sol
- IDebtShare.sol
- IElectionInspectorModule.sol
- IElectionModule.sol
- IElectionModuleSatellite.sol
- ISnapshotVotePowerModule.sol
- ISynthetixElectionModule.sol
- CouncilMemberMock.sol
- DebtShareMock.sol
- SnapshotRecordMock.sol
- WormholeMock.sol
- WormholeRelayerMock.sol
- AssociatedSystemsModule.sol
- ElectionInspectorModule.sol
- ElectionModule.sol
- ElectionModuleSatellite.sol
- InitialModuleBundle.sol
- SnapshotVotePowerModule.sol
- WormholeCrossChainModule.sol
- CouncilTokenModule.sol
- Ballot.sol
- Council.sol
- CouncilMembers.sol
- CrossChainDebtShare.sol
- Election.sol
- ElectionSettings.sol
- Epoch.sol
- SnapshotVotePower.sol
- SnapshotVotePowerEpoch.sol
- ElectionCredentials.sol
- ElectionTally.sol
- MathUtil.sol
- Proxy.sol
- dev.ts
- CouncilMembers.test.ts
- Initialization.test.ts
- Schedule.test.ts
- Voting.test.ts
- bootstrap.ts
- CouncilTokenModule.test.ts
- ElectionSchedule.test.ts
- ElectionSettings.test.ts
- SnapshotVotePowerModule.test.ts
- debt-share-helper.ts
- object.ts
- spin-chain.ts
- bootstrap.ts
- CrossChainElections.test.ts
- CrossChainNFTDistribution.test.ts
- Elections.test.ts
- Evaluation.test.ts
- constants.ts
- council-token.toml
- proxy-base.toml
- testable-contracts.toml
- .gitignore
- .npmrc
- .solcover.js
- cannonfile.satellite.test.toml
- cannonfile.satellite.toml
- cannonfile.snapshot-record-mock.toml
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- LICENSE
- package.json
- README.md
- storage.dump.json
- IAggregatorV3Interface.sol
- IExternalNode.sol
- IPyth.sol
- IUniswapV3Pool.sol
- INodeModule.sol
- AbstractPyth.sol
- IPythEvents.sol
- IPythMock.sol
- MockPyth.sol
- PythErrors.sol
- PythStructs.sol
- ERC20Mock.sol
- MockChainlinkAggregator.sol
- MockExternalNode.sol
- MockObservable.sol
- MockPythExternalNode.sol
- MockV3Aggregator.sol
- CoreModule.sol
- NodeModule.sol
- PythNode.sol
- PythOffchainLookupNode.sol
- ChainlinkNode.sol
- ConstantNode.sol
- ExternalNode.sol
- PriceDeviationCircuitBreakerNode.sol
- ReducerNode.sol
- StalenessCircuitBreakerNode.sol
- UniswapNode.sol
- NodeDefinition.sol
- NodeOutput.sol
- FullMath.sol
- TickMath.sol
- Dependencies.sol
- Proxy.sol
- index.ts
- oracleNode.ts
- Node.operations.ts
- Node.types.ts
- NodeModule.test.ts
- ChainlinkNode.test.ts
- ConstantNode.test.ts
- ExternalNode.test.ts
- PriceDeviationCircuitBreakerNode.test.ts
- PythNode.test.ts
- PythOffchainLookupNode.test.ts
- ReducerNode.test.ts
- StalenessCircuitBreakerNode.OffchainLookup.test.ts
- StalenessCircuitBreakerNode.test.ts
- UniswapNode.test.ts
- bootstrap.ts
- .gitignore
- .solcover.js
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- LICENSE
- package.json
- README.md
- storage.dump.json
- IAggregatorV3Interface.sol
- IAny2EVMMessageReceiver.sol
- ICcipRouterClient.sol
- IMarket.sol
- IOracleManager.sol
- IRewardDistributor.sol
- IAccountModule.sol
- IAccountTokenModule.sol
- IAssociateDebtModule.sol
- ICollateralConfigurationModule.sol
- ICollateralModule.sol
- ICrossChainUSDModule.sol
- IIssueUSDModule.sol
- ILiquidationModule.sol
- IMarketCollateralModule.sol
- IMarketManagerModule.sol
- IPoolConfigurationModule.sol
- IPoolModule.sol
- IRewardsManagerModule.sol
- IUSDTokenModule.sol
- IUtilsModule.sol
- IVaultModule.sol
- AggregatorV3Mock.sol
- CcipRouterMock.sol
- CollateralMock.sol
- CollateralMockWithoutDecimals.sol
- MockMarket.sol
- RewardDistributorMock.sol
- AccountTokenModule.sol
- AssociatedSystemsModule.sol
- OwnerModule.sol
- UpgradeModule.sol
- AccountModule.sol
- AssociateDebtModule.sol
- CcipReceiverModule.sol
- CollateralConfigurationModule.sol
- CollateralModule.sol
- CrossChainUSDModule.sol
- FeatureFlagModule.sol
- IssueUSDModule.sol
- LiquidationModule.sol
- MarketCollateralModule.sol
- MarketManagerModule.sol
- PoolConfigurationModule.sol
- PoolModule.sol
- RewardsManagerModule.sol
- UtilsModule.sol
- VaultModule.sol
- USDTokenModule.sol
- InitialModuleBundle.sol
- Account.sol
- AccountRBAC.sol
- Collateral.sol
- CollateralConfiguration.sol
- CollateralLock.sol
- Config.sol
- CrossChain.sol
- Distribution.sol
- DistributionActor.sol
- Market.sol
- MarketConfiguration.sol
- MarketCreator.sol
- MarketPoolInfo.sol
- OracleManager.sol
- Pool.sol
- PoolCollateralConfiguration.sol
- RewardDistribution.sol
- RewardDistributionClaimStatus.sol
- ScalableMapping.sol
- SystemAccountConfiguration.sol
- SystemPoolConfiguration.sol
- Vault.sol
- VaultEpoch.sol
- CcipClient.sol
- Proxy.sol
- CoreProxy.ts
- schema.ts
- index.ts
- schema.graphql
- CoreProxy.ts
- schema.ts
- index.ts
- schema.graphql
- CoreProxy.ts
- schema.ts
- index.ts
- schema.graphql
- CoreProxy.ts
- schema.ts
- index.ts
- schema.graphql
- CoreProxy.ts
- schema.ts
- getISOWeekNumber.ts
- handleAccountCreated.ts
- handleCollateralConfigured.ts
- handleCollateralDeposited.ts
- handleCollateralWithdrawn.ts
- handleDelegationUpdated.ts
- handleLiquidation.ts
- handleMarketCreated.ts
- handleMarketUsdDeposited.ts
- handleMarketUsdWithdrawn.ts
- handlePermissionGranted.ts
- handlePermissionRevoked.ts
- handlePoolConfigurationSet.ts
- handlePoolCreated.ts
- handlePoolNameUpdated.ts
- handlePoolNominationRenounced.ts
- handlePoolNominationRevoked.ts
- handlePoolOwnerNominated.ts
- handlePoolOwnershipAccepted.ts
- handleRewardsClaimed.ts
- handleRewardsDistributed.ts
- handleRewardsDistributorRegistered.ts
- handleRewardsDistributorRemoved.ts
- handleUSDBurned.ts
- handleUSDMinted.ts
- handleVaultLiquidation.ts
- index.ts
- marketSnapshotByDay.ts
- marketSnapshotByWeek.ts
- schema.graphql
- vaultSnapshotByDay.ts
- vaultSnapshotByMonth.ts
- vaultSnapshotByWeek.ts
- vaultSnapshotByYear.ts
- CoreProxy.ts
- schema.ts
- index.ts
- schema.graphql
- CoreProxy.ts
- schema.ts
- index.ts
- schema.graphql
- CoreProxy.ts
- schema.ts
- index.ts
- schema.graphql
- createAccountCreatedEvent.ts
- createCollateralConfiguredEvent.ts
- createDelegationUpdatedEvent.ts
- createDepositEvent.ts
- createLiquidationEvent.ts
- createMarketRegisteredEvent.ts
- createMarketUSDDepositedEvent.ts
- createMarketUSDWithdrawnEvent.ts
- createPermissionGrantedEvent.ts
- createPermissionRevokedEvent.ts
- createPoolConfigurationSetEvent.ts
- createPoolCreatedEvent.ts
- createPoolNameUpdatedEvent.ts
- createPoolNominationRevokedEvent.ts
- createPoolOwnerNominatedEvent.ts
- createPoolOwnershipAcceptedEvent.ts
- createPoolOwnershipRenouncedEvent.ts
- createRewardDistributorRegisteredEvent.ts
- createRewardsClaimedEvent.ts
- createRewardsDistributedEvent.ts
- createRewardsDistributorRemovedEvent.ts
- createUSDBurnedEvent.ts
- createUSDMintedEvent.ts
- createVaultLiquidationEvent.ts
- createWithdrawEvent.ts
- index.ts
- utils.ts
- constants.ts
- CoreProxy.test.ts
- getISOWeekNumber.ts
- handleAccountCreated.ts
- handleCollateralConfigured.ts
- handleCollateralDeposit.ts
- handleCollateralWithdrawn.ts
- handleDelegationUpdated.ts
- handleLiquidation.ts
- handleMarketCreated.ts
- handleMarketDeposits.ts
- handleMarketWithdrawals.ts
- handleNominatedPoolOwner.ts
- handlePermissionGranted.ts
- handlePermissionRevoked.ts
- handlePoolConfigurationSet.ts
- handlePoolCreated.ts
- handlePoolNameUpdated.ts
- handlePoolNominationRenounced.ts
- handlePoolNominationRevoked.ts
- handlePoolOwnershipAccepted.ts
- handleRewardsClaimed.ts
- handleRewardsDistributed.ts
- handleUSDBurned.ts
- handleUSDMinted.ts
- handleVaultLiquidation.ts
- marketSnapshotByDay.ts
- marketSnapshotByWeek.ts
- vaultSnapshotByDay.ts
- vaultSnapshotByMonth.ts
- vaultSnapshotByWeek.ts
- vaultSnapshotByYear.ts
- .gitignore
- build.sh
- codegen.sh
- matchstick.yaml
- package.json
- README.md
- startBlock.js
- subgraph.arbitrum-mainnet.yaml
- subgraph.arbitrum-sepolia.yaml
- subgraph.base-mainnet-andromeda.yaml
- subgraph.base-sepolia-andromeda.yaml
- subgraph.mainnet.yaml
- subgraph.optimism-mainnet.yaml
- subgraph.optimism-sepolia.yaml
- subgraph.sepolia.yaml
- tsconfig.json
- index.ts
- stakedPool.ts
- stakers.ts
- AccountRBACMixin.permissions.ts
- AccountModule.create.test.ts
- AccountModule.grant.test.ts
- AccountModule.init.test.ts
- AccountModule.transfer.test.ts
- AccountTokenModule.mint.test.ts
- CollateralConfigurationModule.config.test.ts
- CollateralModule.access.test.ts
- CollateralModule.deposit.test.ts
- CollateralModule.helper.ts
- CollateralModule.locks.test.ts
- MarketCollateralModule.test.ts
- PoolConfigurationModule.test.ts
- AssociateDebtModule.test.ts
- CcipReceiverModule.test.ts
- CrossChainUSDModule.test.ts
- IssueUSDModule.test.ts
- LiquidationModule.test.ts
- MarketManagerModule.test.ts
- PoolModuleFundAdmin.test.ts
- PoolModuleOwnership.test.ts
- RewardsManagerModule.test.ts
- USDTokenModule.test.ts
- UtilsModule.test.ts
- VaultModule.test.ts
- BumpPools.test.ts
- Market.test.ts
- AccountLocks.test.ts
- AccountRBAC.test.ts
- CollateralConfiguration.test.ts
- Distribution.test.ts
- Pool.test.ts
- ScalableMapping.test.ts
- bootstrap.ts
- verifications.ts
- .gitignore
- .solcover.js
- cannonfile.common.toml
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- LICENSE
- package.json
- storage.dump.json
- .solcover.js
- hardhat.config.ts
- LICENSE
- package.json
- AccessError.sol
- AddressError.sol
- ArrayError.sol
- ChangeError.sol
- InitError.sol
- ParameterError.sol
- InitializableMixin.sol
- IConfigurable.sol
- IERC165.sol
- IERC20.sol
- IERC20Permit.sol
- IERC721.sol
- IERC721Enumerable.sol
- IERC721Metadata.sol
- IERC721Receiver.sol
- IOwnable.sol
- IUUPSImplementation.sol
- InitializableMock.sol
- ImplementationDestroyer.sol
- ImplementationMockA.sol
- ImplementationMockB.sol
- SterileImplementation.sol
- UUPSImplementationMock.sol
- ERC20Mock.sol
- ERC20PermitMock.sol
- ERC721EnumerableMock.sol
- ERC721FailedReceiverMock.sol
- ERC721Mock.sol
- ERC721OwnedMock.sol
- ERC721ReceiverMock.sol
- ERC721RevertingReceiverMock.sol
- VaultMock.sol
- AddressUtilMock.sol
- ConfigurableMock.sol
- DecimalMathMock.sol
- ERC165HelperMock.sol
- HeapUtilMock.sol
- MerkleProofMock.sol
- RevertUtilMock.sol
- SafeCastMock.sol
- SetUtilMock.sol
- StringUtilMock.sol
- AuthorizableStorage.sol
- Configurable.sol
- ConfigurableStorage.sol
- Ownable.sol
- OwnableStorage.sol
- AbstractProxy.sol
- ProxyStorage.sol
- UUPSImplementation.sol
- UUPSProxy.sol
- UUPSProxyWithOwner.sol
- ERC20.sol
- ERC20Helper.sol
- ERC20Permit.sol
- ERC20PermitStorage.sol
- ERC20Storage.sol
- ERC721.sol
- ERC721Enumerable.sol
- ERC721EnumerableStorage.sol
- ERC721Owned.sol
- ERC721Storage.sol
- SafeCastAddress.sol
- SafeCastBytes32.sol
- SafeCastI128.sol
- SafeCastI24.sol
- SafeCastI256.sol
- SafeCastI32.sol
- SafeCastI56.sol
- SafeCastI64.sol
- SafeCastU128.sol
- SafeCastU160.sol
- SafeCastU256.sol
- SafeCastU32.sol
- SafeCastU56.sol
- SafeCastU64.sol
- AddressUtil.sol
- DecimalMath.sol
- ERC165Helper.sol
- ERC2771Context.sol
- ForkDetector.sol
- HeapUtil.sol
- MerkleProof.sol
- RevertUtil.sol
- SafeCast.sol
- SetUtil.sol
- StringUtil.sol
- Initializable.test.ts
- Configurable.test.ts
- Ownable.test.ts
- UUPSProxy.test.ts
- ERC20.test.ts
- ERC20Permit.test.ts
- ERC721.test.ts
- ERC721Enumerable.test.ts
- ERC721Owned.test.ts
- AddressUtil.test.ts
- DecimalMath.test.ts
- ERC165Helper.test.ts
- HeapUtil.test.ts
- MerkleProof.test.ts
- RevertUtil.test.ts
- SafeCast.test.ts
- SetUtil.test.ts
- StringUtil.test.ts
- .solcover.js
- hardhat.config.ts
- LICENSE
- package.json
- IAny2EVMMessageReceiver.sol
- ICcipRouterClient.sol
- IAssociatedSystemsModule.sol
- IDecayTokenModule.sol
- IFeatureFlagModule.sol
- INftModule.sol
- IOwnerModule.sol
- ISampleFeatureFlagModule.sol
- ISampleOwnedModule.sol
- ITokenModule.sol
- IWormhole.sol
- IWormholeReceiver.sol
- IWormholeRelayer.sol
- CcipRouterMock.sol
- WormholeMock.sol
- WormholeRelayerMock.sol
- GenericModule.sol
- SampleFeatureFlagModule.sol
- SampleOwnedModule.sol
- AssociatedSystemsModule.sol
- CcipReceiverModule.sol
- CoreModule.sol
- DecayTokenModule.sol
- FeatureFlagModule.sol
- NftModule.sol
- OwnerModule.sol
- TokenModule.sol
- UpgradeModule.sol
- WormholeCrossChainModule.sol
- AssociatedSystem.sol
- CrossChain.sol
- DecayToken.sol
- FeatureFlag.sol
- Initialized.sol
- SampleStorage.sol
- WormholeCrossChain.sol
- CcipClient.sol
- Proxy.sol
- AssociatedSystemsModule.test.ts
- DecayTokenModule.test.ts
- Ether.test.ts
- FeatureFlagModule.test.ts
- NftModule.test.ts
- OwnerModule.test.ts
- RouterCoverage.test.ts
- TokenModule.test.ts
- UpgradeModule.test.ts
- bootstrap.ts
- .gitignore
- .solcover.js
- cannonfile.test.toml
- cannonfile.toml
- hardhat.config.ts
- LICENSE
- package.json
- storage.dump.json
- assert-address.ts
- assert-bignumber.ts
- assert-event.ts
- assert-revert.ts
- comparator.ts
- finders.ts
- storage-struct.ts
- cannon-build.ts
- cannon-node.ts
- cannon-types.ts
- get-hardhat-signers.ts
- tests.ts
- bignumber.ts
- contracts.ts
- events.ts
- provider.ts
- argument-types.ts
- contracts.ts
- rpc.ts
- logger.ts
- prompter.ts
- balance-tree.ts
- merkle-tree.ts
- parse-balance-tree.ts
- array.ts
- clone.ts
- dates.ts
- git.ts
- strings.ts
- mocha-helpers.ts
- snapshot.ts
- compiler.ts
- globals.d.ts
- tsconfig.json
- types.d.ts
- 1-one.ts
- 2-two.json
- 3-three.yml
- AnotherModule.sol
- ElectionStorage.sol
- MultipleInheritance.sol
- SampleModule.sol
- Token.sol
- TokenModule.sol
- hardhat.config.ts
- asts.json
- deployment-tx-receipt.ts
- dummy-abi.json
- event-abi.ts
- initializable-ast.json
- no-contract-ast.json
- parsed-tx-receipt.ts
- unparsed-tx-receipt.ts
- variableDefNodeAst.json
- parse-contracts.ts
- assert-bignumber.test.ts
- assert-revert.test.ts
- comparator.test.ts
- finders.test.ts
- storage-struct.test.ts
- bignumber.test.ts
- contracts.test.ts
- events.test.ts
- argument-types.test.ts
- rpc.test.ts
- logger.test.ts
- prompter.test.ts
- balance-tree.test.ts
- merkle-tree.test.ts
- parse-balance-tree.test.ts
- array.test.ts
- dates.test.ts
- git.test.ts
- strings.test.ts
- mocha-helpers.test.ts
- .gitignore
- .mocharc.json
- .nycrc.json
- LICENSE
- package.json
- colors.js
- exec.js
- workspaces.js
- .eslintrc
- circular.js
- deps.js
- mismatched.js
- package.json
- common.hbs
- contract.hbs
- helpers.ts
- page.hbs
- .gitignore
- docgen-contracts.sh
- index.d.ts
- index.js
- package.json
- index.js
- package.json
- are-deep-equal.ts
- artifacts.ts
- dump.ts
- error.ts
- file-helpers.ts
- finders.ts
- is-present.ts
- iterators.ts
- layout.ts
- log-in-chunks.ts
- path-helpers.ts
- quiet-compile.ts
- read-hardhat-artifact.ts
- render-template.ts
- render-testable-storage.ts
- render.ts
- validate-namespace.ts
- validate-variables.ts
- verify-mutations.ts
- generate-testable-storage.ts
- get-artifacts.ts
- validate-contracts.ts
- verify-contracts.ts
- dump.ts
- generate-testable.ts
- layout.ts
- validate.ts
- verify.ts
- index.ts
- task-names.ts
- tsconfig.json
- type-extensions.ts
- types.ts
- TestableStorage.sol.mustache
- ExampleContract.sol
- dump.test.ts.snap
- dump.test.ts
- layout.test.ts
- verify-mutations.test.ts
- tsconfig.json
- jest.config.ts
- package.json
- README.md
- IAnotherModule.sol
- IInitializableModule.sol
- INewModule.sol
- ISettingsModule.sol
- ISomeModule.sol
- ISomeModuleModified.sol
- ITokenModule.sol
- AnotherModule.sol
- CoreModule.sol
- InitializableModule.sol
- SettingsModule.sol
- SomeModule.sol
- GlobalStorage.sol
- InitializableStorage.sol
- SettingsStorage.sol
- Destroyer.sol
- Proxy.sol
- SettingsModule.test.js
- SomeModule.test.js
- bootstrap.js
- .gitignore
- cannonfile.toml
- hardhat.config.js
- package.json
- storage.dump.json
- .env.sample
- .gitignore
- .npmrc
- .prettierignore
- .prettierrc
- .solhint.json
- .solhintignore
- .yarnrc.yml
- codecov.yml
- eslint.config.js
- funding.json
- lerna.json
- LICENSE
- package.json
- README.md
- SECURITY.md
- tsconfig.eslint.json
- tsconfig.json
- yarn.lock
// repository documentation
Was this content helpful?
(0 ratings)
