@relay-protocol/settlement-abis 2.0.18 → 2.0.19

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
@@ -812,6 +812,485 @@ var IHub_default = [
812
812
  }
813
813
  ];
814
814
 
815
+ // src/abis/HubAddressCodec.sol/HubAddressCodec.json
816
+ var HubAddressCodec_default = [
817
+ {
818
+ type: "error",
819
+ name: "InvalidBase58Checksum",
820
+ inputs: [
821
+ {
822
+ name: "addr",
823
+ type: "string",
824
+ internalType: "string"
825
+ }
826
+ ]
827
+ },
828
+ {
829
+ type: "error",
830
+ name: "InvalidHexAddress",
831
+ inputs: [
832
+ {
833
+ name: "addr",
834
+ type: "string",
835
+ internalType: "string"
836
+ }
837
+ ]
838
+ },
839
+ {
840
+ type: "error",
841
+ name: "UnsupportedAddress",
842
+ inputs: [
843
+ {
844
+ name: "addr",
845
+ type: "string",
846
+ internalType: "string"
847
+ }
848
+ ]
849
+ }
850
+ ];
851
+
852
+ // src/abis/Multicall3.sol/Multicall3.json
853
+ var Multicall3_default = [
854
+ {
855
+ type: "function",
856
+ name: "aggregate",
857
+ inputs: [
858
+ {
859
+ name: "calls",
860
+ type: "tuple[]",
861
+ internalType: "struct Multicall3.Call[]",
862
+ components: [
863
+ {
864
+ name: "target",
865
+ type: "address",
866
+ internalType: "address"
867
+ },
868
+ {
869
+ name: "callData",
870
+ type: "bytes",
871
+ internalType: "bytes"
872
+ }
873
+ ]
874
+ }
875
+ ],
876
+ outputs: [
877
+ {
878
+ name: "blockNumber",
879
+ type: "uint256",
880
+ internalType: "uint256"
881
+ },
882
+ {
883
+ name: "returnData",
884
+ type: "bytes[]",
885
+ internalType: "bytes[]"
886
+ }
887
+ ],
888
+ stateMutability: "payable"
889
+ },
890
+ {
891
+ type: "function",
892
+ name: "aggregate3",
893
+ inputs: [
894
+ {
895
+ name: "calls",
896
+ type: "tuple[]",
897
+ internalType: "struct Multicall3.Call3[]",
898
+ components: [
899
+ {
900
+ name: "target",
901
+ type: "address",
902
+ internalType: "address"
903
+ },
904
+ {
905
+ name: "allowFailure",
906
+ type: "bool",
907
+ internalType: "bool"
908
+ },
909
+ {
910
+ name: "callData",
911
+ type: "bytes",
912
+ internalType: "bytes"
913
+ }
914
+ ]
915
+ }
916
+ ],
917
+ outputs: [
918
+ {
919
+ name: "returnData",
920
+ type: "tuple[]",
921
+ internalType: "struct Multicall3.Result[]",
922
+ components: [
923
+ {
924
+ name: "success",
925
+ type: "bool",
926
+ internalType: "bool"
927
+ },
928
+ {
929
+ name: "returnData",
930
+ type: "bytes",
931
+ internalType: "bytes"
932
+ }
933
+ ]
934
+ }
935
+ ],
936
+ stateMutability: "payable"
937
+ },
938
+ {
939
+ type: "function",
940
+ name: "aggregate3Value",
941
+ inputs: [
942
+ {
943
+ name: "calls",
944
+ type: "tuple[]",
945
+ internalType: "struct Multicall3.Call3Value[]",
946
+ components: [
947
+ {
948
+ name: "target",
949
+ type: "address",
950
+ internalType: "address"
951
+ },
952
+ {
953
+ name: "allowFailure",
954
+ type: "bool",
955
+ internalType: "bool"
956
+ },
957
+ {
958
+ name: "value",
959
+ type: "uint256",
960
+ internalType: "uint256"
961
+ },
962
+ {
963
+ name: "callData",
964
+ type: "bytes",
965
+ internalType: "bytes"
966
+ }
967
+ ]
968
+ }
969
+ ],
970
+ outputs: [
971
+ {
972
+ name: "returnData",
973
+ type: "tuple[]",
974
+ internalType: "struct Multicall3.Result[]",
975
+ components: [
976
+ {
977
+ name: "success",
978
+ type: "bool",
979
+ internalType: "bool"
980
+ },
981
+ {
982
+ name: "returnData",
983
+ type: "bytes",
984
+ internalType: "bytes"
985
+ }
986
+ ]
987
+ }
988
+ ],
989
+ stateMutability: "payable"
990
+ },
991
+ {
992
+ type: "function",
993
+ name: "blockAndAggregate",
994
+ inputs: [
995
+ {
996
+ name: "calls",
997
+ type: "tuple[]",
998
+ internalType: "struct Multicall3.Call[]",
999
+ components: [
1000
+ {
1001
+ name: "target",
1002
+ type: "address",
1003
+ internalType: "address"
1004
+ },
1005
+ {
1006
+ name: "callData",
1007
+ type: "bytes",
1008
+ internalType: "bytes"
1009
+ }
1010
+ ]
1011
+ }
1012
+ ],
1013
+ outputs: [
1014
+ {
1015
+ name: "blockNumber",
1016
+ type: "uint256",
1017
+ internalType: "uint256"
1018
+ },
1019
+ {
1020
+ name: "blockHash",
1021
+ type: "bytes32",
1022
+ internalType: "bytes32"
1023
+ },
1024
+ {
1025
+ name: "returnData",
1026
+ type: "tuple[]",
1027
+ internalType: "struct Multicall3.Result[]",
1028
+ components: [
1029
+ {
1030
+ name: "success",
1031
+ type: "bool",
1032
+ internalType: "bool"
1033
+ },
1034
+ {
1035
+ name: "returnData",
1036
+ type: "bytes",
1037
+ internalType: "bytes"
1038
+ }
1039
+ ]
1040
+ }
1041
+ ],
1042
+ stateMutability: "payable"
1043
+ },
1044
+ {
1045
+ type: "function",
1046
+ name: "getBasefee",
1047
+ inputs: [],
1048
+ outputs: [
1049
+ {
1050
+ name: "basefee",
1051
+ type: "uint256",
1052
+ internalType: "uint256"
1053
+ }
1054
+ ],
1055
+ stateMutability: "view"
1056
+ },
1057
+ {
1058
+ type: "function",
1059
+ name: "getBlockHash",
1060
+ inputs: [
1061
+ {
1062
+ name: "blockNumber",
1063
+ type: "uint256",
1064
+ internalType: "uint256"
1065
+ }
1066
+ ],
1067
+ outputs: [
1068
+ {
1069
+ name: "blockHash",
1070
+ type: "bytes32",
1071
+ internalType: "bytes32"
1072
+ }
1073
+ ],
1074
+ stateMutability: "view"
1075
+ },
1076
+ {
1077
+ type: "function",
1078
+ name: "getBlockNumber",
1079
+ inputs: [],
1080
+ outputs: [
1081
+ {
1082
+ name: "blockNumber",
1083
+ type: "uint256",
1084
+ internalType: "uint256"
1085
+ }
1086
+ ],
1087
+ stateMutability: "view"
1088
+ },
1089
+ {
1090
+ type: "function",
1091
+ name: "getChainId",
1092
+ inputs: [],
1093
+ outputs: [
1094
+ {
1095
+ name: "chainId",
1096
+ type: "uint256",
1097
+ internalType: "uint256"
1098
+ }
1099
+ ],
1100
+ stateMutability: "view"
1101
+ },
1102
+ {
1103
+ type: "function",
1104
+ name: "getCurrentBlockCoinbase",
1105
+ inputs: [],
1106
+ outputs: [
1107
+ {
1108
+ name: "coinbase",
1109
+ type: "address",
1110
+ internalType: "address"
1111
+ }
1112
+ ],
1113
+ stateMutability: "view"
1114
+ },
1115
+ {
1116
+ type: "function",
1117
+ name: "getCurrentBlockDifficulty",
1118
+ inputs: [],
1119
+ outputs: [
1120
+ {
1121
+ name: "difficulty",
1122
+ type: "uint256",
1123
+ internalType: "uint256"
1124
+ }
1125
+ ],
1126
+ stateMutability: "view"
1127
+ },
1128
+ {
1129
+ type: "function",
1130
+ name: "getCurrentBlockGasLimit",
1131
+ inputs: [],
1132
+ outputs: [
1133
+ {
1134
+ name: "gaslimit",
1135
+ type: "uint256",
1136
+ internalType: "uint256"
1137
+ }
1138
+ ],
1139
+ stateMutability: "view"
1140
+ },
1141
+ {
1142
+ type: "function",
1143
+ name: "getCurrentBlockTimestamp",
1144
+ inputs: [],
1145
+ outputs: [
1146
+ {
1147
+ name: "timestamp",
1148
+ type: "uint256",
1149
+ internalType: "uint256"
1150
+ }
1151
+ ],
1152
+ stateMutability: "view"
1153
+ },
1154
+ {
1155
+ type: "function",
1156
+ name: "getEthBalance",
1157
+ inputs: [
1158
+ {
1159
+ name: "account",
1160
+ type: "address",
1161
+ internalType: "address"
1162
+ }
1163
+ ],
1164
+ outputs: [
1165
+ {
1166
+ name: "balance",
1167
+ type: "uint256",
1168
+ internalType: "uint256"
1169
+ }
1170
+ ],
1171
+ stateMutability: "view"
1172
+ },
1173
+ {
1174
+ type: "function",
1175
+ name: "getLastBlockHash",
1176
+ inputs: [],
1177
+ outputs: [
1178
+ {
1179
+ name: "blockHash",
1180
+ type: "bytes32",
1181
+ internalType: "bytes32"
1182
+ }
1183
+ ],
1184
+ stateMutability: "view"
1185
+ },
1186
+ {
1187
+ type: "function",
1188
+ name: "tryAggregate",
1189
+ inputs: [
1190
+ {
1191
+ name: "requireSuccess",
1192
+ type: "bool",
1193
+ internalType: "bool"
1194
+ },
1195
+ {
1196
+ name: "calls",
1197
+ type: "tuple[]",
1198
+ internalType: "struct Multicall3.Call[]",
1199
+ components: [
1200
+ {
1201
+ name: "target",
1202
+ type: "address",
1203
+ internalType: "address"
1204
+ },
1205
+ {
1206
+ name: "callData",
1207
+ type: "bytes",
1208
+ internalType: "bytes"
1209
+ }
1210
+ ]
1211
+ }
1212
+ ],
1213
+ outputs: [
1214
+ {
1215
+ name: "returnData",
1216
+ type: "tuple[]",
1217
+ internalType: "struct Multicall3.Result[]",
1218
+ components: [
1219
+ {
1220
+ name: "success",
1221
+ type: "bool",
1222
+ internalType: "bool"
1223
+ },
1224
+ {
1225
+ name: "returnData",
1226
+ type: "bytes",
1227
+ internalType: "bytes"
1228
+ }
1229
+ ]
1230
+ }
1231
+ ],
1232
+ stateMutability: "payable"
1233
+ },
1234
+ {
1235
+ type: "function",
1236
+ name: "tryBlockAndAggregate",
1237
+ inputs: [
1238
+ {
1239
+ name: "requireSuccess",
1240
+ type: "bool",
1241
+ internalType: "bool"
1242
+ },
1243
+ {
1244
+ name: "calls",
1245
+ type: "tuple[]",
1246
+ internalType: "struct Multicall3.Call[]",
1247
+ components: [
1248
+ {
1249
+ name: "target",
1250
+ type: "address",
1251
+ internalType: "address"
1252
+ },
1253
+ {
1254
+ name: "callData",
1255
+ type: "bytes",
1256
+ internalType: "bytes"
1257
+ }
1258
+ ]
1259
+ }
1260
+ ],
1261
+ outputs: [
1262
+ {
1263
+ name: "blockNumber",
1264
+ type: "uint256",
1265
+ internalType: "uint256"
1266
+ },
1267
+ {
1268
+ name: "blockHash",
1269
+ type: "bytes32",
1270
+ internalType: "bytes32"
1271
+ },
1272
+ {
1273
+ name: "returnData",
1274
+ type: "tuple[]",
1275
+ internalType: "struct Multicall3.Result[]",
1276
+ components: [
1277
+ {
1278
+ name: "success",
1279
+ type: "bool",
1280
+ internalType: "bool"
1281
+ },
1282
+ {
1283
+ name: "returnData",
1284
+ type: "bytes",
1285
+ internalType: "bytes"
1286
+ }
1287
+ ]
1288
+ }
1289
+ ],
1290
+ stateMutability: "payable"
1291
+ }
1292
+ ];
1293
+
815
1294
  // src/abis/RelayAllocator.sol/IPayloadBuilder.json
816
1295
  var IPayloadBuilder_default = [
817
1296
  {
@@ -4214,6 +4693,256 @@ var RelayHub_default = [
4214
4693
  }
4215
4694
  ];
4216
4695
 
4696
+ // src/abis/RelayHubBalanceViewer.sol/RelayHubBalanceViewer.json
4697
+ var RelayHubBalanceViewer_default = [
4698
+ {
4699
+ type: "constructor",
4700
+ inputs: [
4701
+ {
4702
+ name: "_hub",
4703
+ type: "address",
4704
+ internalType: "address"
4705
+ }
4706
+ ],
4707
+ stateMutability: "nonpayable"
4708
+ },
4709
+ {
4710
+ type: "function",
4711
+ name: "HUB",
4712
+ inputs: [],
4713
+ outputs: [
4714
+ {
4715
+ name: "",
4716
+ type: "address",
4717
+ internalType: "contract RelayHub"
4718
+ }
4719
+ ],
4720
+ stateMutability: "view"
4721
+ },
4722
+ {
4723
+ type: "function",
4724
+ name: "aliasOf",
4725
+ inputs: [
4726
+ {
4727
+ name: "chainId",
4728
+ type: "string",
4729
+ internalType: "string"
4730
+ },
4731
+ {
4732
+ name: "account",
4733
+ type: "string",
4734
+ internalType: "string"
4735
+ }
4736
+ ],
4737
+ outputs: [
4738
+ {
4739
+ name: "aliasAddress",
4740
+ type: "address",
4741
+ internalType: "address"
4742
+ }
4743
+ ],
4744
+ stateMutability: "pure"
4745
+ },
4746
+ {
4747
+ type: "function",
4748
+ name: "balanceOf",
4749
+ inputs: [
4750
+ {
4751
+ name: "chainId",
4752
+ type: "string",
4753
+ internalType: "string"
4754
+ },
4755
+ {
4756
+ name: "account",
4757
+ type: "string",
4758
+ internalType: "string"
4759
+ },
4760
+ {
4761
+ name: "token",
4762
+ type: "string",
4763
+ internalType: "string"
4764
+ }
4765
+ ],
4766
+ outputs: [
4767
+ {
4768
+ name: "aliasBalance",
4769
+ type: "uint256",
4770
+ internalType: "uint256"
4771
+ },
4772
+ {
4773
+ name: "accountBalance",
4774
+ type: "uint256",
4775
+ internalType: "uint256"
4776
+ }
4777
+ ],
4778
+ stateMutability: "view"
4779
+ },
4780
+ {
4781
+ type: "function",
4782
+ name: "balancesOf",
4783
+ inputs: [
4784
+ {
4785
+ name: "chainId",
4786
+ type: "string",
4787
+ internalType: "string"
4788
+ },
4789
+ {
4790
+ name: "account",
4791
+ type: "string",
4792
+ internalType: "string"
4793
+ },
4794
+ {
4795
+ name: "tokens",
4796
+ type: "string[]",
4797
+ internalType: "string[]"
4798
+ }
4799
+ ],
4800
+ outputs: [
4801
+ {
4802
+ name: "aliasBalances",
4803
+ type: "uint256[]",
4804
+ internalType: "uint256[]"
4805
+ },
4806
+ {
4807
+ name: "accountBalances",
4808
+ type: "uint256[]",
4809
+ internalType: "uint256[]"
4810
+ }
4811
+ ],
4812
+ stateMutability: "view"
4813
+ },
4814
+ {
4815
+ type: "function",
4816
+ name: "encodeAddress",
4817
+ inputs: [
4818
+ {
4819
+ name: "addr",
4820
+ type: "string",
4821
+ internalType: "string"
4822
+ }
4823
+ ],
4824
+ outputs: [
4825
+ {
4826
+ name: "encoded",
4827
+ type: "bytes",
4828
+ internalType: "bytes"
4829
+ }
4830
+ ],
4831
+ stateMutability: "pure"
4832
+ },
4833
+ {
4834
+ type: "function",
4835
+ name: "tokenIdOf",
4836
+ inputs: [
4837
+ {
4838
+ name: "chainId",
4839
+ type: "string",
4840
+ internalType: "string"
4841
+ },
4842
+ {
4843
+ name: "token",
4844
+ type: "string",
4845
+ internalType: "string"
4846
+ }
4847
+ ],
4848
+ outputs: [
4849
+ {
4850
+ name: "tokenId",
4851
+ type: "uint256",
4852
+ internalType: "uint256"
4853
+ }
4854
+ ],
4855
+ stateMutability: "pure"
4856
+ },
4857
+ {
4858
+ type: "function",
4859
+ name: "tokenInfo",
4860
+ inputs: [
4861
+ {
4862
+ name: "chainId",
4863
+ type: "string",
4864
+ internalType: "string"
4865
+ },
4866
+ {
4867
+ name: "token",
4868
+ type: "string",
4869
+ internalType: "string"
4870
+ }
4871
+ ],
4872
+ outputs: [
4873
+ {
4874
+ name: "tokenId",
4875
+ type: "uint256",
4876
+ internalType: "uint256"
4877
+ },
4878
+ {
4879
+ name: "erc20View",
4880
+ type: "address",
4881
+ internalType: "address"
4882
+ },
4883
+ {
4884
+ name: "name",
4885
+ type: "string",
4886
+ internalType: "string"
4887
+ },
4888
+ {
4889
+ name: "symbol",
4890
+ type: "string",
4891
+ internalType: "string"
4892
+ },
4893
+ {
4894
+ name: "decimals",
4895
+ type: "uint8",
4896
+ internalType: "uint8"
4897
+ },
4898
+ {
4899
+ name: "totalSupply",
4900
+ type: "uint256",
4901
+ internalType: "uint256"
4902
+ }
4903
+ ],
4904
+ stateMutability: "view"
4905
+ },
4906
+ {
4907
+ type: "error",
4908
+ name: "HubCannotBeZero",
4909
+ inputs: []
4910
+ },
4911
+ {
4912
+ type: "error",
4913
+ name: "InvalidBase58Checksum",
4914
+ inputs: [
4915
+ {
4916
+ name: "addr",
4917
+ type: "string",
4918
+ internalType: "string"
4919
+ }
4920
+ ]
4921
+ },
4922
+ {
4923
+ type: "error",
4924
+ name: "InvalidHexAddress",
4925
+ inputs: [
4926
+ {
4927
+ name: "addr",
4928
+ type: "string",
4929
+ internalType: "string"
4930
+ }
4931
+ ]
4932
+ },
4933
+ {
4934
+ type: "error",
4935
+ name: "UnsupportedAddress",
4936
+ inputs: [
4937
+ {
4938
+ name: "addr",
4939
+ type: "string",
4940
+ internalType: "string"
4941
+ }
4942
+ ]
4943
+ }
4944
+ ];
4945
+
4217
4946
  // src/abis/RelayMultisigSigner.sol/RelayMultisigSigner.json
4218
4947
  var RelayMultisigSigner_default = [
4219
4948
  {
@@ -23071,6 +23800,15 @@ var ERC20_default = [
23071
23800
  }
23072
23801
  ];
23073
23802
 
23803
+ // src/abis/solady/src/utils/Base58.sol/Base58.json
23804
+ var Base58_default = [
23805
+ {
23806
+ type: "error",
23807
+ name: "Base58DecodingError",
23808
+ inputs: []
23809
+ }
23810
+ ];
23811
+
23074
23812
  // src/abis/solady/src/utils/FixedPointMathLib.sol/FixedPointMathLib.json
23075
23813
  var FixedPointMathLib_default = [
23076
23814
  {
@@ -27291,6 +28029,7 @@ var RelayOracle = mergeVersions(v1_default, v2_default);
27291
28029
  export {
27292
28030
  AuroraSdk_default as AuroraSdk,
27293
28031
  AuroraXccUtils_default as AuroraXccUtils,
28032
+ Base58_default as Base58,
27294
28033
  BasicCallResolver_default as BasicCallResolver,
27295
28034
  BasicPricingOracle_default as BasicPricingOracle,
27296
28035
  BitcoinVmPayloadBuilder_default as BitcoinVmPayloadBuilder,
@@ -27310,6 +28049,7 @@ export {
27310
28049
  GatewayEthereumVmDestinationPayloadBuilder_default as GatewayEthereumVmDestinationPayloadBuilder,
27311
28050
  GatewayVmPayloadBuilder_default as GatewayVmPayloadBuilder,
27312
28051
  HederaVmPayloadBuilder_default as HederaVmPayloadBuilder,
28052
+ HubAddressCodec_default as HubAddressCodec,
27313
28053
  HyperliquidVmPayloadBuilder_default as HyperliquidVmPayloadBuilder,
27314
28054
  IBidAskOracle_default as IBidAskOracle,
27315
28055
  ICallResolver_default as ICallResolver,
@@ -27338,6 +28078,7 @@ export {
27338
28078
  MockStorkFastVerifier_default as MockStorkFastVerifier,
27339
28079
  MockVerifierProxy_default as MockVerifierProxy,
27340
28080
  MockWNEAR_default as MockWNEAR,
28081
+ Multicall3_default as Multicall3,
27341
28082
  MulticallRouter_default as MulticallRouter,
27342
28083
  MyToken_default as MyToken,
27343
28084
  PoolDrawResolver_default as PoolDrawResolver,
@@ -27355,6 +28096,7 @@ export {
27355
28096
  RelayGatewayDepository_default as RelayGatewayDepository,
27356
28097
  RelayGenericMapping_default as RelayGenericMapping,
27357
28098
  RelayHub_default as RelayHub,
28099
+ RelayHubBalanceViewer_default as RelayHubBalanceViewer,
27358
28100
  RelayMultisigSigner_default as RelayMultisigSigner,
27359
28101
  RelayMultisigSignerHarness_default as RelayMultisigSignerHarness,
27360
28102
  RelayOracle,