@peeramid-labs/sdk 3.7.2 → 3.7.4
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/cli/abis/MAODistribution.js +10 -0
- package/cli/abis/MAODistribution.js.map +1 -1
- package/cli/abis/RankToken.js +84 -0
- package/cli/abis/RankToken.js.map +1 -1
- package/cli/abis/superinterface.js +9 -3
- package/cli/abis/superinterface.js.map +1 -1
- package/cli/cli/commands/distributions/add.js +2 -0
- package/cli/cli/commands/distributions/add.js.map +1 -1
- package/cli/cli/commands/distributions/index.js +3 -1
- package/cli/cli/commands/distributions/index.js.map +1 -1
- package/cli/cli/commands/distributions/remove.js +67 -0
- package/cli/cli/commands/distributions/remove.js.map +1 -0
- package/cli/cli/commands/fellowship/create.js +8 -1
- package/cli/cli/commands/fellowship/create.js.map +1 -1
- package/cli/cli/commands/fellowship/endTurn.js +42 -0
- package/cli/cli/commands/fellowship/endTurn.js.map +1 -0
- package/cli/cli/commands/fellowship/games.js +1 -1
- package/cli/cli/commands/fellowship/games.js.map +1 -1
- package/cli/cli/commands/fellowship/index.js +5 -1
- package/cli/cli/commands/fellowship/index.js.map +1 -1
- package/cli/cli/commands/fellowship/params.js +49 -0
- package/cli/cli/commands/fellowship/params.js.map +1 -0
- package/cli/rankify/GameMaster.js +1076 -0
- package/cli/rankify/GameMaster.js.map +1 -0
- package/cli/rankify/InstanceBase.js +1 -0
- package/cli/rankify/InstanceBase.js.map +1 -1
- package/cli/rankify/MAODistributor.js +28 -0
- package/cli/rankify/MAODistributor.js.map +1 -1
- package/cli/utils/ApiError.js +11 -6
- package/cli/utils/ApiError.js.map +1 -1
- package/docs/classes/GameMaster.md +2 -2
- package/docs/classes/InstanceBase.md +2 -2
- package/docs/classes/InstancePlayer.md +2 -2
- package/docs/classes/MAODistributorClient.md +18 -1
- package/docs/docs/classes/GameMaster.md +2 -2
- package/docs/docs/classes/InstanceBase.md +2 -2
- package/docs/docs/classes/InstancePlayer.md +2 -2
- package/docs/docs/classes/MAODistributorClient.md +18 -1
- package/docs/docs/index.md +4 -4
- package/docs/index.md +4 -4
- package/lib.commonjs/abis/MAODistribution.d.ts +8 -0
- package/lib.commonjs/abis/MAODistribution.d.ts.map +1 -1
- package/lib.commonjs/abis/MAODistribution.js +10 -0
- package/lib.commonjs/abis/MAODistribution.js.map +1 -1
- package/lib.commonjs/abis/RankToken.d.ts +65 -0
- package/lib.commonjs/abis/RankToken.d.ts.map +1 -1
- package/lib.commonjs/abis/RankToken.js +84 -0
- package/lib.commonjs/abis/RankToken.js.map +1 -1
- package/lib.commonjs/abis/index.d.ts +74 -1
- package/lib.commonjs/abis/index.d.ts.map +1 -1
- package/lib.commonjs/abis/superinterface.d.ts +1 -1
- package/lib.commonjs/abis/superinterface.d.ts.map +1 -1
- package/lib.commonjs/abis/superinterface.js +9 -3
- package/lib.commonjs/abis/superinterface.js.map +1 -1
- package/lib.commonjs/multipass/MultipassBase.d.ts.map +1 -1
- package/lib.commonjs/multipass/Registrar.d.ts.map +1 -1
- package/lib.commonjs/rankify/GameMaster.d.ts +1 -1
- package/lib.commonjs/rankify/GameMaster.d.ts.map +1 -1
- package/lib.commonjs/rankify/GameMaster.js +38 -27
- package/lib.commonjs/rankify/GameMaster.js.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.d.ts +1 -1
- package/lib.commonjs/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.js +1 -0
- package/lib.commonjs/rankify/InstanceBase.js.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.d.ts +1036 -0
- package/lib.commonjs/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.js +28 -0
- package/lib.commonjs/rankify/MAODistributor.js.map +1 -1
- package/lib.commonjs/rankify/Player.d.ts.map +1 -1
- package/lib.commonjs/rankify/RankToken.d.ts.map +1 -1
- package/lib.commonjs/utils/ApiError.d.ts.map +1 -1
- package/lib.commonjs/utils/ApiError.js +11 -6
- package/lib.commonjs/utils/ApiError.js.map +1 -1
- package/lib.commonjs/utils/artifacts.d.ts.map +1 -1
- package/lib.commonjs/utils/index.d.ts.map +1 -1
- package/lib.commonjs/utils/permutations.d.ts.map +1 -1
- package/lib.esm/abis/MAODistribution.d.ts +8 -0
- package/lib.esm/abis/MAODistribution.d.ts.map +1 -1
- package/lib.esm/abis/MAODistribution.js +10 -0
- package/lib.esm/abis/MAODistribution.js.map +1 -1
- package/lib.esm/abis/RankToken.d.ts +65 -0
- package/lib.esm/abis/RankToken.d.ts.map +1 -1
- package/lib.esm/abis/RankToken.js +84 -0
- package/lib.esm/abis/RankToken.js.map +1 -1
- package/lib.esm/abis/index.d.ts +74 -1
- package/lib.esm/abis/index.d.ts.map +1 -1
- package/lib.esm/abis/superinterface.d.ts +1 -1
- package/lib.esm/abis/superinterface.d.ts.map +1 -1
- package/lib.esm/abis/superinterface.js +9 -3
- package/lib.esm/abis/superinterface.js.map +1 -1
- package/lib.esm/multipass/MultipassBase.d.ts.map +1 -1
- package/lib.esm/multipass/Registrar.d.ts.map +1 -1
- package/lib.esm/rankify/GameMaster.d.ts +1 -1
- package/lib.esm/rankify/GameMaster.d.ts.map +1 -1
- package/lib.esm/rankify/GameMaster.js +39 -28
- package/lib.esm/rankify/GameMaster.js.map +1 -1
- package/lib.esm/rankify/InstanceBase.d.ts +1 -1
- package/lib.esm/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.esm/rankify/InstanceBase.js +1 -0
- package/lib.esm/rankify/InstanceBase.js.map +1 -1
- package/lib.esm/rankify/MAODistributor.d.ts +1036 -0
- package/lib.esm/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.esm/rankify/MAODistributor.js +28 -0
- package/lib.esm/rankify/MAODistributor.js.map +1 -1
- package/lib.esm/rankify/Player.d.ts.map +1 -1
- package/lib.esm/rankify/RankToken.d.ts.map +1 -1
- package/lib.esm/utils/ApiError.d.ts.map +1 -1
- package/lib.esm/utils/ApiError.js +11 -6
- package/lib.esm/utils/ApiError.js.map +1 -1
- package/lib.esm/utils/artifacts.d.ts.map +1 -1
- package/lib.esm/utils/index.d.ts.map +1 -1
- package/lib.esm/utils/permutations.d.ts.map +1 -1
- package/package.json +8 -8
- package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.groth16.vkey.json +1 -0
- package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.groth16.zkey +0 -0
- package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.r1cs +0 -0
- package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.sym +19202 -0
- package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_artifacts.json +84 -0
- package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/ProposalsIntegrity15.wasm +0 -0
- package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/generate_witness.js +21 -0
- package/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/witness_calculator.js +384 -0
- package/zk_artifacts/types/core/ProposalsIntegrity15.ts +163 -0
- package/zk_artifacts/types/core/index.ts +6 -0
- package/zk_artifacts/types/hardhat.d.ts +14 -0
- package/zk_artifacts/types/helpers.ts +44 -0
- package/zk_artifacts/types/index.ts +8 -0
- package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.groth16.vkey.json +1 -0
- package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.groth16.zkey +0 -0
- package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.r1cs +0 -0
- package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15.sym +19202 -0
- package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_artifacts.json +84 -0
- package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/ProposalsIntegrity15.wasm +0 -0
- package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/generate_witness.js +21 -0
- package/zk_artifacts/zk_artifacts/circuits/proposals_integrity_15.circom/ProposalsIntegrity15_js/witness_calculator.js +384 -0
- package/zk_artifacts/zk_artifacts/types/core/ProposalsIntegrity15.ts +163 -0
- package/zk_artifacts/zk_artifacts/types/core/index.ts +6 -0
- package/zk_artifacts/zk_artifacts/types/hardhat.d.ts +14 -0
- package/zk_artifacts/zk_artifacts/types/helpers.ts +44 -0
- package/zk_artifacts/zk_artifacts/types/index.ts +8 -0
|
@@ -1133,6 +1133,1042 @@ export declare class MAODistributorClient extends DistributorClient {
|
|
|
1133
1133
|
readonly type: "function";
|
|
1134
1134
|
}], "DistributionAdded">;
|
|
1135
1135
|
}>;
|
|
1136
|
+
removeDistribution(id: `0x${string}`): Promise<{
|
|
1137
|
+
receipt: import("viem").TransactionReceipt;
|
|
1138
|
+
distributionRemovedEvent: import("viem").Log<bigint, number, false, undefined, true, readonly [{
|
|
1139
|
+
readonly inputs: readonly [{
|
|
1140
|
+
readonly internalType: "address";
|
|
1141
|
+
readonly name: "defaultAdmin";
|
|
1142
|
+
readonly type: "address";
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly internalType: "contract IERC20";
|
|
1145
|
+
readonly name: "token";
|
|
1146
|
+
readonly type: "address";
|
|
1147
|
+
}, {
|
|
1148
|
+
readonly internalType: "uint256";
|
|
1149
|
+
readonly name: "defaultCost";
|
|
1150
|
+
readonly type: "uint256";
|
|
1151
|
+
}];
|
|
1152
|
+
readonly stateMutability: "nonpayable";
|
|
1153
|
+
readonly type: "constructor";
|
|
1154
|
+
}, {
|
|
1155
|
+
readonly inputs: readonly [];
|
|
1156
|
+
readonly name: "AccessControlBadConfirmation";
|
|
1157
|
+
readonly type: "error";
|
|
1158
|
+
}, {
|
|
1159
|
+
readonly inputs: readonly [{
|
|
1160
|
+
readonly internalType: "uint48";
|
|
1161
|
+
readonly name: "schedule";
|
|
1162
|
+
readonly type: "uint48";
|
|
1163
|
+
}];
|
|
1164
|
+
readonly name: "AccessControlEnforcedDefaultAdminDelay";
|
|
1165
|
+
readonly type: "error";
|
|
1166
|
+
}, {
|
|
1167
|
+
readonly inputs: readonly [];
|
|
1168
|
+
readonly name: "AccessControlEnforcedDefaultAdminRules";
|
|
1169
|
+
readonly type: "error";
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly inputs: readonly [{
|
|
1172
|
+
readonly internalType: "address";
|
|
1173
|
+
readonly name: "defaultAdmin";
|
|
1174
|
+
readonly type: "address";
|
|
1175
|
+
}];
|
|
1176
|
+
readonly name: "AccessControlInvalidDefaultAdmin";
|
|
1177
|
+
readonly type: "error";
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly inputs: readonly [{
|
|
1180
|
+
readonly internalType: "address";
|
|
1181
|
+
readonly name: "account";
|
|
1182
|
+
readonly type: "address";
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly internalType: "bytes32";
|
|
1185
|
+
readonly name: "neededRole";
|
|
1186
|
+
readonly type: "bytes32";
|
|
1187
|
+
}];
|
|
1188
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
1189
|
+
readonly type: "error";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly inputs: readonly [{
|
|
1192
|
+
readonly internalType: "bytes32";
|
|
1193
|
+
readonly name: "id";
|
|
1194
|
+
readonly type: "bytes32";
|
|
1195
|
+
}];
|
|
1196
|
+
readonly name: "DistributionExists";
|
|
1197
|
+
readonly type: "error";
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly inputs: readonly [{
|
|
1200
|
+
readonly internalType: "bytes32";
|
|
1201
|
+
readonly name: "id";
|
|
1202
|
+
readonly type: "bytes32";
|
|
1203
|
+
}];
|
|
1204
|
+
readonly name: "DistributionNotFound";
|
|
1205
|
+
readonly type: "error";
|
|
1206
|
+
}, {
|
|
1207
|
+
readonly inputs: readonly [{
|
|
1208
|
+
readonly internalType: "bytes32";
|
|
1209
|
+
readonly name: "id";
|
|
1210
|
+
readonly type: "bytes32";
|
|
1211
|
+
}];
|
|
1212
|
+
readonly name: "InitializerNotFound";
|
|
1213
|
+
readonly type: "error";
|
|
1214
|
+
}, {
|
|
1215
|
+
readonly inputs: readonly [{
|
|
1216
|
+
readonly internalType: "address";
|
|
1217
|
+
readonly name: "instance";
|
|
1218
|
+
readonly type: "address";
|
|
1219
|
+
}];
|
|
1220
|
+
readonly name: "InvalidInstance";
|
|
1221
|
+
readonly type: "error";
|
|
1222
|
+
}, {
|
|
1223
|
+
readonly inputs: readonly [{
|
|
1224
|
+
readonly internalType: "address";
|
|
1225
|
+
readonly name: "repository";
|
|
1226
|
+
readonly type: "address";
|
|
1227
|
+
}];
|
|
1228
|
+
readonly name: "InvalidRepository";
|
|
1229
|
+
readonly type: "error";
|
|
1230
|
+
}, {
|
|
1231
|
+
readonly inputs: readonly [{
|
|
1232
|
+
readonly internalType: "bytes32";
|
|
1233
|
+
readonly name: "distributionId";
|
|
1234
|
+
readonly type: "bytes32";
|
|
1235
|
+
}, {
|
|
1236
|
+
readonly internalType: "string";
|
|
1237
|
+
readonly name: "version";
|
|
1238
|
+
readonly type: "string";
|
|
1239
|
+
}];
|
|
1240
|
+
readonly name: "InvalidVersionRequested";
|
|
1241
|
+
readonly type: "error";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly inputs: readonly [{
|
|
1244
|
+
readonly internalType: "address";
|
|
1245
|
+
readonly name: "repository";
|
|
1246
|
+
readonly type: "address";
|
|
1247
|
+
}];
|
|
1248
|
+
readonly name: "RepositoryAlreadyExists";
|
|
1249
|
+
readonly type: "error";
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly inputs: readonly [{
|
|
1252
|
+
readonly internalType: "uint8";
|
|
1253
|
+
readonly name: "bits";
|
|
1254
|
+
readonly type: "uint8";
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly internalType: "uint256";
|
|
1257
|
+
readonly name: "value";
|
|
1258
|
+
readonly type: "uint256";
|
|
1259
|
+
}];
|
|
1260
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
1261
|
+
readonly type: "error";
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly inputs: readonly [{
|
|
1264
|
+
readonly internalType: "bytes32";
|
|
1265
|
+
readonly name: "distributionId";
|
|
1266
|
+
readonly type: "bytes32";
|
|
1267
|
+
}];
|
|
1268
|
+
readonly name: "UnversionedDistribution";
|
|
1269
|
+
readonly type: "error";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly inputs: readonly [{
|
|
1272
|
+
readonly internalType: "bytes32";
|
|
1273
|
+
readonly name: "distributionId";
|
|
1274
|
+
readonly type: "bytes32";
|
|
1275
|
+
}, {
|
|
1276
|
+
readonly internalType: "string";
|
|
1277
|
+
readonly name: "version";
|
|
1278
|
+
readonly type: "string";
|
|
1279
|
+
}];
|
|
1280
|
+
readonly name: "VersionOutdated";
|
|
1281
|
+
readonly type: "error";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly anonymous: false;
|
|
1284
|
+
readonly inputs: readonly [];
|
|
1285
|
+
readonly name: "DefaultAdminDelayChangeCanceled";
|
|
1286
|
+
readonly type: "event";
|
|
1287
|
+
}, {
|
|
1288
|
+
readonly anonymous: false;
|
|
1289
|
+
readonly inputs: readonly [{
|
|
1290
|
+
readonly indexed: false;
|
|
1291
|
+
readonly internalType: "uint48";
|
|
1292
|
+
readonly name: "newDelay";
|
|
1293
|
+
readonly type: "uint48";
|
|
1294
|
+
}, {
|
|
1295
|
+
readonly indexed: false;
|
|
1296
|
+
readonly internalType: "uint48";
|
|
1297
|
+
readonly name: "effectSchedule";
|
|
1298
|
+
readonly type: "uint48";
|
|
1299
|
+
}];
|
|
1300
|
+
readonly name: "DefaultAdminDelayChangeScheduled";
|
|
1301
|
+
readonly type: "event";
|
|
1302
|
+
}, {
|
|
1303
|
+
readonly anonymous: false;
|
|
1304
|
+
readonly inputs: readonly [];
|
|
1305
|
+
readonly name: "DefaultAdminTransferCanceled";
|
|
1306
|
+
readonly type: "event";
|
|
1307
|
+
}, {
|
|
1308
|
+
readonly anonymous: false;
|
|
1309
|
+
readonly inputs: readonly [{
|
|
1310
|
+
readonly indexed: true;
|
|
1311
|
+
readonly internalType: "address";
|
|
1312
|
+
readonly name: "newAdmin";
|
|
1313
|
+
readonly type: "address";
|
|
1314
|
+
}, {
|
|
1315
|
+
readonly indexed: false;
|
|
1316
|
+
readonly internalType: "uint48";
|
|
1317
|
+
readonly name: "acceptSchedule";
|
|
1318
|
+
readonly type: "uint48";
|
|
1319
|
+
}];
|
|
1320
|
+
readonly name: "DefaultAdminTransferScheduled";
|
|
1321
|
+
readonly type: "event";
|
|
1322
|
+
}, {
|
|
1323
|
+
readonly anonymous: false;
|
|
1324
|
+
readonly inputs: readonly [{
|
|
1325
|
+
readonly indexed: true;
|
|
1326
|
+
readonly internalType: "bytes32";
|
|
1327
|
+
readonly name: "id";
|
|
1328
|
+
readonly type: "bytes32";
|
|
1329
|
+
}, {
|
|
1330
|
+
readonly indexed: false;
|
|
1331
|
+
readonly internalType: "address";
|
|
1332
|
+
readonly name: "distribution";
|
|
1333
|
+
readonly type: "address";
|
|
1334
|
+
}, {
|
|
1335
|
+
readonly indexed: true;
|
|
1336
|
+
readonly internalType: "address";
|
|
1337
|
+
readonly name: "initializer";
|
|
1338
|
+
readonly type: "address";
|
|
1339
|
+
}];
|
|
1340
|
+
readonly name: "DistributionAdded";
|
|
1341
|
+
readonly type: "event";
|
|
1342
|
+
}, {
|
|
1343
|
+
readonly anonymous: false;
|
|
1344
|
+
readonly inputs: readonly [{
|
|
1345
|
+
readonly indexed: true;
|
|
1346
|
+
readonly internalType: "bytes32";
|
|
1347
|
+
readonly name: "id";
|
|
1348
|
+
readonly type: "bytes32";
|
|
1349
|
+
}];
|
|
1350
|
+
readonly name: "DistributionRemoved";
|
|
1351
|
+
readonly type: "event";
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly anonymous: false;
|
|
1354
|
+
readonly inputs: readonly [{
|
|
1355
|
+
readonly indexed: true;
|
|
1356
|
+
readonly internalType: "bytes32";
|
|
1357
|
+
readonly name: "distributionId";
|
|
1358
|
+
readonly type: "bytes32";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly indexed: true;
|
|
1361
|
+
readonly internalType: "uint256";
|
|
1362
|
+
readonly name: "newInstanceId";
|
|
1363
|
+
readonly type: "uint256";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly indexed: true;
|
|
1366
|
+
readonly internalType: "uint256";
|
|
1367
|
+
readonly name: "version";
|
|
1368
|
+
readonly type: "uint256";
|
|
1369
|
+
}, {
|
|
1370
|
+
readonly indexed: false;
|
|
1371
|
+
readonly internalType: "address[]";
|
|
1372
|
+
readonly name: "instances";
|
|
1373
|
+
readonly type: "address[]";
|
|
1374
|
+
}, {
|
|
1375
|
+
readonly indexed: false;
|
|
1376
|
+
readonly internalType: "bytes";
|
|
1377
|
+
readonly name: "args";
|
|
1378
|
+
readonly type: "bytes";
|
|
1379
|
+
}];
|
|
1380
|
+
readonly name: "Instantiated";
|
|
1381
|
+
readonly type: "event";
|
|
1382
|
+
}, {
|
|
1383
|
+
readonly anonymous: false;
|
|
1384
|
+
readonly inputs: readonly [{
|
|
1385
|
+
readonly indexed: true;
|
|
1386
|
+
readonly internalType: "bytes32";
|
|
1387
|
+
readonly name: "id";
|
|
1388
|
+
readonly type: "bytes32";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly indexed: false;
|
|
1391
|
+
readonly internalType: "uint256";
|
|
1392
|
+
readonly name: "cost";
|
|
1393
|
+
readonly type: "uint256";
|
|
1394
|
+
}];
|
|
1395
|
+
readonly name: "InstantiationCostChanged";
|
|
1396
|
+
readonly type: "event";
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly anonymous: false;
|
|
1399
|
+
readonly inputs: readonly [{
|
|
1400
|
+
readonly indexed: true;
|
|
1401
|
+
readonly internalType: "bytes32";
|
|
1402
|
+
readonly name: "role";
|
|
1403
|
+
readonly type: "bytes32";
|
|
1404
|
+
}, {
|
|
1405
|
+
readonly indexed: true;
|
|
1406
|
+
readonly internalType: "bytes32";
|
|
1407
|
+
readonly name: "previousAdminRole";
|
|
1408
|
+
readonly type: "bytes32";
|
|
1409
|
+
}, {
|
|
1410
|
+
readonly indexed: true;
|
|
1411
|
+
readonly internalType: "bytes32";
|
|
1412
|
+
readonly name: "newAdminRole";
|
|
1413
|
+
readonly type: "bytes32";
|
|
1414
|
+
}];
|
|
1415
|
+
readonly name: "RoleAdminChanged";
|
|
1416
|
+
readonly type: "event";
|
|
1417
|
+
}, {
|
|
1418
|
+
readonly anonymous: false;
|
|
1419
|
+
readonly inputs: readonly [{
|
|
1420
|
+
readonly indexed: true;
|
|
1421
|
+
readonly internalType: "bytes32";
|
|
1422
|
+
readonly name: "role";
|
|
1423
|
+
readonly type: "bytes32";
|
|
1424
|
+
}, {
|
|
1425
|
+
readonly indexed: true;
|
|
1426
|
+
readonly internalType: "address";
|
|
1427
|
+
readonly name: "account";
|
|
1428
|
+
readonly type: "address";
|
|
1429
|
+
}, {
|
|
1430
|
+
readonly indexed: true;
|
|
1431
|
+
readonly internalType: "address";
|
|
1432
|
+
readonly name: "sender";
|
|
1433
|
+
readonly type: "address";
|
|
1434
|
+
}];
|
|
1435
|
+
readonly name: "RoleGranted";
|
|
1436
|
+
readonly type: "event";
|
|
1437
|
+
}, {
|
|
1438
|
+
readonly anonymous: false;
|
|
1439
|
+
readonly inputs: readonly [{
|
|
1440
|
+
readonly indexed: true;
|
|
1441
|
+
readonly internalType: "bytes32";
|
|
1442
|
+
readonly name: "role";
|
|
1443
|
+
readonly type: "bytes32";
|
|
1444
|
+
}, {
|
|
1445
|
+
readonly indexed: true;
|
|
1446
|
+
readonly internalType: "address";
|
|
1447
|
+
readonly name: "account";
|
|
1448
|
+
readonly type: "address";
|
|
1449
|
+
}, {
|
|
1450
|
+
readonly indexed: true;
|
|
1451
|
+
readonly internalType: "address";
|
|
1452
|
+
readonly name: "sender";
|
|
1453
|
+
readonly type: "address";
|
|
1454
|
+
}];
|
|
1455
|
+
readonly name: "RoleRevoked";
|
|
1456
|
+
readonly type: "event";
|
|
1457
|
+
}, {
|
|
1458
|
+
readonly anonymous: false;
|
|
1459
|
+
readonly inputs: readonly [{
|
|
1460
|
+
readonly indexed: true;
|
|
1461
|
+
readonly internalType: "bytes32";
|
|
1462
|
+
readonly name: "distributionId";
|
|
1463
|
+
readonly type: "bytes32";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly components: readonly [{
|
|
1466
|
+
readonly components: readonly [{
|
|
1467
|
+
readonly internalType: "uint64";
|
|
1468
|
+
readonly name: "major";
|
|
1469
|
+
readonly type: "uint64";
|
|
1470
|
+
}, {
|
|
1471
|
+
readonly internalType: "uint64";
|
|
1472
|
+
readonly name: "minor";
|
|
1473
|
+
readonly type: "uint64";
|
|
1474
|
+
}, {
|
|
1475
|
+
readonly internalType: "uint128";
|
|
1476
|
+
readonly name: "patch";
|
|
1477
|
+
readonly type: "uint128";
|
|
1478
|
+
}];
|
|
1479
|
+
readonly internalType: "struct LibSemver.Version";
|
|
1480
|
+
readonly name: "version";
|
|
1481
|
+
readonly type: "tuple";
|
|
1482
|
+
}, {
|
|
1483
|
+
readonly internalType: "enum LibSemver.requirements";
|
|
1484
|
+
readonly name: "requirement";
|
|
1485
|
+
readonly type: "uint8";
|
|
1486
|
+
}];
|
|
1487
|
+
readonly indexed: true;
|
|
1488
|
+
readonly internalType: "struct LibSemver.VersionRequirement";
|
|
1489
|
+
readonly name: "newRequirement";
|
|
1490
|
+
readonly type: "tuple";
|
|
1491
|
+
}, {
|
|
1492
|
+
readonly components: readonly [{
|
|
1493
|
+
readonly components: readonly [{
|
|
1494
|
+
readonly internalType: "uint64";
|
|
1495
|
+
readonly name: "major";
|
|
1496
|
+
readonly type: "uint64";
|
|
1497
|
+
}, {
|
|
1498
|
+
readonly internalType: "uint64";
|
|
1499
|
+
readonly name: "minor";
|
|
1500
|
+
readonly type: "uint64";
|
|
1501
|
+
}, {
|
|
1502
|
+
readonly internalType: "uint128";
|
|
1503
|
+
readonly name: "patch";
|
|
1504
|
+
readonly type: "uint128";
|
|
1505
|
+
}];
|
|
1506
|
+
readonly internalType: "struct LibSemver.Version";
|
|
1507
|
+
readonly name: "version";
|
|
1508
|
+
readonly type: "tuple";
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly internalType: "enum LibSemver.requirements";
|
|
1511
|
+
readonly name: "requirement";
|
|
1512
|
+
readonly type: "uint8";
|
|
1513
|
+
}];
|
|
1514
|
+
readonly indexed: false;
|
|
1515
|
+
readonly internalType: "struct LibSemver.VersionRequirement";
|
|
1516
|
+
readonly name: "newRequirementData";
|
|
1517
|
+
readonly type: "tuple";
|
|
1518
|
+
}];
|
|
1519
|
+
readonly name: "VersionChanged";
|
|
1520
|
+
readonly type: "event";
|
|
1521
|
+
}, {
|
|
1522
|
+
readonly inputs: readonly [];
|
|
1523
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
1524
|
+
readonly outputs: readonly [{
|
|
1525
|
+
readonly internalType: "bytes32";
|
|
1526
|
+
readonly name: "";
|
|
1527
|
+
readonly type: "bytes32";
|
|
1528
|
+
}];
|
|
1529
|
+
readonly stateMutability: "view";
|
|
1530
|
+
readonly type: "function";
|
|
1531
|
+
}, {
|
|
1532
|
+
readonly inputs: readonly [];
|
|
1533
|
+
readonly name: "_beneficiary";
|
|
1534
|
+
readonly outputs: readonly [{
|
|
1535
|
+
readonly internalType: "address";
|
|
1536
|
+
readonly name: "";
|
|
1537
|
+
readonly type: "address";
|
|
1538
|
+
}];
|
|
1539
|
+
readonly stateMutability: "view";
|
|
1540
|
+
readonly type: "function";
|
|
1541
|
+
}, {
|
|
1542
|
+
readonly inputs: readonly [];
|
|
1543
|
+
readonly name: "acceptDefaultAdminTransfer";
|
|
1544
|
+
readonly outputs: readonly [];
|
|
1545
|
+
readonly stateMutability: "nonpayable";
|
|
1546
|
+
readonly type: "function";
|
|
1547
|
+
}, {
|
|
1548
|
+
readonly inputs: readonly [{
|
|
1549
|
+
readonly internalType: "contract IRepository";
|
|
1550
|
+
readonly name: "repository";
|
|
1551
|
+
readonly type: "address";
|
|
1552
|
+
}, {
|
|
1553
|
+
readonly internalType: "address";
|
|
1554
|
+
readonly name: "initializer";
|
|
1555
|
+
readonly type: "address";
|
|
1556
|
+
}, {
|
|
1557
|
+
readonly components: readonly [{
|
|
1558
|
+
readonly components: readonly [{
|
|
1559
|
+
readonly internalType: "uint64";
|
|
1560
|
+
readonly name: "major";
|
|
1561
|
+
readonly type: "uint64";
|
|
1562
|
+
}, {
|
|
1563
|
+
readonly internalType: "uint64";
|
|
1564
|
+
readonly name: "minor";
|
|
1565
|
+
readonly type: "uint64";
|
|
1566
|
+
}, {
|
|
1567
|
+
readonly internalType: "uint128";
|
|
1568
|
+
readonly name: "patch";
|
|
1569
|
+
readonly type: "uint128";
|
|
1570
|
+
}];
|
|
1571
|
+
readonly internalType: "struct LibSemver.Version";
|
|
1572
|
+
readonly name: "version";
|
|
1573
|
+
readonly type: "tuple";
|
|
1574
|
+
}, {
|
|
1575
|
+
readonly internalType: "enum LibSemver.requirements";
|
|
1576
|
+
readonly name: "requirement";
|
|
1577
|
+
readonly type: "uint8";
|
|
1578
|
+
}];
|
|
1579
|
+
readonly internalType: "struct LibSemver.VersionRequirement";
|
|
1580
|
+
readonly name: "requirement";
|
|
1581
|
+
readonly type: "tuple";
|
|
1582
|
+
}];
|
|
1583
|
+
readonly name: "addDistribution";
|
|
1584
|
+
readonly outputs: readonly [];
|
|
1585
|
+
readonly stateMutability: "nonpayable";
|
|
1586
|
+
readonly type: "function";
|
|
1587
|
+
}, {
|
|
1588
|
+
readonly inputs: readonly [{
|
|
1589
|
+
readonly internalType: "bytes32";
|
|
1590
|
+
readonly name: "id";
|
|
1591
|
+
readonly type: "bytes32";
|
|
1592
|
+
}, {
|
|
1593
|
+
readonly internalType: "address";
|
|
1594
|
+
readonly name: "initializer";
|
|
1595
|
+
readonly type: "address";
|
|
1596
|
+
}];
|
|
1597
|
+
readonly name: "addDistribution";
|
|
1598
|
+
readonly outputs: readonly [];
|
|
1599
|
+
readonly stateMutability: "nonpayable";
|
|
1600
|
+
readonly type: "function";
|
|
1601
|
+
}, {
|
|
1602
|
+
readonly inputs: readonly [{
|
|
1603
|
+
readonly internalType: "bytes32";
|
|
1604
|
+
readonly name: "name";
|
|
1605
|
+
readonly type: "bytes32";
|
|
1606
|
+
}, {
|
|
1607
|
+
readonly internalType: "bytes32";
|
|
1608
|
+
readonly name: "distributorId";
|
|
1609
|
+
readonly type: "bytes32";
|
|
1610
|
+
}, {
|
|
1611
|
+
readonly internalType: "address";
|
|
1612
|
+
readonly name: "initializer";
|
|
1613
|
+
readonly type: "address";
|
|
1614
|
+
}];
|
|
1615
|
+
readonly name: "addNamedDistribution";
|
|
1616
|
+
readonly outputs: readonly [];
|
|
1617
|
+
readonly stateMutability: "nonpayable";
|
|
1618
|
+
readonly type: "function";
|
|
1619
|
+
}, {
|
|
1620
|
+
readonly inputs: readonly [{
|
|
1621
|
+
readonly internalType: "bytes";
|
|
1622
|
+
readonly name: "config";
|
|
1623
|
+
readonly type: "bytes";
|
|
1624
|
+
}, {
|
|
1625
|
+
readonly internalType: "bytes4";
|
|
1626
|
+
readonly name: "";
|
|
1627
|
+
readonly type: "bytes4";
|
|
1628
|
+
}, {
|
|
1629
|
+
readonly internalType: "address";
|
|
1630
|
+
readonly name: "maybeInstance";
|
|
1631
|
+
readonly type: "address";
|
|
1632
|
+
}, {
|
|
1633
|
+
readonly internalType: "uint256";
|
|
1634
|
+
readonly name: "";
|
|
1635
|
+
readonly type: "uint256";
|
|
1636
|
+
}, {
|
|
1637
|
+
readonly internalType: "bytes";
|
|
1638
|
+
readonly name: "";
|
|
1639
|
+
readonly type: "bytes";
|
|
1640
|
+
}, {
|
|
1641
|
+
readonly internalType: "bytes";
|
|
1642
|
+
readonly name: "";
|
|
1643
|
+
readonly type: "bytes";
|
|
1644
|
+
}];
|
|
1645
|
+
readonly name: "afterCall";
|
|
1646
|
+
readonly outputs: readonly [];
|
|
1647
|
+
readonly stateMutability: "nonpayable";
|
|
1648
|
+
readonly type: "function";
|
|
1649
|
+
}, {
|
|
1650
|
+
readonly inputs: readonly [{
|
|
1651
|
+
readonly internalType: "bytes";
|
|
1652
|
+
readonly name: "config";
|
|
1653
|
+
readonly type: "bytes";
|
|
1654
|
+
}, {
|
|
1655
|
+
readonly internalType: "bytes4";
|
|
1656
|
+
readonly name: "";
|
|
1657
|
+
readonly type: "bytes4";
|
|
1658
|
+
}, {
|
|
1659
|
+
readonly internalType: "address";
|
|
1660
|
+
readonly name: "maybeInstance";
|
|
1661
|
+
readonly type: "address";
|
|
1662
|
+
}, {
|
|
1663
|
+
readonly internalType: "uint256";
|
|
1664
|
+
readonly name: "";
|
|
1665
|
+
readonly type: "uint256";
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly internalType: "bytes";
|
|
1668
|
+
readonly name: "";
|
|
1669
|
+
readonly type: "bytes";
|
|
1670
|
+
}];
|
|
1671
|
+
readonly name: "beforeCall";
|
|
1672
|
+
readonly outputs: readonly [{
|
|
1673
|
+
readonly internalType: "bytes";
|
|
1674
|
+
readonly name: "";
|
|
1675
|
+
readonly type: "bytes";
|
|
1676
|
+
}];
|
|
1677
|
+
readonly stateMutability: "view";
|
|
1678
|
+
readonly type: "function";
|
|
1679
|
+
}, {
|
|
1680
|
+
readonly inputs: readonly [{
|
|
1681
|
+
readonly internalType: "address";
|
|
1682
|
+
readonly name: "newAdmin";
|
|
1683
|
+
readonly type: "address";
|
|
1684
|
+
}];
|
|
1685
|
+
readonly name: "beginDefaultAdminTransfer";
|
|
1686
|
+
readonly outputs: readonly [];
|
|
1687
|
+
readonly stateMutability: "nonpayable";
|
|
1688
|
+
readonly type: "function";
|
|
1689
|
+
}, {
|
|
1690
|
+
readonly inputs: readonly [{
|
|
1691
|
+
readonly internalType: "bytes32";
|
|
1692
|
+
readonly name: "sourceId";
|
|
1693
|
+
readonly type: "bytes32";
|
|
1694
|
+
}, {
|
|
1695
|
+
readonly internalType: "address";
|
|
1696
|
+
readonly name: "initializer";
|
|
1697
|
+
readonly type: "address";
|
|
1698
|
+
}];
|
|
1699
|
+
readonly name: "calculateDistributorId";
|
|
1700
|
+
readonly outputs: readonly [{
|
|
1701
|
+
readonly internalType: "bytes32";
|
|
1702
|
+
readonly name: "";
|
|
1703
|
+
readonly type: "bytes32";
|
|
1704
|
+
}];
|
|
1705
|
+
readonly stateMutability: "pure";
|
|
1706
|
+
readonly type: "function";
|
|
1707
|
+
}, {
|
|
1708
|
+
readonly inputs: readonly [{
|
|
1709
|
+
readonly internalType: "address";
|
|
1710
|
+
readonly name: "repository";
|
|
1711
|
+
readonly type: "address";
|
|
1712
|
+
}, {
|
|
1713
|
+
readonly internalType: "address";
|
|
1714
|
+
readonly name: "initializer";
|
|
1715
|
+
readonly type: "address";
|
|
1716
|
+
}];
|
|
1717
|
+
readonly name: "calculateDistributorId";
|
|
1718
|
+
readonly outputs: readonly [{
|
|
1719
|
+
readonly internalType: "bytes32";
|
|
1720
|
+
readonly name: "";
|
|
1721
|
+
readonly type: "bytes32";
|
|
1722
|
+
}];
|
|
1723
|
+
readonly stateMutability: "pure";
|
|
1724
|
+
readonly type: "function";
|
|
1725
|
+
}, {
|
|
1726
|
+
readonly inputs: readonly [];
|
|
1727
|
+
readonly name: "cancelDefaultAdminTransfer";
|
|
1728
|
+
readonly outputs: readonly [];
|
|
1729
|
+
readonly stateMutability: "nonpayable";
|
|
1730
|
+
readonly type: "function";
|
|
1731
|
+
}, {
|
|
1732
|
+
readonly inputs: readonly [{
|
|
1733
|
+
readonly internalType: "uint48";
|
|
1734
|
+
readonly name: "newDelay";
|
|
1735
|
+
readonly type: "uint48";
|
|
1736
|
+
}];
|
|
1737
|
+
readonly name: "changeDefaultAdminDelay";
|
|
1738
|
+
readonly outputs: readonly [];
|
|
1739
|
+
readonly stateMutability: "nonpayable";
|
|
1740
|
+
readonly type: "function";
|
|
1741
|
+
}, {
|
|
1742
|
+
readonly inputs: readonly [{
|
|
1743
|
+
readonly internalType: "bytes32";
|
|
1744
|
+
readonly name: "distributionId";
|
|
1745
|
+
readonly type: "bytes32";
|
|
1746
|
+
}, {
|
|
1747
|
+
readonly components: readonly [{
|
|
1748
|
+
readonly components: readonly [{
|
|
1749
|
+
readonly internalType: "uint64";
|
|
1750
|
+
readonly name: "major";
|
|
1751
|
+
readonly type: "uint64";
|
|
1752
|
+
}, {
|
|
1753
|
+
readonly internalType: "uint64";
|
|
1754
|
+
readonly name: "minor";
|
|
1755
|
+
readonly type: "uint64";
|
|
1756
|
+
}, {
|
|
1757
|
+
readonly internalType: "uint128";
|
|
1758
|
+
readonly name: "patch";
|
|
1759
|
+
readonly type: "uint128";
|
|
1760
|
+
}];
|
|
1761
|
+
readonly internalType: "struct LibSemver.Version";
|
|
1762
|
+
readonly name: "version";
|
|
1763
|
+
readonly type: "tuple";
|
|
1764
|
+
}, {
|
|
1765
|
+
readonly internalType: "enum LibSemver.requirements";
|
|
1766
|
+
readonly name: "requirement";
|
|
1767
|
+
readonly type: "uint8";
|
|
1768
|
+
}];
|
|
1769
|
+
readonly internalType: "struct LibSemver.VersionRequirement";
|
|
1770
|
+
readonly name: "newRequirement";
|
|
1771
|
+
readonly type: "tuple";
|
|
1772
|
+
}];
|
|
1773
|
+
readonly name: "changeVersion";
|
|
1774
|
+
readonly outputs: readonly [];
|
|
1775
|
+
readonly stateMutability: "nonpayable";
|
|
1776
|
+
readonly type: "function";
|
|
1777
|
+
}, {
|
|
1778
|
+
readonly inputs: readonly [];
|
|
1779
|
+
readonly name: "defaultAdmin";
|
|
1780
|
+
readonly outputs: readonly [{
|
|
1781
|
+
readonly internalType: "address";
|
|
1782
|
+
readonly name: "";
|
|
1783
|
+
readonly type: "address";
|
|
1784
|
+
}];
|
|
1785
|
+
readonly stateMutability: "view";
|
|
1786
|
+
readonly type: "function";
|
|
1787
|
+
}, {
|
|
1788
|
+
readonly inputs: readonly [];
|
|
1789
|
+
readonly name: "defaultAdminDelay";
|
|
1790
|
+
readonly outputs: readonly [{
|
|
1791
|
+
readonly internalType: "uint48";
|
|
1792
|
+
readonly name: "";
|
|
1793
|
+
readonly type: "uint48";
|
|
1794
|
+
}];
|
|
1795
|
+
readonly stateMutability: "view";
|
|
1796
|
+
readonly type: "function";
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly inputs: readonly [];
|
|
1799
|
+
readonly name: "defaultAdminDelayIncreaseWait";
|
|
1800
|
+
readonly outputs: readonly [{
|
|
1801
|
+
readonly internalType: "uint48";
|
|
1802
|
+
readonly name: "";
|
|
1803
|
+
readonly type: "uint48";
|
|
1804
|
+
}];
|
|
1805
|
+
readonly stateMutability: "view";
|
|
1806
|
+
readonly type: "function";
|
|
1807
|
+
}, {
|
|
1808
|
+
readonly inputs: readonly [];
|
|
1809
|
+
readonly name: "defaultInstantiationCost";
|
|
1810
|
+
readonly outputs: readonly [{
|
|
1811
|
+
readonly internalType: "uint256";
|
|
1812
|
+
readonly name: "";
|
|
1813
|
+
readonly type: "uint256";
|
|
1814
|
+
}];
|
|
1815
|
+
readonly stateMutability: "view";
|
|
1816
|
+
readonly type: "function";
|
|
1817
|
+
}, {
|
|
1818
|
+
readonly inputs: readonly [{
|
|
1819
|
+
readonly internalType: "bytes32";
|
|
1820
|
+
readonly name: "distributorsId";
|
|
1821
|
+
readonly type: "bytes32";
|
|
1822
|
+
}];
|
|
1823
|
+
readonly name: "distributionComponents";
|
|
1824
|
+
readonly outputs: readonly [{
|
|
1825
|
+
readonly internalType: "address";
|
|
1826
|
+
readonly name: "distributionLocation";
|
|
1827
|
+
readonly type: "address";
|
|
1828
|
+
}, {
|
|
1829
|
+
readonly internalType: "address";
|
|
1830
|
+
readonly name: "initializer";
|
|
1831
|
+
readonly type: "address";
|
|
1832
|
+
}];
|
|
1833
|
+
readonly stateMutability: "view";
|
|
1834
|
+
readonly type: "function";
|
|
1835
|
+
}, {
|
|
1836
|
+
readonly inputs: readonly [{
|
|
1837
|
+
readonly internalType: "uint256";
|
|
1838
|
+
readonly name: "instance";
|
|
1839
|
+
readonly type: "uint256";
|
|
1840
|
+
}];
|
|
1841
|
+
readonly name: "distributionOf";
|
|
1842
|
+
readonly outputs: readonly [{
|
|
1843
|
+
readonly internalType: "bytes32";
|
|
1844
|
+
readonly name: "distributorsId";
|
|
1845
|
+
readonly type: "bytes32";
|
|
1846
|
+
}];
|
|
1847
|
+
readonly stateMutability: "view";
|
|
1848
|
+
readonly type: "function";
|
|
1849
|
+
}, {
|
|
1850
|
+
readonly inputs: readonly [{
|
|
1851
|
+
readonly internalType: "address";
|
|
1852
|
+
readonly name: "instance";
|
|
1853
|
+
readonly type: "address";
|
|
1854
|
+
}];
|
|
1855
|
+
readonly name: "getDistributionId";
|
|
1856
|
+
readonly outputs: readonly [{
|
|
1857
|
+
readonly internalType: "bytes32";
|
|
1858
|
+
readonly name: "";
|
|
1859
|
+
readonly type: "bytes32";
|
|
1860
|
+
}];
|
|
1861
|
+
readonly stateMutability: "view";
|
|
1862
|
+
readonly type: "function";
|
|
1863
|
+
}, {
|
|
1864
|
+
readonly inputs: readonly [{
|
|
1865
|
+
readonly internalType: "bytes32";
|
|
1866
|
+
readonly name: "distributorsId";
|
|
1867
|
+
readonly type: "bytes32";
|
|
1868
|
+
}];
|
|
1869
|
+
readonly name: "getDistributionURI";
|
|
1870
|
+
readonly outputs: readonly [{
|
|
1871
|
+
readonly internalType: "string";
|
|
1872
|
+
readonly name: "";
|
|
1873
|
+
readonly type: "string";
|
|
1874
|
+
}];
|
|
1875
|
+
readonly stateMutability: "view";
|
|
1876
|
+
readonly type: "function";
|
|
1877
|
+
}, {
|
|
1878
|
+
readonly inputs: readonly [];
|
|
1879
|
+
readonly name: "getDistributions";
|
|
1880
|
+
readonly outputs: readonly [{
|
|
1881
|
+
readonly internalType: "bytes32[]";
|
|
1882
|
+
readonly name: "";
|
|
1883
|
+
readonly type: "bytes32[]";
|
|
1884
|
+
}];
|
|
1885
|
+
readonly stateMutability: "view";
|
|
1886
|
+
readonly type: "function";
|
|
1887
|
+
}, {
|
|
1888
|
+
readonly inputs: readonly [{
|
|
1889
|
+
readonly internalType: "address";
|
|
1890
|
+
readonly name: "instance";
|
|
1891
|
+
readonly type: "address";
|
|
1892
|
+
}];
|
|
1893
|
+
readonly name: "getInstanceId";
|
|
1894
|
+
readonly outputs: readonly [{
|
|
1895
|
+
readonly internalType: "uint256";
|
|
1896
|
+
readonly name: "";
|
|
1897
|
+
readonly type: "uint256";
|
|
1898
|
+
}];
|
|
1899
|
+
readonly stateMutability: "view";
|
|
1900
|
+
readonly type: "function";
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly inputs: readonly [{
|
|
1903
|
+
readonly internalType: "bytes32";
|
|
1904
|
+
readonly name: "role";
|
|
1905
|
+
readonly type: "bytes32";
|
|
1906
|
+
}];
|
|
1907
|
+
readonly name: "getRoleAdmin";
|
|
1908
|
+
readonly outputs: readonly [{
|
|
1909
|
+
readonly internalType: "bytes32";
|
|
1910
|
+
readonly name: "";
|
|
1911
|
+
readonly type: "bytes32";
|
|
1912
|
+
}];
|
|
1913
|
+
readonly stateMutability: "view";
|
|
1914
|
+
readonly type: "function";
|
|
1915
|
+
}, {
|
|
1916
|
+
readonly inputs: readonly [{
|
|
1917
|
+
readonly internalType: "bytes32";
|
|
1918
|
+
readonly name: "role";
|
|
1919
|
+
readonly type: "bytes32";
|
|
1920
|
+
}, {
|
|
1921
|
+
readonly internalType: "address";
|
|
1922
|
+
readonly name: "account";
|
|
1923
|
+
readonly type: "address";
|
|
1924
|
+
}];
|
|
1925
|
+
readonly name: "grantRole";
|
|
1926
|
+
readonly outputs: readonly [];
|
|
1927
|
+
readonly stateMutability: "nonpayable";
|
|
1928
|
+
readonly type: "function";
|
|
1929
|
+
}, {
|
|
1930
|
+
readonly inputs: readonly [{
|
|
1931
|
+
readonly internalType: "bytes32";
|
|
1932
|
+
readonly name: "role";
|
|
1933
|
+
readonly type: "bytes32";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly internalType: "address";
|
|
1936
|
+
readonly name: "account";
|
|
1937
|
+
readonly type: "address";
|
|
1938
|
+
}];
|
|
1939
|
+
readonly name: "hasRole";
|
|
1940
|
+
readonly outputs: readonly [{
|
|
1941
|
+
readonly internalType: "bool";
|
|
1942
|
+
readonly name: "";
|
|
1943
|
+
readonly type: "bool";
|
|
1944
|
+
}];
|
|
1945
|
+
readonly stateMutability: "view";
|
|
1946
|
+
readonly type: "function";
|
|
1947
|
+
}, {
|
|
1948
|
+
readonly inputs: readonly [{
|
|
1949
|
+
readonly internalType: "uint256";
|
|
1950
|
+
readonly name: "instanceId";
|
|
1951
|
+
readonly type: "uint256";
|
|
1952
|
+
}];
|
|
1953
|
+
readonly name: "instanceVersions";
|
|
1954
|
+
readonly outputs: readonly [{
|
|
1955
|
+
readonly internalType: "uint64";
|
|
1956
|
+
readonly name: "major";
|
|
1957
|
+
readonly type: "uint64";
|
|
1958
|
+
}, {
|
|
1959
|
+
readonly internalType: "uint64";
|
|
1960
|
+
readonly name: "minor";
|
|
1961
|
+
readonly type: "uint64";
|
|
1962
|
+
}, {
|
|
1963
|
+
readonly internalType: "uint128";
|
|
1964
|
+
readonly name: "patch";
|
|
1965
|
+
readonly type: "uint128";
|
|
1966
|
+
}];
|
|
1967
|
+
readonly stateMutability: "view";
|
|
1968
|
+
readonly type: "function";
|
|
1969
|
+
}, {
|
|
1970
|
+
readonly inputs: readonly [{
|
|
1971
|
+
readonly internalType: "bytes32";
|
|
1972
|
+
readonly name: "id";
|
|
1973
|
+
readonly type: "bytes32";
|
|
1974
|
+
}, {
|
|
1975
|
+
readonly internalType: "bytes";
|
|
1976
|
+
readonly name: "args";
|
|
1977
|
+
readonly type: "bytes";
|
|
1978
|
+
}];
|
|
1979
|
+
readonly name: "instantiate";
|
|
1980
|
+
readonly outputs: readonly [{
|
|
1981
|
+
readonly internalType: "address[]";
|
|
1982
|
+
readonly name: "srcs";
|
|
1983
|
+
readonly type: "address[]";
|
|
1984
|
+
}, {
|
|
1985
|
+
readonly internalType: "bytes32";
|
|
1986
|
+
readonly name: "name";
|
|
1987
|
+
readonly type: "bytes32";
|
|
1988
|
+
}, {
|
|
1989
|
+
readonly internalType: "uint256";
|
|
1990
|
+
readonly name: "version";
|
|
1991
|
+
readonly type: "uint256";
|
|
1992
|
+
}];
|
|
1993
|
+
readonly stateMutability: "nonpayable";
|
|
1994
|
+
readonly type: "function";
|
|
1995
|
+
}, {
|
|
1996
|
+
readonly inputs: readonly [{
|
|
1997
|
+
readonly internalType: "bytes32";
|
|
1998
|
+
readonly name: "id";
|
|
1999
|
+
readonly type: "bytes32";
|
|
2000
|
+
}];
|
|
2001
|
+
readonly name: "instantiationCosts";
|
|
2002
|
+
readonly outputs: readonly [{
|
|
2003
|
+
readonly internalType: "uint256";
|
|
2004
|
+
readonly name: "";
|
|
2005
|
+
readonly type: "uint256";
|
|
2006
|
+
}];
|
|
2007
|
+
readonly stateMutability: "view";
|
|
2008
|
+
readonly type: "function";
|
|
2009
|
+
}, {
|
|
2010
|
+
readonly inputs: readonly [];
|
|
2011
|
+
readonly name: "numInstances";
|
|
2012
|
+
readonly outputs: readonly [{
|
|
2013
|
+
readonly internalType: "uint256";
|
|
2014
|
+
readonly name: "";
|
|
2015
|
+
readonly type: "uint256";
|
|
2016
|
+
}];
|
|
2017
|
+
readonly stateMutability: "view";
|
|
2018
|
+
readonly type: "function";
|
|
2019
|
+
}, {
|
|
2020
|
+
readonly inputs: readonly [];
|
|
2021
|
+
readonly name: "owner";
|
|
2022
|
+
readonly outputs: readonly [{
|
|
2023
|
+
readonly internalType: "address";
|
|
2024
|
+
readonly name: "";
|
|
2025
|
+
readonly type: "address";
|
|
2026
|
+
}];
|
|
2027
|
+
readonly stateMutability: "view";
|
|
2028
|
+
readonly type: "function";
|
|
2029
|
+
}, {
|
|
2030
|
+
readonly inputs: readonly [];
|
|
2031
|
+
readonly name: "paymentToken";
|
|
2032
|
+
readonly outputs: readonly [{
|
|
2033
|
+
readonly internalType: "contract IERC20";
|
|
2034
|
+
readonly name: "";
|
|
2035
|
+
readonly type: "address";
|
|
2036
|
+
}];
|
|
2037
|
+
readonly stateMutability: "view";
|
|
2038
|
+
readonly type: "function";
|
|
2039
|
+
}, {
|
|
2040
|
+
readonly inputs: readonly [];
|
|
2041
|
+
readonly name: "pendingDefaultAdmin";
|
|
2042
|
+
readonly outputs: readonly [{
|
|
2043
|
+
readonly internalType: "address";
|
|
2044
|
+
readonly name: "newAdmin";
|
|
2045
|
+
readonly type: "address";
|
|
2046
|
+
}, {
|
|
2047
|
+
readonly internalType: "uint48";
|
|
2048
|
+
readonly name: "schedule";
|
|
2049
|
+
readonly type: "uint48";
|
|
2050
|
+
}];
|
|
2051
|
+
readonly stateMutability: "view";
|
|
2052
|
+
readonly type: "function";
|
|
2053
|
+
}, {
|
|
2054
|
+
readonly inputs: readonly [];
|
|
2055
|
+
readonly name: "pendingDefaultAdminDelay";
|
|
2056
|
+
readonly outputs: readonly [{
|
|
2057
|
+
readonly internalType: "uint48";
|
|
2058
|
+
readonly name: "newDelay";
|
|
2059
|
+
readonly type: "uint48";
|
|
2060
|
+
}, {
|
|
2061
|
+
readonly internalType: "uint48";
|
|
2062
|
+
readonly name: "schedule";
|
|
2063
|
+
readonly type: "uint48";
|
|
2064
|
+
}];
|
|
2065
|
+
readonly stateMutability: "view";
|
|
2066
|
+
readonly type: "function";
|
|
2067
|
+
}, {
|
|
2068
|
+
readonly inputs: readonly [{
|
|
2069
|
+
readonly internalType: "bytes32";
|
|
2070
|
+
readonly name: "id";
|
|
2071
|
+
readonly type: "bytes32";
|
|
2072
|
+
}];
|
|
2073
|
+
readonly name: "removeDistribution";
|
|
2074
|
+
readonly outputs: readonly [];
|
|
2075
|
+
readonly stateMutability: "nonpayable";
|
|
2076
|
+
readonly type: "function";
|
|
2077
|
+
}, {
|
|
2078
|
+
readonly inputs: readonly [{
|
|
2079
|
+
readonly internalType: "bytes32";
|
|
2080
|
+
readonly name: "role";
|
|
2081
|
+
readonly type: "bytes32";
|
|
2082
|
+
}, {
|
|
2083
|
+
readonly internalType: "address";
|
|
2084
|
+
readonly name: "account";
|
|
2085
|
+
readonly type: "address";
|
|
2086
|
+
}];
|
|
2087
|
+
readonly name: "renounceRole";
|
|
2088
|
+
readonly outputs: readonly [];
|
|
2089
|
+
readonly stateMutability: "nonpayable";
|
|
2090
|
+
readonly type: "function";
|
|
2091
|
+
}, {
|
|
2092
|
+
readonly inputs: readonly [{
|
|
2093
|
+
readonly internalType: "bytes32";
|
|
2094
|
+
readonly name: "role";
|
|
2095
|
+
readonly type: "bytes32";
|
|
2096
|
+
}, {
|
|
2097
|
+
readonly internalType: "address";
|
|
2098
|
+
readonly name: "account";
|
|
2099
|
+
readonly type: "address";
|
|
2100
|
+
}];
|
|
2101
|
+
readonly name: "revokeRole";
|
|
2102
|
+
readonly outputs: readonly [];
|
|
2103
|
+
readonly stateMutability: "nonpayable";
|
|
2104
|
+
readonly type: "function";
|
|
2105
|
+
}, {
|
|
2106
|
+
readonly inputs: readonly [];
|
|
2107
|
+
readonly name: "rollbackDefaultAdminDelay";
|
|
2108
|
+
readonly outputs: readonly [];
|
|
2109
|
+
readonly stateMutability: "nonpayable";
|
|
2110
|
+
readonly type: "function";
|
|
2111
|
+
}, {
|
|
2112
|
+
readonly inputs: readonly [{
|
|
2113
|
+
readonly internalType: "bytes32";
|
|
2114
|
+
readonly name: "id";
|
|
2115
|
+
readonly type: "bytes32";
|
|
2116
|
+
}, {
|
|
2117
|
+
readonly internalType: "uint256";
|
|
2118
|
+
readonly name: "cost";
|
|
2119
|
+
readonly type: "uint256";
|
|
2120
|
+
}];
|
|
2121
|
+
readonly name: "setInstantiationCost";
|
|
2122
|
+
readonly outputs: readonly [];
|
|
2123
|
+
readonly stateMutability: "nonpayable";
|
|
2124
|
+
readonly type: "function";
|
|
2125
|
+
}, {
|
|
2126
|
+
readonly inputs: readonly [{
|
|
2127
|
+
readonly internalType: "bytes4";
|
|
2128
|
+
readonly name: "interfaceId";
|
|
2129
|
+
readonly type: "bytes4";
|
|
2130
|
+
}];
|
|
2131
|
+
readonly name: "supportsInterface";
|
|
2132
|
+
readonly outputs: readonly [{
|
|
2133
|
+
readonly internalType: "bool";
|
|
2134
|
+
readonly name: "";
|
|
2135
|
+
readonly type: "bool";
|
|
2136
|
+
}];
|
|
2137
|
+
readonly stateMutability: "view";
|
|
2138
|
+
readonly type: "function";
|
|
2139
|
+
}, {
|
|
2140
|
+
readonly inputs: readonly [{
|
|
2141
|
+
readonly internalType: "bytes32";
|
|
2142
|
+
readonly name: "distributorsId";
|
|
2143
|
+
readonly type: "bytes32";
|
|
2144
|
+
}];
|
|
2145
|
+
readonly name: "versionRequirements";
|
|
2146
|
+
readonly outputs: readonly [{
|
|
2147
|
+
readonly components: readonly [{
|
|
2148
|
+
readonly internalType: "uint64";
|
|
2149
|
+
readonly name: "major";
|
|
2150
|
+
readonly type: "uint64";
|
|
2151
|
+
}, {
|
|
2152
|
+
readonly internalType: "uint64";
|
|
2153
|
+
readonly name: "minor";
|
|
2154
|
+
readonly type: "uint64";
|
|
2155
|
+
}, {
|
|
2156
|
+
readonly internalType: "uint128";
|
|
2157
|
+
readonly name: "patch";
|
|
2158
|
+
readonly type: "uint128";
|
|
2159
|
+
}];
|
|
2160
|
+
readonly internalType: "struct LibSemver.Version";
|
|
2161
|
+
readonly name: "version";
|
|
2162
|
+
readonly type: "tuple";
|
|
2163
|
+
}, {
|
|
2164
|
+
readonly internalType: "enum LibSemver.requirements";
|
|
2165
|
+
readonly name: "requirement";
|
|
2166
|
+
readonly type: "uint8";
|
|
2167
|
+
}];
|
|
2168
|
+
readonly stateMutability: "view";
|
|
2169
|
+
readonly type: "function";
|
|
2170
|
+
}], "DistributionRemoved">;
|
|
2171
|
+
}>;
|
|
1136
2172
|
/**
|
|
1137
2173
|
* Gets a specific MAO instance by name and instance ID
|
|
1138
2174
|
* @param params Parameters for getting the instance
|