@relay-protocol/settlement-abis 2.0.17 → 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 +872 -87
- package/dist/index.d.ts +872 -87
- package/dist/index.js +870 -84
- package/dist/index.mjs +866 -84
- 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",
|
|
@@ -4120,166 +4605,417 @@ var RelayHub = [
|
|
|
4120
4605
|
internalType: "address"
|
|
4121
4606
|
}
|
|
4122
4607
|
],
|
|
4123
|
-
anonymous: false
|
|
4608
|
+
anonymous: false
|
|
4609
|
+
},
|
|
4610
|
+
{
|
|
4611
|
+
type: "event",
|
|
4612
|
+
name: "RoleRevoked",
|
|
4613
|
+
inputs: [
|
|
4614
|
+
{
|
|
4615
|
+
name: "role",
|
|
4616
|
+
type: "bytes32",
|
|
4617
|
+
indexed: true,
|
|
4618
|
+
internalType: "bytes32"
|
|
4619
|
+
},
|
|
4620
|
+
{
|
|
4621
|
+
name: "account",
|
|
4622
|
+
type: "address",
|
|
4623
|
+
indexed: true,
|
|
4624
|
+
internalType: "address"
|
|
4625
|
+
},
|
|
4626
|
+
{
|
|
4627
|
+
name: "sender",
|
|
4628
|
+
type: "address",
|
|
4629
|
+
indexed: true,
|
|
4630
|
+
internalType: "address"
|
|
4631
|
+
}
|
|
4632
|
+
],
|
|
4633
|
+
anonymous: false
|
|
4634
|
+
},
|
|
4635
|
+
{
|
|
4636
|
+
type: "event",
|
|
4637
|
+
name: "Transfer",
|
|
4638
|
+
inputs: [
|
|
4639
|
+
{
|
|
4640
|
+
name: "caller",
|
|
4641
|
+
type: "address",
|
|
4642
|
+
indexed: false,
|
|
4643
|
+
internalType: "address"
|
|
4644
|
+
},
|
|
4645
|
+
{
|
|
4646
|
+
name: "from",
|
|
4647
|
+
type: "address",
|
|
4648
|
+
indexed: true,
|
|
4649
|
+
internalType: "address"
|
|
4650
|
+
},
|
|
4651
|
+
{
|
|
4652
|
+
name: "to",
|
|
4653
|
+
type: "address",
|
|
4654
|
+
indexed: true,
|
|
4655
|
+
internalType: "address"
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
name: "id",
|
|
4659
|
+
type: "uint256",
|
|
4660
|
+
indexed: true,
|
|
4661
|
+
internalType: "uint256"
|
|
4662
|
+
},
|
|
4663
|
+
{
|
|
4664
|
+
name: "amount",
|
|
4665
|
+
type: "uint256",
|
|
4666
|
+
indexed: false,
|
|
4667
|
+
internalType: "uint256"
|
|
4668
|
+
}
|
|
4669
|
+
],
|
|
4670
|
+
anonymous: false
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
type: "error",
|
|
4674
|
+
name: "AccessControlBadConfirmation",
|
|
4675
|
+
inputs: [
|
|
4676
|
+
]
|
|
4677
|
+
},
|
|
4678
|
+
{
|
|
4679
|
+
type: "error",
|
|
4680
|
+
name: "AccessControlUnauthorizedAccount",
|
|
4681
|
+
inputs: [
|
|
4682
|
+
{
|
|
4683
|
+
name: "account",
|
|
4684
|
+
type: "address",
|
|
4685
|
+
internalType: "address"
|
|
4686
|
+
},
|
|
4687
|
+
{
|
|
4688
|
+
name: "neededRole",
|
|
4689
|
+
type: "bytes32",
|
|
4690
|
+
internalType: "bytes32"
|
|
4691
|
+
}
|
|
4692
|
+
]
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
type: "error",
|
|
4696
|
+
name: "ECDSAInvalidSignature",
|
|
4697
|
+
inputs: [
|
|
4698
|
+
]
|
|
4699
|
+
},
|
|
4700
|
+
{
|
|
4701
|
+
type: "error",
|
|
4702
|
+
name: "ECDSAInvalidSignatureLength",
|
|
4703
|
+
inputs: [
|
|
4704
|
+
{
|
|
4705
|
+
name: "length",
|
|
4706
|
+
type: "uint256",
|
|
4707
|
+
internalType: "uint256"
|
|
4708
|
+
}
|
|
4709
|
+
]
|
|
4710
|
+
},
|
|
4711
|
+
{
|
|
4712
|
+
type: "error",
|
|
4713
|
+
name: "ECDSAInvalidSignatureS",
|
|
4714
|
+
inputs: [
|
|
4715
|
+
{
|
|
4716
|
+
name: "s",
|
|
4717
|
+
type: "bytes32",
|
|
4718
|
+
internalType: "bytes32"
|
|
4719
|
+
}
|
|
4720
|
+
]
|
|
4721
|
+
},
|
|
4722
|
+
{
|
|
4723
|
+
type: "error",
|
|
4724
|
+
name: "InvalidPermitOwner",
|
|
4725
|
+
inputs: [
|
|
4726
|
+
]
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
type: "error",
|
|
4730
|
+
name: "InvalidPermitSignature",
|
|
4731
|
+
inputs: [
|
|
4732
|
+
]
|
|
4733
|
+
},
|
|
4734
|
+
{
|
|
4735
|
+
type: "error",
|
|
4736
|
+
name: "InvalidShortString",
|
|
4737
|
+
inputs: [
|
|
4738
|
+
]
|
|
4739
|
+
},
|
|
4740
|
+
{
|
|
4741
|
+
type: "error",
|
|
4742
|
+
name: "OnlyERC20ViewCanCallApproveFor",
|
|
4743
|
+
inputs: [
|
|
4744
|
+
{
|
|
4745
|
+
name: "caller",
|
|
4746
|
+
type: "address",
|
|
4747
|
+
internalType: "address"
|
|
4748
|
+
},
|
|
4749
|
+
{
|
|
4750
|
+
name: "expectedERC20View",
|
|
4751
|
+
type: "address",
|
|
4752
|
+
internalType: "address"
|
|
4753
|
+
}
|
|
4754
|
+
]
|
|
4755
|
+
},
|
|
4756
|
+
{
|
|
4757
|
+
type: "error",
|
|
4758
|
+
name: "PermitDeadlineExpired",
|
|
4759
|
+
inputs: [
|
|
4760
|
+
]
|
|
4761
|
+
},
|
|
4762
|
+
{
|
|
4763
|
+
type: "error",
|
|
4764
|
+
name: "StringTooLong",
|
|
4765
|
+
inputs: [
|
|
4766
|
+
{
|
|
4767
|
+
name: "str",
|
|
4768
|
+
type: "string",
|
|
4769
|
+
internalType: "string"
|
|
4770
|
+
}
|
|
4771
|
+
]
|
|
4772
|
+
}
|
|
4773
|
+
];
|
|
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"
|
|
4124
4800
|
},
|
|
4125
4801
|
{
|
|
4126
|
-
type: "
|
|
4127
|
-
name: "
|
|
4802
|
+
type: "function",
|
|
4803
|
+
name: "aliasOf",
|
|
4128
4804
|
inputs: [
|
|
4129
4805
|
{
|
|
4130
|
-
name: "
|
|
4131
|
-
type: "
|
|
4132
|
-
|
|
4133
|
-
internalType: "bytes32"
|
|
4806
|
+
name: "chainId",
|
|
4807
|
+
type: "string",
|
|
4808
|
+
internalType: "string"
|
|
4134
4809
|
},
|
|
4135
4810
|
{
|
|
4136
4811
|
name: "account",
|
|
4137
|
-
type: "
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4812
|
+
type: "string",
|
|
4813
|
+
internalType: "string"
|
|
4814
|
+
}
|
|
4815
|
+
],
|
|
4816
|
+
outputs: [
|
|
4141
4817
|
{
|
|
4142
|
-
name: "
|
|
4818
|
+
name: "aliasAddress",
|
|
4143
4819
|
type: "address",
|
|
4144
|
-
indexed: true,
|
|
4145
4820
|
internalType: "address"
|
|
4146
4821
|
}
|
|
4147
4822
|
],
|
|
4148
|
-
|
|
4823
|
+
stateMutability: "pure"
|
|
4149
4824
|
},
|
|
4150
4825
|
{
|
|
4151
|
-
type: "
|
|
4152
|
-
name: "
|
|
4826
|
+
type: "function",
|
|
4827
|
+
name: "balanceOf",
|
|
4153
4828
|
inputs: [
|
|
4154
4829
|
{
|
|
4155
|
-
name: "
|
|
4156
|
-
type: "
|
|
4157
|
-
|
|
4158
|
-
internalType: "address"
|
|
4830
|
+
name: "chainId",
|
|
4831
|
+
type: "string",
|
|
4832
|
+
internalType: "string"
|
|
4159
4833
|
},
|
|
4160
4834
|
{
|
|
4161
|
-
name: "
|
|
4162
|
-
type: "
|
|
4163
|
-
|
|
4164
|
-
internalType: "address"
|
|
4835
|
+
name: "account",
|
|
4836
|
+
type: "string",
|
|
4837
|
+
internalType: "string"
|
|
4165
4838
|
},
|
|
4166
4839
|
{
|
|
4167
|
-
name: "
|
|
4168
|
-
type: "
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4840
|
+
name: "token",
|
|
4841
|
+
type: "string",
|
|
4842
|
+
internalType: "string"
|
|
4843
|
+
}
|
|
4844
|
+
],
|
|
4845
|
+
outputs: [
|
|
4172
4846
|
{
|
|
4173
|
-
name: "
|
|
4847
|
+
name: "aliasBalance",
|
|
4174
4848
|
type: "uint256",
|
|
4175
|
-
indexed: true,
|
|
4176
4849
|
internalType: "uint256"
|
|
4177
4850
|
},
|
|
4178
4851
|
{
|
|
4179
|
-
name: "
|
|
4852
|
+
name: "accountBalance",
|
|
4180
4853
|
type: "uint256",
|
|
4181
|
-
indexed: false,
|
|
4182
4854
|
internalType: "uint256"
|
|
4183
4855
|
}
|
|
4184
4856
|
],
|
|
4185
|
-
|
|
4186
|
-
},
|
|
4187
|
-
{
|
|
4188
|
-
type: "error",
|
|
4189
|
-
name: "AccessControlBadConfirmation",
|
|
4190
|
-
inputs: [
|
|
4191
|
-
]
|
|
4857
|
+
stateMutability: "view"
|
|
4192
4858
|
},
|
|
4193
4859
|
{
|
|
4194
|
-
type: "
|
|
4195
|
-
name: "
|
|
4860
|
+
type: "function",
|
|
4861
|
+
name: "balancesOf",
|
|
4196
4862
|
inputs: [
|
|
4863
|
+
{
|
|
4864
|
+
name: "chainId",
|
|
4865
|
+
type: "string",
|
|
4866
|
+
internalType: "string"
|
|
4867
|
+
},
|
|
4197
4868
|
{
|
|
4198
4869
|
name: "account",
|
|
4199
|
-
type: "
|
|
4200
|
-
internalType: "
|
|
4870
|
+
type: "string",
|
|
4871
|
+
internalType: "string"
|
|
4201
4872
|
},
|
|
4202
4873
|
{
|
|
4203
|
-
name: "
|
|
4204
|
-
type: "
|
|
4205
|
-
internalType: "
|
|
4874
|
+
name: "tokens",
|
|
4875
|
+
type: "string[]",
|
|
4876
|
+
internalType: "string[]"
|
|
4206
4877
|
}
|
|
4207
|
-
]
|
|
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"
|
|
4208
4892
|
},
|
|
4209
4893
|
{
|
|
4210
|
-
type: "
|
|
4211
|
-
name: "
|
|
4894
|
+
type: "function",
|
|
4895
|
+
name: "encodeAddress",
|
|
4212
4896
|
inputs: [
|
|
4213
|
-
|
|
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"
|
|
4214
4911
|
},
|
|
4215
4912
|
{
|
|
4216
|
-
type: "
|
|
4217
|
-
name: "
|
|
4913
|
+
type: "function",
|
|
4914
|
+
name: "tokenIdOf",
|
|
4218
4915
|
inputs: [
|
|
4219
4916
|
{
|
|
4220
|
-
name: "
|
|
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",
|
|
4221
4930
|
type: "uint256",
|
|
4222
4931
|
internalType: "uint256"
|
|
4223
4932
|
}
|
|
4224
|
-
]
|
|
4933
|
+
],
|
|
4934
|
+
stateMutability: "pure"
|
|
4225
4935
|
},
|
|
4226
4936
|
{
|
|
4227
|
-
type: "
|
|
4228
|
-
name: "
|
|
4937
|
+
type: "function",
|
|
4938
|
+
name: "tokenInfo",
|
|
4229
4939
|
inputs: [
|
|
4230
4940
|
{
|
|
4231
|
-
name: "
|
|
4232
|
-
type: "
|
|
4233
|
-
internalType: "
|
|
4941
|
+
name: "chainId",
|
|
4942
|
+
type: "string",
|
|
4943
|
+
internalType: "string"
|
|
4944
|
+
},
|
|
4945
|
+
{
|
|
4946
|
+
name: "token",
|
|
4947
|
+
type: "string",
|
|
4948
|
+
internalType: "string"
|
|
4234
4949
|
}
|
|
4235
|
-
]
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
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"
|
|
4248
4984
|
},
|
|
4249
4985
|
{
|
|
4250
4986
|
type: "error",
|
|
4251
|
-
name: "
|
|
4987
|
+
name: "HubCannotBeZero",
|
|
4252
4988
|
inputs: [
|
|
4253
4989
|
]
|
|
4254
4990
|
},
|
|
4255
4991
|
{
|
|
4256
4992
|
type: "error",
|
|
4257
|
-
name: "
|
|
4993
|
+
name: "InvalidBase58Checksum",
|
|
4258
4994
|
inputs: [
|
|
4259
4995
|
{
|
|
4260
|
-
name: "
|
|
4261
|
-
type: "
|
|
4262
|
-
internalType: "
|
|
4263
|
-
},
|
|
4264
|
-
{
|
|
4265
|
-
name: "expectedERC20View",
|
|
4266
|
-
type: "address",
|
|
4267
|
-
internalType: "address"
|
|
4996
|
+
name: "addr",
|
|
4997
|
+
type: "string",
|
|
4998
|
+
internalType: "string"
|
|
4268
4999
|
}
|
|
4269
5000
|
]
|
|
4270
5001
|
},
|
|
4271
5002
|
{
|
|
4272
5003
|
type: "error",
|
|
4273
|
-
name: "
|
|
5004
|
+
name: "InvalidHexAddress",
|
|
4274
5005
|
inputs: [
|
|
5006
|
+
{
|
|
5007
|
+
name: "addr",
|
|
5008
|
+
type: "string",
|
|
5009
|
+
internalType: "string"
|
|
5010
|
+
}
|
|
4275
5011
|
]
|
|
4276
5012
|
},
|
|
4277
5013
|
{
|
|
4278
5014
|
type: "error",
|
|
4279
|
-
name: "
|
|
5015
|
+
name: "UnsupportedAddress",
|
|
4280
5016
|
inputs: [
|
|
4281
5017
|
{
|
|
4282
|
-
name: "
|
|
5018
|
+
name: "addr",
|
|
4283
5019
|
type: "string",
|
|
4284
5020
|
internalType: "string"
|
|
4285
5021
|
}
|
|
@@ -11092,6 +11828,46 @@ var SignedPricingOracle = [
|
|
|
11092
11828
|
],
|
|
11093
11829
|
anonymous: false
|
|
11094
11830
|
},
|
|
11831
|
+
{
|
|
11832
|
+
type: "event",
|
|
11833
|
+
name: "PricesResolved",
|
|
11834
|
+
inputs: [
|
|
11835
|
+
{
|
|
11836
|
+
name: "prices",
|
|
11837
|
+
type: "tuple[]",
|
|
11838
|
+
indexed: false,
|
|
11839
|
+
internalType: "struct Price[]",
|
|
11840
|
+
components: [
|
|
11841
|
+
{
|
|
11842
|
+
name: "usdPrice",
|
|
11843
|
+
type: "uint256",
|
|
11844
|
+
internalType: "uint256"
|
|
11845
|
+
},
|
|
11846
|
+
{
|
|
11847
|
+
name: "usdPriceDecimals",
|
|
11848
|
+
type: "uint8",
|
|
11849
|
+
internalType: "uint8"
|
|
11850
|
+
},
|
|
11851
|
+
{
|
|
11852
|
+
name: "currencyDecimals",
|
|
11853
|
+
type: "uint8",
|
|
11854
|
+
internalType: "uint8"
|
|
11855
|
+
},
|
|
11856
|
+
{
|
|
11857
|
+
name: "publishTime",
|
|
11858
|
+
type: "uint256",
|
|
11859
|
+
internalType: "uint256"
|
|
11860
|
+
},
|
|
11861
|
+
{
|
|
11862
|
+
name: "expiration",
|
|
11863
|
+
type: "uint256",
|
|
11864
|
+
internalType: "uint256"
|
|
11865
|
+
}
|
|
11866
|
+
]
|
|
11867
|
+
}
|
|
11868
|
+
],
|
|
11869
|
+
anonymous: false
|
|
11870
|
+
},
|
|
11095
11871
|
{
|
|
11096
11872
|
type: "error",
|
|
11097
11873
|
name: "CurrencyMismatch",
|
|
@@ -23449,6 +24225,15 @@ var ERC20 = [
|
|
|
23449
24225
|
}
|
|
23450
24226
|
];
|
|
23451
24227
|
|
|
24228
|
+
var Base58 = [
|
|
24229
|
+
{
|
|
24230
|
+
type: "error",
|
|
24231
|
+
name: "Base58DecodingError",
|
|
24232
|
+
inputs: [
|
|
24233
|
+
]
|
|
24234
|
+
}
|
|
24235
|
+
];
|
|
24236
|
+
|
|
23452
24237
|
var FixedPointMathLib = [
|
|
23453
24238
|
{
|
|
23454
24239
|
type: "error",
|
|
@@ -24530,4 +25315,4 @@ var MyToken = [
|
|
|
24530
25315
|
|
|
24531
25316
|
declare const RelayOracle: Record<string, unknown>[];
|
|
24532
25317
|
|
|
24533
|
-
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 };
|