@1delta/calldatalib 0.0.32 → 0.0.33

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.
@@ -261,12 +261,12 @@ function encodeAcrossBridgeToken(spokePool, depositor, sendingAssetId, receiving
261
261
  "address",
262
262
  "address",
263
263
  "address",
264
- "address",
264
+ "bytes32",
265
265
  "uint128",
266
266
  "uint128",
267
267
  "uint32",
268
268
  "uint32",
269
- "address",
269
+ "bytes32",
270
270
  "uint16",
271
271
  "bytes",
272
272
  ], [
@@ -293,12 +293,12 @@ function encodeAcrossBridgeNative(spokePool, depositor, sendingAssetId, receivin
293
293
  "address",
294
294
  "address",
295
295
  "address",
296
- "address",
296
+ "bytes32",
297
297
  "uint128",
298
298
  "uint128",
299
299
  "uint32",
300
300
  "uint32",
301
- "address",
301
+ "bytes32",
302
302
  "uint16",
303
303
  "bytes",
304
304
  ], [
@@ -188,12 +188,12 @@ export function encodeAcrossBridgeToken(spokePool, depositor, sendingAssetId, re
188
188
  "address",
189
189
  "address",
190
190
  "address",
191
- "address",
191
+ "bytes32",
192
192
  "uint128",
193
193
  "uint128",
194
194
  "uint32",
195
195
  "uint32",
196
- "address",
196
+ "bytes32",
197
197
  "uint16",
198
198
  "bytes",
199
199
  ], [
@@ -220,12 +220,12 @@ export function encodeAcrossBridgeNative(spokePool, depositor, sendingAssetId, r
220
220
  "address",
221
221
  "address",
222
222
  "address",
223
- "address",
223
+ "bytes32",
224
224
  "uint128",
225
225
  "uint128",
226
226
  "uint32",
227
227
  "uint32",
228
- "address",
228
+ "bytes32",
229
229
  "uint16",
230
230
  "bytes",
231
231
  ], [
@@ -116,8 +116,8 @@ export declare function encodePermit(permitId: bigint, target: Address, data: He
116
116
  export declare function encodeStargateV2BridgePartial(amount: bigint, slippage: number, fee: bigint, isBusMode: boolean, isNative: boolean, composeMsg: Hex, extraOptions: Hex): Hex;
117
117
  export declare function encodeStargateV2BridgeSimpleTaxi(asset: Address, stargatePool: Address, dstEid: number, receiver: Hex, refundReceiver: Address, amount: bigint, isNative: boolean, slippage: number, fee: bigint): Hex;
118
118
  export declare function encodeStargateV2BridgeSimpleBus(asset: Address, stargatePool: Address, dstEid: number, receiver: Hex, refundReceiver: Address, amount: bigint, isNative: boolean, slippage: number, fee: bigint): Hex;
119
- export declare function encodeAcrossBridgeToken(spokePool: Address, depositor: Address, sendingAssetId: Address, receivingAssetId: Address, amount: bigint, fixedFee: bigint, feePercentage: number, destinationChainId: number, receiver: Address, message: Hex): Hex;
120
- export declare function encodeAcrossBridgeNative(spokePool: Address, depositor: Address, sendingAssetId: Address, receivingAssetId: Address, amount: bigint, fixedFee: bigint, feePercentage: number, destinationChainId: number, receiver: Address, message: Hex): Hex;
119
+ export declare function encodeAcrossBridgeToken(spokePool: Address, depositor: Address, sendingAssetId: Address, receivingAssetId: Hex, amount: bigint, fixedFee: bigint, feePercentage: number, destinationChainId: number, receiver: Hex, message: Hex): Hex;
120
+ export declare function encodeAcrossBridgeNative(spokePool: Address, depositor: Address, sendingAssetId: Address, receivingAssetId: Hex, amount: bigint, fixedFee: bigint, feePercentage: number, destinationChainId: number, receiver: Hex, message: Hex): Hex;
121
121
  export declare function encodePermit2TransferFrom(token: Address, receiver: Address, amount: bigint): Hex;
122
122
  export declare function encodeNextGenDexUnlock(singleton: Address, id: bigint, d: Hex): Hex;
123
123
  export declare function encodeBalancerV3FlashLoan(singleton: Address, poolId: bigint, asset: Address, receiver: Address, amount: bigint, flashData: Hex): Hex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1delta/calldatalib",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "Generated CalldataLib TypeScript functions for 1delta smart contracts",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",