@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.mjs CHANGED
@@ -15629,7 +15629,7 @@ var RelayFundingPoolFactory_default = [
15629
15629
  name: "deployPool",
15630
15630
  inputs: [
15631
15631
  {
15632
- name: "userSalt",
15632
+ name: "salt",
15633
15633
  type: "bytes32",
15634
15634
  internalType: "bytes32"
15635
15635
  },
@@ -15677,41 +15677,12 @@ var RelayFundingPoolFactory_default = [
15677
15677
  ],
15678
15678
  stateMutability: "view"
15679
15679
  },
15680
- {
15681
- type: "function",
15682
- name: "poolSalt",
15683
- inputs: [
15684
- {
15685
- name: "deployer",
15686
- type: "address",
15687
- internalType: "address"
15688
- },
15689
- {
15690
- name: "userSalt",
15691
- type: "bytes32",
15692
- internalType: "bytes32"
15693
- }
15694
- ],
15695
- outputs: [
15696
- {
15697
- name: "salt",
15698
- type: "bytes32",
15699
- internalType: "bytes32"
15700
- }
15701
- ],
15702
- stateMutability: "pure"
15703
- },
15704
15680
  {
15705
15681
  type: "function",
15706
15682
  name: "predictPoolAddress",
15707
15683
  inputs: [
15708
15684
  {
15709
- name: "deployer",
15710
- type: "address",
15711
- internalType: "address"
15712
- },
15713
- {
15714
- name: "userSalt",
15685
+ name: "salt",
15715
15686
  type: "bytes32",
15716
15687
  internalType: "bytes32"
15717
15688
  },
@@ -15757,7 +15728,7 @@ var RelayFundingPoolFactory_default = [
15757
15728
  internalType: "address"
15758
15729
  },
15759
15730
  {
15760
- name: "userSalt",
15731
+ name: "salt",
15761
15732
  type: "bytes32",
15762
15733
  indexed: true,
15763
15734
  internalType: "bytes32"
@@ -18851,6 +18822,462 @@ var GatewayVmPayloadBuilder_default = [
18851
18822
  }
18852
18823
  ];
18853
18824
 
18825
+ // src/abis/payload-builders/HederaVmPayloadBuilder.sol/HederaVmPayloadBuilder.json
18826
+ var HederaVmPayloadBuilder_default = [
18827
+ {
18828
+ type: "constructor",
18829
+ inputs: [
18830
+ {
18831
+ name: "tokenNum",
18832
+ type: "uint64",
18833
+ internalType: "uint64"
18834
+ },
18835
+ {
18836
+ name: "gasPayer",
18837
+ type: "address",
18838
+ internalType: "address"
18839
+ }
18840
+ ],
18841
+ stateMutability: "nonpayable"
18842
+ },
18843
+ {
18844
+ type: "function",
18845
+ name: "GAS_PAYER",
18846
+ inputs: [],
18847
+ outputs: [
18848
+ {
18849
+ name: "",
18850
+ type: "address",
18851
+ internalType: "address"
18852
+ }
18853
+ ],
18854
+ stateMutability: "view"
18855
+ },
18856
+ {
18857
+ type: "function",
18858
+ name: "MAX_FEE",
18859
+ inputs: [],
18860
+ outputs: [
18861
+ {
18862
+ name: "",
18863
+ type: "uint64",
18864
+ internalType: "uint64"
18865
+ }
18866
+ ],
18867
+ stateMutability: "view"
18868
+ },
18869
+ {
18870
+ type: "function",
18871
+ name: "MAX_VALID_DURATION_SECONDS",
18872
+ inputs: [],
18873
+ outputs: [
18874
+ {
18875
+ name: "",
18876
+ type: "uint32",
18877
+ internalType: "uint32"
18878
+ }
18879
+ ],
18880
+ stateMutability: "view"
18881
+ },
18882
+ {
18883
+ type: "function",
18884
+ name: "TOKEN_NUM",
18885
+ inputs: [],
18886
+ outputs: [
18887
+ {
18888
+ name: "",
18889
+ type: "uint64",
18890
+ internalType: "uint64"
18891
+ }
18892
+ ],
18893
+ stateMutability: "view"
18894
+ },
18895
+ {
18896
+ type: "function",
18897
+ name: "buildPayload",
18898
+ inputs: [
18899
+ {
18900
+ name: "chainId",
18901
+ type: "string",
18902
+ internalType: "string"
18903
+ },
18904
+ {
18905
+ name: "depository",
18906
+ type: "bytes",
18907
+ internalType: "bytes"
18908
+ },
18909
+ {
18910
+ name: "params",
18911
+ type: "tuple",
18912
+ internalType: "struct BuildPayloadParams",
18913
+ components: [
18914
+ {
18915
+ name: "currency",
18916
+ type: "bytes",
18917
+ internalType: "bytes"
18918
+ },
18919
+ {
18920
+ name: "amount",
18921
+ type: "uint256",
18922
+ internalType: "uint256"
18923
+ },
18924
+ {
18925
+ name: "receiver",
18926
+ type: "bytes",
18927
+ internalType: "bytes"
18928
+ },
18929
+ {
18930
+ name: "nonce",
18931
+ type: "uint256",
18932
+ internalType: "uint256"
18933
+ },
18934
+ {
18935
+ name: "data",
18936
+ type: "bytes",
18937
+ internalType: "bytes"
18938
+ }
18939
+ ]
18940
+ }
18941
+ ],
18942
+ outputs: [
18943
+ {
18944
+ name: "payload",
18945
+ type: "bytes",
18946
+ internalType: "bytes"
18947
+ }
18948
+ ],
18949
+ stateMutability: "view"
18950
+ },
18951
+ {
18952
+ type: "function",
18953
+ name: "curve",
18954
+ inputs: [],
18955
+ outputs: [
18956
+ {
18957
+ name: "name",
18958
+ type: "string",
18959
+ internalType: "string"
18960
+ }
18961
+ ],
18962
+ stateMutability: "pure"
18963
+ },
18964
+ {
18965
+ type: "function",
18966
+ name: "family",
18967
+ inputs: [],
18968
+ outputs: [
18969
+ {
18970
+ name: "name",
18971
+ type: "string",
18972
+ internalType: "string"
18973
+ }
18974
+ ],
18975
+ stateMutability: "pure"
18976
+ },
18977
+ {
18978
+ type: "function",
18979
+ name: "hashesToSign",
18980
+ inputs: [
18981
+ {
18982
+ name: "",
18983
+ type: "string",
18984
+ internalType: "string"
18985
+ },
18986
+ {
18987
+ name: "",
18988
+ type: "bytes",
18989
+ internalType: "bytes"
18990
+ },
18991
+ {
18992
+ name: "payload",
18993
+ type: "bytes",
18994
+ internalType: "bytes"
18995
+ }
18996
+ ],
18997
+ outputs: [
18998
+ {
18999
+ name: "hashes",
19000
+ type: "bytes32[]",
19001
+ internalType: "bytes32[]"
19002
+ }
19003
+ ],
19004
+ stateMutability: "pure"
19005
+ },
19006
+ {
19007
+ type: "function",
19008
+ name: "transactionBody",
19009
+ inputs: [
19010
+ {
19011
+ name: "request",
19012
+ type: "tuple",
19013
+ internalType: "struct HederaTransferRequest",
19014
+ components: [
19015
+ {
19016
+ name: "payerNum",
19017
+ type: "uint64",
19018
+ internalType: "uint64"
19019
+ },
19020
+ {
19021
+ name: "receiverNum",
19022
+ type: "uint64",
19023
+ internalType: "uint64"
19024
+ },
19025
+ {
19026
+ name: "amount",
19027
+ type: "uint64",
19028
+ internalType: "uint64"
19029
+ },
19030
+ {
19031
+ name: "tokenNum",
19032
+ type: "uint64",
19033
+ internalType: "uint64"
19034
+ },
19035
+ {
19036
+ name: "nodeAccountNum",
19037
+ type: "uint64",
19038
+ internalType: "uint64"
19039
+ },
19040
+ {
19041
+ name: "validStartSeconds",
19042
+ type: "uint64",
19043
+ internalType: "uint64"
19044
+ },
19045
+ {
19046
+ name: "validStartNanos",
19047
+ type: "uint32",
19048
+ internalType: "uint32"
19049
+ },
19050
+ {
19051
+ name: "validDurationSeconds",
19052
+ type: "uint32",
19053
+ internalType: "uint32"
19054
+ },
19055
+ {
19056
+ name: "maxTransactionFee",
19057
+ type: "uint64",
19058
+ internalType: "uint64"
19059
+ }
19060
+ ]
19061
+ }
19062
+ ],
19063
+ outputs: [
19064
+ {
19065
+ name: "",
19066
+ type: "bytes",
19067
+ internalType: "bytes"
19068
+ }
19069
+ ],
19070
+ stateMutability: "pure"
19071
+ },
19072
+ {
19073
+ type: "error",
19074
+ name: "AmountExceedsMax",
19075
+ inputs: [
19076
+ {
19077
+ name: "amount",
19078
+ type: "uint256",
19079
+ internalType: "uint256"
19080
+ },
19081
+ {
19082
+ name: "maxAmount",
19083
+ type: "uint256",
19084
+ internalType: "uint256"
19085
+ }
19086
+ ]
19087
+ },
19088
+ {
19089
+ type: "error",
19090
+ name: "EntityNumExceedsMax",
19091
+ inputs: [
19092
+ {
19093
+ name: "num",
19094
+ type: "uint64",
19095
+ internalType: "uint64"
19096
+ }
19097
+ ]
19098
+ },
19099
+ {
19100
+ type: "error",
19101
+ name: "FeeExceedsMaxFee",
19102
+ inputs: [
19103
+ {
19104
+ name: "fee",
19105
+ type: "uint64",
19106
+ internalType: "uint64"
19107
+ },
19108
+ {
19109
+ name: "maxFee",
19110
+ type: "uint64",
19111
+ internalType: "uint64"
19112
+ }
19113
+ ]
19114
+ },
19115
+ {
19116
+ type: "error",
19117
+ name: "FeeExceedsPaidGas",
19118
+ inputs: [
19119
+ {
19120
+ name: "fee",
19121
+ type: "uint64",
19122
+ internalType: "uint64"
19123
+ },
19124
+ {
19125
+ name: "paidAmount",
19126
+ type: "uint256",
19127
+ internalType: "uint256"
19128
+ }
19129
+ ]
19130
+ },
19131
+ {
19132
+ type: "error",
19133
+ name: "FieldNumberTooLarge",
19134
+ inputs: [
19135
+ {
19136
+ name: "fieldNumber",
19137
+ type: "uint256",
19138
+ internalType: "uint256"
19139
+ }
19140
+ ]
19141
+ },
19142
+ {
19143
+ type: "error",
19144
+ name: "GasNotPaid",
19145
+ inputs: [
19146
+ {
19147
+ name: "withdrawParamsHash",
19148
+ type: "bytes32",
19149
+ internalType: "bytes32"
19150
+ }
19151
+ ]
19152
+ },
19153
+ {
19154
+ type: "error",
19155
+ name: "InvalidAccount",
19156
+ inputs: [
19157
+ {
19158
+ name: "accountNum",
19159
+ type: "uint64",
19160
+ internalType: "uint64"
19161
+ }
19162
+ ]
19163
+ },
19164
+ {
19165
+ type: "error",
19166
+ name: "InvalidAmount",
19167
+ inputs: [
19168
+ {
19169
+ name: "amount",
19170
+ type: "uint256",
19171
+ internalType: "uint256"
19172
+ }
19173
+ ]
19174
+ },
19175
+ {
19176
+ type: "error",
19177
+ name: "InvalidCurrencyLength",
19178
+ inputs: [
19179
+ {
19180
+ name: "length",
19181
+ type: "uint256",
19182
+ internalType: "uint256"
19183
+ }
19184
+ ]
19185
+ },
19186
+ {
19187
+ type: "error",
19188
+ name: "InvalidDepositoryLength",
19189
+ inputs: [
19190
+ {
19191
+ name: "length",
19192
+ type: "uint256",
19193
+ internalType: "uint256"
19194
+ }
19195
+ ]
19196
+ },
19197
+ {
19198
+ type: "error",
19199
+ name: "InvalidReceiverLength",
19200
+ inputs: [
19201
+ {
19202
+ name: "length",
19203
+ type: "uint256",
19204
+ internalType: "uint256"
19205
+ }
19206
+ ]
19207
+ },
19208
+ {
19209
+ type: "error",
19210
+ name: "InvalidTokenNum",
19211
+ inputs: [
19212
+ {
19213
+ name: "tokenNum",
19214
+ type: "uint64",
19215
+ internalType: "uint64"
19216
+ }
19217
+ ]
19218
+ },
19219
+ {
19220
+ type: "error",
19221
+ name: "InvalidValidDuration",
19222
+ inputs: [
19223
+ {
19224
+ name: "validDurationSeconds",
19225
+ type: "uint32",
19226
+ internalType: "uint32"
19227
+ }
19228
+ ]
19229
+ },
19230
+ {
19231
+ type: "error",
19232
+ name: "InvalidValidStartNanos",
19233
+ inputs: [
19234
+ {
19235
+ name: "nanos",
19236
+ type: "uint32",
19237
+ internalType: "uint32"
19238
+ }
19239
+ ]
19240
+ },
19241
+ {
19242
+ type: "error",
19243
+ name: "NotAnAccountId",
19244
+ inputs: [
19245
+ {
19246
+ name: "address_",
19247
+ type: "bytes20",
19248
+ internalType: "bytes20"
19249
+ }
19250
+ ]
19251
+ },
19252
+ {
19253
+ type: "error",
19254
+ name: "ReceiverIsPayer",
19255
+ inputs: [
19256
+ {
19257
+ name: "accountNum",
19258
+ type: "uint64",
19259
+ internalType: "uint64"
19260
+ }
19261
+ ]
19262
+ },
19263
+ {
19264
+ type: "error",
19265
+ name: "TransfersDoNotNetToZero",
19266
+ inputs: []
19267
+ },
19268
+ {
19269
+ type: "error",
19270
+ name: "UnsupportedCurrency",
19271
+ inputs: [
19272
+ {
19273
+ name: "tokenNum",
19274
+ type: "uint64",
19275
+ internalType: "uint64"
19276
+ }
19277
+ ]
19278
+ }
19279
+ ];
19280
+
18854
19281
  // src/abis/payload-builders/HyperliquidVmPayloadBuilder.sol/HyperliquidVmPayloadBuilder.json
18855
19282
  var HyperliquidVmPayloadBuilder_default = [
18856
19283
  {
@@ -19786,6 +20213,21 @@ var LighterVmPayloadBuilder_default = [
19786
20213
  }
19787
20214
  ];
19788
20215
 
20216
+ // src/abis/payload-builders/Protobuf.sol/Protobuf.json
20217
+ var Protobuf_default = [
20218
+ {
20219
+ type: "error",
20220
+ name: "FieldNumberTooLarge",
20221
+ inputs: [
20222
+ {
20223
+ name: "fieldNumber",
20224
+ type: "uint256",
20225
+ internalType: "uint256"
20226
+ }
20227
+ ]
20228
+ }
20229
+ ];
20230
+
19789
20231
  // src/abis/payload-builders/Sha512.sol/Sha512.json
19790
20232
  var Sha512_default = [];
19791
20233
 
@@ -28272,6 +28714,7 @@ export {
28272
28714
  GasPaidPayloadBuilder_default as GasPaidPayloadBuilder,
28273
28715
  GatewayEthereumVmDestinationPayloadBuilder_default as GatewayEthereumVmDestinationPayloadBuilder,
28274
28716
  GatewayVmPayloadBuilder_default as GatewayVmPayloadBuilder,
28717
+ HederaVmPayloadBuilder_default as HederaVmPayloadBuilder,
28275
28718
  HyperliquidVmPayloadBuilder_default as HyperliquidVmPayloadBuilder,
28276
28719
  IBidAskOracle_default as IBidAskOracle,
28277
28720
  IBitcoinDepositSweepBuilder_default as IBitcoinDepositSweepBuilder,
@@ -28309,6 +28752,7 @@ export {
28309
28752
  PoolDrawResolver_default as PoolDrawResolver,
28310
28753
  PoolResolverBase_default as PoolResolverBase,
28311
28754
  PriceOraclePrecompile_default as PriceOraclePrecompile,
28755
+ Protobuf_default as Protobuf,
28312
28756
  RelayAllocator_default as RelayAllocator,
28313
28757
  RelayAmountRateLimiter_default as RelayAmountRateLimiter,
28314
28758
  RelayBpsFeeCalculator_default as RelayBpsFeeCalculator,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relay-protocol/settlement-abis",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "description": "Relay protocol contract ABIs",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",