@stargatefinance/stg-evm-sdk-v2 0.0.25 → 0.0.27

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.
Files changed (157) hide show
  1. package/LICENSE +94 -0
  2. package/artifacts/src/StargateBase.sol/StargateBase.json +48 -109
  3. package/artifacts/src/StargateOFT.sol/StargateOFT.json +50 -111
  4. package/artifacts/src/StargatePool.sol/StargatePool.json +50 -111
  5. package/artifacts/src/StargatePoolMigratable.sol/StargatePoolMigratable.json +1947 -0
  6. package/artifacts/src/StargatePoolNative.sol/StargatePoolNative.json +50 -111
  7. package/artifacts/src/feelibs/FeeLibV1.sol/FeeLibV1.json +4 -297
  8. package/artifacts/src/intent/IntentOFT.sol/IntentOFT.json +2 -2
  9. package/artifacts/src/intent/IntentPool.sol/IntentPool.json +2 -2
  10. package/artifacts/src/intent/IntentPoolNative.sol/IntentPoolNative.json +2 -2
  11. package/artifacts/src/interfaces/IStargate.sol/IStargate.json +0 -51
  12. package/artifacts/src/interfaces/IStargateFeeLib.sol/IStargateFeeLib.json +2 -109
  13. package/artifacts/src/interfaces/IStargatePool.sol/IStargatePool.json +0 -51
  14. package/artifacts/src/interfaces/ITokenMessaging.sol/ITokenMessaging.json +12 -108
  15. package/artifacts/src/interfaces/ITokenMessagingHandler.sol/ITokenMessagingHandler.json +0 -5
  16. package/artifacts/src/libs/Bus.sol/BusLib.json +21 -9
  17. package/artifacts/src/libs/BusCodec.sol/BusCodec.json +31 -0
  18. package/artifacts/src/libs/Path.sol/PathLib.json +15 -2
  19. package/artifacts/src/libs/{TokenMsgCodec.sol/TokenMsgCodec.json → TaxiCodec.sol/TaxiCodec.json} +5 -5
  20. package/artifacts/src/messaging/CreditMessaging.sol/CreditMessaging.json +9 -4
  21. package/artifacts/src/messaging/CreditMessagingOptions.sol/CreditMessagingOptions.json +4 -4
  22. package/artifacts/src/messaging/MessagingBase.sol/MessagingBase.json +5 -0
  23. package/artifacts/src/messaging/TokenMessaging.sol/TokenMessaging.json +245 -265
  24. package/artifacts/src/messaging/TokenMessagingOptions.sol/TokenMessagingOptions.json +5 -21
  25. package/artifacts/src/mocks/BlacklistableMock.sol/BlacklistableMock.json +171 -0
  26. package/artifacts/src/mocks/ERC20Token.sol/ERC20Token.json +2 -2
  27. package/artifacts/src/mocks/FeeLibMock.sol/FeeLibMock.json +4 -111
  28. package/artifacts/src/mocks/PoolToken.sol/PoolToken.json +7 -2
  29. package/artifacts/src/mocks/USDC.sol/USDC.json +2 -2
  30. package/artifacts/src/mocks/USDT.sol/USDT.json +456 -0
  31. package/artifacts/src/mocks/WETH.sol/WETH.json +2 -2
  32. package/artifacts/src/peripheral/Treasurer.sol/Treasurer.json +2 -2
  33. package/artifacts/src/peripheral/rewarder/StargateMultiRewarder.sol/StargateMultiRewarder.json +13 -2
  34. package/artifacts/src/peripheral/rewarder/StargateStaking.sol/StargateStaking.json +7 -2
  35. package/artifacts/src/peripheral/rewarder/interfaces/IMultiRewarder.sol/IMultiRewarder.json +11 -0
  36. package/artifacts/src/peripheral/rewarder/lib/RewardLib.sol/RewardLib.json +2 -2
  37. package/artifacts/src/peripheral/rewarder/lib/RewardRegistryLib.sol/RewardRegistryLib.json +2 -2
  38. package/artifacts/src/peripheral/rewarder/lib/StakingLib.sol/StakingLib.json +9 -3
  39. package/artifacts/src/peripheral/zapper/StargateZapperV1.sol/StargateZapperV1.json +2 -2
  40. package/artifacts/src/usdc/StargateOFTUSDC.sol/StargateOFTUSDC.json +50 -111
  41. package/artifacts/src/usdc/StargatePoolUSDC.sol/StargatePoolUSDC.json +68 -124
  42. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/interfaces/IERC1271.sol}/IERC1271.json +1 -1
  43. package/artifacts/src/usdc/impl/test/ContractThatCallsPublicFunctions.sol/ContractThatCallsPublicFunctions.json +97 -0
  44. package/artifacts/src/usdc/impl/test/ContractThatReverts.sol/ContractThatReverts.json +65 -0
  45. package/artifacts/src/usdc/impl/test/ContractWithExternalFunctions.sol/ContractWithExternalFunctions.json +75 -0
  46. package/artifacts/src/usdc/impl/test/ContractWithPublicFunctions.sol/ContractWithPublicFunctions.json +82 -0
  47. package/artifacts/src/usdc/impl/test/DummyERC20.sol/DummyERC20.json +302 -0
  48. package/artifacts/src/usdc/impl/test/ECRecoverTest.sol/ECRecoverTest.json +35 -0
  49. package/artifacts/src/usdc/impl/test/EIP712Test.sol/EIP712Test.json +35 -0
  50. package/artifacts/src/usdc/impl/test/MessageHashUtilsTest.sol/MessageHashUtilsTest.json +35 -0
  51. package/artifacts/src/usdc/impl/test/MockERC1271Wallet.sol/MockERC1271Wallet.json +46 -0
  52. package/artifacts/src/usdc/impl/test/MockERC1271Wallet.sol/MockERC1271WalletReturningBytes32.json +35 -0
  53. package/artifacts/src/usdc/impl/test/MockERC1271Wallet.sol/MockERC1271WalletWithCustomValidation.json +59 -0
  54. package/artifacts/src/usdc/impl/test/MockERC1271Wallet.sol/MockStateModifyingERC1271Wallet.json +48 -0
  55. package/artifacts/src/usdc/impl/test/MockFiatTokenWithEditableBalanceAndBlacklistStates.sol/MockFiatTokenWithEditableBalanceAndBlacklistStates.json +1534 -0
  56. package/artifacts/src/usdc/impl/test/MockFiatTokenWithEditableChainId.sol/MockFiatTokenWithEditableChainId.json +1449 -0
  57. package/artifacts/src/usdc/impl/test/UpgradedFiatTokenNewFieldsNewLogicTest.sol/UpgradedFiatTokenNewFieldsNewLogicTest.json +852 -0
  58. package/artifacts/src/usdc/impl/test/UpgradedFiatTokenNewFieldsTest.sol/UpgradedFiatTokenNewFieldsTest.json +839 -0
  59. package/artifacts/src/usdc/impl/test/UpgradedFiatTokenV2_2NewFieldsTest.sol/UpgradedFiatTokenV2_2NewFieldsTest.json +1502 -0
  60. package/artifacts/src/usdc/{FiatTokenProxyFlat.sol → impl/upgradeability/AdminUpgradeabilityProxy.sol}/AdminUpgradeabilityProxy.json +3 -3
  61. package/artifacts/src/usdc/{FiatTokenProxyFlat.sol → impl/upgradeability/Proxy.sol}/Proxy.json +1 -1
  62. package/artifacts/src/usdc/{FiatTokenProxyFlat.sol → impl/upgradeability/UpgradeabilityProxy.sol}/UpgradeabilityProxy.json +3 -3
  63. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/util/ECRecover.sol}/ECRecover.json +3 -3
  64. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/util/EIP712.sol}/EIP712.json +3 -3
  65. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/util/MessageHashUtils.sol}/MessageHashUtils.json +3 -3
  66. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/util/SignatureChecker.sol}/SignatureChecker.json +3 -3
  67. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v1/AbstractFiatTokenV1.sol}/AbstractFiatTokenV1.json +1 -1
  68. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v1/Blacklistable.sol}/Blacklistable.json +1 -1
  69. package/artifacts/src/usdc/{FiatTokenProxyFlat.sol → impl/v1/FiatTokenProxy.sol}/FiatTokenProxy.json +3 -3
  70. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v1/FiatTokenV1.sol}/FiatTokenV1.json +3 -3
  71. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v1/Ownable.sol}/Ownable.json +3 -3
  72. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v1/Pausable.sol}/Pausable.json +3 -3
  73. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v1.1/FiatTokenV1_1.sol}/FiatTokenV1_1.json +3 -3
  74. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v1.1/Rescuable.sol}/Rescuable.json +3 -3
  75. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v2/AbstractFiatTokenV2.sol}/AbstractFiatTokenV2.json +1 -1
  76. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v2/EIP2612.sol}/EIP2612.json +1 -1
  77. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v2/EIP3009.sol}/EIP3009.json +1 -1
  78. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v2/EIP712Domain.sol}/EIP712Domain.json +3 -3
  79. package/artifacts/src/usdc/impl/v2/FiatTokenUtil.sol/FiatTokenUtil.json +70 -0
  80. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v2/FiatTokenV2.sol}/FiatTokenV2.json +9 -9
  81. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v2/FiatTokenV2_1.sol}/FiatTokenV2_1.json +9 -9
  82. package/artifacts/src/usdc/{FiatTokenFlat.sol → impl/v2/FiatTokenV2_2.sol}/FiatTokenV2_2.json +7 -7
  83. package/artifacts/src/usdc/impl/v2/upgrader/AbstractV2Upgrader.sol/AbstractV2Upgrader.json +122 -0
  84. package/artifacts/src/usdc/impl/v2/upgrader/V2Upgrader.sol/V2Upgrader.json +168 -0
  85. package/artifacts/src/usdc/impl/v2/upgrader/V2_1Upgrader.sol/V2_1Upgrader.json +168 -0
  86. package/artifacts/src/usdc/impl/v2/upgrader/V2_2Upgrader.sol/V2_2Upgrader.json +173 -0
  87. package/artifacts/src/usdc/impl/v2/upgrader/helpers/AbstractUpgraderHelper.sol/AbstractUpgraderHelper.json +76 -0
  88. package/artifacts/src/usdc/impl/v2/upgrader/helpers/V2UpgraderHelper.sol/V2UpgraderHelper.json +239 -0
  89. package/artifacts/src/usdc/impl/v2/upgrader/helpers/V2_2UpgraderHelper.sol/V2_2UpgraderHelper.json +304 -0
  90. package/artifacts/src/utils/OFTTokenERC20Upgradeable.sol/OFTTokenERC20Upgradeable.json +2 -2
  91. package/deployments/bsc-sandbox-local/CreditMessaging.json +31 -31
  92. package/deployments/bsc-sandbox-local/FeeLibV1ETH.json +34 -403
  93. package/deployments/bsc-sandbox-local/FeeLibV1USDC.json +34 -403
  94. package/deployments/bsc-sandbox-local/FeeLibV1USDT.json +34 -403
  95. package/deployments/bsc-sandbox-local/PoolTokenETH.json +31 -27
  96. package/deployments/bsc-sandbox-local/RewardLib.json +11 -11
  97. package/deployments/bsc-sandbox-local/RewardRegistryLib.json +13 -13
  98. package/deployments/bsc-sandbox-local/RewardTokenMock.json +25 -24
  99. package/deployments/bsc-sandbox-local/StargateMultiRewarder.json +103 -89
  100. package/deployments/bsc-sandbox-local/StargateOFTUSDC.json +102 -189
  101. package/deployments/bsc-sandbox-local/StargateOFTUSDT.json +102 -189
  102. package/deployments/bsc-sandbox-local/StargatePoolETH.json +107 -194
  103. package/deployments/bsc-sandbox-local/StargateStaking.json +52 -40
  104. package/deployments/bsc-sandbox-local/TokenMessaging.json +312 -343
  105. package/deployments/bsc-sandbox-local/Treasurer.json +23 -23
  106. package/deployments/bsc-sandbox-local/USDCImpl.json +2132 -0
  107. package/deployments/bsc-sandbox-local/USDCProxy.json +205 -0
  108. package/deployments/bsc-sandbox-local/USDCSignatureLib.json +80 -0
  109. package/deployments/bsc-sandbox-local/USDT.json +741 -0
  110. package/deployments/ethereum-sandbox-local/CreditMessaging.json +31 -31
  111. package/deployments/ethereum-sandbox-local/FeeLibV1ETH.json +34 -403
  112. package/deployments/ethereum-sandbox-local/FeeLibV1USDC.json +34 -403
  113. package/deployments/ethereum-sandbox-local/FeeLibV1USDT.json +34 -403
  114. package/deployments/ethereum-sandbox-local/RewardLib.json +11 -11
  115. package/deployments/ethereum-sandbox-local/RewardRegistryLib.json +13 -13
  116. package/deployments/ethereum-sandbox-local/RewardTokenMock.json +25 -24
  117. package/deployments/ethereum-sandbox-local/StargateMultiRewarder.json +103 -89
  118. package/deployments/ethereum-sandbox-local/StargatePoolNative.json +110 -197
  119. package/deployments/ethereum-sandbox-local/StargatePoolUSDC.json +130 -212
  120. package/deployments/ethereum-sandbox-local/StargatePoolUSDT.json +216 -225
  121. package/deployments/ethereum-sandbox-local/StargateStaking.json +52 -40
  122. package/deployments/ethereum-sandbox-local/TokenMessaging.json +312 -343
  123. package/deployments/ethereum-sandbox-local/Treasurer.json +23 -23
  124. package/deployments/ethereum-sandbox-local/USDCImpl.json +2132 -0
  125. package/deployments/ethereum-sandbox-local/USDCProxy.json +205 -0
  126. package/deployments/ethereum-sandbox-local/USDCSignatureLib.json +80 -0
  127. package/deployments/ethereum-sandbox-local/USDT.json +741 -0
  128. package/deployments/polygon-sandbox-local/CreditMessaging.json +31 -31
  129. package/deployments/polygon-sandbox-local/FeeLibV1ETH.json +34 -403
  130. package/deployments/polygon-sandbox-local/FeeLibV1USDC.json +34 -403
  131. package/deployments/polygon-sandbox-local/FeeLibV1USDT.json +34 -403
  132. package/deployments/polygon-sandbox-local/OFTTokenETH.json +17 -20
  133. package/deployments/polygon-sandbox-local/RewardLib.json +11 -11
  134. package/deployments/polygon-sandbox-local/RewardRegistryLib.json +13 -13
  135. package/deployments/polygon-sandbox-local/RewardTokenMock.json +25 -24
  136. package/deployments/polygon-sandbox-local/StargateMultiRewarder.json +103 -89
  137. package/deployments/polygon-sandbox-local/StargateOFTETH.json +101 -188
  138. package/deployments/polygon-sandbox-local/StargateOFTUSDC.json +102 -189
  139. package/deployments/polygon-sandbox-local/StargatePoolUSDT.json +216 -225
  140. package/deployments/polygon-sandbox-local/StargateStaking.json +52 -40
  141. package/deployments/polygon-sandbox-local/TokenMessaging.json +312 -343
  142. package/deployments/polygon-sandbox-local/Treasurer.json +23 -23
  143. package/deployments/polygon-sandbox-local/USDCImpl.json +2132 -0
  144. package/deployments/polygon-sandbox-local/USDCProxy.json +205 -0
  145. package/deployments/polygon-sandbox-local/USDCSignatureLib.json +80 -0
  146. package/deployments/polygon-sandbox-local/USDT.json +741 -0
  147. package/package.json +7 -7
  148. package/artifacts/src/feelibs/FeeLibBase.sol/FeeLibBase.json +0 -303
  149. package/artifacts/src/libs/MessagingHelper.sol/MessagingHelper.json +0 -10
  150. package/artifacts/src/libs/PassengerCodec.sol/PassengerCodec.json +0 -16
  151. package/artifacts/src/libs/RideBusOptionsLibV1.sol/RideBusOptionsLibV1.json +0 -16
  152. package/deployments/bsc-sandbox-local/OFTTokenUSDC.json +0 -564
  153. package/deployments/bsc-sandbox-local/OFTTokenUSDT.json +0 -678
  154. package/deployments/ethereum-sandbox-local/PoolTokenUSDC.json +0 -603
  155. package/deployments/ethereum-sandbox-local/PoolTokenUSDT.json +0 -603
  156. package/deployments/polygon-sandbox-local/OFTTokenUSDC.json +0 -564
  157. package/deployments/polygon-sandbox-local/PoolTokenUSDT.json +0 -603
package/LICENSE ADDED
@@ -0,0 +1,94 @@
1
+ Business Source License 1.1
2
+
3
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
4
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
5
+
6
+ -----------------------------------------------------------------------------
7
+
8
+ Parameters
9
+
10
+ Licensor: LayerZero Labs Ltd
11
+
12
+ Licensed Work: Stargate V2 Protocol
13
+ The Licensed Work is (c) 2024 LayerZero Labs Ltd
14
+
15
+ Change Date: 2027-02-01
16
+
17
+ -----------------------------------------------------------------------------
18
+
19
+ Terms
20
+
21
+ The Licensor hereby grants you the right to copy, modify, create derivative
22
+ works, redistribute, and make non-production use of the Licensed Work. The
23
+ Licensor may make an Additional Use Grant, above, permitting limited
24
+ production use.
25
+
26
+ Effective on the Change Date, or the fourth anniversary of the first publicly
27
+ available distribution of a specific version of the Licensed Work under this
28
+ License, whichever comes first, the Licensor hereby grants you rights under
29
+ the terms of the Change License, and the rights granted in the paragraph
30
+ above terminate.
31
+
32
+ If your use of the Licensed Work does not comply with the requirements
33
+ currently in effect as described in this License, you must purchase a
34
+ commercial license from the Licensor, its affiliated entities, or authorized
35
+ resellers, or you must refrain from using the Licensed Work.
36
+
37
+ All copies of the original and modified Licensed Work, and derivative works
38
+ of the Licensed Work, are subject to this License. This License applies
39
+ separately for each version of the Licensed Work and the Change Date may vary
40
+ for each version of the Licensed Work released by Licensor.
41
+
42
+ You must conspicuously display this License on each original or modified copy
43
+ of the Licensed Work. If you receive the Licensed Work in original or
44
+ modified form from a third party, the terms and conditions set forth in this
45
+ License apply to your use of that work.
46
+
47
+ Any use of the Licensed Work in violation of this License will automatically
48
+ terminate your rights under this License for the current and all other
49
+ versions of the Licensed Work.
50
+
51
+ This License does not grant you any right in any trademark or logo of
52
+ Licensor or its affiliates (provided that you may use a trademark or logo of
53
+ Licensor as expressly required by this License).
54
+
55
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
56
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
57
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
58
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
59
+ TITLE.
60
+
61
+ MariaDB hereby grants you permission to use this License’s text to license
62
+ your works, and to refer to it using the trademark "Business Source License",
63
+ as long as you comply with the Covenants of Licensor below.
64
+
65
+ -----------------------------------------------------------------------------
66
+
67
+ Covenants of Licensor
68
+
69
+ In consideration of the right to use this License’s text and the "Business
70
+ Source License" name and trademark, Licensor covenants to MariaDB, and to all
71
+ other recipients of the licensed work to be provided by Licensor:
72
+
73
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
74
+ or a license that is compatible with GPL Version 2.0 or a later version,
75
+ where "compatible" means that software provided under the Change License can
76
+ be included in a program with software provided under GPL Version 2.0 or a
77
+ later version. Licensor may specify additional Change Licenses without
78
+ limitation.
79
+
80
+ 2. To either: (a) specify an additional grant of rights to use that does not
81
+ impose any additional restriction on the right granted in this License, as
82
+ the Additional Use Grant; or (b) insert the text "None".
83
+
84
+ 3. To specify a Change Date.
85
+
86
+ 4. Not to modify this License in any other way.
87
+
88
+ -----------------------------------------------------------------------------
89
+
90
+ Notice
91
+
92
+ The Business Source License (this document, or the "License") is not an Open
93
+ Source license. However, the Licensed Work will eventually be made available
94
+ under an Open Source License, as stated in this License.
@@ -39,6 +39,11 @@
39
39
  "name": "SlippageExceeded",
40
40
  "type": "error"
41
41
  },
42
+ {
43
+ "inputs": [],
44
+ "name": "Stargate_InsufficientFare",
45
+ "type": "error"
46
+ },
42
47
  {
43
48
  "inputs": [],
44
49
  "name": "Stargate_InvalidAmount",
@@ -69,6 +74,11 @@
69
74
  "name": "Stargate_Paused",
70
75
  "type": "error"
71
76
  },
77
+ {
78
+ "inputs": [],
79
+ "name": "Stargate_RecoverTokenUnsupported",
80
+ "type": "error"
81
+ },
72
82
  {
73
83
  "inputs": [],
74
84
  "name": "Stargate_ReentrantCall",
@@ -89,6 +99,11 @@
89
99
  "name": "Stargate_UnreceivedTokenNotFound",
90
100
  "type": "error"
91
101
  },
102
+ {
103
+ "inputs": [],
104
+ "name": "Stargate_WithdrawPlannerFeeFailed",
105
+ "type": "error"
106
+ },
92
107
  {
93
108
  "inputs": [],
94
109
  "name": "Transfer_TransferFailed",
@@ -139,25 +154,6 @@
139
154
  "name": "AddressConfigSet",
140
155
  "type": "event"
141
156
  },
142
- {
143
- "anonymous": false,
144
- "inputs": [
145
- {
146
- "indexed": false,
147
- "internalType": "uint32",
148
- "name": "dstEid",
149
- "type": "uint32"
150
- },
151
- {
152
- "indexed": false,
153
- "internalType": "uint16",
154
- "name": "baseFareMultiplierBps",
155
- "type": "uint16"
156
- }
157
- ],
158
- "name": "BaseFareMultiplierBpsSet",
159
- "type": "event"
160
- },
161
157
  {
162
158
  "anonymous": false,
163
159
  "inputs": [
@@ -339,6 +335,19 @@
339
335
  "name": "PauseSet",
340
336
  "type": "event"
341
337
  },
338
+ {
339
+ "anonymous": false,
340
+ "inputs": [
341
+ {
342
+ "indexed": false,
343
+ "internalType": "uint256",
344
+ "name": "amount",
345
+ "type": "uint256"
346
+ }
347
+ ],
348
+ "name": "PlannerFeeWithdrawn",
349
+ "type": "event"
350
+ },
342
351
  {
343
352
  "anonymous": false,
344
353
  "inputs": [
@@ -404,12 +413,6 @@
404
413
  "name": "amountLD",
405
414
  "type": "uint256"
406
415
  },
407
- {
408
- "indexed": false,
409
- "internalType": "uint8",
410
- "name": "composeIdx",
411
- "type": "uint8"
412
- },
413
416
  {
414
417
  "indexed": false,
415
418
  "internalType": "bytes",
@@ -558,11 +561,6 @@
558
561
  ],
559
562
  "name": "paths",
560
563
  "outputs": [
561
- {
562
- "internalType": "uint16",
563
- "name": "baseBusFareMultiplierBps",
564
- "type": "uint16"
565
- },
566
564
  {
567
565
  "internalType": "uint64",
568
566
  "name": "credit",
@@ -572,6 +570,19 @@
572
570
  "stateMutability": "view",
573
571
  "type": "function"
574
572
  },
573
+ {
574
+ "inputs": [],
575
+ "name": "plannerFee",
576
+ "outputs": [
577
+ {
578
+ "internalType": "uint256",
579
+ "name": "available",
580
+ "type": "uint256"
581
+ }
582
+ ],
583
+ "stateMutability": "view",
584
+ "type": "function"
585
+ },
575
586
  {
576
587
  "inputs": [
577
588
  {
@@ -674,57 +685,6 @@
674
685
  "stateMutability": "view",
675
686
  "type": "function"
676
687
  },
677
- {
678
- "inputs": [
679
- {
680
- "internalType": "uint32",
681
- "name": "_dstEid",
682
- "type": "uint32"
683
- },
684
- {
685
- "internalType": "bytes",
686
- "name": "_options",
687
- "type": "bytes"
688
- },
689
- {
690
- "internalType": "uint256",
691
- "name": "_composeMsgSize",
692
- "type": "uint256"
693
- }
694
- ],
695
- "name": "quoteRideBusOptions",
696
- "outputs": [
697
- {
698
- "components": [
699
- {
700
- "internalType": "uint128",
701
- "name": "extraFare",
702
- "type": "uint128"
703
- },
704
- {
705
- "internalType": "uint128",
706
- "name": "nativeDropAmount",
707
- "type": "uint128"
708
- },
709
- {
710
- "internalType": "uint128",
711
- "name": "lzComposeGas",
712
- "type": "uint128"
713
- },
714
- {
715
- "internalType": "uint128",
716
- "name": "lzComposeValue",
717
- "type": "uint128"
718
- }
719
- ],
720
- "internalType": "struct RideBusOptions",
721
- "name": "rideBusOptions",
722
- "type": "tuple"
723
- }
724
- ],
725
- "stateMutability": "view",
726
- "type": "function"
727
- },
728
688
  {
729
689
  "inputs": [
730
690
  {
@@ -878,11 +838,6 @@
878
838
  "internalType": "bytes",
879
839
  "name": "composeMsg",
880
840
  "type": "bytes"
881
- },
882
- {
883
- "internalType": "uint8",
884
- "name": "composeIdx",
885
- "type": "uint8"
886
841
  }
887
842
  ],
888
843
  "internalType": "struct TransferPayload",
@@ -958,11 +913,6 @@
958
913
  "name": "_amountLD",
959
914
  "type": "uint256"
960
915
  },
961
- {
962
- "internalType": "uint8",
963
- "name": "_composeIdx",
964
- "type": "uint8"
965
- },
966
916
  {
967
917
  "internalType": "bytes",
968
918
  "name": "_composeMsg",
@@ -1337,24 +1287,6 @@
1337
1287
  "stateMutability": "nonpayable",
1338
1288
  "type": "function"
1339
1289
  },
1340
- {
1341
- "inputs": [
1342
- {
1343
- "internalType": "uint32",
1344
- "name": "_dstEid",
1345
- "type": "uint32"
1346
- },
1347
- {
1348
- "internalType": "uint16",
1349
- "name": "_baseFareMultiplierBps",
1350
- "type": "uint16"
1351
- }
1352
- ],
1353
- "name": "setBaseFareMultiplierBps",
1354
- "outputs": [],
1355
- "stateMutability": "nonpayable",
1356
- "type": "function"
1357
- },
1358
1290
  {
1359
1291
  "inputs": [
1360
1292
  {
@@ -1488,6 +1420,13 @@
1488
1420
  "stateMutability": "view",
1489
1421
  "type": "function"
1490
1422
  },
1423
+ {
1424
+ "inputs": [],
1425
+ "name": "withdrawPlannerFee",
1426
+ "outputs": [],
1427
+ "stateMutability": "nonpayable",
1428
+ "type": "function"
1429
+ },
1491
1430
  {
1492
1431
  "inputs": [
1493
1432
  {