Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ docs/
# Dotenv file
.env

deployment.json
node_modules/
.specstory/
.gitpod.yml
pnpm-lock.yaml
count_lines.py
lib
lib/
25 changes: 15 additions & 10 deletions configs/deploy-config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[deploy_config]
chains = ["eth_mainnet","op_mainnet","sepolia-eth"]
[owner]
address = "0x34b13101802b97cbfbC33a4eb597017dd20dd31C"
address = "0xcbc771976e3623ad236A4D8556897C47925B2Aaa"

[underlying]
# riftlendUnderlying
Expand Down Expand Up @@ -49,7 +49,7 @@ lpType="OpSuperchain_LENDING_POOL"
salt = "riftlendProxyAdmin"

[pool_admin]
address="0x34b13101802b97cbfbC33a4eb597017dd20dd31C"
address="0xcbc771976e3623ad236A4D8556897C47925B2Aaa"


[lending_pool]
Expand All @@ -58,15 +58,15 @@ salt = "riftlendLendingPool"

[lending_pool_configurator]
# riftlendLpConfigurator
salt = "riftlendLpConfigurator"
salt = "riftlendLpConfigurator11"

[lending_pool_collateral_manager]
# riftlendLpCollateralManager
salt = "riftlendLpCollateralManager"
salt = "riftlendLpCollateralManager11"

[default_reserve_interest_rate_strategy]
# riftlendDefaultStrategy
salt = "riftlendDefaultStrategy"
salt = "riftlendDefaultStrategy1"
# These are random values. TODO these should be in ray terms
optimalUtilizationRate = 1
baseVariableBorrowRate = 2
Expand All @@ -78,7 +78,7 @@ stableRateSlope2 = 5
[price_oracle]
# riftlendPriceOracle
salt = "riftlendPriceOracle"
owner_address = "0x34b13101802b97cbfbC33a4eb597017dd20dd31C"
owner_address = "0xcbc771976e3623ad236A4D8556897C47925B2Aaa"

[event_validator]
# riftlendEventValidator
Expand All @@ -94,7 +94,7 @@ address6="0x2EEB89646C0fC522980f08a6DF6f9843fefFBA77"
total=6

[treasury]
address = "0x34b13101802b97cbfbC33a4eb597017dd20dd31C"
address = "0xcbc771976e3623ad236A4D8556897C47925B2Aaa"

[incentives_controller]
address = "0x0000000000000000000000000000000000000000"
Expand All @@ -111,21 +111,21 @@ lz_compose_gas_limit=500000
[forks]
chain_a_rpc_url = "https://eth-mainnet.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3"
chain_a_chain_id = 1
chain_a_cross_l2_prover_address="0x1CCb363c18484A568DCB0Ec37fE5ad716C1D6e77"
chain_a_cross_l2_prover_address="0x441f16587d8a8cACE647352B24E1Aefa55ACEA76"
chain_a_weth="0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
chain_a_lz_endpoint_v2="0x1a44076050125825900e736c501f859c50fE728c"
chain_a_lz_delegate="0xf9E5bFE615853BC0ce310Dd3187277B0bbAC112c"

chain_b_rpc_url = "https://opt-mainnet.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3"
chain_b_chain_id = 10
chain_b_cross_l2_prover_address="0x1CCb363c18484A568DCB0Ec37fE5ad716C1D6e77"
chain_b_cross_l2_prover_address="0x441f16587d8a8cACE647352B24E1Aefa55ACEA76"
chain_b_weth="0x4200000000000000000000000000000000000006"
chain_b_lz_endpoint_v2="0x1a44076050125825900e736c501f859c50fE728c"
chain_b_lz_delegate="0xf9E5bFE615853BC0ce310Dd3187277B0bbAC112c"

chain_test_a_rpc_url = "https://opt-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3"
chain_test_a_chain_id = 11155420
chain_test_a_cross_l2_prover_address="0xb8AcB3FE3117A67b665Bc787c977623612f8a461"
chain_test_a_cross_l2_prover_address="0xcDa03d74DEc5B24071D1799899B2e0653C24e5Fa"
chain_test_a_weth="0xC355F97a3Aa2808Acb536E555764b8FB26fB4b37"
chain_test_a_lz_endpoint_v2="0x6EDCE65403992e310A62460808c4b910D972f10f"
chain_test_a_lz_delegate="0xf9E5bFE615853BC0ce310Dd3187277B0bbAC112c"
Expand Down Expand Up @@ -159,3 +159,8 @@ chain_test_e_cross_l2_prover_address = "0xcDa03d74DEc5B24071D1799899B2e0653C24e5
chain_test_e_weth = "0xb16f35c0ae2912430dac15764477e179d9b9ebea"
chain_test_e_lz_endpoint_v2 = "0x6EDCE65403992e310A62460808c4b910D972f10f"
chain_test_e_lz_delegate="0xf9E5bFE615853BC0ce310Dd3187277B0bbAC112c"

[lz_eids_config]

chains=[11155420,84532,1301,421614,11155111]
eids=[40232,40245,40333,40231,40161]
17 changes: 17 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

echo "Starting deployments across multiple chains..."

echo "Deploying to Optimism Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://opt-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --broadcast --sender 0x5377679614bc0BB997d82D11D79A87e3c5695848

echo "Deploying to Arbitrum Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://arb-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --broadcast --sender 0x5377679614bc0BB997d82D11D79A87e3c5695848

echo "Deploying to Base Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://base-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --broadcast --sender 0x5377679614bc0BB997d82D11D79A87e3c5695848

echo "Deploying to Unichain Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://unichain-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --broadcast --sender 0x5377679614bc0BB997d82D11D79A87e3c5695848

echo "All deployments completed!"
14 changes: 14 additions & 0 deletions deployment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"LendingPool": "0x268e0e09A14Ca083a4b06B6823D8385D442d1540",
"LendingPoolAddressesProvider": "0x5eF6b4D77899533eBB6ED81a05834f43E1e847eD",
"LendingPoolCollateralManager": "0x73d4c6d46AE8ea3748A12f09aCCc091DF72AeAf0",
"LendingPoolConfigurator": "0xb6d729c8b6E77a27080438Dc5ed4449Da9625C50",
"Owner": "0xcbc771976e3623ad236A4D8556897C47925B2Aaa",
"ProxyAdmin": "0xa326e831b46305A71e5d60d9b7Beba966D750adc",
"RToken": "0xc96227c987c4bfb65C0059e7d229aB068B17B270",
"RVaultAsset": "0x9A425CF7DaB7D53c142a623BeDc166F11bfe1322",
"Router": "0x98C1172Ad479d2860b884d2a8250CaE19B29b8AA",
"SuperAsset": "0x85946bD52Eaa185Fe52e0700b4Aad140aE7B1F23",
"Underlying": "0x586ee4C29f75a83c8f4BE910B073b246369A231C",
"VariableDebtToken": "0x56E13C273f0E926183b4BcE9d669bB585e8645f1"
}
17 changes: 17 additions & 0 deletions deployment_links.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
| Contract Name | Address | opSepolia | arbSepolia | baseSepolia | uniSepolia |
| --- | --- | --- | --- | --- | --- |
| DefaultReserveInterestRateStrategy | 0x19Aa597CC1DfAF301aD87278edC82E7533A33997 | [Link](https://optimism-sepolia.blockscout.com/address/0x19Aa597CC1DfAF301aD87278edC82E7533A33997) | [Link](https://sepolia.arbiscan.io/address/0x19Aa597CC1DfAF301aD87278edC82E7533A33997) | [Link](https://sepolia.basescan.org/address/0x19Aa597CC1DfAF301aD87278edC82E7533A33997) | [Link](https://unichain-sepolia.blockscout.com/address/0x19Aa597CC1DfAF301aD87278edC82E7533A33997) |
| EventValidator | 0xE00C8E19AEbd3Ba070d2E07c632630285648c1ff | [Link](https://optimism-sepolia.blockscout.com/address/0xE00C8E19AEbd3Ba070d2E07c632630285648c1ff) | [Link](https://sepolia.arbiscan.io/address/0xE00C8E19AEbd3Ba070d2E07c632630285648c1ff) | [Link](https://sepolia.basescan.org/address/0xE00C8E19AEbd3Ba070d2E07c632630285648c1ff) | [Link](https://unichain-sepolia.blockscout.com/address/0xE00C8E19AEbd3Ba070d2E07c632630285648c1ff) |
| LendingPool | 0xfF6e47F8665563327dBD2BB7a82B1A0b80F1A917 | [Link](https://optimism-sepolia.blockscout.com/address/0xfF6e47F8665563327dBD2BB7a82B1A0b80F1A917) | [Link](https://sepolia.arbiscan.io/address/0xfF6e47F8665563327dBD2BB7a82B1A0b80F1A917) | [Link](https://sepolia.basescan.org/address/0xfF6e47F8665563327dBD2BB7a82B1A0b80F1A917) | [Link](https://unichain-sepolia.blockscout.com/address/0xfF6e47F8665563327dBD2BB7a82B1A0b80F1A917) |
| LendingPoolAddressesProvider | 0xa4B4c623f6A2f6089b9Bef130abab18B713bc74e | [Link](https://optimism-sepolia.blockscout.com/address/0xa4B4c623f6A2f6089b9Bef130abab18B713bc74e) | [Link](https://sepolia.arbiscan.io/address/0xa4B4c623f6A2f6089b9Bef130abab18B713bc74e) | [Link](https://sepolia.basescan.org/address/0xa4B4c623f6A2f6089b9Bef130abab18B713bc74e) | [Link](https://unichain-sepolia.blockscout.com/address/0xa4B4c623f6A2f6089b9Bef130abab18B713bc74e) |
| LendingPoolCollateralManager | 0xCD8F85355c13F7D6b73d8dafc1E3aA4569b46a3F | [Link](https://optimism-sepolia.blockscout.com/address/0xCD8F85355c13F7D6b73d8dafc1E3aA4569b46a3F) | [Link](https://sepolia.arbiscan.io/address/0xCD8F85355c13F7D6b73d8dafc1E3aA4569b46a3F) | [Link](https://sepolia.basescan.org/address/0xCD8F85355c13F7D6b73d8dafc1E3aA4569b46a3F) | [Link](https://unichain-sepolia.blockscout.com/address/0xCD8F85355c13F7D6b73d8dafc1E3aA4569b46a3F) |
| LendingPoolConfigurator | 0x33149B447af1ACF99dbF9500AbBCAeee9Cb91833 | [Link](https://optimism-sepolia.blockscout.com/address/0x33149B447af1ACF99dbF9500AbBCAeee9Cb91833) | [Link](https://sepolia.arbiscan.io/address/0x33149B447af1ACF99dbF9500AbBCAeee9Cb91833) | [Link](https://sepolia.basescan.org/address/0x33149B447af1ACF99dbF9500AbBCAeee9Cb91833) | [Link](https://unichain-sepolia.blockscout.com/address/0x33149B447af1ACF99dbF9500AbBCAeee9Cb91833) |
| MockPriceOracle | 0xCF431ea2134bA5f51E521CA56d641cB322224504 | [Link](https://optimism-sepolia.blockscout.com/address/0xCF431ea2134bA5f51E521CA56d641cB322224504) | [Link](https://sepolia.arbiscan.io/address/0xCF431ea2134bA5f51E521CA56d641cB322224504) | [Link](https://sepolia.basescan.org/address/0xCF431ea2134bA5f51E521CA56d641cB322224504) | [Link](https://unichain-sepolia.blockscout.com/address/0xCF431ea2134bA5f51E521CA56d641cB322224504) |
| Owner | 0xcbc771976e3623ad236A4D8556897C47925B2Aaa | [Link](https://optimism-sepolia.blockscout.com/address/0xcbc771976e3623ad236A4D8556897C47925B2Aaa) | [Link](https://sepolia.arbiscan.io/address/0xcbc771976e3623ad236A4D8556897C47925B2Aaa) | [Link](https://sepolia.basescan.org/address/0xcbc771976e3623ad236A4D8556897C47925B2Aaa) | [Link](https://unichain-sepolia.blockscout.com/address/0xcbc771976e3623ad236A4D8556897C47925B2Aaa) |
| ProxyAdmin | 0xc841a4B48760c31A1f30f7D513b5971867aF2A04 | [Link](https://optimism-sepolia.blockscout.com/address/0xc841a4B48760c31A1f30f7D513b5971867aF2A04) | [Link](https://sepolia.arbiscan.io/address/0xc841a4B48760c31A1f30f7D513b5971867aF2A04) | [Link](https://sepolia.basescan.org/address/0xc841a4B48760c31A1f30f7D513b5971867aF2A04) | [Link](https://unichain-sepolia.blockscout.com/address/0xc841a4B48760c31A1f30f7D513b5971867aF2A04) |
| RToken | 0xf3091B015e049148966fd8dE345abd4411de77D9 | [Link](https://optimism-sepolia.blockscout.com/address/0xf3091B015e049148966fd8dE345abd4411de77D9) | [Link](https://sepolia.arbiscan.io/address/0xf3091B015e049148966fd8dE345abd4411de77D9) | [Link](https://sepolia.basescan.org/address/0xf3091B015e049148966fd8dE345abd4411de77D9) | [Link](https://unichain-sepolia.blockscout.com/address/0xf3091B015e049148966fd8dE345abd4411de77D9) |
| RVaultAsset | 0x0f476F635C4992F8b80b553bb50ec8b63FD142A8 | [Link](https://optimism-sepolia.blockscout.com/address/0x0f476F635C4992F8b80b553bb50ec8b63FD142A8) | [Link](https://sepolia.arbiscan.io/address/0x0f476F635C4992F8b80b553bb50ec8b63FD142A8) | [Link](https://sepolia.basescan.org/address/0x0f476F635C4992F8b80b553bb50ec8b63FD142A8) | [Link](https://unichain-sepolia.blockscout.com/address/0x0f476F635C4992F8b80b553bb50ec8b63FD142A8) |
| Router | 0xb8f62483b900d4d2937F16B6513b00980a3f707a | [Link](https://optimism-sepolia.blockscout.com/address/0xb8f62483b900d4d2937F16B6513b00980a3f707a) | [Link](https://sepolia.arbiscan.io/address/0xb8f62483b900d4d2937F16B6513b00980a3f707a) | [Link](https://sepolia.basescan.org/address/0xb8f62483b900d4d2937F16B6513b00980a3f707a) | [Link](https://unichain-sepolia.blockscout.com/address/0xb8f62483b900d4d2937F16B6513b00980a3f707a) |
| SuperAsset | 0xFD089Bd9d912eFCDe84439d40D42d42e86ff6f5a | [Link](https://optimism-sepolia.blockscout.com/address/0xFD089Bd9d912eFCDe84439d40D42d42e86ff6f5a) | [Link](https://sepolia.arbiscan.io/address/0xFD089Bd9d912eFCDe84439d40D42d42e86ff6f5a) | [Link](https://sepolia.basescan.org/address/0xFD089Bd9d912eFCDe84439d40D42d42e86ff6f5a) | [Link](https://unichain-sepolia.blockscout.com/address/0xFD089Bd9d912eFCDe84439d40D42d42e86ff6f5a) |
| Underlying | 0x69Ebd5e68364D8DE34547FFe76c2Dc527F699652 | [Link](https://optimism-sepolia.blockscout.com/address/0x69Ebd5e68364D8DE34547FFe76c2Dc527F699652) | [Link](https://sepolia.arbiscan.io/address/0x69Ebd5e68364D8DE34547FFe76c2Dc527F699652) | [Link](https://sepolia.basescan.org/address/0x69Ebd5e68364D8DE34547FFe76c2Dc527F699652) | [Link](https://unichain-sepolia.blockscout.com/address/0x69Ebd5e68364D8DE34547FFe76c2Dc527F699652) |
| VariableDebtToken | 0x6c2C1de7c0f34c7412c08b5F256DC394eA815a04 | [Link](https://optimism-sepolia.blockscout.com/address/0x6c2C1de7c0f34c7412c08b5F256DC394eA815a04) | [Link](https://sepolia.arbiscan.io/address/0x6c2C1de7c0f34c7412c08b5F256DC394eA815a04) | [Link](https://sepolia.basescan.org/address/0x6c2C1de7c0f34c7412c08b5F256DC394eA815a04) | [Link](https://unichain-sepolia.blockscout.com/address/0x6c2C1de7c0f34c7412c08b5F256DC394eA815a04) |
17 changes: 17 additions & 0 deletions deployment_utils/deploy_catapulta.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

echo "Starting deployments across multiple chains..."

echo "Deploying to Optimism Sepolia..."
catapulta script scripts/batchDeploymentScript/batchDeploy.s.sol --network optimismSepolia

echo "Deploying to Arbitrum Sepolia..."
catapulta script scripts/batchDeploymentScript/batchDeploy.s.sol --network arbitrumSepolia

echo "Deploying to Base Sepolia..."
catapulta script scripts/batchDeploymentScript/batchDeploy.s.sol --network baseSepolia

echo "Deploying to Unichain Sepolia..."
catapulta script scripts/batchDeploymentScript/batchDeploy.s.sol --network unichainTestnet

echo "All deployments completed!"
17 changes: 17 additions & 0 deletions deployment_utils/deploy_forge.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

echo "Starting deployments across multiple chains..."

echo "Deploying to Optimism Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://opt-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --broadcast --sender 0xcbc771976e3623ad236A4D8556897C47925B2Aaa

echo "Deploying to Arbitrum Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://arb-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --broadcast --sender 0xcbc771976e3623ad236A4D8556897C47925B2Aaa

echo "Deploying to Base Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://base-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --broadcast --sender 0xcbc771976e3623ad236A4D8556897C47925B2Aaa

echo "Deploying to Unichain Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://unichain-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --broadcast --sender 0xcbc771976e3623ad236A4D8556897C47925B2Aaa

echo "All deployments completed!"
35 changes: 35 additions & 0 deletions deployment_utils/deployment-explorer-links.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import json

# Define the base explorer URLs for each chain
explorers = {
"opSepolia": "https://optimism-sepolia.blockscout.com/address/",
"arbSepolia": "https://sepolia.arbiscan.io/address/",
"baseSepolia": "https://sepolia.basescan.org/address/",
"uniSepolia": "https://unichain-sepolia.blockscout.com/address/"
}

# Load the deployment.json file
with open("deployment.json", "r") as f:
deployment = json.load(f)

# Create Markdown table header
header = "| Contract Name | Address | opSepolia | arbSepolia | baseSepolia | uniSepolia |\n"
separator = "| --- | --- | --- | --- | --- | --- |\n"

table = header + separator

# Construct a table row for each contract
for contract_name, address in deployment.items():
row = f"| {contract_name} | {address} | "
links = []
for chain, base_url in explorers.items():
link = f"[Link]({base_url}{address})"
links.append(link)
row += " | ".join(links) + " |\n"
table += row

# Save the Markdown table to deployment_links.md
with open("deployment_links.md", "w") as md_file:
md_file.write(table)

print("Markdown table saved to deployment_links.md")
17 changes: 17 additions & 0 deletions deployment_utils/simulate_deploy_catapulta.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

echo "Starting deployments across multiple chains..."

echo "Deploying to Optimism Sepolia..."
catapulta script scripts/batchDeploymentScript/batchDeploy.s.sol --network optimismSepolia --simulate

echo "Deploying to Arbitrum Sepolia..."
catapulta script scripts/batchDeploymentScript/batchDeploy.s.sol --network arbitrumSepolia --simulate

echo "Deploying to Base Sepolia..."
catapulta script scripts/batchDeploymentScript/batchDeploy.s.sol --network baseSepolia --simulate

echo "Deploying to Unichain Sepolia..."
catapulta script scripts/batchDeploymentScript/batchDeploy.s.sol --network unichainTestnet --simulate

echo "All deployments completed!"
17 changes: 17 additions & 0 deletions deployment_utils/simulate_deploy_forge.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

echo "Starting deployments across multiple chains..."

echo "Deploying to Optimism Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://opt-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --sender 0xcbc771976e3623ad236A4D8556897C47925B2Aaa

echo "Deploying to Arbitrum Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://arb-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --sender 0xcbc771976e3623ad236A4D8556897C47925B2Aaa

echo "Deploying to Base Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://base-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --sender 0xcbc771976e3623ad236A4D8556897C47925B2Aaa

echo "Deploying to Unichain Sepolia..."
forge script scripts/batchDeploymentScript/batchDeploy.s.sol --rpc-url https://unichain-sepolia.g.alchemy.com/v2/muWMumYKuC6W7Oa572HjryTPZMMLbPK3 --sender 0xcbc771976e3623ad236A4D8556897C47925B2Aaa

echo "All deployments completed!"
3 changes: 3 additions & 0 deletions faqs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

if txs are failing in withdraw , are you sure you funded rToken and rVaultAsset contracts?
`relayer/fund_RVault_rToken_lzGas.js`
3 changes: 3 additions & 0 deletions lib/LayerZero-v2/packages/layerzero-v2/ton/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.fif
*.boc
build/
8 changes: 8 additions & 0 deletions lib/LayerZero-v2/packages/layerzero-v2/ton/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// jest.config.js (after)
/** @type {import('jest').Config} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
testTimeout: 600 * 1000,
};
27 changes: 27 additions & 0 deletions lib/LayerZero-v2/packages/layerzero-v2/ton/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "@layerzerolabs/layerzero-v2-ton",
"private": true,
"license": "LZBL-1.2",
"scripts": {
"build": "$npm_execpath clean-prebuild && $npm_execpath blueprint build --all",
"clean-prebuild": "rimraf target",
"test": "$npm_execpath jest --verbose"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@ston-fi/funcbox": "^0.1.1",
"@ton/blueprint": "0.25.0-beta.1",
"@ton/core": "^0.59.0",
"@ton/crypto": "^3.3.0",
"@ton/sandbox": "^0.22.0",
"@ton/test-utils": "^0.4.2",
"@ton/ton": "15.1.0",
"@types/jest": "^29.5.10",
"@types/node": "^20.10.5",
"jest": "^29.7.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "~5.2.2"
}
}
Loading
Loading