@relay-protocol/settlement-abis 2.0.9 → 2.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/dist/index.d.ts CHANGED
@@ -19195,6 +19195,468 @@ var GatewayVmPayloadBuilder = [
19195
19195
  }
19196
19196
  ];
19197
19197
 
19198
+ var HederaVmPayloadBuilder = [
19199
+ {
19200
+ type: "constructor",
19201
+ inputs: [
19202
+ {
19203
+ name: "tokenNum",
19204
+ type: "uint64",
19205
+ internalType: "uint64"
19206
+ },
19207
+ {
19208
+ name: "gasPayer",
19209
+ type: "address",
19210
+ internalType: "address"
19211
+ }
19212
+ ],
19213
+ stateMutability: "nonpayable"
19214
+ },
19215
+ {
19216
+ type: "function",
19217
+ name: "GAS_PAYER",
19218
+ inputs: [
19219
+ ],
19220
+ outputs: [
19221
+ {
19222
+ name: "",
19223
+ type: "address",
19224
+ internalType: "address"
19225
+ }
19226
+ ],
19227
+ stateMutability: "view"
19228
+ },
19229
+ {
19230
+ type: "function",
19231
+ name: "MAX_FEE",
19232
+ inputs: [
19233
+ ],
19234
+ outputs: [
19235
+ {
19236
+ name: "",
19237
+ type: "uint64",
19238
+ internalType: "uint64"
19239
+ }
19240
+ ],
19241
+ stateMutability: "view"
19242
+ },
19243
+ {
19244
+ type: "function",
19245
+ name: "MAX_VALID_DURATION_SECONDS",
19246
+ inputs: [
19247
+ ],
19248
+ outputs: [
19249
+ {
19250
+ name: "",
19251
+ type: "uint32",
19252
+ internalType: "uint32"
19253
+ }
19254
+ ],
19255
+ stateMutability: "view"
19256
+ },
19257
+ {
19258
+ type: "function",
19259
+ name: "TOKEN_NUM",
19260
+ inputs: [
19261
+ ],
19262
+ outputs: [
19263
+ {
19264
+ name: "",
19265
+ type: "uint64",
19266
+ internalType: "uint64"
19267
+ }
19268
+ ],
19269
+ stateMutability: "view"
19270
+ },
19271
+ {
19272
+ type: "function",
19273
+ name: "buildPayload",
19274
+ inputs: [
19275
+ {
19276
+ name: "chainId",
19277
+ type: "string",
19278
+ internalType: "string"
19279
+ },
19280
+ {
19281
+ name: "depository",
19282
+ type: "bytes",
19283
+ internalType: "bytes"
19284
+ },
19285
+ {
19286
+ name: "params",
19287
+ type: "tuple",
19288
+ internalType: "struct BuildPayloadParams",
19289
+ components: [
19290
+ {
19291
+ name: "currency",
19292
+ type: "bytes",
19293
+ internalType: "bytes"
19294
+ },
19295
+ {
19296
+ name: "amount",
19297
+ type: "uint256",
19298
+ internalType: "uint256"
19299
+ },
19300
+ {
19301
+ name: "receiver",
19302
+ type: "bytes",
19303
+ internalType: "bytes"
19304
+ },
19305
+ {
19306
+ name: "nonce",
19307
+ type: "uint256",
19308
+ internalType: "uint256"
19309
+ },
19310
+ {
19311
+ name: "data",
19312
+ type: "bytes",
19313
+ internalType: "bytes"
19314
+ }
19315
+ ]
19316
+ }
19317
+ ],
19318
+ outputs: [
19319
+ {
19320
+ name: "payload",
19321
+ type: "bytes",
19322
+ internalType: "bytes"
19323
+ }
19324
+ ],
19325
+ stateMutability: "view"
19326
+ },
19327
+ {
19328
+ type: "function",
19329
+ name: "curve",
19330
+ inputs: [
19331
+ ],
19332
+ outputs: [
19333
+ {
19334
+ name: "name",
19335
+ type: "string",
19336
+ internalType: "string"
19337
+ }
19338
+ ],
19339
+ stateMutability: "pure"
19340
+ },
19341
+ {
19342
+ type: "function",
19343
+ name: "family",
19344
+ inputs: [
19345
+ ],
19346
+ outputs: [
19347
+ {
19348
+ name: "name",
19349
+ type: "string",
19350
+ internalType: "string"
19351
+ }
19352
+ ],
19353
+ stateMutability: "pure"
19354
+ },
19355
+ {
19356
+ type: "function",
19357
+ name: "hashesToSign",
19358
+ inputs: [
19359
+ {
19360
+ name: "",
19361
+ type: "string",
19362
+ internalType: "string"
19363
+ },
19364
+ {
19365
+ name: "",
19366
+ type: "bytes",
19367
+ internalType: "bytes"
19368
+ },
19369
+ {
19370
+ name: "payload",
19371
+ type: "bytes",
19372
+ internalType: "bytes"
19373
+ }
19374
+ ],
19375
+ outputs: [
19376
+ {
19377
+ name: "hashes",
19378
+ type: "bytes32[]",
19379
+ internalType: "bytes32[]"
19380
+ }
19381
+ ],
19382
+ stateMutability: "pure"
19383
+ },
19384
+ {
19385
+ type: "function",
19386
+ name: "transactionBody",
19387
+ inputs: [
19388
+ {
19389
+ name: "request",
19390
+ type: "tuple",
19391
+ internalType: "struct HederaTransferRequest",
19392
+ components: [
19393
+ {
19394
+ name: "payerNum",
19395
+ type: "uint64",
19396
+ internalType: "uint64"
19397
+ },
19398
+ {
19399
+ name: "receiverNum",
19400
+ type: "uint64",
19401
+ internalType: "uint64"
19402
+ },
19403
+ {
19404
+ name: "amount",
19405
+ type: "uint64",
19406
+ internalType: "uint64"
19407
+ },
19408
+ {
19409
+ name: "tokenNum",
19410
+ type: "uint64",
19411
+ internalType: "uint64"
19412
+ },
19413
+ {
19414
+ name: "nodeAccountNum",
19415
+ type: "uint64",
19416
+ internalType: "uint64"
19417
+ },
19418
+ {
19419
+ name: "validStartSeconds",
19420
+ type: "uint64",
19421
+ internalType: "uint64"
19422
+ },
19423
+ {
19424
+ name: "validStartNanos",
19425
+ type: "uint32",
19426
+ internalType: "uint32"
19427
+ },
19428
+ {
19429
+ name: "validDurationSeconds",
19430
+ type: "uint32",
19431
+ internalType: "uint32"
19432
+ },
19433
+ {
19434
+ name: "maxTransactionFee",
19435
+ type: "uint64",
19436
+ internalType: "uint64"
19437
+ }
19438
+ ]
19439
+ }
19440
+ ],
19441
+ outputs: [
19442
+ {
19443
+ name: "",
19444
+ type: "bytes",
19445
+ internalType: "bytes"
19446
+ }
19447
+ ],
19448
+ stateMutability: "pure"
19449
+ },
19450
+ {
19451
+ type: "error",
19452
+ name: "AmountExceedsMax",
19453
+ inputs: [
19454
+ {
19455
+ name: "amount",
19456
+ type: "uint256",
19457
+ internalType: "uint256"
19458
+ },
19459
+ {
19460
+ name: "maxAmount",
19461
+ type: "uint256",
19462
+ internalType: "uint256"
19463
+ }
19464
+ ]
19465
+ },
19466
+ {
19467
+ type: "error",
19468
+ name: "EntityNumExceedsMax",
19469
+ inputs: [
19470
+ {
19471
+ name: "num",
19472
+ type: "uint64",
19473
+ internalType: "uint64"
19474
+ }
19475
+ ]
19476
+ },
19477
+ {
19478
+ type: "error",
19479
+ name: "FeeExceedsMaxFee",
19480
+ inputs: [
19481
+ {
19482
+ name: "fee",
19483
+ type: "uint64",
19484
+ internalType: "uint64"
19485
+ },
19486
+ {
19487
+ name: "maxFee",
19488
+ type: "uint64",
19489
+ internalType: "uint64"
19490
+ }
19491
+ ]
19492
+ },
19493
+ {
19494
+ type: "error",
19495
+ name: "FeeExceedsPaidGas",
19496
+ inputs: [
19497
+ {
19498
+ name: "fee",
19499
+ type: "uint64",
19500
+ internalType: "uint64"
19501
+ },
19502
+ {
19503
+ name: "paidAmount",
19504
+ type: "uint256",
19505
+ internalType: "uint256"
19506
+ }
19507
+ ]
19508
+ },
19509
+ {
19510
+ type: "error",
19511
+ name: "FieldNumberTooLarge",
19512
+ inputs: [
19513
+ {
19514
+ name: "fieldNumber",
19515
+ type: "uint256",
19516
+ internalType: "uint256"
19517
+ }
19518
+ ]
19519
+ },
19520
+ {
19521
+ type: "error",
19522
+ name: "GasNotPaid",
19523
+ inputs: [
19524
+ {
19525
+ name: "withdrawParamsHash",
19526
+ type: "bytes32",
19527
+ internalType: "bytes32"
19528
+ }
19529
+ ]
19530
+ },
19531
+ {
19532
+ type: "error",
19533
+ name: "InvalidAccount",
19534
+ inputs: [
19535
+ {
19536
+ name: "accountNum",
19537
+ type: "uint64",
19538
+ internalType: "uint64"
19539
+ }
19540
+ ]
19541
+ },
19542
+ {
19543
+ type: "error",
19544
+ name: "InvalidAmount",
19545
+ inputs: [
19546
+ {
19547
+ name: "amount",
19548
+ type: "uint256",
19549
+ internalType: "uint256"
19550
+ }
19551
+ ]
19552
+ },
19553
+ {
19554
+ type: "error",
19555
+ name: "InvalidCurrencyLength",
19556
+ inputs: [
19557
+ {
19558
+ name: "length",
19559
+ type: "uint256",
19560
+ internalType: "uint256"
19561
+ }
19562
+ ]
19563
+ },
19564
+ {
19565
+ type: "error",
19566
+ name: "InvalidDepositoryLength",
19567
+ inputs: [
19568
+ {
19569
+ name: "length",
19570
+ type: "uint256",
19571
+ internalType: "uint256"
19572
+ }
19573
+ ]
19574
+ },
19575
+ {
19576
+ type: "error",
19577
+ name: "InvalidReceiverLength",
19578
+ inputs: [
19579
+ {
19580
+ name: "length",
19581
+ type: "uint256",
19582
+ internalType: "uint256"
19583
+ }
19584
+ ]
19585
+ },
19586
+ {
19587
+ type: "error",
19588
+ name: "InvalidTokenNum",
19589
+ inputs: [
19590
+ {
19591
+ name: "tokenNum",
19592
+ type: "uint64",
19593
+ internalType: "uint64"
19594
+ }
19595
+ ]
19596
+ },
19597
+ {
19598
+ type: "error",
19599
+ name: "InvalidValidDuration",
19600
+ inputs: [
19601
+ {
19602
+ name: "validDurationSeconds",
19603
+ type: "uint32",
19604
+ internalType: "uint32"
19605
+ }
19606
+ ]
19607
+ },
19608
+ {
19609
+ type: "error",
19610
+ name: "InvalidValidStartNanos",
19611
+ inputs: [
19612
+ {
19613
+ name: "nanos",
19614
+ type: "uint32",
19615
+ internalType: "uint32"
19616
+ }
19617
+ ]
19618
+ },
19619
+ {
19620
+ type: "error",
19621
+ name: "NotAnAccountId",
19622
+ inputs: [
19623
+ {
19624
+ name: "address_",
19625
+ type: "bytes20",
19626
+ internalType: "bytes20"
19627
+ }
19628
+ ]
19629
+ },
19630
+ {
19631
+ type: "error",
19632
+ name: "ReceiverIsPayer",
19633
+ inputs: [
19634
+ {
19635
+ name: "accountNum",
19636
+ type: "uint64",
19637
+ internalType: "uint64"
19638
+ }
19639
+ ]
19640
+ },
19641
+ {
19642
+ type: "error",
19643
+ name: "TransfersDoNotNetToZero",
19644
+ inputs: [
19645
+ ]
19646
+ },
19647
+ {
19648
+ type: "error",
19649
+ name: "UnsupportedCurrency",
19650
+ inputs: [
19651
+ {
19652
+ name: "tokenNum",
19653
+ type: "uint64",
19654
+ internalType: "uint64"
19655
+ }
19656
+ ]
19657
+ }
19658
+ ];
19659
+
19198
19660
  var HyperliquidVmPayloadBuilder = [
19199
19661
  {
19200
19662
  type: "constructor",
@@ -20147,6 +20609,20 @@ var LighterVmPayloadBuilder = [
20147
20609
  }
20148
20610
  ];
20149
20611
 
20612
+ var Protobuf = [
20613
+ {
20614
+ type: "error",
20615
+ name: "FieldNumberTooLarge",
20616
+ inputs: [
20617
+ {
20618
+ name: "fieldNumber",
20619
+ type: "uint256",
20620
+ internalType: "uint256"
20621
+ }
20622
+ ]
20623
+ }
20624
+ ];
20625
+
20150
20626
  var Sha512 = [
20151
20627
  ];
20152
20628
 
@@ -25554,4 +26030,4 @@ var MyToken = [
25554
26030
 
25555
26031
  declare const RelayOracle: Record<string, unknown>[];
25556
26032
 
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 };
26033
+ 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 };