@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.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
|
{
|
|
@@ -4053,160 +4532,410 @@ var RelayHub_default = [
|
|
|
4053
4532
|
internalType: "address"
|
|
4054
4533
|
}
|
|
4055
4534
|
],
|
|
4056
|
-
anonymous: false
|
|
4535
|
+
anonymous: false
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
type: "event",
|
|
4539
|
+
name: "RoleRevoked",
|
|
4540
|
+
inputs: [
|
|
4541
|
+
{
|
|
4542
|
+
name: "role",
|
|
4543
|
+
type: "bytes32",
|
|
4544
|
+
indexed: true,
|
|
4545
|
+
internalType: "bytes32"
|
|
4546
|
+
},
|
|
4547
|
+
{
|
|
4548
|
+
name: "account",
|
|
4549
|
+
type: "address",
|
|
4550
|
+
indexed: true,
|
|
4551
|
+
internalType: "address"
|
|
4552
|
+
},
|
|
4553
|
+
{
|
|
4554
|
+
name: "sender",
|
|
4555
|
+
type: "address",
|
|
4556
|
+
indexed: true,
|
|
4557
|
+
internalType: "address"
|
|
4558
|
+
}
|
|
4559
|
+
],
|
|
4560
|
+
anonymous: false
|
|
4561
|
+
},
|
|
4562
|
+
{
|
|
4563
|
+
type: "event",
|
|
4564
|
+
name: "Transfer",
|
|
4565
|
+
inputs: [
|
|
4566
|
+
{
|
|
4567
|
+
name: "caller",
|
|
4568
|
+
type: "address",
|
|
4569
|
+
indexed: false,
|
|
4570
|
+
internalType: "address"
|
|
4571
|
+
},
|
|
4572
|
+
{
|
|
4573
|
+
name: "from",
|
|
4574
|
+
type: "address",
|
|
4575
|
+
indexed: true,
|
|
4576
|
+
internalType: "address"
|
|
4577
|
+
},
|
|
4578
|
+
{
|
|
4579
|
+
name: "to",
|
|
4580
|
+
type: "address",
|
|
4581
|
+
indexed: true,
|
|
4582
|
+
internalType: "address"
|
|
4583
|
+
},
|
|
4584
|
+
{
|
|
4585
|
+
name: "id",
|
|
4586
|
+
type: "uint256",
|
|
4587
|
+
indexed: true,
|
|
4588
|
+
internalType: "uint256"
|
|
4589
|
+
},
|
|
4590
|
+
{
|
|
4591
|
+
name: "amount",
|
|
4592
|
+
type: "uint256",
|
|
4593
|
+
indexed: false,
|
|
4594
|
+
internalType: "uint256"
|
|
4595
|
+
}
|
|
4596
|
+
],
|
|
4597
|
+
anonymous: false
|
|
4598
|
+
},
|
|
4599
|
+
{
|
|
4600
|
+
type: "error",
|
|
4601
|
+
name: "AccessControlBadConfirmation",
|
|
4602
|
+
inputs: []
|
|
4603
|
+
},
|
|
4604
|
+
{
|
|
4605
|
+
type: "error",
|
|
4606
|
+
name: "AccessControlUnauthorizedAccount",
|
|
4607
|
+
inputs: [
|
|
4608
|
+
{
|
|
4609
|
+
name: "account",
|
|
4610
|
+
type: "address",
|
|
4611
|
+
internalType: "address"
|
|
4612
|
+
},
|
|
4613
|
+
{
|
|
4614
|
+
name: "neededRole",
|
|
4615
|
+
type: "bytes32",
|
|
4616
|
+
internalType: "bytes32"
|
|
4617
|
+
}
|
|
4618
|
+
]
|
|
4619
|
+
},
|
|
4620
|
+
{
|
|
4621
|
+
type: "error",
|
|
4622
|
+
name: "ECDSAInvalidSignature",
|
|
4623
|
+
inputs: []
|
|
4624
|
+
},
|
|
4625
|
+
{
|
|
4626
|
+
type: "error",
|
|
4627
|
+
name: "ECDSAInvalidSignatureLength",
|
|
4628
|
+
inputs: [
|
|
4629
|
+
{
|
|
4630
|
+
name: "length",
|
|
4631
|
+
type: "uint256",
|
|
4632
|
+
internalType: "uint256"
|
|
4633
|
+
}
|
|
4634
|
+
]
|
|
4635
|
+
},
|
|
4636
|
+
{
|
|
4637
|
+
type: "error",
|
|
4638
|
+
name: "ECDSAInvalidSignatureS",
|
|
4639
|
+
inputs: [
|
|
4640
|
+
{
|
|
4641
|
+
name: "s",
|
|
4642
|
+
type: "bytes32",
|
|
4643
|
+
internalType: "bytes32"
|
|
4644
|
+
}
|
|
4645
|
+
]
|
|
4646
|
+
},
|
|
4647
|
+
{
|
|
4648
|
+
type: "error",
|
|
4649
|
+
name: "InvalidPermitOwner",
|
|
4650
|
+
inputs: []
|
|
4651
|
+
},
|
|
4652
|
+
{
|
|
4653
|
+
type: "error",
|
|
4654
|
+
name: "InvalidPermitSignature",
|
|
4655
|
+
inputs: []
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
type: "error",
|
|
4659
|
+
name: "InvalidShortString",
|
|
4660
|
+
inputs: []
|
|
4661
|
+
},
|
|
4662
|
+
{
|
|
4663
|
+
type: "error",
|
|
4664
|
+
name: "OnlyERC20ViewCanCallApproveFor",
|
|
4665
|
+
inputs: [
|
|
4666
|
+
{
|
|
4667
|
+
name: "caller",
|
|
4668
|
+
type: "address",
|
|
4669
|
+
internalType: "address"
|
|
4670
|
+
},
|
|
4671
|
+
{
|
|
4672
|
+
name: "expectedERC20View",
|
|
4673
|
+
type: "address",
|
|
4674
|
+
internalType: "address"
|
|
4675
|
+
}
|
|
4676
|
+
]
|
|
4677
|
+
},
|
|
4678
|
+
{
|
|
4679
|
+
type: "error",
|
|
4680
|
+
name: "PermitDeadlineExpired",
|
|
4681
|
+
inputs: []
|
|
4682
|
+
},
|
|
4683
|
+
{
|
|
4684
|
+
type: "error",
|
|
4685
|
+
name: "StringTooLong",
|
|
4686
|
+
inputs: [
|
|
4687
|
+
{
|
|
4688
|
+
name: "str",
|
|
4689
|
+
type: "string",
|
|
4690
|
+
internalType: "string"
|
|
4691
|
+
}
|
|
4692
|
+
]
|
|
4693
|
+
}
|
|
4694
|
+
];
|
|
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"
|
|
4057
4721
|
},
|
|
4058
4722
|
{
|
|
4059
|
-
type: "
|
|
4060
|
-
name: "
|
|
4723
|
+
type: "function",
|
|
4724
|
+
name: "aliasOf",
|
|
4061
4725
|
inputs: [
|
|
4062
4726
|
{
|
|
4063
|
-
name: "
|
|
4064
|
-
type: "
|
|
4065
|
-
|
|
4066
|
-
internalType: "bytes32"
|
|
4727
|
+
name: "chainId",
|
|
4728
|
+
type: "string",
|
|
4729
|
+
internalType: "string"
|
|
4067
4730
|
},
|
|
4068
4731
|
{
|
|
4069
4732
|
name: "account",
|
|
4070
|
-
type: "
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4733
|
+
type: "string",
|
|
4734
|
+
internalType: "string"
|
|
4735
|
+
}
|
|
4736
|
+
],
|
|
4737
|
+
outputs: [
|
|
4074
4738
|
{
|
|
4075
|
-
name: "
|
|
4739
|
+
name: "aliasAddress",
|
|
4076
4740
|
type: "address",
|
|
4077
|
-
indexed: true,
|
|
4078
4741
|
internalType: "address"
|
|
4079
4742
|
}
|
|
4080
4743
|
],
|
|
4081
|
-
|
|
4744
|
+
stateMutability: "pure"
|
|
4082
4745
|
},
|
|
4083
4746
|
{
|
|
4084
|
-
type: "
|
|
4085
|
-
name: "
|
|
4747
|
+
type: "function",
|
|
4748
|
+
name: "balanceOf",
|
|
4086
4749
|
inputs: [
|
|
4087
4750
|
{
|
|
4088
|
-
name: "
|
|
4089
|
-
type: "
|
|
4090
|
-
|
|
4091
|
-
internalType: "address"
|
|
4751
|
+
name: "chainId",
|
|
4752
|
+
type: "string",
|
|
4753
|
+
internalType: "string"
|
|
4092
4754
|
},
|
|
4093
4755
|
{
|
|
4094
|
-
name: "
|
|
4095
|
-
type: "
|
|
4096
|
-
|
|
4097
|
-
internalType: "address"
|
|
4756
|
+
name: "account",
|
|
4757
|
+
type: "string",
|
|
4758
|
+
internalType: "string"
|
|
4098
4759
|
},
|
|
4099
4760
|
{
|
|
4100
|
-
name: "
|
|
4101
|
-
type: "
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4761
|
+
name: "token",
|
|
4762
|
+
type: "string",
|
|
4763
|
+
internalType: "string"
|
|
4764
|
+
}
|
|
4765
|
+
],
|
|
4766
|
+
outputs: [
|
|
4105
4767
|
{
|
|
4106
|
-
name: "
|
|
4768
|
+
name: "aliasBalance",
|
|
4107
4769
|
type: "uint256",
|
|
4108
|
-
indexed: true,
|
|
4109
4770
|
internalType: "uint256"
|
|
4110
4771
|
},
|
|
4111
4772
|
{
|
|
4112
|
-
name: "
|
|
4773
|
+
name: "accountBalance",
|
|
4113
4774
|
type: "uint256",
|
|
4114
|
-
indexed: false,
|
|
4115
4775
|
internalType: "uint256"
|
|
4116
4776
|
}
|
|
4117
4777
|
],
|
|
4118
|
-
|
|
4119
|
-
},
|
|
4120
|
-
{
|
|
4121
|
-
type: "error",
|
|
4122
|
-
name: "AccessControlBadConfirmation",
|
|
4123
|
-
inputs: []
|
|
4778
|
+
stateMutability: "view"
|
|
4124
4779
|
},
|
|
4125
4780
|
{
|
|
4126
|
-
type: "
|
|
4127
|
-
name: "
|
|
4781
|
+
type: "function",
|
|
4782
|
+
name: "balancesOf",
|
|
4128
4783
|
inputs: [
|
|
4784
|
+
{
|
|
4785
|
+
name: "chainId",
|
|
4786
|
+
type: "string",
|
|
4787
|
+
internalType: "string"
|
|
4788
|
+
},
|
|
4129
4789
|
{
|
|
4130
4790
|
name: "account",
|
|
4131
|
-
type: "
|
|
4132
|
-
internalType: "
|
|
4791
|
+
type: "string",
|
|
4792
|
+
internalType: "string"
|
|
4133
4793
|
},
|
|
4134
4794
|
{
|
|
4135
|
-
name: "
|
|
4136
|
-
type: "
|
|
4137
|
-
internalType: "
|
|
4795
|
+
name: "tokens",
|
|
4796
|
+
type: "string[]",
|
|
4797
|
+
internalType: "string[]"
|
|
4138
4798
|
}
|
|
4139
|
-
]
|
|
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"
|
|
4140
4813
|
},
|
|
4141
4814
|
{
|
|
4142
|
-
type: "
|
|
4143
|
-
name: "
|
|
4144
|
-
inputs: [
|
|
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"
|
|
4145
4832
|
},
|
|
4146
4833
|
{
|
|
4147
|
-
type: "
|
|
4148
|
-
name: "
|
|
4834
|
+
type: "function",
|
|
4835
|
+
name: "tokenIdOf",
|
|
4149
4836
|
inputs: [
|
|
4150
4837
|
{
|
|
4151
|
-
name: "
|
|
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",
|
|
4152
4851
|
type: "uint256",
|
|
4153
4852
|
internalType: "uint256"
|
|
4154
4853
|
}
|
|
4155
|
-
]
|
|
4854
|
+
],
|
|
4855
|
+
stateMutability: "pure"
|
|
4156
4856
|
},
|
|
4157
4857
|
{
|
|
4158
|
-
type: "
|
|
4159
|
-
name: "
|
|
4858
|
+
type: "function",
|
|
4859
|
+
name: "tokenInfo",
|
|
4160
4860
|
inputs: [
|
|
4161
4861
|
{
|
|
4162
|
-
name: "
|
|
4163
|
-
type: "
|
|
4164
|
-
internalType: "
|
|
4862
|
+
name: "chainId",
|
|
4863
|
+
type: "string",
|
|
4864
|
+
internalType: "string"
|
|
4865
|
+
},
|
|
4866
|
+
{
|
|
4867
|
+
name: "token",
|
|
4868
|
+
type: "string",
|
|
4869
|
+
internalType: "string"
|
|
4165
4870
|
}
|
|
4166
|
-
]
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
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"
|
|
4177
4905
|
},
|
|
4178
4906
|
{
|
|
4179
4907
|
type: "error",
|
|
4180
|
-
name: "
|
|
4908
|
+
name: "HubCannotBeZero",
|
|
4181
4909
|
inputs: []
|
|
4182
4910
|
},
|
|
4183
4911
|
{
|
|
4184
4912
|
type: "error",
|
|
4185
|
-
name: "
|
|
4913
|
+
name: "InvalidBase58Checksum",
|
|
4186
4914
|
inputs: [
|
|
4187
4915
|
{
|
|
4188
|
-
name: "
|
|
4189
|
-
type: "
|
|
4190
|
-
internalType: "
|
|
4191
|
-
},
|
|
4192
|
-
{
|
|
4193
|
-
name: "expectedERC20View",
|
|
4194
|
-
type: "address",
|
|
4195
|
-
internalType: "address"
|
|
4916
|
+
name: "addr",
|
|
4917
|
+
type: "string",
|
|
4918
|
+
internalType: "string"
|
|
4196
4919
|
}
|
|
4197
4920
|
]
|
|
4198
4921
|
},
|
|
4199
4922
|
{
|
|
4200
4923
|
type: "error",
|
|
4201
|
-
name: "
|
|
4202
|
-
inputs: [
|
|
4924
|
+
name: "InvalidHexAddress",
|
|
4925
|
+
inputs: [
|
|
4926
|
+
{
|
|
4927
|
+
name: "addr",
|
|
4928
|
+
type: "string",
|
|
4929
|
+
internalType: "string"
|
|
4930
|
+
}
|
|
4931
|
+
]
|
|
4203
4932
|
},
|
|
4204
4933
|
{
|
|
4205
4934
|
type: "error",
|
|
4206
|
-
name: "
|
|
4935
|
+
name: "UnsupportedAddress",
|
|
4207
4936
|
inputs: [
|
|
4208
4937
|
{
|
|
4209
|
-
name: "
|
|
4938
|
+
name: "addr",
|
|
4210
4939
|
type: "string",
|
|
4211
4940
|
internalType: "string"
|
|
4212
4941
|
}
|
|
@@ -10925,6 +11654,46 @@ var SignedPricingOracle_default = [
|
|
|
10925
11654
|
inputs: [],
|
|
10926
11655
|
anonymous: false
|
|
10927
11656
|
},
|
|
11657
|
+
{
|
|
11658
|
+
type: "event",
|
|
11659
|
+
name: "PricesResolved",
|
|
11660
|
+
inputs: [
|
|
11661
|
+
{
|
|
11662
|
+
name: "prices",
|
|
11663
|
+
type: "tuple[]",
|
|
11664
|
+
indexed: false,
|
|
11665
|
+
internalType: "struct Price[]",
|
|
11666
|
+
components: [
|
|
11667
|
+
{
|
|
11668
|
+
name: "usdPrice",
|
|
11669
|
+
type: "uint256",
|
|
11670
|
+
internalType: "uint256"
|
|
11671
|
+
},
|
|
11672
|
+
{
|
|
11673
|
+
name: "usdPriceDecimals",
|
|
11674
|
+
type: "uint8",
|
|
11675
|
+
internalType: "uint8"
|
|
11676
|
+
},
|
|
11677
|
+
{
|
|
11678
|
+
name: "currencyDecimals",
|
|
11679
|
+
type: "uint8",
|
|
11680
|
+
internalType: "uint8"
|
|
11681
|
+
},
|
|
11682
|
+
{
|
|
11683
|
+
name: "publishTime",
|
|
11684
|
+
type: "uint256",
|
|
11685
|
+
internalType: "uint256"
|
|
11686
|
+
},
|
|
11687
|
+
{
|
|
11688
|
+
name: "expiration",
|
|
11689
|
+
type: "uint256",
|
|
11690
|
+
internalType: "uint256"
|
|
11691
|
+
}
|
|
11692
|
+
]
|
|
11693
|
+
}
|
|
11694
|
+
],
|
|
11695
|
+
anonymous: false
|
|
11696
|
+
},
|
|
10928
11697
|
{
|
|
10929
11698
|
type: "error",
|
|
10930
11699
|
name: "CurrencyMismatch",
|
|
@@ -23031,6 +23800,15 @@ var ERC20_default = [
|
|
|
23031
23800
|
}
|
|
23032
23801
|
];
|
|
23033
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
|
+
|
|
23034
23812
|
// src/abis/solady/src/utils/FixedPointMathLib.sol/FixedPointMathLib.json
|
|
23035
23813
|
var FixedPointMathLib_default = [
|
|
23036
23814
|
{
|
|
@@ -27251,6 +28029,7 @@ var RelayOracle = mergeVersions(v1_default, v2_default);
|
|
|
27251
28029
|
export {
|
|
27252
28030
|
AuroraSdk_default as AuroraSdk,
|
|
27253
28031
|
AuroraXccUtils_default as AuroraXccUtils,
|
|
28032
|
+
Base58_default as Base58,
|
|
27254
28033
|
BasicCallResolver_default as BasicCallResolver,
|
|
27255
28034
|
BasicPricingOracle_default as BasicPricingOracle,
|
|
27256
28035
|
BitcoinVmPayloadBuilder_default as BitcoinVmPayloadBuilder,
|
|
@@ -27270,6 +28049,7 @@ export {
|
|
|
27270
28049
|
GatewayEthereumVmDestinationPayloadBuilder_default as GatewayEthereumVmDestinationPayloadBuilder,
|
|
27271
28050
|
GatewayVmPayloadBuilder_default as GatewayVmPayloadBuilder,
|
|
27272
28051
|
HederaVmPayloadBuilder_default as HederaVmPayloadBuilder,
|
|
28052
|
+
HubAddressCodec_default as HubAddressCodec,
|
|
27273
28053
|
HyperliquidVmPayloadBuilder_default as HyperliquidVmPayloadBuilder,
|
|
27274
28054
|
IBidAskOracle_default as IBidAskOracle,
|
|
27275
28055
|
ICallResolver_default as ICallResolver,
|
|
@@ -27298,6 +28078,7 @@ export {
|
|
|
27298
28078
|
MockStorkFastVerifier_default as MockStorkFastVerifier,
|
|
27299
28079
|
MockVerifierProxy_default as MockVerifierProxy,
|
|
27300
28080
|
MockWNEAR_default as MockWNEAR,
|
|
28081
|
+
Multicall3_default as Multicall3,
|
|
27301
28082
|
MulticallRouter_default as MulticallRouter,
|
|
27302
28083
|
MyToken_default as MyToken,
|
|
27303
28084
|
PoolDrawResolver_default as PoolDrawResolver,
|
|
@@ -27315,6 +28096,7 @@ export {
|
|
|
27315
28096
|
RelayGatewayDepository_default as RelayGatewayDepository,
|
|
27316
28097
|
RelayGenericMapping_default as RelayGenericMapping,
|
|
27317
28098
|
RelayHub_default as RelayHub,
|
|
28099
|
+
RelayHubBalanceViewer_default as RelayHubBalanceViewer,
|
|
27318
28100
|
RelayMultisigSigner_default as RelayMultisigSigner,
|
|
27319
28101
|
RelayMultisigSignerHarness_default as RelayMultisigSignerHarness,
|
|
27320
28102
|
RelayOracle,
|