@peeramid-labs/sdk 3.11.1 → 3.11.2
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 +7 -0
- package/cli/abis/IRankifyInstance.js +167 -0
- package/cli/abis/IRankifyInstance.js.map +1 -1
- package/cli/abis/LibRankify.js +298 -0
- package/cli/abis/LibRankify.js.map +1 -0
- package/cli/abis/MAODistribution.js +30 -10
- package/cli/abis/MAODistribution.js.map +1 -1
- package/cli/abis/RankifyDiamondInstance.js +442 -242
- package/cli/abis/RankifyDiamondInstance.js.map +1 -1
- package/cli/abis/RankifyInstanceGameMastersFacet.js +0 -21
- package/cli/abis/RankifyInstanceGameMastersFacet.js.map +1 -1
- package/cli/abis/RankifyInstanceMainFacet.js +585 -31
- package/cli/abis/RankifyInstanceMainFacet.js.map +1 -1
- package/cli/abis/RankifyInstanceRequirementsFacet.js +0 -333
- package/cli/abis/RankifyInstanceRequirementsFacet.js.map +1 -1
- package/cli/abis/index.js +6 -2
- package/cli/abis/index.js.map +1 -1
- package/cli/abis/superinterface.js +32 -18
- package/cli/abis/superinterface.js.map +1 -1
- package/cli/cli/commands/blockchain/index.js +1 -3
- package/cli/cli/commands/blockchain/index.js.map +1 -1
- package/cli/cli/commands/blockchain/mine.js.map +1 -1
- package/cli/cli/commands/distributions/add.js.map +1 -1
- package/cli/cli/commands/distributions/list.js.map +1 -1
- package/cli/cli/commands/distributions/remove.js.map +1 -1
- package/cli/cli/commands/distributions/state.js.map +1 -1
- package/cli/cli/commands/fellowship/create.js +9 -2
- package/cli/cli/commands/fellowship/create.js.map +1 -1
- package/cli/cli/commands/fellowship/eip712.js.map +1 -1
- package/cli/cli/commands/fellowship/game/cancel.js.map +1 -1
- package/cli/cli/commands/fellowship/game/create.js +15 -22
- package/cli/cli/commands/fellowship/game/create.js.map +1 -1
- package/cli/cli/commands/fellowship/game/end-turn.js.map +1 -1
- package/cli/cli/commands/fellowship/game/join.js +1 -1
- package/cli/cli/commands/fellowship/game/join.js.map +1 -1
- package/cli/cli/commands/fellowship/game/list.js.map +1 -1
- package/cli/cli/commands/fellowship/game/propose.js +1 -1
- package/cli/cli/commands/fellowship/game/propose.js.map +1 -1
- package/cli/cli/commands/fellowship/game/start.js.map +1 -1
- package/cli/cli/commands/fellowship/game/vote.js.map +1 -1
- package/cli/cli/commands/fellowship/list.js.map +1 -1
- package/cli/cli/commands/fellowship/params.js.map +1 -1
- package/cli/cli/commands/getPk.js.map +1 -1
- package/cli/cli/commands/instances/list.js.map +1 -1
- package/cli/cli/commands/playbook.js +5 -4
- package/cli/cli/commands/playbook.js.map +1 -1
- package/cli/cli/commands/rankify/games.js.map +1 -1
- package/cli/cli/getPk.js +2 -2
- package/cli/cli/getPk.js.map +1 -1
- package/cli/cli/utils.js +1 -1
- package/cli/eds/Distributor.js +1 -1
- package/cli/eds/Distributor.js.map +1 -1
- package/cli/rankify/GameMaster.js +116 -27
- package/cli/rankify/GameMaster.js.map +1 -1
- package/cli/rankify/InstanceBase.js +33 -12
- package/cli/rankify/InstanceBase.js.map +1 -1
- package/cli/rankify/MAODistributor.js +56 -3
- package/cli/rankify/MAODistributor.js.map +1 -1
- package/cli/rankify/Player.js +40 -1
- package/cli/rankify/Player.js.map +1 -1
- package/cli/utils/ApiError.js +1 -1
- package/cli/utils/ApiError.js.map +1 -1
- package/cli/utils/EnvioGraphQLClient.js +9 -9
- package/cli/utils/EnvioGraphQLClient.js.map +1 -1
- package/cli/utils/blockchain.js +3 -3
- package/docs/classes/InstanceBase.md +26 -4
- package/docs/classes/InstancePlayer.md +70 -5
- package/docs/classes/MAODistributorClient.md +63 -2
- package/docs/docs/classes/InstanceBase.md +26 -4
- package/docs/docs/classes/InstancePlayer.md +70 -5
- package/docs/docs/classes/MAODistributorClient.md +63 -2
- package/docs/docs/index.md +13 -8
- package/docs/index.md +13 -8
- package/lib.commonjs/abis/IRankifyInstance.d.ts +128 -0
- package/lib.commonjs/abis/IRankifyInstance.d.ts.map +1 -1
- package/lib.commonjs/abis/IRankifyInstance.js +167 -0
- package/lib.commonjs/abis/IRankifyInstance.js.map +1 -1
- package/lib.commonjs/abis/LibRankify.d.ts +226 -0
- package/lib.commonjs/abis/LibRankify.d.ts.map +1 -0
- package/lib.commonjs/abis/LibRankify.js +298 -0
- package/lib.commonjs/abis/LibRankify.js.map +1 -0
- package/lib.commonjs/abis/MAODistribution.d.ts +24 -8
- package/lib.commonjs/abis/MAODistribution.d.ts.map +1 -1
- package/lib.commonjs/abis/MAODistribution.js +30 -10
- package/lib.commonjs/abis/MAODistribution.js.map +1 -1
- package/lib.commonjs/abis/RankifyDiamondInstance.d.ts +340 -186
- package/lib.commonjs/abis/RankifyDiamondInstance.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyDiamondInstance.js +442 -242
- package/lib.commonjs/abis/RankifyDiamondInstance.js.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceGameMastersFacet.d.ts +0 -16
- package/lib.commonjs/abis/RankifyInstanceGameMastersFacet.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceGameMastersFacet.js +0 -21
- package/lib.commonjs/abis/RankifyInstanceGameMastersFacet.js.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceMainFacet.d.ts +449 -24
- package/lib.commonjs/abis/RankifyInstanceMainFacet.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceMainFacet.js +585 -31
- package/lib.commonjs/abis/RankifyInstanceMainFacet.js.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.d.ts +0 -255
- package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.js +0 -333
- package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.js.map +1 -1
- package/lib.commonjs/abis/index.d.ts +1133 -456
- package/lib.commonjs/abis/index.d.ts.map +1 -1
- package/lib.commonjs/abis/index.js +6 -2
- package/lib.commonjs/abis/index.js.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 +32 -18
- package/lib.commonjs/abis/superinterface.js.map +1 -1
- package/lib.commonjs/eds/Distributor.d.ts.map +1 -1
- package/lib.commonjs/eds/Distributor.js +1 -1
- package/lib.commonjs/eds/Distributor.js.map +1 -1
- package/lib.commonjs/rankify/GameMaster.d.ts.map +1 -1
- package/lib.commonjs/rankify/GameMaster.js +116 -27
- package/lib.commonjs/rankify/GameMaster.js.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.d.ts +8 -1
- package/lib.commonjs/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.js +33 -12
- package/lib.commonjs/rankify/InstanceBase.js.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.d.ts +69 -1
- package/lib.commonjs/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.js +56 -3
- package/lib.commonjs/rankify/MAODistributor.js.map +1 -1
- package/lib.commonjs/rankify/Player.d.ts +53 -0
- package/lib.commonjs/rankify/Player.d.ts.map +1 -1
- package/lib.commonjs/rankify/Player.js +40 -1
- package/lib.commonjs/rankify/Player.js.map +1 -1
- package/lib.commonjs/utils/ApiError.js +1 -1
- package/lib.commonjs/utils/ApiError.js.map +1 -1
- package/lib.commonjs/utils/EnvioGraphQLClient.d.ts +1 -1
- package/lib.commonjs/utils/EnvioGraphQLClient.d.ts.map +1 -1
- package/lib.commonjs/utils/EnvioGraphQLClient.js +9 -9
- package/lib.commonjs/utils/EnvioGraphQLClient.js.map +1 -1
- package/lib.commonjs/utils/blockchain.js +3 -3
- package/lib.commonjs/utils/mockUtils.d.ts.map +1 -1
- package/lib.commonjs/utils/mockUtils.js +1 -1
- package/lib.commonjs/utils/mockUtils.js.map +1 -1
- package/lib.esm/abis/IRankifyInstance.d.ts +128 -0
- package/lib.esm/abis/IRankifyInstance.d.ts.map +1 -1
- package/lib.esm/abis/IRankifyInstance.js +167 -0
- package/lib.esm/abis/IRankifyInstance.js.map +1 -1
- package/lib.esm/abis/LibRankify.d.ts +226 -0
- package/lib.esm/abis/LibRankify.d.ts.map +1 -0
- package/lib.esm/abis/LibRankify.js +295 -0
- package/lib.esm/abis/LibRankify.js.map +1 -0
- package/lib.esm/abis/MAODistribution.d.ts +24 -8
- package/lib.esm/abis/MAODistribution.d.ts.map +1 -1
- package/lib.esm/abis/MAODistribution.js +30 -10
- package/lib.esm/abis/MAODistribution.js.map +1 -1
- package/lib.esm/abis/RankifyDiamondInstance.d.ts +340 -186
- package/lib.esm/abis/RankifyDiamondInstance.d.ts.map +1 -1
- package/lib.esm/abis/RankifyDiamondInstance.js +442 -242
- package/lib.esm/abis/RankifyDiamondInstance.js.map +1 -1
- package/lib.esm/abis/RankifyInstanceGameMastersFacet.d.ts +0 -16
- package/lib.esm/abis/RankifyInstanceGameMastersFacet.d.ts.map +1 -1
- package/lib.esm/abis/RankifyInstanceGameMastersFacet.js +0 -21
- package/lib.esm/abis/RankifyInstanceGameMastersFacet.js.map +1 -1
- package/lib.esm/abis/RankifyInstanceMainFacet.d.ts +449 -24
- package/lib.esm/abis/RankifyInstanceMainFacet.d.ts.map +1 -1
- package/lib.esm/abis/RankifyInstanceMainFacet.js +585 -31
- package/lib.esm/abis/RankifyInstanceMainFacet.js.map +1 -1
- package/lib.esm/abis/RankifyInstanceRequirementsFacet.d.ts +0 -255
- package/lib.esm/abis/RankifyInstanceRequirementsFacet.d.ts.map +1 -1
- package/lib.esm/abis/RankifyInstanceRequirementsFacet.js +0 -333
- package/lib.esm/abis/RankifyInstanceRequirementsFacet.js.map +1 -1
- package/lib.esm/abis/index.d.ts +1133 -456
- package/lib.esm/abis/index.d.ts.map +1 -1
- package/lib.esm/abis/index.js +3 -0
- package/lib.esm/abis/index.js.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 +32 -18
- package/lib.esm/abis/superinterface.js.map +1 -1
- package/lib.esm/eds/Distributor.d.ts.map +1 -1
- package/lib.esm/eds/Distributor.js +1 -1
- package/lib.esm/eds/Distributor.js.map +1 -1
- package/lib.esm/rankify/GameMaster.d.ts.map +1 -1
- package/lib.esm/rankify/GameMaster.js +116 -27
- package/lib.esm/rankify/GameMaster.js.map +1 -1
- package/lib.esm/rankify/InstanceBase.d.ts +8 -1
- package/lib.esm/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.esm/rankify/InstanceBase.js +33 -12
- package/lib.esm/rankify/InstanceBase.js.map +1 -1
- package/lib.esm/rankify/MAODistributor.d.ts +69 -1
- package/lib.esm/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.esm/rankify/MAODistributor.js +56 -3
- package/lib.esm/rankify/MAODistributor.js.map +1 -1
- package/lib.esm/rankify/Player.d.ts +53 -0
- package/lib.esm/rankify/Player.d.ts.map +1 -1
- package/lib.esm/rankify/Player.js +40 -1
- package/lib.esm/rankify/Player.js.map +1 -1
- package/lib.esm/utils/ApiError.js +1 -1
- package/lib.esm/utils/ApiError.js.map +1 -1
- package/lib.esm/utils/EnvioGraphQLClient.d.ts +1 -1
- package/lib.esm/utils/EnvioGraphQLClient.d.ts.map +1 -1
- package/lib.esm/utils/EnvioGraphQLClient.js +9 -9
- package/lib.esm/utils/EnvioGraphQLClient.js.map +1 -1
- package/lib.esm/utils/blockchain.js +3 -3
- package/lib.esm/utils/mockUtils.d.ts.map +1 -1
- package/lib.esm/utils/mockUtils.js +1 -1
- package/lib.esm/utils/mockUtils.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MAODistribution.js","sourceRoot":"","sources":["../../../src/abis/MAODistribution.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;QACE,QAAQ,EAAE;YACR;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,kBAAkB;gBAC1B,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"MAODistribution.js","sourceRoot":"","sources":["../../../src/abis/MAODistribution.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;QACE,QAAQ,EAAE;YACR;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,kBAAkB;gBAC1B,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,WAAW;gBAC3B,MAAM,EAAE,aAAa;gBACrB,MAAM,EAAE,WAAW;aACpB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,iBAAiB;gBACzB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,wBAAwB;gBAChC,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,iBAAiB;gBACzB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,uBAAuB;gBAC/B,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,QAAQ;gBACxB,MAAM,EAAE,kBAAkB;gBAC1B,MAAM,EAAE,QAAQ;aACjB;YACD;gBACE,YAAY,EAAE;oBACZ;wBACE,cAAc,EAAE,QAAQ;wBACxB,MAAM,EAAE,OAAO;wBACf,MAAM,EAAE,QAAQ;qBACjB;oBACD;wBACE,cAAc,EAAE,QAAQ;wBACxB,MAAM,EAAE,OAAO;wBACf,MAAM,EAAE,QAAQ;qBACjB;oBACD;wBACE,cAAc,EAAE,SAAS;wBACzB,MAAM,EAAE,OAAO;wBACf,MAAM,EAAE,SAAS;qBAClB;iBACF;gBACD,cAAc,EAAE,0BAA0B;gBAC1C,MAAM,EAAE,qBAAqB;gBAC7B,MAAM,EAAE,OAAO;aAChB;YACD;g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EAAE,4CAA4C;wBAC5D,MAAM,EAAE,iBAAiB;wBACzB,MAAM,EAAE,OAAO;qBAChB;iBACF;gBACD,cAAc,EAAE,6CAA6C;gBAC7D,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE,OAAO;aAChB;SACF;QACD,iBAAiB,EAAE,MAAM;QACzB,MAAM,EAAE,UAAU;KACnB;IACD;QACE,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,KAAK;QACb,SAAS,EAAE;YACT;gBACE,cAAc,EAAE,WAAW;gBAC3B,MAAM,EAAE,SAAS;gBACjB,MAAM,EAAE,WAAW;aACpB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE,SAAS;aAClB;SACF;QACD,iBAAiB,EAAE,MAAM;QACzB,MAAM,EAAE,UAAU;KACnB;IACD;QACE,QAAQ,EAAE;YACR;gBACE,cAAc,EAAE,OAAO;gBACvB,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE,OAAO;aAChB;SACF;QACD,MAAM,EAAE,aAAa;QACrB,SAAS,EAAE;YACT;gBACE,cAAc,EAAE,WAAW;gBAC3B,MAAM,EAAE,WAAW;gBACnB,MAAM,EAAE,WAAW;aACpB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,kBAAkB;gBAC1B,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,qBAAqB;gBAC7B,MAAM,EAAE,SAAS;aAClB;SACF;QACD,iBAAiB,EAAE,YAAY;QAC/B,MAAM,EAAE,UAAU;KACnB;CACO,CAAC;AACX,eAAe,kBAAkB,CAAC"}
|
|
@@ -100,22 +100,6 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
100
100
|
}];
|
|
101
101
|
readonly name: "ballotIntegrityCheckFailed";
|
|
102
102
|
readonly type: "error";
|
|
103
|
-
}, {
|
|
104
|
-
readonly inputs: readonly [{
|
|
105
|
-
readonly internalType: "string";
|
|
106
|
-
readonly name: "parameter";
|
|
107
|
-
readonly type: "string";
|
|
108
|
-
}, {
|
|
109
|
-
readonly internalType: "uint256";
|
|
110
|
-
readonly name: "arg";
|
|
111
|
-
readonly type: "uint256";
|
|
112
|
-
}, {
|
|
113
|
-
readonly internalType: "uint256";
|
|
114
|
-
readonly name: "arg2";
|
|
115
|
-
readonly type: "uint256";
|
|
116
|
-
}];
|
|
117
|
-
readonly name: "quadraticVotingError";
|
|
118
|
-
readonly type: "error";
|
|
119
103
|
}, {
|
|
120
104
|
readonly anonymous: false;
|
|
121
105
|
readonly inputs: readonly [{
|
|
@@ -418,26 +402,6 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
418
402
|
readonly outputs: readonly [];
|
|
419
403
|
readonly stateMutability: "nonpayable";
|
|
420
404
|
readonly type: "function";
|
|
421
|
-
}, {
|
|
422
|
-
readonly inputs: readonly [];
|
|
423
|
-
readonly name: "ECDSAInvalidSignature";
|
|
424
|
-
readonly type: "error";
|
|
425
|
-
}, {
|
|
426
|
-
readonly inputs: readonly [{
|
|
427
|
-
readonly internalType: "uint256";
|
|
428
|
-
readonly name: "length";
|
|
429
|
-
readonly type: "uint256";
|
|
430
|
-
}];
|
|
431
|
-
readonly name: "ECDSAInvalidSignatureLength";
|
|
432
|
-
readonly type: "error";
|
|
433
|
-
}, {
|
|
434
|
-
readonly inputs: readonly [{
|
|
435
|
-
readonly internalType: "bytes32";
|
|
436
|
-
readonly name: "s";
|
|
437
|
-
readonly type: "bytes32";
|
|
438
|
-
}];
|
|
439
|
-
readonly name: "ECDSAInvalidSignatureS";
|
|
440
|
-
readonly type: "error";
|
|
441
405
|
}, {
|
|
442
406
|
readonly inputs: readonly [{
|
|
443
407
|
readonly internalType: "uint256";
|
|
@@ -581,6 +545,134 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
581
545
|
}];
|
|
582
546
|
readonly name: "RegistrationOpen";
|
|
583
547
|
readonly type: "event";
|
|
548
|
+
}, {
|
|
549
|
+
readonly anonymous: false;
|
|
550
|
+
readonly inputs: readonly [{
|
|
551
|
+
readonly indexed: true;
|
|
552
|
+
readonly internalType: "uint256";
|
|
553
|
+
readonly name: "gameId";
|
|
554
|
+
readonly type: "uint256";
|
|
555
|
+
}, {
|
|
556
|
+
readonly components: readonly [{
|
|
557
|
+
readonly components: readonly [{
|
|
558
|
+
readonly internalType: "uint256";
|
|
559
|
+
readonly name: "have";
|
|
560
|
+
readonly type: "uint256";
|
|
561
|
+
}, {
|
|
562
|
+
readonly internalType: "uint256";
|
|
563
|
+
readonly name: "lock";
|
|
564
|
+
readonly type: "uint256";
|
|
565
|
+
}, {
|
|
566
|
+
readonly internalType: "uint256";
|
|
567
|
+
readonly name: "burn";
|
|
568
|
+
readonly type: "uint256";
|
|
569
|
+
}, {
|
|
570
|
+
readonly internalType: "uint256";
|
|
571
|
+
readonly name: "pay";
|
|
572
|
+
readonly type: "uint256";
|
|
573
|
+
}, {
|
|
574
|
+
readonly internalType: "uint256";
|
|
575
|
+
readonly name: "bet";
|
|
576
|
+
readonly type: "uint256";
|
|
577
|
+
}];
|
|
578
|
+
readonly internalType: "struct LibCoinVending.NumericCondition";
|
|
579
|
+
readonly name: "ethValues";
|
|
580
|
+
readonly type: "tuple";
|
|
581
|
+
}, {
|
|
582
|
+
readonly components: readonly [{
|
|
583
|
+
readonly internalType: "address";
|
|
584
|
+
readonly name: "contractAddress";
|
|
585
|
+
readonly type: "address";
|
|
586
|
+
}, {
|
|
587
|
+
readonly internalType: "uint256";
|
|
588
|
+
readonly name: "contractId";
|
|
589
|
+
readonly type: "uint256";
|
|
590
|
+
}, {
|
|
591
|
+
readonly internalType: "enum LibCoinVending.ContractTypes";
|
|
592
|
+
readonly name: "contractType";
|
|
593
|
+
readonly type: "uint8";
|
|
594
|
+
}, {
|
|
595
|
+
readonly components: readonly [{
|
|
596
|
+
readonly components: readonly [{
|
|
597
|
+
readonly internalType: "bytes";
|
|
598
|
+
readonly name: "data";
|
|
599
|
+
readonly type: "bytes";
|
|
600
|
+
}, {
|
|
601
|
+
readonly internalType: "uint256";
|
|
602
|
+
readonly name: "amount";
|
|
603
|
+
readonly type: "uint256";
|
|
604
|
+
}];
|
|
605
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
606
|
+
readonly name: "have";
|
|
607
|
+
readonly type: "tuple";
|
|
608
|
+
}, {
|
|
609
|
+
readonly components: readonly [{
|
|
610
|
+
readonly internalType: "bytes";
|
|
611
|
+
readonly name: "data";
|
|
612
|
+
readonly type: "bytes";
|
|
613
|
+
}, {
|
|
614
|
+
readonly internalType: "uint256";
|
|
615
|
+
readonly name: "amount";
|
|
616
|
+
readonly type: "uint256";
|
|
617
|
+
}];
|
|
618
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
619
|
+
readonly name: "lock";
|
|
620
|
+
readonly type: "tuple";
|
|
621
|
+
}, {
|
|
622
|
+
readonly components: readonly [{
|
|
623
|
+
readonly internalType: "bytes";
|
|
624
|
+
readonly name: "data";
|
|
625
|
+
readonly type: "bytes";
|
|
626
|
+
}, {
|
|
627
|
+
readonly internalType: "uint256";
|
|
628
|
+
readonly name: "amount";
|
|
629
|
+
readonly type: "uint256";
|
|
630
|
+
}];
|
|
631
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
632
|
+
readonly name: "burn";
|
|
633
|
+
readonly type: "tuple";
|
|
634
|
+
}, {
|
|
635
|
+
readonly components: readonly [{
|
|
636
|
+
readonly internalType: "bytes";
|
|
637
|
+
readonly name: "data";
|
|
638
|
+
readonly type: "bytes";
|
|
639
|
+
}, {
|
|
640
|
+
readonly internalType: "uint256";
|
|
641
|
+
readonly name: "amount";
|
|
642
|
+
readonly type: "uint256";
|
|
643
|
+
}];
|
|
644
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
645
|
+
readonly name: "pay";
|
|
646
|
+
readonly type: "tuple";
|
|
647
|
+
}, {
|
|
648
|
+
readonly components: readonly [{
|
|
649
|
+
readonly internalType: "bytes";
|
|
650
|
+
readonly name: "data";
|
|
651
|
+
readonly type: "bytes";
|
|
652
|
+
}, {
|
|
653
|
+
readonly internalType: "uint256";
|
|
654
|
+
readonly name: "amount";
|
|
655
|
+
readonly type: "uint256";
|
|
656
|
+
}];
|
|
657
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
658
|
+
readonly name: "bet";
|
|
659
|
+
readonly type: "tuple";
|
|
660
|
+
}];
|
|
661
|
+
readonly internalType: "struct LibCoinVending.ContractCondition";
|
|
662
|
+
readonly name: "contractRequirement";
|
|
663
|
+
readonly type: "tuple";
|
|
664
|
+
}];
|
|
665
|
+
readonly internalType: "struct LibCoinVending.configSmartRequirement[]";
|
|
666
|
+
readonly name: "contracts";
|
|
667
|
+
readonly type: "tuple[]";
|
|
668
|
+
}];
|
|
669
|
+
readonly indexed: false;
|
|
670
|
+
readonly internalType: "struct LibCoinVending.ConfigPosition";
|
|
671
|
+
readonly name: "config";
|
|
672
|
+
readonly type: "tuple";
|
|
673
|
+
}];
|
|
674
|
+
readonly name: "RequirementsConfigured";
|
|
675
|
+
readonly type: "event";
|
|
584
676
|
}, {
|
|
585
677
|
readonly anonymous: false;
|
|
586
678
|
readonly inputs: readonly [{
|
|
@@ -644,6 +736,174 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
644
736
|
readonly outputs: readonly [];
|
|
645
737
|
readonly stateMutability: "nonpayable";
|
|
646
738
|
readonly type: "function";
|
|
739
|
+
}, {
|
|
740
|
+
readonly inputs: readonly [{
|
|
741
|
+
readonly components: readonly [{
|
|
742
|
+
readonly internalType: "uint256";
|
|
743
|
+
readonly name: "gameRank";
|
|
744
|
+
readonly type: "uint256";
|
|
745
|
+
}, {
|
|
746
|
+
readonly internalType: "uint256";
|
|
747
|
+
readonly name: "minPlayerCnt";
|
|
748
|
+
readonly type: "uint256";
|
|
749
|
+
}, {
|
|
750
|
+
readonly internalType: "uint256";
|
|
751
|
+
readonly name: "maxPlayerCnt";
|
|
752
|
+
readonly type: "uint256";
|
|
753
|
+
}, {
|
|
754
|
+
readonly internalType: "uint96";
|
|
755
|
+
readonly name: "nTurns";
|
|
756
|
+
readonly type: "uint96";
|
|
757
|
+
}, {
|
|
758
|
+
readonly internalType: "uint256";
|
|
759
|
+
readonly name: "voteCredits";
|
|
760
|
+
readonly type: "uint256";
|
|
761
|
+
}, {
|
|
762
|
+
readonly internalType: "address";
|
|
763
|
+
readonly name: "gameMaster";
|
|
764
|
+
readonly type: "address";
|
|
765
|
+
}, {
|
|
766
|
+
readonly internalType: "uint128";
|
|
767
|
+
readonly name: "minGameTime";
|
|
768
|
+
readonly type: "uint128";
|
|
769
|
+
}, {
|
|
770
|
+
readonly internalType: "uint128";
|
|
771
|
+
readonly name: "timePerTurn";
|
|
772
|
+
readonly type: "uint128";
|
|
773
|
+
}, {
|
|
774
|
+
readonly internalType: "uint128";
|
|
775
|
+
readonly name: "timeToJoin";
|
|
776
|
+
readonly type: "uint128";
|
|
777
|
+
}, {
|
|
778
|
+
readonly internalType: "string";
|
|
779
|
+
readonly name: "metadata";
|
|
780
|
+
readonly type: "string";
|
|
781
|
+
}];
|
|
782
|
+
readonly internalType: "struct IRankifyInstance.NewGameParamsInput";
|
|
783
|
+
readonly name: "params";
|
|
784
|
+
readonly type: "tuple";
|
|
785
|
+
}, {
|
|
786
|
+
readonly components: readonly [{
|
|
787
|
+
readonly components: readonly [{
|
|
788
|
+
readonly internalType: "uint256";
|
|
789
|
+
readonly name: "have";
|
|
790
|
+
readonly type: "uint256";
|
|
791
|
+
}, {
|
|
792
|
+
readonly internalType: "uint256";
|
|
793
|
+
readonly name: "lock";
|
|
794
|
+
readonly type: "uint256";
|
|
795
|
+
}, {
|
|
796
|
+
readonly internalType: "uint256";
|
|
797
|
+
readonly name: "burn";
|
|
798
|
+
readonly type: "uint256";
|
|
799
|
+
}, {
|
|
800
|
+
readonly internalType: "uint256";
|
|
801
|
+
readonly name: "pay";
|
|
802
|
+
readonly type: "uint256";
|
|
803
|
+
}, {
|
|
804
|
+
readonly internalType: "uint256";
|
|
805
|
+
readonly name: "bet";
|
|
806
|
+
readonly type: "uint256";
|
|
807
|
+
}];
|
|
808
|
+
readonly internalType: "struct LibCoinVending.NumericCondition";
|
|
809
|
+
readonly name: "ethValues";
|
|
810
|
+
readonly type: "tuple";
|
|
811
|
+
}, {
|
|
812
|
+
readonly components: readonly [{
|
|
813
|
+
readonly internalType: "address";
|
|
814
|
+
readonly name: "contractAddress";
|
|
815
|
+
readonly type: "address";
|
|
816
|
+
}, {
|
|
817
|
+
readonly internalType: "uint256";
|
|
818
|
+
readonly name: "contractId";
|
|
819
|
+
readonly type: "uint256";
|
|
820
|
+
}, {
|
|
821
|
+
readonly internalType: "enum LibCoinVending.ContractTypes";
|
|
822
|
+
readonly name: "contractType";
|
|
823
|
+
readonly type: "uint8";
|
|
824
|
+
}, {
|
|
825
|
+
readonly components: readonly [{
|
|
826
|
+
readonly components: readonly [{
|
|
827
|
+
readonly internalType: "bytes";
|
|
828
|
+
readonly name: "data";
|
|
829
|
+
readonly type: "bytes";
|
|
830
|
+
}, {
|
|
831
|
+
readonly internalType: "uint256";
|
|
832
|
+
readonly name: "amount";
|
|
833
|
+
readonly type: "uint256";
|
|
834
|
+
}];
|
|
835
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
836
|
+
readonly name: "have";
|
|
837
|
+
readonly type: "tuple";
|
|
838
|
+
}, {
|
|
839
|
+
readonly components: readonly [{
|
|
840
|
+
readonly internalType: "bytes";
|
|
841
|
+
readonly name: "data";
|
|
842
|
+
readonly type: "bytes";
|
|
843
|
+
}, {
|
|
844
|
+
readonly internalType: "uint256";
|
|
845
|
+
readonly name: "amount";
|
|
846
|
+
readonly type: "uint256";
|
|
847
|
+
}];
|
|
848
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
849
|
+
readonly name: "lock";
|
|
850
|
+
readonly type: "tuple";
|
|
851
|
+
}, {
|
|
852
|
+
readonly components: readonly [{
|
|
853
|
+
readonly internalType: "bytes";
|
|
854
|
+
readonly name: "data";
|
|
855
|
+
readonly type: "bytes";
|
|
856
|
+
}, {
|
|
857
|
+
readonly internalType: "uint256";
|
|
858
|
+
readonly name: "amount";
|
|
859
|
+
readonly type: "uint256";
|
|
860
|
+
}];
|
|
861
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
862
|
+
readonly name: "burn";
|
|
863
|
+
readonly type: "tuple";
|
|
864
|
+
}, {
|
|
865
|
+
readonly components: readonly [{
|
|
866
|
+
readonly internalType: "bytes";
|
|
867
|
+
readonly name: "data";
|
|
868
|
+
readonly type: "bytes";
|
|
869
|
+
}, {
|
|
870
|
+
readonly internalType: "uint256";
|
|
871
|
+
readonly name: "amount";
|
|
872
|
+
readonly type: "uint256";
|
|
873
|
+
}];
|
|
874
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
875
|
+
readonly name: "pay";
|
|
876
|
+
readonly type: "tuple";
|
|
877
|
+
}, {
|
|
878
|
+
readonly components: readonly [{
|
|
879
|
+
readonly internalType: "bytes";
|
|
880
|
+
readonly name: "data";
|
|
881
|
+
readonly type: "bytes";
|
|
882
|
+
}, {
|
|
883
|
+
readonly internalType: "uint256";
|
|
884
|
+
readonly name: "amount";
|
|
885
|
+
readonly type: "uint256";
|
|
886
|
+
}];
|
|
887
|
+
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
888
|
+
readonly name: "bet";
|
|
889
|
+
readonly type: "tuple";
|
|
890
|
+
}];
|
|
891
|
+
readonly internalType: "struct LibCoinVending.ContractCondition";
|
|
892
|
+
readonly name: "contractRequirement";
|
|
893
|
+
readonly type: "tuple";
|
|
894
|
+
}];
|
|
895
|
+
readonly internalType: "struct LibCoinVending.configSmartRequirement[]";
|
|
896
|
+
readonly name: "contracts";
|
|
897
|
+
readonly type: "tuple[]";
|
|
898
|
+
}];
|
|
899
|
+
readonly internalType: "struct LibCoinVending.ConfigPosition";
|
|
900
|
+
readonly name: "requirements";
|
|
901
|
+
readonly type: "tuple";
|
|
902
|
+
}];
|
|
903
|
+
readonly name: "createAndOpenGame";
|
|
904
|
+
readonly outputs: readonly [];
|
|
905
|
+
readonly stateMutability: "nonpayable";
|
|
906
|
+
readonly type: "function";
|
|
647
907
|
}, {
|
|
648
908
|
readonly inputs: readonly [{
|
|
649
909
|
readonly components: readonly [{
|
|
@@ -692,7 +952,11 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
692
952
|
readonly type: "tuple";
|
|
693
953
|
}];
|
|
694
954
|
readonly name: "createGame";
|
|
695
|
-
readonly outputs: readonly [
|
|
955
|
+
readonly outputs: readonly [{
|
|
956
|
+
readonly internalType: "uint256";
|
|
957
|
+
readonly name: "";
|
|
958
|
+
readonly type: "uint256";
|
|
959
|
+
}];
|
|
696
960
|
readonly stateMutability: "nonpayable";
|
|
697
961
|
readonly type: "function";
|
|
698
962
|
}, {
|
|
@@ -881,11 +1145,11 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
881
1145
|
readonly name: "player";
|
|
882
1146
|
readonly type: "address";
|
|
883
1147
|
}];
|
|
884
|
-
readonly name: "
|
|
1148
|
+
readonly name: "getPlayersGames";
|
|
885
1149
|
readonly outputs: readonly [{
|
|
886
|
-
readonly internalType: "uint256";
|
|
1150
|
+
readonly internalType: "uint256[]";
|
|
887
1151
|
readonly name: "";
|
|
888
|
-
readonly type: "uint256";
|
|
1152
|
+
readonly type: "uint256[]";
|
|
889
1153
|
}];
|
|
890
1154
|
readonly stateMutability: "view";
|
|
891
1155
|
readonly type: "function";
|
|
@@ -999,6 +1263,24 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
999
1263
|
}];
|
|
1000
1264
|
readonly stateMutability: "view";
|
|
1001
1265
|
readonly type: "function";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly inputs: readonly [{
|
|
1268
|
+
readonly internalType: "uint256";
|
|
1269
|
+
readonly name: "gameId";
|
|
1270
|
+
readonly type: "uint256";
|
|
1271
|
+
}, {
|
|
1272
|
+
readonly internalType: "address";
|
|
1273
|
+
readonly name: "player";
|
|
1274
|
+
readonly type: "address";
|
|
1275
|
+
}];
|
|
1276
|
+
readonly name: "isPlayerInGame";
|
|
1277
|
+
readonly outputs: readonly [{
|
|
1278
|
+
readonly internalType: "bool";
|
|
1279
|
+
readonly name: "";
|
|
1280
|
+
readonly type: "bool";
|
|
1281
|
+
}];
|
|
1282
|
+
readonly stateMutability: "view";
|
|
1283
|
+
readonly type: "function";
|
|
1002
1284
|
}, {
|
|
1003
1285
|
readonly inputs: readonly [{
|
|
1004
1286
|
readonly internalType: "uint256";
|
|
@@ -1168,22 +1450,6 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
1168
1450
|
readonly internalType: "uint256";
|
|
1169
1451
|
readonly name: "gameId";
|
|
1170
1452
|
readonly type: "uint256";
|
|
1171
|
-
}, {
|
|
1172
|
-
readonly internalType: "uint256";
|
|
1173
|
-
readonly name: "permutationCommitment";
|
|
1174
|
-
readonly type: "uint256";
|
|
1175
|
-
}];
|
|
1176
|
-
readonly name: "startGame";
|
|
1177
|
-
readonly outputs: readonly [];
|
|
1178
|
-
readonly stateMutability: "nonpayable";
|
|
1179
|
-
readonly type: "function";
|
|
1180
|
-
}, {
|
|
1181
|
-
readonly anonymous: false;
|
|
1182
|
-
readonly inputs: readonly [{
|
|
1183
|
-
readonly indexed: true;
|
|
1184
|
-
readonly internalType: "uint256";
|
|
1185
|
-
readonly name: "gameId";
|
|
1186
|
-
readonly type: "uint256";
|
|
1187
1453
|
}, {
|
|
1188
1454
|
readonly components: readonly [{
|
|
1189
1455
|
readonly components: readonly [{
|
|
@@ -1298,13 +1564,28 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
1298
1564
|
readonly name: "contracts";
|
|
1299
1565
|
readonly type: "tuple[]";
|
|
1300
1566
|
}];
|
|
1301
|
-
readonly indexed: false;
|
|
1302
1567
|
readonly internalType: "struct LibCoinVending.ConfigPosition";
|
|
1303
1568
|
readonly name: "config";
|
|
1304
1569
|
readonly type: "tuple";
|
|
1305
1570
|
}];
|
|
1306
|
-
readonly name: "
|
|
1307
|
-
readonly
|
|
1571
|
+
readonly name: "setJoinRequirements";
|
|
1572
|
+
readonly outputs: readonly [];
|
|
1573
|
+
readonly stateMutability: "nonpayable";
|
|
1574
|
+
readonly type: "function";
|
|
1575
|
+
}, {
|
|
1576
|
+
readonly inputs: readonly [{
|
|
1577
|
+
readonly internalType: "uint256";
|
|
1578
|
+
readonly name: "gameId";
|
|
1579
|
+
readonly type: "uint256";
|
|
1580
|
+
}, {
|
|
1581
|
+
readonly internalType: "uint256";
|
|
1582
|
+
readonly name: "permutationCommitment";
|
|
1583
|
+
readonly type: "uint256";
|
|
1584
|
+
}];
|
|
1585
|
+
readonly name: "startGame";
|
|
1586
|
+
readonly outputs: readonly [];
|
|
1587
|
+
readonly stateMutability: "nonpayable";
|
|
1588
|
+
readonly type: "function";
|
|
1308
1589
|
}, {
|
|
1309
1590
|
readonly inputs: readonly [];
|
|
1310
1591
|
readonly name: "getCommonParams";
|
|
@@ -1652,133 +1933,6 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
1652
1933
|
}];
|
|
1653
1934
|
readonly stateMutability: "view";
|
|
1654
1935
|
readonly type: "function";
|
|
1655
|
-
}, {
|
|
1656
|
-
readonly inputs: readonly [{
|
|
1657
|
-
readonly internalType: "uint256";
|
|
1658
|
-
readonly name: "gameId";
|
|
1659
|
-
readonly type: "uint256";
|
|
1660
|
-
}, {
|
|
1661
|
-
readonly components: readonly [{
|
|
1662
|
-
readonly components: readonly [{
|
|
1663
|
-
readonly internalType: "uint256";
|
|
1664
|
-
readonly name: "have";
|
|
1665
|
-
readonly type: "uint256";
|
|
1666
|
-
}, {
|
|
1667
|
-
readonly internalType: "uint256";
|
|
1668
|
-
readonly name: "lock";
|
|
1669
|
-
readonly type: "uint256";
|
|
1670
|
-
}, {
|
|
1671
|
-
readonly internalType: "uint256";
|
|
1672
|
-
readonly name: "burn";
|
|
1673
|
-
readonly type: "uint256";
|
|
1674
|
-
}, {
|
|
1675
|
-
readonly internalType: "uint256";
|
|
1676
|
-
readonly name: "pay";
|
|
1677
|
-
readonly type: "uint256";
|
|
1678
|
-
}, {
|
|
1679
|
-
readonly internalType: "uint256";
|
|
1680
|
-
readonly name: "bet";
|
|
1681
|
-
readonly type: "uint256";
|
|
1682
|
-
}];
|
|
1683
|
-
readonly internalType: "struct LibCoinVending.NumericCondition";
|
|
1684
|
-
readonly name: "ethValues";
|
|
1685
|
-
readonly type: "tuple";
|
|
1686
|
-
}, {
|
|
1687
|
-
readonly components: readonly [{
|
|
1688
|
-
readonly internalType: "address";
|
|
1689
|
-
readonly name: "contractAddress";
|
|
1690
|
-
readonly type: "address";
|
|
1691
|
-
}, {
|
|
1692
|
-
readonly internalType: "uint256";
|
|
1693
|
-
readonly name: "contractId";
|
|
1694
|
-
readonly type: "uint256";
|
|
1695
|
-
}, {
|
|
1696
|
-
readonly internalType: "enum LibCoinVending.ContractTypes";
|
|
1697
|
-
readonly name: "contractType";
|
|
1698
|
-
readonly type: "uint8";
|
|
1699
|
-
}, {
|
|
1700
|
-
readonly components: readonly [{
|
|
1701
|
-
readonly components: readonly [{
|
|
1702
|
-
readonly internalType: "bytes";
|
|
1703
|
-
readonly name: "data";
|
|
1704
|
-
readonly type: "bytes";
|
|
1705
|
-
}, {
|
|
1706
|
-
readonly internalType: "uint256";
|
|
1707
|
-
readonly name: "amount";
|
|
1708
|
-
readonly type: "uint256";
|
|
1709
|
-
}];
|
|
1710
|
-
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
1711
|
-
readonly name: "have";
|
|
1712
|
-
readonly type: "tuple";
|
|
1713
|
-
}, {
|
|
1714
|
-
readonly components: readonly [{
|
|
1715
|
-
readonly internalType: "bytes";
|
|
1716
|
-
readonly name: "data";
|
|
1717
|
-
readonly type: "bytes";
|
|
1718
|
-
}, {
|
|
1719
|
-
readonly internalType: "uint256";
|
|
1720
|
-
readonly name: "amount";
|
|
1721
|
-
readonly type: "uint256";
|
|
1722
|
-
}];
|
|
1723
|
-
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
1724
|
-
readonly name: "lock";
|
|
1725
|
-
readonly type: "tuple";
|
|
1726
|
-
}, {
|
|
1727
|
-
readonly components: readonly [{
|
|
1728
|
-
readonly internalType: "bytes";
|
|
1729
|
-
readonly name: "data";
|
|
1730
|
-
readonly type: "bytes";
|
|
1731
|
-
}, {
|
|
1732
|
-
readonly internalType: "uint256";
|
|
1733
|
-
readonly name: "amount";
|
|
1734
|
-
readonly type: "uint256";
|
|
1735
|
-
}];
|
|
1736
|
-
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
1737
|
-
readonly name: "burn";
|
|
1738
|
-
readonly type: "tuple";
|
|
1739
|
-
}, {
|
|
1740
|
-
readonly components: readonly [{
|
|
1741
|
-
readonly internalType: "bytes";
|
|
1742
|
-
readonly name: "data";
|
|
1743
|
-
readonly type: "bytes";
|
|
1744
|
-
}, {
|
|
1745
|
-
readonly internalType: "uint256";
|
|
1746
|
-
readonly name: "amount";
|
|
1747
|
-
readonly type: "uint256";
|
|
1748
|
-
}];
|
|
1749
|
-
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
1750
|
-
readonly name: "pay";
|
|
1751
|
-
readonly type: "tuple";
|
|
1752
|
-
}, {
|
|
1753
|
-
readonly components: readonly [{
|
|
1754
|
-
readonly internalType: "bytes";
|
|
1755
|
-
readonly name: "data";
|
|
1756
|
-
readonly type: "bytes";
|
|
1757
|
-
}, {
|
|
1758
|
-
readonly internalType: "uint256";
|
|
1759
|
-
readonly name: "amount";
|
|
1760
|
-
readonly type: "uint256";
|
|
1761
|
-
}];
|
|
1762
|
-
readonly internalType: "struct LibCoinVending.TransactionProperties";
|
|
1763
|
-
readonly name: "bet";
|
|
1764
|
-
readonly type: "tuple";
|
|
1765
|
-
}];
|
|
1766
|
-
readonly internalType: "struct LibCoinVending.ContractCondition";
|
|
1767
|
-
readonly name: "contractRequirement";
|
|
1768
|
-
readonly type: "tuple";
|
|
1769
|
-
}];
|
|
1770
|
-
readonly internalType: "struct LibCoinVending.configSmartRequirement[]";
|
|
1771
|
-
readonly name: "contracts";
|
|
1772
|
-
readonly type: "tuple[]";
|
|
1773
|
-
}];
|
|
1774
|
-
readonly internalType: "struct LibCoinVending.ConfigPosition";
|
|
1775
|
-
readonly name: "config";
|
|
1776
|
-
readonly type: "tuple";
|
|
1777
|
-
}];
|
|
1778
|
-
readonly name: "setJoinRequirements";
|
|
1779
|
-
readonly outputs: readonly [];
|
|
1780
|
-
readonly stateMutability: "nonpayable";
|
|
1781
|
-
readonly type: "function";
|
|
1782
1936
|
}, {
|
|
1783
1937
|
readonly inputs: readonly [{
|
|
1784
1938
|
readonly internalType: "bytes4";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RankifyDiamondInstance.d.ts","sourceRoot":"","sources":["../../../src/abis/RankifyDiamondInstance.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"RankifyDiamondInstance.d.ts","sourceRoot":"","sources":["../../../src/abis/RankifyDiamondInstance.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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