@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/README.md +1 -1
- package/dist/index.d.mts +746 -1
- package/dist/index.d.ts +746 -1
- package/dist/index.js +746 -0
- package/dist/index.mjs +742 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -821,6 +821,491 @@ var IHub = [
|
|
|
821
821
|
}
|
|
822
822
|
];
|
|
823
823
|
|
|
824
|
+
var HubAddressCodec = [
|
|
825
|
+
{
|
|
826
|
+
type: "error",
|
|
827
|
+
name: "InvalidBase58Checksum",
|
|
828
|
+
inputs: [
|
|
829
|
+
{
|
|
830
|
+
name: "addr",
|
|
831
|
+
type: "string",
|
|
832
|
+
internalType: "string"
|
|
833
|
+
}
|
|
834
|
+
]
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
type: "error",
|
|
838
|
+
name: "InvalidHexAddress",
|
|
839
|
+
inputs: [
|
|
840
|
+
{
|
|
841
|
+
name: "addr",
|
|
842
|
+
type: "string",
|
|
843
|
+
internalType: "string"
|
|
844
|
+
}
|
|
845
|
+
]
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
type: "error",
|
|
849
|
+
name: "UnsupportedAddress",
|
|
850
|
+
inputs: [
|
|
851
|
+
{
|
|
852
|
+
name: "addr",
|
|
853
|
+
type: "string",
|
|
854
|
+
internalType: "string"
|
|
855
|
+
}
|
|
856
|
+
]
|
|
857
|
+
}
|
|
858
|
+
];
|
|
859
|
+
|
|
860
|
+
var Multicall3 = [
|
|
861
|
+
{
|
|
862
|
+
type: "function",
|
|
863
|
+
name: "aggregate",
|
|
864
|
+
inputs: [
|
|
865
|
+
{
|
|
866
|
+
name: "calls",
|
|
867
|
+
type: "tuple[]",
|
|
868
|
+
internalType: "struct Multicall3.Call[]",
|
|
869
|
+
components: [
|
|
870
|
+
{
|
|
871
|
+
name: "target",
|
|
872
|
+
type: "address",
|
|
873
|
+
internalType: "address"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
name: "callData",
|
|
877
|
+
type: "bytes",
|
|
878
|
+
internalType: "bytes"
|
|
879
|
+
}
|
|
880
|
+
]
|
|
881
|
+
}
|
|
882
|
+
],
|
|
883
|
+
outputs: [
|
|
884
|
+
{
|
|
885
|
+
name: "blockNumber",
|
|
886
|
+
type: "uint256",
|
|
887
|
+
internalType: "uint256"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
name: "returnData",
|
|
891
|
+
type: "bytes[]",
|
|
892
|
+
internalType: "bytes[]"
|
|
893
|
+
}
|
|
894
|
+
],
|
|
895
|
+
stateMutability: "payable"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
type: "function",
|
|
899
|
+
name: "aggregate3",
|
|
900
|
+
inputs: [
|
|
901
|
+
{
|
|
902
|
+
name: "calls",
|
|
903
|
+
type: "tuple[]",
|
|
904
|
+
internalType: "struct Multicall3.Call3[]",
|
|
905
|
+
components: [
|
|
906
|
+
{
|
|
907
|
+
name: "target",
|
|
908
|
+
type: "address",
|
|
909
|
+
internalType: "address"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
name: "allowFailure",
|
|
913
|
+
type: "bool",
|
|
914
|
+
internalType: "bool"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
name: "callData",
|
|
918
|
+
type: "bytes",
|
|
919
|
+
internalType: "bytes"
|
|
920
|
+
}
|
|
921
|
+
]
|
|
922
|
+
}
|
|
923
|
+
],
|
|
924
|
+
outputs: [
|
|
925
|
+
{
|
|
926
|
+
name: "returnData",
|
|
927
|
+
type: "tuple[]",
|
|
928
|
+
internalType: "struct Multicall3.Result[]",
|
|
929
|
+
components: [
|
|
930
|
+
{
|
|
931
|
+
name: "success",
|
|
932
|
+
type: "bool",
|
|
933
|
+
internalType: "bool"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
name: "returnData",
|
|
937
|
+
type: "bytes",
|
|
938
|
+
internalType: "bytes"
|
|
939
|
+
}
|
|
940
|
+
]
|
|
941
|
+
}
|
|
942
|
+
],
|
|
943
|
+
stateMutability: "payable"
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
type: "function",
|
|
947
|
+
name: "aggregate3Value",
|
|
948
|
+
inputs: [
|
|
949
|
+
{
|
|
950
|
+
name: "calls",
|
|
951
|
+
type: "tuple[]",
|
|
952
|
+
internalType: "struct Multicall3.Call3Value[]",
|
|
953
|
+
components: [
|
|
954
|
+
{
|
|
955
|
+
name: "target",
|
|
956
|
+
type: "address",
|
|
957
|
+
internalType: "address"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
name: "allowFailure",
|
|
961
|
+
type: "bool",
|
|
962
|
+
internalType: "bool"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
name: "value",
|
|
966
|
+
type: "uint256",
|
|
967
|
+
internalType: "uint256"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
name: "callData",
|
|
971
|
+
type: "bytes",
|
|
972
|
+
internalType: "bytes"
|
|
973
|
+
}
|
|
974
|
+
]
|
|
975
|
+
}
|
|
976
|
+
],
|
|
977
|
+
outputs: [
|
|
978
|
+
{
|
|
979
|
+
name: "returnData",
|
|
980
|
+
type: "tuple[]",
|
|
981
|
+
internalType: "struct Multicall3.Result[]",
|
|
982
|
+
components: [
|
|
983
|
+
{
|
|
984
|
+
name: "success",
|
|
985
|
+
type: "bool",
|
|
986
|
+
internalType: "bool"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
name: "returnData",
|
|
990
|
+
type: "bytes",
|
|
991
|
+
internalType: "bytes"
|
|
992
|
+
}
|
|
993
|
+
]
|
|
994
|
+
}
|
|
995
|
+
],
|
|
996
|
+
stateMutability: "payable"
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
type: "function",
|
|
1000
|
+
name: "blockAndAggregate",
|
|
1001
|
+
inputs: [
|
|
1002
|
+
{
|
|
1003
|
+
name: "calls",
|
|
1004
|
+
type: "tuple[]",
|
|
1005
|
+
internalType: "struct Multicall3.Call[]",
|
|
1006
|
+
components: [
|
|
1007
|
+
{
|
|
1008
|
+
name: "target",
|
|
1009
|
+
type: "address",
|
|
1010
|
+
internalType: "address"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
name: "callData",
|
|
1014
|
+
type: "bytes",
|
|
1015
|
+
internalType: "bytes"
|
|
1016
|
+
}
|
|
1017
|
+
]
|
|
1018
|
+
}
|
|
1019
|
+
],
|
|
1020
|
+
outputs: [
|
|
1021
|
+
{
|
|
1022
|
+
name: "blockNumber",
|
|
1023
|
+
type: "uint256",
|
|
1024
|
+
internalType: "uint256"
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
name: "blockHash",
|
|
1028
|
+
type: "bytes32",
|
|
1029
|
+
internalType: "bytes32"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
name: "returnData",
|
|
1033
|
+
type: "tuple[]",
|
|
1034
|
+
internalType: "struct Multicall3.Result[]",
|
|
1035
|
+
components: [
|
|
1036
|
+
{
|
|
1037
|
+
name: "success",
|
|
1038
|
+
type: "bool",
|
|
1039
|
+
internalType: "bool"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
name: "returnData",
|
|
1043
|
+
type: "bytes",
|
|
1044
|
+
internalType: "bytes"
|
|
1045
|
+
}
|
|
1046
|
+
]
|
|
1047
|
+
}
|
|
1048
|
+
],
|
|
1049
|
+
stateMutability: "payable"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
type: "function",
|
|
1053
|
+
name: "getBasefee",
|
|
1054
|
+
inputs: [
|
|
1055
|
+
],
|
|
1056
|
+
outputs: [
|
|
1057
|
+
{
|
|
1058
|
+
name: "basefee",
|
|
1059
|
+
type: "uint256",
|
|
1060
|
+
internalType: "uint256"
|
|
1061
|
+
}
|
|
1062
|
+
],
|
|
1063
|
+
stateMutability: "view"
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
type: "function",
|
|
1067
|
+
name: "getBlockHash",
|
|
1068
|
+
inputs: [
|
|
1069
|
+
{
|
|
1070
|
+
name: "blockNumber",
|
|
1071
|
+
type: "uint256",
|
|
1072
|
+
internalType: "uint256"
|
|
1073
|
+
}
|
|
1074
|
+
],
|
|
1075
|
+
outputs: [
|
|
1076
|
+
{
|
|
1077
|
+
name: "blockHash",
|
|
1078
|
+
type: "bytes32",
|
|
1079
|
+
internalType: "bytes32"
|
|
1080
|
+
}
|
|
1081
|
+
],
|
|
1082
|
+
stateMutability: "view"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
type: "function",
|
|
1086
|
+
name: "getBlockNumber",
|
|
1087
|
+
inputs: [
|
|
1088
|
+
],
|
|
1089
|
+
outputs: [
|
|
1090
|
+
{
|
|
1091
|
+
name: "blockNumber",
|
|
1092
|
+
type: "uint256",
|
|
1093
|
+
internalType: "uint256"
|
|
1094
|
+
}
|
|
1095
|
+
],
|
|
1096
|
+
stateMutability: "view"
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
type: "function",
|
|
1100
|
+
name: "getChainId",
|
|
1101
|
+
inputs: [
|
|
1102
|
+
],
|
|
1103
|
+
outputs: [
|
|
1104
|
+
{
|
|
1105
|
+
name: "chainId",
|
|
1106
|
+
type: "uint256",
|
|
1107
|
+
internalType: "uint256"
|
|
1108
|
+
}
|
|
1109
|
+
],
|
|
1110
|
+
stateMutability: "view"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
type: "function",
|
|
1114
|
+
name: "getCurrentBlockCoinbase",
|
|
1115
|
+
inputs: [
|
|
1116
|
+
],
|
|
1117
|
+
outputs: [
|
|
1118
|
+
{
|
|
1119
|
+
name: "coinbase",
|
|
1120
|
+
type: "address",
|
|
1121
|
+
internalType: "address"
|
|
1122
|
+
}
|
|
1123
|
+
],
|
|
1124
|
+
stateMutability: "view"
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
type: "function",
|
|
1128
|
+
name: "getCurrentBlockDifficulty",
|
|
1129
|
+
inputs: [
|
|
1130
|
+
],
|
|
1131
|
+
outputs: [
|
|
1132
|
+
{
|
|
1133
|
+
name: "difficulty",
|
|
1134
|
+
type: "uint256",
|
|
1135
|
+
internalType: "uint256"
|
|
1136
|
+
}
|
|
1137
|
+
],
|
|
1138
|
+
stateMutability: "view"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
type: "function",
|
|
1142
|
+
name: "getCurrentBlockGasLimit",
|
|
1143
|
+
inputs: [
|
|
1144
|
+
],
|
|
1145
|
+
outputs: [
|
|
1146
|
+
{
|
|
1147
|
+
name: "gaslimit",
|
|
1148
|
+
type: "uint256",
|
|
1149
|
+
internalType: "uint256"
|
|
1150
|
+
}
|
|
1151
|
+
],
|
|
1152
|
+
stateMutability: "view"
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
type: "function",
|
|
1156
|
+
name: "getCurrentBlockTimestamp",
|
|
1157
|
+
inputs: [
|
|
1158
|
+
],
|
|
1159
|
+
outputs: [
|
|
1160
|
+
{
|
|
1161
|
+
name: "timestamp",
|
|
1162
|
+
type: "uint256",
|
|
1163
|
+
internalType: "uint256"
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
1166
|
+
stateMutability: "view"
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
type: "function",
|
|
1170
|
+
name: "getEthBalance",
|
|
1171
|
+
inputs: [
|
|
1172
|
+
{
|
|
1173
|
+
name: "account",
|
|
1174
|
+
type: "address",
|
|
1175
|
+
internalType: "address"
|
|
1176
|
+
}
|
|
1177
|
+
],
|
|
1178
|
+
outputs: [
|
|
1179
|
+
{
|
|
1180
|
+
name: "balance",
|
|
1181
|
+
type: "uint256",
|
|
1182
|
+
internalType: "uint256"
|
|
1183
|
+
}
|
|
1184
|
+
],
|
|
1185
|
+
stateMutability: "view"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
type: "function",
|
|
1189
|
+
name: "getLastBlockHash",
|
|
1190
|
+
inputs: [
|
|
1191
|
+
],
|
|
1192
|
+
outputs: [
|
|
1193
|
+
{
|
|
1194
|
+
name: "blockHash",
|
|
1195
|
+
type: "bytes32",
|
|
1196
|
+
internalType: "bytes32"
|
|
1197
|
+
}
|
|
1198
|
+
],
|
|
1199
|
+
stateMutability: "view"
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
type: "function",
|
|
1203
|
+
name: "tryAggregate",
|
|
1204
|
+
inputs: [
|
|
1205
|
+
{
|
|
1206
|
+
name: "requireSuccess",
|
|
1207
|
+
type: "bool",
|
|
1208
|
+
internalType: "bool"
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
name: "calls",
|
|
1212
|
+
type: "tuple[]",
|
|
1213
|
+
internalType: "struct Multicall3.Call[]",
|
|
1214
|
+
components: [
|
|
1215
|
+
{
|
|
1216
|
+
name: "target",
|
|
1217
|
+
type: "address",
|
|
1218
|
+
internalType: "address"
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
name: "callData",
|
|
1222
|
+
type: "bytes",
|
|
1223
|
+
internalType: "bytes"
|
|
1224
|
+
}
|
|
1225
|
+
]
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
outputs: [
|
|
1229
|
+
{
|
|
1230
|
+
name: "returnData",
|
|
1231
|
+
type: "tuple[]",
|
|
1232
|
+
internalType: "struct Multicall3.Result[]",
|
|
1233
|
+
components: [
|
|
1234
|
+
{
|
|
1235
|
+
name: "success",
|
|
1236
|
+
type: "bool",
|
|
1237
|
+
internalType: "bool"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
name: "returnData",
|
|
1241
|
+
type: "bytes",
|
|
1242
|
+
internalType: "bytes"
|
|
1243
|
+
}
|
|
1244
|
+
]
|
|
1245
|
+
}
|
|
1246
|
+
],
|
|
1247
|
+
stateMutability: "payable"
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
type: "function",
|
|
1251
|
+
name: "tryBlockAndAggregate",
|
|
1252
|
+
inputs: [
|
|
1253
|
+
{
|
|
1254
|
+
name: "requireSuccess",
|
|
1255
|
+
type: "bool",
|
|
1256
|
+
internalType: "bool"
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
name: "calls",
|
|
1260
|
+
type: "tuple[]",
|
|
1261
|
+
internalType: "struct Multicall3.Call[]",
|
|
1262
|
+
components: [
|
|
1263
|
+
{
|
|
1264
|
+
name: "target",
|
|
1265
|
+
type: "address",
|
|
1266
|
+
internalType: "address"
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
name: "callData",
|
|
1270
|
+
type: "bytes",
|
|
1271
|
+
internalType: "bytes"
|
|
1272
|
+
}
|
|
1273
|
+
]
|
|
1274
|
+
}
|
|
1275
|
+
],
|
|
1276
|
+
outputs: [
|
|
1277
|
+
{
|
|
1278
|
+
name: "blockNumber",
|
|
1279
|
+
type: "uint256",
|
|
1280
|
+
internalType: "uint256"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
name: "blockHash",
|
|
1284
|
+
type: "bytes32",
|
|
1285
|
+
internalType: "bytes32"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
name: "returnData",
|
|
1289
|
+
type: "tuple[]",
|
|
1290
|
+
internalType: "struct Multicall3.Result[]",
|
|
1291
|
+
components: [
|
|
1292
|
+
{
|
|
1293
|
+
name: "success",
|
|
1294
|
+
type: "bool",
|
|
1295
|
+
internalType: "bool"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
name: "returnData",
|
|
1299
|
+
type: "bytes",
|
|
1300
|
+
internalType: "bytes"
|
|
1301
|
+
}
|
|
1302
|
+
]
|
|
1303
|
+
}
|
|
1304
|
+
],
|
|
1305
|
+
stateMutability: "payable"
|
|
1306
|
+
}
|
|
1307
|
+
];
|
|
1308
|
+
|
|
824
1309
|
var IPayloadBuilder = [
|
|
825
1310
|
{
|
|
826
1311
|
type: "function",
|
|
@@ -4287,6 +4772,257 @@ var RelayHub = [
|
|
|
4287
4772
|
}
|
|
4288
4773
|
];
|
|
4289
4774
|
|
|
4775
|
+
var RelayHubBalanceViewer = [
|
|
4776
|
+
{
|
|
4777
|
+
type: "constructor",
|
|
4778
|
+
inputs: [
|
|
4779
|
+
{
|
|
4780
|
+
name: "_hub",
|
|
4781
|
+
type: "address",
|
|
4782
|
+
internalType: "address"
|
|
4783
|
+
}
|
|
4784
|
+
],
|
|
4785
|
+
stateMutability: "nonpayable"
|
|
4786
|
+
},
|
|
4787
|
+
{
|
|
4788
|
+
type: "function",
|
|
4789
|
+
name: "HUB",
|
|
4790
|
+
inputs: [
|
|
4791
|
+
],
|
|
4792
|
+
outputs: [
|
|
4793
|
+
{
|
|
4794
|
+
name: "",
|
|
4795
|
+
type: "address",
|
|
4796
|
+
internalType: "contract RelayHub"
|
|
4797
|
+
}
|
|
4798
|
+
],
|
|
4799
|
+
stateMutability: "view"
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
type: "function",
|
|
4803
|
+
name: "aliasOf",
|
|
4804
|
+
inputs: [
|
|
4805
|
+
{
|
|
4806
|
+
name: "chainId",
|
|
4807
|
+
type: "string",
|
|
4808
|
+
internalType: "string"
|
|
4809
|
+
},
|
|
4810
|
+
{
|
|
4811
|
+
name: "account",
|
|
4812
|
+
type: "string",
|
|
4813
|
+
internalType: "string"
|
|
4814
|
+
}
|
|
4815
|
+
],
|
|
4816
|
+
outputs: [
|
|
4817
|
+
{
|
|
4818
|
+
name: "aliasAddress",
|
|
4819
|
+
type: "address",
|
|
4820
|
+
internalType: "address"
|
|
4821
|
+
}
|
|
4822
|
+
],
|
|
4823
|
+
stateMutability: "pure"
|
|
4824
|
+
},
|
|
4825
|
+
{
|
|
4826
|
+
type: "function",
|
|
4827
|
+
name: "balanceOf",
|
|
4828
|
+
inputs: [
|
|
4829
|
+
{
|
|
4830
|
+
name: "chainId",
|
|
4831
|
+
type: "string",
|
|
4832
|
+
internalType: "string"
|
|
4833
|
+
},
|
|
4834
|
+
{
|
|
4835
|
+
name: "account",
|
|
4836
|
+
type: "string",
|
|
4837
|
+
internalType: "string"
|
|
4838
|
+
},
|
|
4839
|
+
{
|
|
4840
|
+
name: "token",
|
|
4841
|
+
type: "string",
|
|
4842
|
+
internalType: "string"
|
|
4843
|
+
}
|
|
4844
|
+
],
|
|
4845
|
+
outputs: [
|
|
4846
|
+
{
|
|
4847
|
+
name: "aliasBalance",
|
|
4848
|
+
type: "uint256",
|
|
4849
|
+
internalType: "uint256"
|
|
4850
|
+
},
|
|
4851
|
+
{
|
|
4852
|
+
name: "accountBalance",
|
|
4853
|
+
type: "uint256",
|
|
4854
|
+
internalType: "uint256"
|
|
4855
|
+
}
|
|
4856
|
+
],
|
|
4857
|
+
stateMutability: "view"
|
|
4858
|
+
},
|
|
4859
|
+
{
|
|
4860
|
+
type: "function",
|
|
4861
|
+
name: "balancesOf",
|
|
4862
|
+
inputs: [
|
|
4863
|
+
{
|
|
4864
|
+
name: "chainId",
|
|
4865
|
+
type: "string",
|
|
4866
|
+
internalType: "string"
|
|
4867
|
+
},
|
|
4868
|
+
{
|
|
4869
|
+
name: "account",
|
|
4870
|
+
type: "string",
|
|
4871
|
+
internalType: "string"
|
|
4872
|
+
},
|
|
4873
|
+
{
|
|
4874
|
+
name: "tokens",
|
|
4875
|
+
type: "string[]",
|
|
4876
|
+
internalType: "string[]"
|
|
4877
|
+
}
|
|
4878
|
+
],
|
|
4879
|
+
outputs: [
|
|
4880
|
+
{
|
|
4881
|
+
name: "aliasBalances",
|
|
4882
|
+
type: "uint256[]",
|
|
4883
|
+
internalType: "uint256[]"
|
|
4884
|
+
},
|
|
4885
|
+
{
|
|
4886
|
+
name: "accountBalances",
|
|
4887
|
+
type: "uint256[]",
|
|
4888
|
+
internalType: "uint256[]"
|
|
4889
|
+
}
|
|
4890
|
+
],
|
|
4891
|
+
stateMutability: "view"
|
|
4892
|
+
},
|
|
4893
|
+
{
|
|
4894
|
+
type: "function",
|
|
4895
|
+
name: "encodeAddress",
|
|
4896
|
+
inputs: [
|
|
4897
|
+
{
|
|
4898
|
+
name: "addr",
|
|
4899
|
+
type: "string",
|
|
4900
|
+
internalType: "string"
|
|
4901
|
+
}
|
|
4902
|
+
],
|
|
4903
|
+
outputs: [
|
|
4904
|
+
{
|
|
4905
|
+
name: "encoded",
|
|
4906
|
+
type: "bytes",
|
|
4907
|
+
internalType: "bytes"
|
|
4908
|
+
}
|
|
4909
|
+
],
|
|
4910
|
+
stateMutability: "pure"
|
|
4911
|
+
},
|
|
4912
|
+
{
|
|
4913
|
+
type: "function",
|
|
4914
|
+
name: "tokenIdOf",
|
|
4915
|
+
inputs: [
|
|
4916
|
+
{
|
|
4917
|
+
name: "chainId",
|
|
4918
|
+
type: "string",
|
|
4919
|
+
internalType: "string"
|
|
4920
|
+
},
|
|
4921
|
+
{
|
|
4922
|
+
name: "token",
|
|
4923
|
+
type: "string",
|
|
4924
|
+
internalType: "string"
|
|
4925
|
+
}
|
|
4926
|
+
],
|
|
4927
|
+
outputs: [
|
|
4928
|
+
{
|
|
4929
|
+
name: "tokenId",
|
|
4930
|
+
type: "uint256",
|
|
4931
|
+
internalType: "uint256"
|
|
4932
|
+
}
|
|
4933
|
+
],
|
|
4934
|
+
stateMutability: "pure"
|
|
4935
|
+
},
|
|
4936
|
+
{
|
|
4937
|
+
type: "function",
|
|
4938
|
+
name: "tokenInfo",
|
|
4939
|
+
inputs: [
|
|
4940
|
+
{
|
|
4941
|
+
name: "chainId",
|
|
4942
|
+
type: "string",
|
|
4943
|
+
internalType: "string"
|
|
4944
|
+
},
|
|
4945
|
+
{
|
|
4946
|
+
name: "token",
|
|
4947
|
+
type: "string",
|
|
4948
|
+
internalType: "string"
|
|
4949
|
+
}
|
|
4950
|
+
],
|
|
4951
|
+
outputs: [
|
|
4952
|
+
{
|
|
4953
|
+
name: "tokenId",
|
|
4954
|
+
type: "uint256",
|
|
4955
|
+
internalType: "uint256"
|
|
4956
|
+
},
|
|
4957
|
+
{
|
|
4958
|
+
name: "erc20View",
|
|
4959
|
+
type: "address",
|
|
4960
|
+
internalType: "address"
|
|
4961
|
+
},
|
|
4962
|
+
{
|
|
4963
|
+
name: "name",
|
|
4964
|
+
type: "string",
|
|
4965
|
+
internalType: "string"
|
|
4966
|
+
},
|
|
4967
|
+
{
|
|
4968
|
+
name: "symbol",
|
|
4969
|
+
type: "string",
|
|
4970
|
+
internalType: "string"
|
|
4971
|
+
},
|
|
4972
|
+
{
|
|
4973
|
+
name: "decimals",
|
|
4974
|
+
type: "uint8",
|
|
4975
|
+
internalType: "uint8"
|
|
4976
|
+
},
|
|
4977
|
+
{
|
|
4978
|
+
name: "totalSupply",
|
|
4979
|
+
type: "uint256",
|
|
4980
|
+
internalType: "uint256"
|
|
4981
|
+
}
|
|
4982
|
+
],
|
|
4983
|
+
stateMutability: "view"
|
|
4984
|
+
},
|
|
4985
|
+
{
|
|
4986
|
+
type: "error",
|
|
4987
|
+
name: "HubCannotBeZero",
|
|
4988
|
+
inputs: [
|
|
4989
|
+
]
|
|
4990
|
+
},
|
|
4991
|
+
{
|
|
4992
|
+
type: "error",
|
|
4993
|
+
name: "InvalidBase58Checksum",
|
|
4994
|
+
inputs: [
|
|
4995
|
+
{
|
|
4996
|
+
name: "addr",
|
|
4997
|
+
type: "string",
|
|
4998
|
+
internalType: "string"
|
|
4999
|
+
}
|
|
5000
|
+
]
|
|
5001
|
+
},
|
|
5002
|
+
{
|
|
5003
|
+
type: "error",
|
|
5004
|
+
name: "InvalidHexAddress",
|
|
5005
|
+
inputs: [
|
|
5006
|
+
{
|
|
5007
|
+
name: "addr",
|
|
5008
|
+
type: "string",
|
|
5009
|
+
internalType: "string"
|
|
5010
|
+
}
|
|
5011
|
+
]
|
|
5012
|
+
},
|
|
5013
|
+
{
|
|
5014
|
+
type: "error",
|
|
5015
|
+
name: "UnsupportedAddress",
|
|
5016
|
+
inputs: [
|
|
5017
|
+
{
|
|
5018
|
+
name: "addr",
|
|
5019
|
+
type: "string",
|
|
5020
|
+
internalType: "string"
|
|
5021
|
+
}
|
|
5022
|
+
]
|
|
5023
|
+
}
|
|
5024
|
+
];
|
|
5025
|
+
|
|
4290
5026
|
var RelayMultisigSigner = [
|
|
4291
5027
|
{
|
|
4292
5028
|
type: "constructor",
|
|
@@ -23489,6 +24225,15 @@ var ERC20 = [
|
|
|
23489
24225
|
}
|
|
23490
24226
|
];
|
|
23491
24227
|
|
|
24228
|
+
var Base58 = [
|
|
24229
|
+
{
|
|
24230
|
+
type: "error",
|
|
24231
|
+
name: "Base58DecodingError",
|
|
24232
|
+
inputs: [
|
|
24233
|
+
]
|
|
24234
|
+
}
|
|
24235
|
+
];
|
|
24236
|
+
|
|
23492
24237
|
var FixedPointMathLib = [
|
|
23493
24238
|
{
|
|
23494
24239
|
type: "error",
|
|
@@ -24570,4 +25315,4 @@ var MyToken = [
|
|
|
24570
25315
|
|
|
24571
25316
|
declare const RelayOracle: Record<string, unknown>[];
|
|
24572
25317
|
|
|
24573
|
-
export { AuroraSdk, AuroraXccUtils, BasicCallResolver, BasicPricingOracle, BitcoinVmPayloadBuilder, Borsh, ChainSignatures, ChainlinkDataStreamsAdapter, CircleGatewayCodec, Codec, Config, ERC20, ERC20View, EmptyPayloadBuilder, EthereumVmPayloadBuilder, FeeOnTransferToken, FixedPointMathLib, GasPaidPayloadBuilder, GatewayEthereumVmDestinationPayloadBuilder, GatewayVmPayloadBuilder, HederaVmPayloadBuilder, HyperliquidVmPayloadBuilder, IBidAskOracle, ICallResolver, ICircleGatewayMinter, ICircleGatewayWallet, IERC20View, IFeeCalculator, IGatewayDestinationPayloadBuilder, IHub, IMulticallRouter, IPayloadBuilder, IPriceFeedAdapter, IPricingOracle, IRateLimiter, IRelayAllocatorOwner, IRelayExecutorHasher, IRelayFundingPool, IRelayHubViewRegistry, IRelayOracleIdempotencySource, IStorkFastVerifier, IVerifierProxy, IWithdrawGasPayer, LighterVmPayloadBuilder, MockPriceFeedAdapter, MockPricingOracle, 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, TonVmPayloadBuilder, TronVmPayloadBuilder, Utils, WithdrawGasPayer, WithdrawParams, XrpVmPayloadBuilder };
|
|
25318
|
+
export { AuroraSdk, AuroraXccUtils, Base58, BasicCallResolver, BasicPricingOracle, BitcoinVmPayloadBuilder, Borsh, ChainSignatures, ChainlinkDataStreamsAdapter, CircleGatewayCodec, Codec, Config, ERC20, ERC20View, EmptyPayloadBuilder, EthereumVmPayloadBuilder, FeeOnTransferToken, FixedPointMathLib, GasPaidPayloadBuilder, GatewayEthereumVmDestinationPayloadBuilder, GatewayVmPayloadBuilder, HederaVmPayloadBuilder, HubAddressCodec, HyperliquidVmPayloadBuilder, IBidAskOracle, ICallResolver, ICircleGatewayMinter, ICircleGatewayWallet, IERC20View, IFeeCalculator, IGatewayDestinationPayloadBuilder, IHub, IMulticallRouter, IPayloadBuilder, IPriceFeedAdapter, IPricingOracle, IRateLimiter, IRelayAllocatorOwner, IRelayExecutorHasher, IRelayFundingPool, IRelayHubViewRegistry, IRelayOracleIdempotencySource, IStorkFastVerifier, IVerifierProxy, IWithdrawGasPayer, LighterVmPayloadBuilder, MockPriceFeedAdapter, MockPricingOracle, MockStorkFastVerifier, MockVerifierProxy, MockWNEAR, Multicall3, MulticallRouter, MyToken, PoolDrawResolver, PoolResolverBase, PriceOraclePrecompile, Protobuf, RelayAllocator, RelayAmountRateLimiter, RelayBpsFeeCalculator, RelayDepositAddressManager, RelayDepository, RelayExecutor, RelayFundingPool, RelayFundingPoolFactory, RelayGatewayDepository, RelayGenericMapping, RelayHub, RelayHubBalanceViewer, RelayMultisigSigner, RelayMultisigSignerHarness, RelayOracle, RelayOracleIdempotencyStore, RelayOracleMultisig, RelayOracleV2, RelayPriceOracle, RelayUsdRateLimiter, ResolverSandbox, SafeCastLib, SafeTransferLib, Sha512, SignatureCheckerLib, SignedPricingOracle, SolanaVmPayloadBuilder, StorkFastAdapter, TonVmPayloadBuilder, TronVmPayloadBuilder, Utils, WithdrawGasPayer, WithdrawParams, XrpVmPayloadBuilder };
|