@relay-protocol/settlement-abis 2.0.9 → 2.0.11

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/dist/index.d.mts CHANGED
@@ -15916,7 +15916,7 @@ var RelayFundingPoolFactory = [
15916
15916
  name: "deployPool",
15917
15917
  inputs: [
15918
15918
  {
15919
- name: "userSalt",
15919
+ name: "salt",
15920
15920
  type: "bytes32",
15921
15921
  internalType: "bytes32"
15922
15922
  },
@@ -15964,41 +15964,12 @@ var RelayFundingPoolFactory = [
15964
15964
  ],
15965
15965
  stateMutability: "view"
15966
15966
  },
15967
- {
15968
- type: "function",
15969
- name: "poolSalt",
15970
- inputs: [
15971
- {
15972
- name: "deployer",
15973
- type: "address",
15974
- internalType: "address"
15975
- },
15976
- {
15977
- name: "userSalt",
15978
- type: "bytes32",
15979
- internalType: "bytes32"
15980
- }
15981
- ],
15982
- outputs: [
15983
- {
15984
- name: "salt",
15985
- type: "bytes32",
15986
- internalType: "bytes32"
15987
- }
15988
- ],
15989
- stateMutability: "pure"
15990
- },
15991
15967
  {
15992
15968
  type: "function",
15993
15969
  name: "predictPoolAddress",
15994
15970
  inputs: [
15995
15971
  {
15996
- name: "deployer",
15997
- type: "address",
15998
- internalType: "address"
15999
- },
16000
- {
16001
- name: "userSalt",
15972
+ name: "salt",
16002
15973
  type: "bytes32",
16003
15974
  internalType: "bytes32"
16004
15975
  },
@@ -16044,7 +16015,7 @@ var RelayFundingPoolFactory = [
16044
16015
  internalType: "address"
16045
16016
  },
16046
16017
  {
16047
- name: "userSalt",
16018
+ name: "salt",
16048
16019
  type: "bytes32",
16049
16020
  indexed: true,
16050
16021
  internalType: "bytes32"
@@ -19195,6 +19166,468 @@ var GatewayVmPayloadBuilder = [
19195
19166
  }
19196
19167
  ];
19197
19168
 
19169
+ var HederaVmPayloadBuilder = [
19170
+ {
19171
+ type: "constructor",
19172
+ inputs: [
19173
+ {
19174
+ name: "tokenNum",
19175
+ type: "uint64",
19176
+ internalType: "uint64"
19177
+ },
19178
+ {
19179
+ name: "gasPayer",
19180
+ type: "address",
19181
+ internalType: "address"
19182
+ }
19183
+ ],
19184
+ stateMutability: "nonpayable"
19185
+ },
19186
+ {
19187
+ type: "function",
19188
+ name: "GAS_PAYER",
19189
+ inputs: [
19190
+ ],
19191
+ outputs: [
19192
+ {
19193
+ name: "",
19194
+ type: "address",
19195
+ internalType: "address"
19196
+ }
19197
+ ],
19198
+ stateMutability: "view"
19199
+ },
19200
+ {
19201
+ type: "function",
19202
+ name: "MAX_FEE",
19203
+ inputs: [
19204
+ ],
19205
+ outputs: [
19206
+ {
19207
+ name: "",
19208
+ type: "uint64",
19209
+ internalType: "uint64"
19210
+ }
19211
+ ],
19212
+ stateMutability: "view"
19213
+ },
19214
+ {
19215
+ type: "function",
19216
+ name: "MAX_VALID_DURATION_SECONDS",
19217
+ inputs: [
19218
+ ],
19219
+ outputs: [
19220
+ {
19221
+ name: "",
19222
+ type: "uint32",
19223
+ internalType: "uint32"
19224
+ }
19225
+ ],
19226
+ stateMutability: "view"
19227
+ },
19228
+ {
19229
+ type: "function",
19230
+ name: "TOKEN_NUM",
19231
+ inputs: [
19232
+ ],
19233
+ outputs: [
19234
+ {
19235
+ name: "",
19236
+ type: "uint64",
19237
+ internalType: "uint64"
19238
+ }
19239
+ ],
19240
+ stateMutability: "view"
19241
+ },
19242
+ {
19243
+ type: "function",
19244
+ name: "buildPayload",
19245
+ inputs: [
19246
+ {
19247
+ name: "chainId",
19248
+ type: "string",
19249
+ internalType: "string"
19250
+ },
19251
+ {
19252
+ name: "depository",
19253
+ type: "bytes",
19254
+ internalType: "bytes"
19255
+ },
19256
+ {
19257
+ name: "params",
19258
+ type: "tuple",
19259
+ internalType: "struct BuildPayloadParams",
19260
+ components: [
19261
+ {
19262
+ name: "currency",
19263
+ type: "bytes",
19264
+ internalType: "bytes"
19265
+ },
19266
+ {
19267
+ name: "amount",
19268
+ type: "uint256",
19269
+ internalType: "uint256"
19270
+ },
19271
+ {
19272
+ name: "receiver",
19273
+ type: "bytes",
19274
+ internalType: "bytes"
19275
+ },
19276
+ {
19277
+ name: "nonce",
19278
+ type: "uint256",
19279
+ internalType: "uint256"
19280
+ },
19281
+ {
19282
+ name: "data",
19283
+ type: "bytes",
19284
+ internalType: "bytes"
19285
+ }
19286
+ ]
19287
+ }
19288
+ ],
19289
+ outputs: [
19290
+ {
19291
+ name: "payload",
19292
+ type: "bytes",
19293
+ internalType: "bytes"
19294
+ }
19295
+ ],
19296
+ stateMutability: "view"
19297
+ },
19298
+ {
19299
+ type: "function",
19300
+ name: "curve",
19301
+ inputs: [
19302
+ ],
19303
+ outputs: [
19304
+ {
19305
+ name: "name",
19306
+ type: "string",
19307
+ internalType: "string"
19308
+ }
19309
+ ],
19310
+ stateMutability: "pure"
19311
+ },
19312
+ {
19313
+ type: "function",
19314
+ name: "family",
19315
+ inputs: [
19316
+ ],
19317
+ outputs: [
19318
+ {
19319
+ name: "name",
19320
+ type: "string",
19321
+ internalType: "string"
19322
+ }
19323
+ ],
19324
+ stateMutability: "pure"
19325
+ },
19326
+ {
19327
+ type: "function",
19328
+ name: "hashesToSign",
19329
+ inputs: [
19330
+ {
19331
+ name: "",
19332
+ type: "string",
19333
+ internalType: "string"
19334
+ },
19335
+ {
19336
+ name: "",
19337
+ type: "bytes",
19338
+ internalType: "bytes"
19339
+ },
19340
+ {
19341
+ name: "payload",
19342
+ type: "bytes",
19343
+ internalType: "bytes"
19344
+ }
19345
+ ],
19346
+ outputs: [
19347
+ {
19348
+ name: "hashes",
19349
+ type: "bytes32[]",
19350
+ internalType: "bytes32[]"
19351
+ }
19352
+ ],
19353
+ stateMutability: "pure"
19354
+ },
19355
+ {
19356
+ type: "function",
19357
+ name: "transactionBody",
19358
+ inputs: [
19359
+ {
19360
+ name: "request",
19361
+ type: "tuple",
19362
+ internalType: "struct HederaTransferRequest",
19363
+ components: [
19364
+ {
19365
+ name: "payerNum",
19366
+ type: "uint64",
19367
+ internalType: "uint64"
19368
+ },
19369
+ {
19370
+ name: "receiverNum",
19371
+ type: "uint64",
19372
+ internalType: "uint64"
19373
+ },
19374
+ {
19375
+ name: "amount",
19376
+ type: "uint64",
19377
+ internalType: "uint64"
19378
+ },
19379
+ {
19380
+ name: "tokenNum",
19381
+ type: "uint64",
19382
+ internalType: "uint64"
19383
+ },
19384
+ {
19385
+ name: "nodeAccountNum",
19386
+ type: "uint64",
19387
+ internalType: "uint64"
19388
+ },
19389
+ {
19390
+ name: "validStartSeconds",
19391
+ type: "uint64",
19392
+ internalType: "uint64"
19393
+ },
19394
+ {
19395
+ name: "validStartNanos",
19396
+ type: "uint32",
19397
+ internalType: "uint32"
19398
+ },
19399
+ {
19400
+ name: "validDurationSeconds",
19401
+ type: "uint32",
19402
+ internalType: "uint32"
19403
+ },
19404
+ {
19405
+ name: "maxTransactionFee",
19406
+ type: "uint64",
19407
+ internalType: "uint64"
19408
+ }
19409
+ ]
19410
+ }
19411
+ ],
19412
+ outputs: [
19413
+ {
19414
+ name: "",
19415
+ type: "bytes",
19416
+ internalType: "bytes"
19417
+ }
19418
+ ],
19419
+ stateMutability: "pure"
19420
+ },
19421
+ {
19422
+ type: "error",
19423
+ name: "AmountExceedsMax",
19424
+ inputs: [
19425
+ {
19426
+ name: "amount",
19427
+ type: "uint256",
19428
+ internalType: "uint256"
19429
+ },
19430
+ {
19431
+ name: "maxAmount",
19432
+ type: "uint256",
19433
+ internalType: "uint256"
19434
+ }
19435
+ ]
19436
+ },
19437
+ {
19438
+ type: "error",
19439
+ name: "EntityNumExceedsMax",
19440
+ inputs: [
19441
+ {
19442
+ name: "num",
19443
+ type: "uint64",
19444
+ internalType: "uint64"
19445
+ }
19446
+ ]
19447
+ },
19448
+ {
19449
+ type: "error",
19450
+ name: "FeeExceedsMaxFee",
19451
+ inputs: [
19452
+ {
19453
+ name: "fee",
19454
+ type: "uint64",
19455
+ internalType: "uint64"
19456
+ },
19457
+ {
19458
+ name: "maxFee",
19459
+ type: "uint64",
19460
+ internalType: "uint64"
19461
+ }
19462
+ ]
19463
+ },
19464
+ {
19465
+ type: "error",
19466
+ name: "FeeExceedsPaidGas",
19467
+ inputs: [
19468
+ {
19469
+ name: "fee",
19470
+ type: "uint64",
19471
+ internalType: "uint64"
19472
+ },
19473
+ {
19474
+ name: "paidAmount",
19475
+ type: "uint256",
19476
+ internalType: "uint256"
19477
+ }
19478
+ ]
19479
+ },
19480
+ {
19481
+ type: "error",
19482
+ name: "FieldNumberTooLarge",
19483
+ inputs: [
19484
+ {
19485
+ name: "fieldNumber",
19486
+ type: "uint256",
19487
+ internalType: "uint256"
19488
+ }
19489
+ ]
19490
+ },
19491
+ {
19492
+ type: "error",
19493
+ name: "GasNotPaid",
19494
+ inputs: [
19495
+ {
19496
+ name: "withdrawParamsHash",
19497
+ type: "bytes32",
19498
+ internalType: "bytes32"
19499
+ }
19500
+ ]
19501
+ },
19502
+ {
19503
+ type: "error",
19504
+ name: "InvalidAccount",
19505
+ inputs: [
19506
+ {
19507
+ name: "accountNum",
19508
+ type: "uint64",
19509
+ internalType: "uint64"
19510
+ }
19511
+ ]
19512
+ },
19513
+ {
19514
+ type: "error",
19515
+ name: "InvalidAmount",
19516
+ inputs: [
19517
+ {
19518
+ name: "amount",
19519
+ type: "uint256",
19520
+ internalType: "uint256"
19521
+ }
19522
+ ]
19523
+ },
19524
+ {
19525
+ type: "error",
19526
+ name: "InvalidCurrencyLength",
19527
+ inputs: [
19528
+ {
19529
+ name: "length",
19530
+ type: "uint256",
19531
+ internalType: "uint256"
19532
+ }
19533
+ ]
19534
+ },
19535
+ {
19536
+ type: "error",
19537
+ name: "InvalidDepositoryLength",
19538
+ inputs: [
19539
+ {
19540
+ name: "length",
19541
+ type: "uint256",
19542
+ internalType: "uint256"
19543
+ }
19544
+ ]
19545
+ },
19546
+ {
19547
+ type: "error",
19548
+ name: "InvalidReceiverLength",
19549
+ inputs: [
19550
+ {
19551
+ name: "length",
19552
+ type: "uint256",
19553
+ internalType: "uint256"
19554
+ }
19555
+ ]
19556
+ },
19557
+ {
19558
+ type: "error",
19559
+ name: "InvalidTokenNum",
19560
+ inputs: [
19561
+ {
19562
+ name: "tokenNum",
19563
+ type: "uint64",
19564
+ internalType: "uint64"
19565
+ }
19566
+ ]
19567
+ },
19568
+ {
19569
+ type: "error",
19570
+ name: "InvalidValidDuration",
19571
+ inputs: [
19572
+ {
19573
+ name: "validDurationSeconds",
19574
+ type: "uint32",
19575
+ internalType: "uint32"
19576
+ }
19577
+ ]
19578
+ },
19579
+ {
19580
+ type: "error",
19581
+ name: "InvalidValidStartNanos",
19582
+ inputs: [
19583
+ {
19584
+ name: "nanos",
19585
+ type: "uint32",
19586
+ internalType: "uint32"
19587
+ }
19588
+ ]
19589
+ },
19590
+ {
19591
+ type: "error",
19592
+ name: "NotAnAccountId",
19593
+ inputs: [
19594
+ {
19595
+ name: "address_",
19596
+ type: "bytes20",
19597
+ internalType: "bytes20"
19598
+ }
19599
+ ]
19600
+ },
19601
+ {
19602
+ type: "error",
19603
+ name: "ReceiverIsPayer",
19604
+ inputs: [
19605
+ {
19606
+ name: "accountNum",
19607
+ type: "uint64",
19608
+ internalType: "uint64"
19609
+ }
19610
+ ]
19611
+ },
19612
+ {
19613
+ type: "error",
19614
+ name: "TransfersDoNotNetToZero",
19615
+ inputs: [
19616
+ ]
19617
+ },
19618
+ {
19619
+ type: "error",
19620
+ name: "UnsupportedCurrency",
19621
+ inputs: [
19622
+ {
19623
+ name: "tokenNum",
19624
+ type: "uint64",
19625
+ internalType: "uint64"
19626
+ }
19627
+ ]
19628
+ }
19629
+ ];
19630
+
19198
19631
  var HyperliquidVmPayloadBuilder = [
19199
19632
  {
19200
19633
  type: "constructor",
@@ -20147,6 +20580,20 @@ var LighterVmPayloadBuilder = [
20147
20580
  }
20148
20581
  ];
20149
20582
 
20583
+ var Protobuf = [
20584
+ {
20585
+ type: "error",
20586
+ name: "FieldNumberTooLarge",
20587
+ inputs: [
20588
+ {
20589
+ name: "fieldNumber",
20590
+ type: "uint256",
20591
+ internalType: "uint256"
20592
+ }
20593
+ ]
20594
+ }
20595
+ ];
20596
+
20150
20597
  var Sha512 = [
20151
20598
  ];
20152
20599
 
@@ -25554,4 +26001,4 @@ var MyToken = [
25554
26001
 
25555
26002
  declare const RelayOracle: Record<string, unknown>[];
25556
26003
 
25557
- export { AuroraSdk, AuroraXccUtils, Base64, BasicCallResolver, BasicPricingOracle, BitcoinDepositAddress, BitcoinDepositSweepBuilder, BitcoinVmPayloadBuilder, Borsh, ChainSignatures, ChainlinkDataStreamsAdapter, CircleGatewayCodec, Codec, Config, DepositAddress, DepositAddressFactory, ERC20, ERC20View, EmptyPayloadBuilder, EthereumVmPayloadBuilder, FeeOnTransferToken, FixedPointMathLib, GasPaidPayloadBuilder, GatewayEthereumVmDestinationPayloadBuilder, GatewayVmPayloadBuilder, HyperliquidVmPayloadBuilder, IBidAskOracle, IBitcoinDepositSweepBuilder, ICallResolver, ICircleGatewayMinter, ICircleGatewayWallet, IDepositAddressFactory, IERC20View, IFeeCalculator, IGatewayDestinationPayloadBuilder, IHub, IMulticallRouter, IPayloadBuilder, IPriceFeedAdapter, IPricingOracle, IRateLimiter, IRelayAllocatorOwner, IRelayExecutorHasher, IRelayFundingPool, IRelayHubViewRegistry, IRelayOracleIdempotencySource, IStorkFastVerifier, IVerifierProxy, IWithdrawGasPayer, LibClone, LighterVmPayloadBuilder, MockPriceFeedAdapter, MockPricingOracle, MockSafe, MockStorkFastVerifier, MockVerifierProxy, MockWNEAR, MulticallRouter, MyToken, PoolDrawResolver, PoolResolverBase, PriceOraclePrecompile, RelayAllocator, RelayAmountRateLimiter, RelayBpsFeeCalculator, RelayDepositAddressManager, RelayDepository, RelayExecutor, RelayFundingPool, RelayFundingPoolFactory, RelayGatewayDepository, RelayGenericMapping, RelayHub, RelayMultisigSigner, RelayMultisigSignerHarness, RelayOracle, RelayOracleIdempotencyStore, RelayOracleMultisig, RelayOracleV2, RelayPriceOracle, RelayUsdRateLimiter, ResolverSandbox, SafeCastLib, SafeTransferLib, Sha512, SignatureCheckerLib, SignedPricingOracle, SolanaVmPayloadBuilder, StorkFastAdapter, TestableBitcoinDepositAddress, TonVmPayloadBuilder, TronVmPayloadBuilder, Utils, WithdrawGasPayer, WithdrawParams, XrpVmPayloadBuilder };
26004
+ export { AuroraSdk, AuroraXccUtils, Base64, BasicCallResolver, BasicPricingOracle, BitcoinDepositAddress, BitcoinDepositSweepBuilder, BitcoinVmPayloadBuilder, Borsh, ChainSignatures, ChainlinkDataStreamsAdapter, CircleGatewayCodec, Codec, Config, DepositAddress, DepositAddressFactory, ERC20, ERC20View, EmptyPayloadBuilder, EthereumVmPayloadBuilder, FeeOnTransferToken, FixedPointMathLib, GasPaidPayloadBuilder, GatewayEthereumVmDestinationPayloadBuilder, GatewayVmPayloadBuilder, HederaVmPayloadBuilder, HyperliquidVmPayloadBuilder, IBidAskOracle, IBitcoinDepositSweepBuilder, ICallResolver, ICircleGatewayMinter, ICircleGatewayWallet, IDepositAddressFactory, IERC20View, IFeeCalculator, IGatewayDestinationPayloadBuilder, IHub, IMulticallRouter, IPayloadBuilder, IPriceFeedAdapter, IPricingOracle, IRateLimiter, IRelayAllocatorOwner, IRelayExecutorHasher, IRelayFundingPool, IRelayHubViewRegistry, IRelayOracleIdempotencySource, IStorkFastVerifier, IVerifierProxy, IWithdrawGasPayer, LibClone, LighterVmPayloadBuilder, MockPriceFeedAdapter, MockPricingOracle, MockSafe, MockStorkFastVerifier, MockVerifierProxy, MockWNEAR, MulticallRouter, MyToken, PoolDrawResolver, PoolResolverBase, PriceOraclePrecompile, Protobuf, RelayAllocator, RelayAmountRateLimiter, RelayBpsFeeCalculator, RelayDepositAddressManager, RelayDepository, RelayExecutor, RelayFundingPool, RelayFundingPoolFactory, RelayGatewayDepository, RelayGenericMapping, RelayHub, RelayMultisigSigner, RelayMultisigSignerHarness, RelayOracle, RelayOracleIdempotencyStore, RelayOracleMultisig, RelayOracleV2, RelayPriceOracle, RelayUsdRateLimiter, ResolverSandbox, SafeCastLib, SafeTransferLib, Sha512, SignatureCheckerLib, SignedPricingOracle, SolanaVmPayloadBuilder, StorkFastAdapter, TestableBitcoinDepositAddress, TonVmPayloadBuilder, TronVmPayloadBuilder, Utils, WithdrawGasPayer, WithdrawParams, XrpVmPayloadBuilder };