├── .editorconfig ├── .env.example ├── .eslintrc.json ├── .github ├── actions │ └── setup │ │ └── action.yml └── workflows │ └── checks.yml ├── .gitignore ├── .husky └── pre-commit ├── .prettierignore ├── .prettierrc.json ├── .solcover.ts ├── .solhint.json ├── LICENSE ├── README.md ├── contracts ├── @layerzerolabs │ ├── lz-evm-messagelib-v2 │ │ └── contracts │ │ │ └── uln │ │ │ └── libs │ │ │ └── DVNOptions.sol │ └── lz-evm-oapp-v2 │ │ └── contracts │ │ ├── oapp │ │ ├── OApp.sol │ │ ├── OAppCore.sol │ │ ├── OAppReceiver.sol │ │ ├── OAppSender.sol │ │ ├── interfaces │ │ │ ├── IOAppComposer.sol │ │ │ ├── IOAppCore.sol │ │ │ ├── IOAppMsgInspector.sol │ │ │ ├── IOAppOptionsType3.sol │ │ │ └── IOAppReceiver.sol │ │ └── libs │ │ │ ├── OAppOptionsType3.sol │ │ │ └── OptionsBuilder.sol │ │ ├── oft │ │ ├── OFT.sol │ │ ├── OFTCore.sol │ │ ├── interfaces │ │ │ └── IOFT.sol │ │ └── libs │ │ │ ├── OFTComposeMsgCodec.sol │ │ │ └── OFTMsgCodec.sol │ │ └── precrime │ │ ├── OAppPreCrimeSimulator.sol │ │ ├── interfaces │ │ ├── IOAppPreCrimeSimulator.sol │ │ └── IPreCrime.sol │ │ └── libs │ │ └── Packet.sol ├── MOROFT.sol ├── builder-protocol │ ├── BuilderSubnets.sol │ ├── BuildersTreasury.sol │ ├── BuildersV2.sol │ ├── BuildersV3.sol │ ├── FeeConfig.sol │ └── old │ │ └── Builders.sol ├── capital-protocol │ ├── ChainLinkDataConsumer.sol │ ├── DepositPool.sol │ ├── DistributionV6.sol │ ├── DistributorV2.sol │ ├── L1SenderV2.sol │ ├── L2TokenReceiverV2.sol │ ├── RewardPool.sol │ └── old │ │ ├── Distribution.sol │ │ ├── DistributionV2.sol │ │ ├── DistributionV3.sol │ │ ├── DistributionV4.sol │ │ ├── DistributionV5.sol │ │ ├── Distributor.sol │ │ ├── L1Sender.sol │ │ ├── L2MessageReceiver.sol │ │ └── L2TokenReceiver.sol ├── extensions │ └── DistributionExt.sol ├── interfaces │ ├── IMOROFT.sol │ ├── aave │ │ └── IRewardsController.sol │ ├── builder-protocol │ │ ├── IBuilderSubnets.sol │ │ ├── IBuildersTreasury.sol │ │ ├── IBuildersV3.sol │ │ ├── IFeeConfig.sol │ │ └── old │ │ │ └── IBuilders.sol │ ├── capital-protocol │ │ ├── IChainLinkDataConsumer.sol │ │ ├── IDepositPool.sol │ │ ├── IDistributionV6.sol │ │ ├── IDistributor.sol │ │ ├── IL1SenderV2.sol │ │ ├── IL2TokenReceiverV2.sol │ │ ├── IReferrer.sol │ │ ├── IRewardPool.sol │ │ └── old │ │ │ ├── IDistribution.sol │ │ │ ├── IDistributionV2.sol │ │ │ ├── IDistributionV3.sol │ │ │ ├── IDistributionV4.sol │ │ │ ├── IDistributionV5.sol │ │ │ ├── IL1Sender.sol │ │ │ ├── IL2MessageReceiver.sol │ │ │ └── IL2TokenReceiver.sol │ ├── extensions │ │ └── IDistributionExt.sol │ ├── old │ │ └── IMOR.sol │ ├── tokens │ │ ├── IStETH.sol │ │ └── IWStETH.sol │ └── uniswap-v3 │ │ └── INonfungiblePositionManager.sol ├── libs │ ├── LinearDistributionIntervalDecrease.sol │ ├── LockMultiplierMath.sol │ ├── LogExpMath.sol │ └── ReferrerLib.sol ├── mock │ ├── BuildersV2Mock.sol │ ├── DistributionV2Mock.sol │ ├── FeeConfigV2.sol │ ├── InterfaceMock.sol │ ├── L2MessageReceiverV2.sol │ ├── LayerZeroEndpointV2Mock.sol │ ├── LogExpMathMock.sol │ ├── NonfungiblePositionManagerMock.sol │ ├── OptionsGenerator.sol │ ├── capital-protocol │ │ ├── DepositPoolMock.sol │ │ ├── DistributorMock.sol │ │ ├── L1SenderMock.sol │ │ ├── RewardPoolMock.sol │ │ ├── aave │ │ │ ├── AavePoolAddressesProviderMock.sol │ │ │ ├── AavePoolDataProviderMock.sol │ │ │ └── AavePoolMock.sol │ │ ├── arbitrum-bridge │ │ │ └── ArbitrumBridgeGatewayRouterMock.sol │ │ ├── chainlink │ │ │ ├── ChainLinkAggregatorV3Mock.sol │ │ │ └── ChainLinkDataConsumerMock.sol │ │ └── uniswap │ │ │ └── UniswapSwapRouterMock.sol │ └── tokens │ │ ├── ERC20Mock.sol │ │ ├── ERC20Token.sol │ │ ├── StETHMock.sol │ │ └── WStETHMock.sol └── old │ └── MOR.sol ├── deploy ├── 11_tokensMock_migration.ts ├── 1_bridge.migration.ts ├── 2_token.migration.ts ├── 3_init_bridge.migration.ts ├── 4_moroft_testnet.migration.ts ├── 5_extensions.migration.ts ├── 5_l2TRV2_upgrade_minration.ts ├── 6_DSV2_upgrade.migration.ts ├── 7_DSV3_upgrade.migration.ts ├── 8_builders.migration.ts ├── 9_DSV5_upgrade.migration.ts ├── builders-protocol │ ├── 1_calculate_stakes.ts │ ├── 2_v1_add_new_subnets.ts │ ├── 3_v1_to_v4_migration.ts │ ├── 4_v4_testnet_deploymnet.ts │ ├── 5_test.ts │ └── data │ │ └── subnets.json ├── capital-protocol │ ├── 1_testnet_deploy.ts │ ├── 2_testnet_setup.ts │ └── v7 │ │ ├── 1_mainnet_deploy.ts │ │ ├── 2_check_storage.ts │ │ ├── 3_contracts_debug.ts │ │ └── 4_distributor_v2_upgrade.ts ├── data │ ├── config.json │ └── config_sepolia.json ├── deploy-all.sh ├── fee-config │ └── 1_deployment.ts ├── helpers │ └── config-parser.ts ├── mock │ └── 1_erc20_mock.ts └── mor │ └── 1_testnet_deployment.ts ├── docs ├── MOROFT.md ├── builder-protocol │ ├── BuilderSubnets.md │ ├── BuildersTreasury.md │ ├── BuildersV2.md │ ├── BuildersV3.md │ └── FeeConfig.md └── capital-protocol │ ├── ChainLinkDataConsumer.md │ ├── DepositPool.md │ ├── DistributionV6.md │ ├── Distributor.md │ ├── L1SenderV2.md │ ├── L2TokenReceiverV2.md │ └── RewardPool.md ├── hardhat.config.ts ├── package.json ├── scripts ├── .gitkeep └── utils │ ├── constants.ts │ ├── log-exp-math.ts │ └── utils.ts ├── test ├── MOROFT.test.ts ├── builder-protocol │ ├── BuilderSubnets.test.ts │ ├── BuildersTreasury.test.ts │ ├── BuildersV2.test.ts │ ├── BuildersV3.test.ts │ ├── FeeConfig.test.ts │ └── old │ │ └── Builders.test.ts ├── capital-protocol │ ├── ChainLinkDataConsumer.test.ts │ ├── DepositPool.test.ts │ ├── DistributionV6.test.ts │ ├── DistributorV2.test.ts │ ├── L1SenderV2.test.ts │ ├── L2MessageReceiver.test.ts │ ├── L2TokenReceiverV2.test.ts │ ├── RewardPool.test.ts │ └── old │ │ ├── Distribution.test.ts │ │ ├── DistributionV2.test.ts │ │ ├── DistributionV3.test.ts │ │ ├── DistributionV4.test.ts │ │ ├── DistributionV5.test.ts │ │ ├── Distributor.test.ts │ │ ├── L1Sender.test.ts │ │ └── L2TokenReceiver.test.ts ├── extensions │ └── DistributionExt.test.ts ├── fork │ ├── DistributionV2.fork.test.ts │ ├── DistributionV3.fork.test.ts │ ├── DistributionV4.fork.test.ts │ ├── DistributionV5.fork.test.ts │ ├── L1Sender.fork.test.ts │ ├── L2TokenReceiver.fork.test.ts │ ├── L2TokenReceiverV2.fork.test.ts │ ├── MOROFT.fork.test.ts │ └── capital-protocol │ │ ├── CapitalProtocolV6.fork.test.ts │ │ ├── ChainLinkDataConsumer.fork.test.ts │ │ ├── DistributorV2.fork.test.ts │ │ └── L1SenderV2.fork.test.ts ├── helpers │ ├── block-helper.ts │ ├── builders-helper.ts │ ├── deployers │ │ ├── builder-subnets │ │ │ ├── builder-subnets.ts │ │ │ └── index.ts │ │ ├── builders │ │ │ ├── builders.ts │ │ │ └── index.ts │ │ ├── capital-protocol │ │ │ ├── chain-link-data-consumer.ts │ │ │ ├── deposit-pool.ts │ │ │ ├── distributor-v2.ts │ │ │ ├── distributor.ts │ │ │ ├── index.ts │ │ │ ├── l1-sender-v2.ts │ │ │ ├── l2-message-receiver.ts │ │ │ └── reward-pool.ts │ │ ├── distribution-v5.ts │ │ ├── fee-config.ts │ │ ├── index.ts │ │ ├── mock │ │ │ ├── capital-protocol │ │ │ │ ├── aave-pool-addresses-provider-mock.ts │ │ │ │ ├── aave-pool-data-provider-mock.ts │ │ │ │ ├── aave-pool-mock.ts │ │ │ │ ├── arbitrum-bridge-gateway-router-mock.ts │ │ │ │ ├── chain-link-aggregator-v3-mock.ts │ │ │ │ ├── chain-link-data-consumer-mock.ts │ │ │ │ ├── deposit-pool-mock.ts │ │ │ │ ├── distributor-mock.ts │ │ │ │ ├── index.ts │ │ │ │ ├── l1-sender-mock.ts │ │ │ │ ├── lz-endpoint-mock.ts │ │ │ │ ├── reward-pool-mock.ts │ │ │ │ └── uniswap-swap-router-mock.ts │ │ │ ├── index.ts │ │ │ ├── interface-mock.ts │ │ │ └── tokens │ │ │ │ ├── erc20-token.ts │ │ │ │ ├── index.ts │ │ │ │ ├── steth-mock.ts │ │ │ │ └── wsteth-mock.ts │ │ └── moroft.ts │ ├── distribution-helper.ts │ └── reverter.ts ├── libs │ ├── LinearDistributionIntervalDecrease.test.ts │ ├── LockMultiplierMath.test.ts │ └── LogExpMath.test.ts └── old │ └── MOR.test.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/actions/setup/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.github/actions/setup/action.yml -------------------------------------------------------------------------------- /.github/workflows/checks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.github/workflows/checks.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run lint-fix && git add -u 5 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.solcover.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.solcover.ts -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/.solhint.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/README.md -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-messagelib-v2/contracts/uln/libs/DVNOptions.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-messagelib-v2/contracts/uln/libs/DVNOptions.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OApp.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OApp.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OAppCore.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OAppCore.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OAppReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OAppReceiver.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OAppSender.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/OAppSender.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppComposer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppComposer.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppCore.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppCore.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppMsgInspector.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppMsgInspector.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppOptionsType3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppOptionsType3.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppReceiver.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/libs/OAppOptionsType3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/libs/OAppOptionsType3.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/libs/OptionsBuilder.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/libs/OptionsBuilder.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/OFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/OFT.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/OFTCore.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/OFTCore.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/interfaces/IOFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/interfaces/IOFT.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/libs/OFTComposeMsgCodec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/libs/OFTComposeMsgCodec.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/libs/OFTMsgCodec.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/oft/libs/OFTMsgCodec.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/precrime/OAppPreCrimeSimulator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/precrime/OAppPreCrimeSimulator.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/precrime/interfaces/IOAppPreCrimeSimulator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/precrime/interfaces/IOAppPreCrimeSimulator.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/precrime/interfaces/IPreCrime.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/precrime/interfaces/IPreCrime.sol -------------------------------------------------------------------------------- /contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/precrime/libs/Packet.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/@layerzerolabs/lz-evm-oapp-v2/contracts/precrime/libs/Packet.sol -------------------------------------------------------------------------------- /contracts/MOROFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/MOROFT.sol -------------------------------------------------------------------------------- /contracts/builder-protocol/BuilderSubnets.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/builder-protocol/BuilderSubnets.sol -------------------------------------------------------------------------------- /contracts/builder-protocol/BuildersTreasury.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/builder-protocol/BuildersTreasury.sol -------------------------------------------------------------------------------- /contracts/builder-protocol/BuildersV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/builder-protocol/BuildersV2.sol -------------------------------------------------------------------------------- /contracts/builder-protocol/BuildersV3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/builder-protocol/BuildersV3.sol -------------------------------------------------------------------------------- /contracts/builder-protocol/FeeConfig.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/builder-protocol/FeeConfig.sol -------------------------------------------------------------------------------- /contracts/builder-protocol/old/Builders.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/builder-protocol/old/Builders.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/ChainLinkDataConsumer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/ChainLinkDataConsumer.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/DepositPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/DepositPool.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/DistributionV6.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/DistributionV6.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/DistributorV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/DistributorV2.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/L1SenderV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/L1SenderV2.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/L2TokenReceiverV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/L2TokenReceiverV2.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/RewardPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/RewardPool.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/old/Distribution.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/old/Distribution.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/old/DistributionV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/old/DistributionV2.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/old/DistributionV3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/old/DistributionV3.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/old/DistributionV4.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/old/DistributionV4.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/old/DistributionV5.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/old/DistributionV5.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/old/Distributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/old/Distributor.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/old/L1Sender.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/old/L1Sender.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/old/L2MessageReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/old/L2MessageReceiver.sol -------------------------------------------------------------------------------- /contracts/capital-protocol/old/L2TokenReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/capital-protocol/old/L2TokenReceiver.sol -------------------------------------------------------------------------------- /contracts/extensions/DistributionExt.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/extensions/DistributionExt.sol -------------------------------------------------------------------------------- /contracts/interfaces/IMOROFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/IMOROFT.sol -------------------------------------------------------------------------------- /contracts/interfaces/aave/IRewardsController.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/aave/IRewardsController.sol -------------------------------------------------------------------------------- /contracts/interfaces/builder-protocol/IBuilderSubnets.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/builder-protocol/IBuilderSubnets.sol -------------------------------------------------------------------------------- /contracts/interfaces/builder-protocol/IBuildersTreasury.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/builder-protocol/IBuildersTreasury.sol -------------------------------------------------------------------------------- /contracts/interfaces/builder-protocol/IBuildersV3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/builder-protocol/IBuildersV3.sol -------------------------------------------------------------------------------- /contracts/interfaces/builder-protocol/IFeeConfig.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/builder-protocol/IFeeConfig.sol -------------------------------------------------------------------------------- /contracts/interfaces/builder-protocol/old/IBuilders.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/builder-protocol/old/IBuilders.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/IChainLinkDataConsumer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/IChainLinkDataConsumer.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/IDepositPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/IDepositPool.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/IDistributionV6.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/IDistributionV6.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/IDistributor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/IDistributor.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/IL1SenderV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/IL1SenderV2.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/IL2TokenReceiverV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/IL2TokenReceiverV2.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/IReferrer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/IReferrer.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/IRewardPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/IRewardPool.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/old/IDistribution.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/old/IDistribution.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/old/IDistributionV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/old/IDistributionV2.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/old/IDistributionV3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/old/IDistributionV3.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/old/IDistributionV4.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/old/IDistributionV4.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/old/IDistributionV5.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/old/IDistributionV5.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/old/IL1Sender.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/old/IL1Sender.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/old/IL2MessageReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/old/IL2MessageReceiver.sol -------------------------------------------------------------------------------- /contracts/interfaces/capital-protocol/old/IL2TokenReceiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/capital-protocol/old/IL2TokenReceiver.sol -------------------------------------------------------------------------------- /contracts/interfaces/extensions/IDistributionExt.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/extensions/IDistributionExt.sol -------------------------------------------------------------------------------- /contracts/interfaces/old/IMOR.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/old/IMOR.sol -------------------------------------------------------------------------------- /contracts/interfaces/tokens/IStETH.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/tokens/IStETH.sol -------------------------------------------------------------------------------- /contracts/interfaces/tokens/IWStETH.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/tokens/IWStETH.sol -------------------------------------------------------------------------------- /contracts/interfaces/uniswap-v3/INonfungiblePositionManager.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/interfaces/uniswap-v3/INonfungiblePositionManager.sol -------------------------------------------------------------------------------- /contracts/libs/LinearDistributionIntervalDecrease.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/libs/LinearDistributionIntervalDecrease.sol -------------------------------------------------------------------------------- /contracts/libs/LockMultiplierMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/libs/LockMultiplierMath.sol -------------------------------------------------------------------------------- /contracts/libs/LogExpMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/libs/LogExpMath.sol -------------------------------------------------------------------------------- /contracts/libs/ReferrerLib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/libs/ReferrerLib.sol -------------------------------------------------------------------------------- /contracts/mock/BuildersV2Mock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/BuildersV2Mock.sol -------------------------------------------------------------------------------- /contracts/mock/DistributionV2Mock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/DistributionV2Mock.sol -------------------------------------------------------------------------------- /contracts/mock/FeeConfigV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/FeeConfigV2.sol -------------------------------------------------------------------------------- /contracts/mock/InterfaceMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/InterfaceMock.sol -------------------------------------------------------------------------------- /contracts/mock/L2MessageReceiverV2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/L2MessageReceiverV2.sol -------------------------------------------------------------------------------- /contracts/mock/LayerZeroEndpointV2Mock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/LayerZeroEndpointV2Mock.sol -------------------------------------------------------------------------------- /contracts/mock/LogExpMathMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/LogExpMathMock.sol -------------------------------------------------------------------------------- /contracts/mock/NonfungiblePositionManagerMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/NonfungiblePositionManagerMock.sol -------------------------------------------------------------------------------- /contracts/mock/OptionsGenerator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/OptionsGenerator.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/DepositPoolMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/DepositPoolMock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/DistributorMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/DistributorMock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/L1SenderMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/L1SenderMock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/RewardPoolMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/RewardPoolMock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/aave/AavePoolAddressesProviderMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/aave/AavePoolAddressesProviderMock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/aave/AavePoolDataProviderMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/aave/AavePoolDataProviderMock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/aave/AavePoolMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/aave/AavePoolMock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/arbitrum-bridge/ArbitrumBridgeGatewayRouterMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/arbitrum-bridge/ArbitrumBridgeGatewayRouterMock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/chainlink/ChainLinkAggregatorV3Mock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/chainlink/ChainLinkAggregatorV3Mock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/chainlink/ChainLinkDataConsumerMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/chainlink/ChainLinkDataConsumerMock.sol -------------------------------------------------------------------------------- /contracts/mock/capital-protocol/uniswap/UniswapSwapRouterMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/capital-protocol/uniswap/UniswapSwapRouterMock.sol -------------------------------------------------------------------------------- /contracts/mock/tokens/ERC20Mock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/tokens/ERC20Mock.sol -------------------------------------------------------------------------------- /contracts/mock/tokens/ERC20Token.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/tokens/ERC20Token.sol -------------------------------------------------------------------------------- /contracts/mock/tokens/StETHMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/tokens/StETHMock.sol -------------------------------------------------------------------------------- /contracts/mock/tokens/WStETHMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/mock/tokens/WStETHMock.sol -------------------------------------------------------------------------------- /contracts/old/MOR.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/contracts/old/MOR.sol -------------------------------------------------------------------------------- /deploy/11_tokensMock_migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/11_tokensMock_migration.ts -------------------------------------------------------------------------------- /deploy/1_bridge.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/1_bridge.migration.ts -------------------------------------------------------------------------------- /deploy/2_token.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/2_token.migration.ts -------------------------------------------------------------------------------- /deploy/3_init_bridge.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/3_init_bridge.migration.ts -------------------------------------------------------------------------------- /deploy/4_moroft_testnet.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/4_moroft_testnet.migration.ts -------------------------------------------------------------------------------- /deploy/5_extensions.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/5_extensions.migration.ts -------------------------------------------------------------------------------- /deploy/5_l2TRV2_upgrade_minration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/5_l2TRV2_upgrade_minration.ts -------------------------------------------------------------------------------- /deploy/6_DSV2_upgrade.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/6_DSV2_upgrade.migration.ts -------------------------------------------------------------------------------- /deploy/7_DSV3_upgrade.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/7_DSV3_upgrade.migration.ts -------------------------------------------------------------------------------- /deploy/8_builders.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/8_builders.migration.ts -------------------------------------------------------------------------------- /deploy/9_DSV5_upgrade.migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/9_DSV5_upgrade.migration.ts -------------------------------------------------------------------------------- /deploy/builders-protocol/1_calculate_stakes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/builders-protocol/1_calculate_stakes.ts -------------------------------------------------------------------------------- /deploy/builders-protocol/2_v1_add_new_subnets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/builders-protocol/2_v1_add_new_subnets.ts -------------------------------------------------------------------------------- /deploy/builders-protocol/3_v1_to_v4_migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/builders-protocol/3_v1_to_v4_migration.ts -------------------------------------------------------------------------------- /deploy/builders-protocol/4_v4_testnet_deploymnet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/builders-protocol/4_v4_testnet_deploymnet.ts -------------------------------------------------------------------------------- /deploy/builders-protocol/5_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/builders-protocol/5_test.ts -------------------------------------------------------------------------------- /deploy/builders-protocol/data/subnets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/builders-protocol/data/subnets.json -------------------------------------------------------------------------------- /deploy/capital-protocol/1_testnet_deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/capital-protocol/1_testnet_deploy.ts -------------------------------------------------------------------------------- /deploy/capital-protocol/2_testnet_setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/capital-protocol/2_testnet_setup.ts -------------------------------------------------------------------------------- /deploy/capital-protocol/v7/1_mainnet_deploy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/capital-protocol/v7/1_mainnet_deploy.ts -------------------------------------------------------------------------------- /deploy/capital-protocol/v7/2_check_storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/capital-protocol/v7/2_check_storage.ts -------------------------------------------------------------------------------- /deploy/capital-protocol/v7/3_contracts_debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/capital-protocol/v7/3_contracts_debug.ts -------------------------------------------------------------------------------- /deploy/capital-protocol/v7/4_distributor_v2_upgrade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/capital-protocol/v7/4_distributor_v2_upgrade.ts -------------------------------------------------------------------------------- /deploy/data/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/data/config.json -------------------------------------------------------------------------------- /deploy/data/config_sepolia.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/data/config_sepolia.json -------------------------------------------------------------------------------- /deploy/deploy-all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/deploy-all.sh -------------------------------------------------------------------------------- /deploy/fee-config/1_deployment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/fee-config/1_deployment.ts -------------------------------------------------------------------------------- /deploy/helpers/config-parser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/helpers/config-parser.ts -------------------------------------------------------------------------------- /deploy/mock/1_erc20_mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/mock/1_erc20_mock.ts -------------------------------------------------------------------------------- /deploy/mor/1_testnet_deployment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/deploy/mor/1_testnet_deployment.ts -------------------------------------------------------------------------------- /docs/MOROFT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/MOROFT.md -------------------------------------------------------------------------------- /docs/builder-protocol/BuilderSubnets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/builder-protocol/BuilderSubnets.md -------------------------------------------------------------------------------- /docs/builder-protocol/BuildersTreasury.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/builder-protocol/BuildersTreasury.md -------------------------------------------------------------------------------- /docs/builder-protocol/BuildersV2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/builder-protocol/BuildersV2.md -------------------------------------------------------------------------------- /docs/builder-protocol/BuildersV3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/builder-protocol/BuildersV3.md -------------------------------------------------------------------------------- /docs/builder-protocol/FeeConfig.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/builder-protocol/FeeConfig.md -------------------------------------------------------------------------------- /docs/capital-protocol/ChainLinkDataConsumer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/capital-protocol/ChainLinkDataConsumer.md -------------------------------------------------------------------------------- /docs/capital-protocol/DepositPool.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/capital-protocol/DepositPool.md -------------------------------------------------------------------------------- /docs/capital-protocol/DistributionV6.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/capital-protocol/DistributionV6.md -------------------------------------------------------------------------------- /docs/capital-protocol/Distributor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/capital-protocol/Distributor.md -------------------------------------------------------------------------------- /docs/capital-protocol/L1SenderV2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/capital-protocol/L1SenderV2.md -------------------------------------------------------------------------------- /docs/capital-protocol/L2TokenReceiverV2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/capital-protocol/L2TokenReceiverV2.md -------------------------------------------------------------------------------- /docs/capital-protocol/RewardPool.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/docs/capital-protocol/RewardPool.md -------------------------------------------------------------------------------- /hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/hardhat.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/package.json -------------------------------------------------------------------------------- /scripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/scripts/utils/constants.ts -------------------------------------------------------------------------------- /scripts/utils/log-exp-math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/scripts/utils/log-exp-math.ts -------------------------------------------------------------------------------- /scripts/utils/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/scripts/utils/utils.ts -------------------------------------------------------------------------------- /test/MOROFT.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/MOROFT.test.ts -------------------------------------------------------------------------------- /test/builder-protocol/BuilderSubnets.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/builder-protocol/BuilderSubnets.test.ts -------------------------------------------------------------------------------- /test/builder-protocol/BuildersTreasury.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/builder-protocol/BuildersTreasury.test.ts -------------------------------------------------------------------------------- /test/builder-protocol/BuildersV2.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/builder-protocol/BuildersV2.test.ts -------------------------------------------------------------------------------- /test/builder-protocol/BuildersV3.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/builder-protocol/BuildersV3.test.ts -------------------------------------------------------------------------------- /test/builder-protocol/FeeConfig.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/builder-protocol/FeeConfig.test.ts -------------------------------------------------------------------------------- /test/builder-protocol/old/Builders.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/builder-protocol/old/Builders.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/ChainLinkDataConsumer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/ChainLinkDataConsumer.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/DepositPool.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/DepositPool.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/DistributionV6.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/DistributionV6.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/DistributorV2.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/DistributorV2.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/L1SenderV2.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/L1SenderV2.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/L2MessageReceiver.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/L2MessageReceiver.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/L2TokenReceiverV2.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/L2TokenReceiverV2.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/RewardPool.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/RewardPool.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/old/Distribution.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/old/Distribution.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/old/DistributionV2.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/old/DistributionV2.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/old/DistributionV3.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/old/DistributionV3.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/old/DistributionV4.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/old/DistributionV4.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/old/DistributionV5.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/old/DistributionV5.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/old/Distributor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/old/Distributor.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/old/L1Sender.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/old/L1Sender.test.ts -------------------------------------------------------------------------------- /test/capital-protocol/old/L2TokenReceiver.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/capital-protocol/old/L2TokenReceiver.test.ts -------------------------------------------------------------------------------- /test/extensions/DistributionExt.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/extensions/DistributionExt.test.ts -------------------------------------------------------------------------------- /test/fork/DistributionV2.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/DistributionV2.fork.test.ts -------------------------------------------------------------------------------- /test/fork/DistributionV3.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/DistributionV3.fork.test.ts -------------------------------------------------------------------------------- /test/fork/DistributionV4.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/DistributionV4.fork.test.ts -------------------------------------------------------------------------------- /test/fork/DistributionV5.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/DistributionV5.fork.test.ts -------------------------------------------------------------------------------- /test/fork/L1Sender.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/L1Sender.fork.test.ts -------------------------------------------------------------------------------- /test/fork/L2TokenReceiver.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/L2TokenReceiver.fork.test.ts -------------------------------------------------------------------------------- /test/fork/L2TokenReceiverV2.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/L2TokenReceiverV2.fork.test.ts -------------------------------------------------------------------------------- /test/fork/MOROFT.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/MOROFT.fork.test.ts -------------------------------------------------------------------------------- /test/fork/capital-protocol/CapitalProtocolV6.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/capital-protocol/CapitalProtocolV6.fork.test.ts -------------------------------------------------------------------------------- /test/fork/capital-protocol/ChainLinkDataConsumer.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/capital-protocol/ChainLinkDataConsumer.fork.test.ts -------------------------------------------------------------------------------- /test/fork/capital-protocol/DistributorV2.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/capital-protocol/DistributorV2.fork.test.ts -------------------------------------------------------------------------------- /test/fork/capital-protocol/L1SenderV2.fork.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/fork/capital-protocol/L1SenderV2.fork.test.ts -------------------------------------------------------------------------------- /test/helpers/block-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/block-helper.ts -------------------------------------------------------------------------------- /test/helpers/builders-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/builders-helper.ts -------------------------------------------------------------------------------- /test/helpers/deployers/builder-subnets/builder-subnets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/builder-subnets/builder-subnets.ts -------------------------------------------------------------------------------- /test/helpers/deployers/builder-subnets/index.ts: -------------------------------------------------------------------------------- 1 | export * from './builder-subnets'; 2 | -------------------------------------------------------------------------------- /test/helpers/deployers/builders/builders.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/builders/builders.ts -------------------------------------------------------------------------------- /test/helpers/deployers/builders/index.ts: -------------------------------------------------------------------------------- 1 | export * from './builders'; 2 | -------------------------------------------------------------------------------- /test/helpers/deployers/capital-protocol/chain-link-data-consumer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/capital-protocol/chain-link-data-consumer.ts -------------------------------------------------------------------------------- /test/helpers/deployers/capital-protocol/deposit-pool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/capital-protocol/deposit-pool.ts -------------------------------------------------------------------------------- /test/helpers/deployers/capital-protocol/distributor-v2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/capital-protocol/distributor-v2.ts -------------------------------------------------------------------------------- /test/helpers/deployers/capital-protocol/distributor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/capital-protocol/distributor.ts -------------------------------------------------------------------------------- /test/helpers/deployers/capital-protocol/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/capital-protocol/index.ts -------------------------------------------------------------------------------- /test/helpers/deployers/capital-protocol/l1-sender-v2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/capital-protocol/l1-sender-v2.ts -------------------------------------------------------------------------------- /test/helpers/deployers/capital-protocol/l2-message-receiver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/capital-protocol/l2-message-receiver.ts -------------------------------------------------------------------------------- /test/helpers/deployers/capital-protocol/reward-pool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/capital-protocol/reward-pool.ts -------------------------------------------------------------------------------- /test/helpers/deployers/distribution-v5.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/distribution-v5.ts -------------------------------------------------------------------------------- /test/helpers/deployers/fee-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/fee-config.ts -------------------------------------------------------------------------------- /test/helpers/deployers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/index.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/aave-pool-addresses-provider-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/aave-pool-addresses-provider-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/aave-pool-data-provider-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/aave-pool-data-provider-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/aave-pool-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/aave-pool-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/arbitrum-bridge-gateway-router-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/arbitrum-bridge-gateway-router-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/chain-link-aggregator-v3-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/chain-link-aggregator-v3-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/chain-link-data-consumer-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/chain-link-data-consumer-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/deposit-pool-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/deposit-pool-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/distributor-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/distributor-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/index.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/l1-sender-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/l1-sender-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/lz-endpoint-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/lz-endpoint-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/reward-pool-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/reward-pool-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/capital-protocol/uniswap-swap-router-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/capital-protocol/uniswap-swap-router-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/index.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/interface-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/interface-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/tokens/erc20-token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/tokens/erc20-token.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/tokens/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/tokens/index.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/tokens/steth-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/tokens/steth-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/mock/tokens/wsteth-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/mock/tokens/wsteth-mock.ts -------------------------------------------------------------------------------- /test/helpers/deployers/moroft.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/deployers/moroft.ts -------------------------------------------------------------------------------- /test/helpers/distribution-helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/distribution-helper.ts -------------------------------------------------------------------------------- /test/helpers/reverter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/helpers/reverter.ts -------------------------------------------------------------------------------- /test/libs/LinearDistributionIntervalDecrease.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/libs/LinearDistributionIntervalDecrease.test.ts -------------------------------------------------------------------------------- /test/libs/LockMultiplierMath.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/libs/LockMultiplierMath.test.ts -------------------------------------------------------------------------------- /test/libs/LogExpMath.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/libs/LogExpMath.test.ts -------------------------------------------------------------------------------- /test/old/MOR.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/test/old/MOR.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MorpheusAIs/SmartContracts/HEAD/tsconfig.json --------------------------------------------------------------------------------