@across-protocol/contracts 5.0.10-alpha.3 → 5.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/chain-adapters/ZkStack_Adapter.sol +1 -1
- package/contracts/handlers/MulticallHandler.sol +7 -1
- package/contracts/libraries/SafeTransferERC20.sol +21 -0
- package/contracts/libraries/TronTransferLib.sol +42 -0
- package/contracts/periphery/SpokePoolPeriphery.sol +4 -0
- package/contracts/periphery/counterfactual/CounterfactualDepositSpokePool.sol +7 -3
- package/contracts/periphery/counterfactual/CounterfactualDepositSpokePoolTr.sol +36 -0
- package/contracts/periphery/counterfactual/WithdrawImplementation.sol +3 -6
- package/contracts/periphery/counterfactual/WithdrawImplementationTron.sol +22 -0
- package/contracts/sp1-helios/SP1AutoVerifier.sol +1 -1
- package/contracts/spoke-pools/SpokePool.sol +11 -6
- package/contracts/spoke-pools/Tron_SpokePool.sol +65 -0
- package/contracts/test/MockTronUSDT.sol +36 -0
- package/contracts/tron/TronCounterfactualImports.sol +4 -3
- package/contracts/tron/TronImports.sol +2 -2
- package/contracts/tron/TronPeripheryImports.sol +1 -1
- package/dist/broadcast/deployed-addresses.json +43 -73
- package/dist/evm/artifacts/AcrossMessageHandlerMock.sol/AcrossMessageHandlerMock.json +1 -1
- package/dist/evm/artifacts/AdminWithdrawManager.sol/AdminWithdrawManager.json +1 -1
- package/dist/evm/artifacts/Arbitrum_SpokePool.sol/Arbitrum_SpokePool.json +1 -1
- package/dist/evm/artifacts/Blast_SpokePool.sol/Blast_SpokePool.json +1 -1
- package/dist/evm/artifacts/Boba_SpokePool.sol/Boba_SpokePool.json +1 -1
- package/dist/evm/artifacts/Cher_SpokePool.sol/Cher_SpokePool.json +1 -1
- package/dist/evm/artifacts/CounterfactualDepositSpokePool.sol/CounterfactualDepositSpokePool.json +1 -1
- package/dist/evm/artifacts/CounterfactualDepositSpokePoolTr.sol/CounterfactualDepositSpokePoolTr.json +1 -0
- package/dist/evm/artifacts/DstOFTHandler.sol/DstOFTHandler.json +1 -1
- package/dist/evm/artifacts/Ethereum_SpokePool.sol/Ethereum_SpokePool.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockAddressWhitelist.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockFinder.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockIdentifierWhitelist.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockLpTokenFactory.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockOptimisticOracle.json +1 -1
- package/dist/evm/artifacts/HubPoolTestBase.sol/MockStore.json +1 -1
- package/dist/evm/artifacts/Ink_SpokePool.sol/Ink_SpokePool.json +1 -1
- package/dist/evm/artifacts/Lens_SpokePool.sol/Lens_SpokePool.json +1 -1
- package/dist/evm/artifacts/Linea_SpokePool.sol/Linea_SpokePool.json +1 -1
- package/dist/evm/artifacts/Lisk_SpokePool.sol/Lisk_SpokePool.json +1 -1
- package/dist/evm/artifacts/MockBedrockStandardBridge.sol/MockBedrockCrossDomainMessenger.json +1 -1
- package/dist/evm/artifacts/MockBedrockStandardBridge.sol/MockBedrockL1StandardBridge.json +1 -1
- package/dist/evm/artifacts/MockBedrockStandardBridge.sol/MockBedrockL2StandardBridge.json +1 -1
- package/dist/evm/artifacts/MockOptimism_SpokePool.sol/MockOptimism_SpokePool.json +1 -1
- package/dist/evm/artifacts/MockSpokePool.sol/MockSpokePool.json +1 -1
- package/dist/evm/artifacts/MockSpokePoolV2.sol/MockSpokePoolV2.json +1 -1
- package/dist/evm/artifacts/MockTronUSDT.sol/MockTronUSDT.json +1 -0
- package/dist/evm/artifacts/MulticallHandler.sol/MulticallHandler.json +1 -1
- package/dist/evm/artifacts/OP_SpokePool.sol/OP_SpokePool.json +1 -1
- package/dist/evm/artifacts/Optimism_SpokePool.sol/Optimism_SpokePool.json +1 -1
- package/dist/evm/artifacts/Ovm_SpokePool.sol/Ovm_SpokePool.json +1 -1
- package/dist/evm/artifacts/Ovm_WithdrawalHelper.sol/Ovm_WithdrawalHelper.json +1 -1
- package/dist/evm/artifacts/PermissionedMulticallHandler.sol/PermissionedMulticallHandler.json +1 -1
- package/dist/evm/artifacts/PolygonZkEVM_SpokePool.sol/PolygonZkEVM_SpokePool.json +1 -1
- package/dist/evm/artifacts/Polygon_SpokePool.sol/Polygon_SpokePool.json +1 -1
- package/dist/evm/artifacts/SP1AutoVerifier.sol/SP1AutoVerifier.json +1 -1
- package/dist/evm/artifacts/Scroll_SpokePool.sol/Scroll_SpokePool.json +1 -1
- package/dist/evm/artifacts/SpokePool.sol/SpokePool.json +1 -1
- package/dist/evm/artifacts/SpokePoolPeriphery.sol/SpokePoolPeriphery.json +1 -1
- package/dist/evm/artifacts/SpokePoolPeriphery.sol/SwapProxy.json +1 -1
- package/dist/evm/artifacts/SponsoredCCTPDstPeriphery.sol/SponsoredCCTPDstPeriphery.json +1 -1
- package/dist/evm/artifacts/SponsoredCCTPSrcPeriphery.sol/SponsoredCCTPSrcPeriphery.json +1 -1
- package/dist/evm/artifacts/SponsoredOFTSrcPeriphery.sol/SponsoredOFTSrcPeriphery.json +1 -1
- package/dist/evm/artifacts/TronTransferLib.sol/TronTransferLib.json +1 -0
- package/dist/evm/artifacts/Tron_SpokePool.sol/Tron_SpokePool.json +1 -0
- package/dist/evm/artifacts/Universal_SpokePool.sol/Universal_SpokePool.json +1 -1
- package/dist/evm/artifacts/WithdrawImplementation.sol/WithdrawImplementation.json +1 -1
- package/dist/evm/artifacts/WithdrawImplementationTron.sol/WithdrawImplementationTron.json +1 -0
- package/dist/evm/artifacts/WorldChain_SpokePool.sol/WorldChain_SpokePool.json +1 -1
- package/dist/evm/artifacts/ZkStack_Adapter.sol/ZkStack_Adapter.json +1 -1
- package/dist/evm/artifacts/ZkSync_SpokePool.sol/ZkSync_SpokePool.json +1 -1
- package/dist/evm/artifacts/eraVM_EIP7702.sol/SimpleContract.json +1 -1
- package/dist/evm/artifacts/eraVM_EIP7702.sol/SpokePoolEIP7702Test.json +1 -1
- package/dist/evm/artifacts/eraVM_EIP7702.sol/TestableMockSpokePool.json +1 -1
- package/package.json +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@across-protocol/contracts",
|
|
3
|
-
"version": "5.0.10
|
|
3
|
+
"version": "5.0.10",
|
|
4
4
|
"author": "UMA Team",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"main": "dist/index.js",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"forge-script-zksync": " FOUNDRY_PROFILE=zksync forge script --zksync --suppress-errors sendtransfer",
|
|
21
|
+
"forge-build-zksync": "FOUNDRY_PROFILE=zksync forge build --zksync --suppress-errors sendtransfer --skip test --skip script",
|
|
22
|
+
"forge-verify-zksync": "FOUNDRY_PROFILE=zksync forge verify-contract",
|
|
21
23
|
"lint": "yarn lint-solidity && yarn lint-js && yarn lint-rust",
|
|
22
24
|
"lint-solidity": "yarn solhint ./contracts/**/*.sol",
|
|
23
25
|
"lint-js": "yarn prettier --list-different **/*.js **/*.ts",
|
|
@@ -55,9 +57,9 @@
|
|
|
55
57
|
"tron-deploy-universal-spokepool": "ts-node script/tron/universal/tron-deploy-universal-spokepool.ts",
|
|
56
58
|
"tron-deploy-counterfactual-factory": "ts-node script/tron/counterfactual/tron-deploy-counterfactual-factory.ts",
|
|
57
59
|
"tron-deploy-counterfactual-deposit": "ts-node script/tron/counterfactual/tron-deploy-counterfactual-deposit.ts",
|
|
58
|
-
"tron-deploy-counterfactual-deposit-spokepool": "ts-node script/tron/counterfactual/tron-deploy-counterfactual-deposit-spokepool.ts",
|
|
60
|
+
"tron-deploy-counterfactual-deposit-spokepool-tron": "ts-node script/tron/counterfactual/tron-deploy-counterfactual-deposit-spokepool-tron.ts",
|
|
59
61
|
"tron-deploy-admin-withdraw-manager": "ts-node script/tron/counterfactual/tron-deploy-admin-withdraw-manager.ts",
|
|
60
|
-
"tron-deploy-withdraw-implementation": "ts-node script/tron/counterfactual/tron-deploy-withdraw-implementation.ts",
|
|
62
|
+
"tron-deploy-withdraw-implementation-tron": "ts-node script/tron/counterfactual/tron-deploy-withdraw-implementation-tron.ts",
|
|
61
63
|
"tron-deploy-counterfactual-clone": "ts-node script/tron/counterfactual/tron-deploy-counterfactual-clone.ts",
|
|
62
64
|
"tron-deploy-clone": "ts-node script/tron/counterfactual/tron-deploy-clone.ts",
|
|
63
65
|
"tron-execute-clone-deposit": "ts-node script/tron/counterfactual/tron-execute-clone-deposit.ts",
|
|
@@ -86,7 +88,6 @@
|
|
|
86
88
|
"@codama/nodes-from-anchor": "1.2.2",
|
|
87
89
|
"@codama/renderers-js": "1.3.0",
|
|
88
90
|
"@openzeppelin/foundry-upgrades": "^0.4.0",
|
|
89
|
-
"@pinata/sdk": "^2.1.0",
|
|
90
91
|
"@safe-global/protocol-kit": "7.0.0",
|
|
91
92
|
"@solana-program/token": "0.9.0",
|
|
92
93
|
"@solana/spl-token": "0.4.14",
|
|
@@ -109,7 +110,6 @@
|
|
|
109
110
|
"eslint-plugin-promise": "^5.1.0",
|
|
110
111
|
"husky": "^4.2.3",
|
|
111
112
|
"mocha": "^10.0.0",
|
|
112
|
-
"multiformats": "9.9.0",
|
|
113
113
|
"prettier": "^3.8.1",
|
|
114
114
|
"prettier-plugin-rust": "^0.1.9",
|
|
115
115
|
"prettier-plugin-solidity": "^2.2.1",
|