@peeramid-labs/sdk 3.1.0 → 3.3.0
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/ArguableVotingTournament.js +13 -2
- package/cli/abis/ArguableVotingTournament.js.map +1 -1
- package/cli/abis/EIP712InspectorFacet.js +10 -0
- package/cli/abis/EIP712InspectorFacet.js.map +1 -1
- package/cli/abis/IRankifyInstance.js +31 -0
- package/cli/abis/IRankifyInstance.js.map +1 -1
- package/cli/abis/MAODistribution.js +23 -12
- package/cli/abis/MAODistribution.js.map +1 -1
- package/cli/abis/RankifyDiamondInstance.js +282 -163
- package/cli/abis/RankifyDiamondInstance.js.map +1 -1
- package/cli/abis/RankifyInstanceInit.js +10 -0
- package/cli/abis/RankifyInstanceInit.js.map +1 -1
- package/cli/abis/RankifyInstanceMainFacet.js +59 -163
- package/cli/abis/RankifyInstanceMainFacet.js.map +1 -1
- package/cli/abis/RankifyInstanceRequirementsFacet.js +213 -0
- package/cli/abis/RankifyInstanceRequirementsFacet.js.map +1 -1
- package/cli/abis/ShortStrings.js +23 -0
- package/cli/abis/ShortStrings.js.map +1 -0
- package/cli/abis/index.js +5 -1
- package/cli/abis/index.js.map +1 -1
- package/cli/cli/client.js +23 -1
- package/cli/cli/client.js.map +1 -1
- package/cli/cli/commands/distributions/add.js +1 -1
- package/cli/cli/commands/distributions/add.js.map +1 -1
- package/cli/cli/commands/distributions/list.js +1 -1
- package/cli/cli/commands/distributions/list.js.map +1 -1
- package/cli/cli/commands/distributions/state.js +1 -1
- package/cli/cli/commands/distributions/state.js.map +1 -1
- package/cli/cli/commands/eds/index.js +2 -2
- package/cli/cli/commands/eds/index.js.map +1 -1
- package/cli/cli/commands/fellowship/create.js +1 -1
- package/cli/cli/commands/fellowship/create.js.map +1 -1
- package/cli/cli/commands/fellowship/eip712.js +46 -0
- package/cli/cli/commands/fellowship/eip712.js.map +1 -0
- package/cli/cli/commands/fellowship/games.js +34 -0
- package/cli/cli/commands/fellowship/games.js.map +1 -0
- package/cli/cli/commands/fellowship/index.js +10 -4
- package/cli/cli/commands/fellowship/index.js.map +1 -1
- package/cli/cli/commands/fellowship/list.js +36 -0
- package/cli/cli/commands/fellowship/list.js.map +1 -0
- package/cli/cli/commands/fellowship/metadata.js +1 -1
- package/cli/cli/commands/fellowship/metadata.js.map +1 -1
- package/cli/cli/commands/instances/list.js +5 -1
- package/cli/cli/commands/instances/list.js.map +1 -1
- package/cli/cli/commands/multipass/contract.js +1 -1
- package/cli/cli/commands/multipass/contract.js.map +1 -1
- package/cli/cli/commands/multipass/domain.js +6 -6
- package/cli/cli/commands/multipass/domain.js.map +1 -1
- package/cli/cli/commands/multipass/domains.js +2 -2
- package/cli/cli/commands/multipass/domains.js.map +1 -1
- package/cli/cli/commands/rankify/games.js +34 -0
- package/cli/cli/commands/rankify/games.js.map +1 -0
- package/cli/cli/index.js +1 -1
- package/cli/cli/index.js.map +1 -1
- package/cli/eds/Distributor.js +1 -1
- package/cli/eds/Distributor.js.map +1 -1
- package/cli/rankify/InstanceBase.js +524 -0
- package/cli/rankify/InstanceBase.js.map +1 -0
- package/cli/rankify/MAODistributor.js +1 -1
- package/cli/rankify/MAODistributor.js.map +1 -1
- package/docs/classes/GameMaster.md +51 -430
- package/docs/classes/InstanceBase.md +46 -18
- package/docs/classes/InstancePlayer.md +55 -17
- package/docs/classes/MAODistributorClient.md +2 -1
- package/docs/docs/classes/GameMaster.md +51 -430
- package/docs/docs/classes/InstanceBase.md +46 -18
- package/docs/docs/classes/InstancePlayer.md +55 -17
- package/docs/docs/classes/MAODistributorClient.md +2 -1
- package/docs/docs/index.md +10 -9
- package/docs/index.md +10 -9
- package/lib.commonjs/abis/ArguableVotingTournament.d.ts +10 -2
- package/lib.commonjs/abis/ArguableVotingTournament.d.ts.map +1 -1
- package/lib.commonjs/abis/ArguableVotingTournament.js +13 -2
- package/lib.commonjs/abis/ArguableVotingTournament.js.map +1 -1
- package/lib.commonjs/abis/EIP712InspectorFacet.d.ts +8 -0
- package/lib.commonjs/abis/EIP712InspectorFacet.d.ts.map +1 -1
- package/lib.commonjs/abis/EIP712InspectorFacet.js +10 -0
- package/lib.commonjs/abis/EIP712InspectorFacet.js.map +1 -1
- package/lib.commonjs/abis/IRankifyInstance.d.ts +25 -0
- package/lib.commonjs/abis/IRankifyInstance.d.ts.map +1 -1
- package/lib.commonjs/abis/IRankifyInstance.js +31 -0
- package/lib.commonjs/abis/IRankifyInstance.js.map +1 -1
- package/lib.commonjs/abis/MAODistribution.d.ts +18 -10
- package/lib.commonjs/abis/MAODistribution.d.ts.map +1 -1
- package/lib.commonjs/abis/MAODistribution.js +23 -12
- package/lib.commonjs/abis/MAODistribution.js.map +1 -1
- package/lib.commonjs/abis/RankifyDiamondInstance.d.ts +222 -128
- package/lib.commonjs/abis/RankifyDiamondInstance.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyDiamondInstance.js +282 -163
- package/lib.commonjs/abis/RankifyDiamondInstance.js.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceInit.d.ts +8 -0
- package/lib.commonjs/abis/RankifyInstanceInit.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceInit.js +10 -0
- package/lib.commonjs/abis/RankifyInstanceInit.js.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceMainFacet.d.ts +47 -128
- package/lib.commonjs/abis/RankifyInstanceMainFacet.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceMainFacet.js +59 -163
- package/lib.commonjs/abis/RankifyInstanceMainFacet.js.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.d.ts +167 -0
- package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.js +213 -0
- package/lib.commonjs/abis/RankifyInstanceRequirementsFacet.js.map +1 -1
- package/lib.commonjs/abis/ShortStrings.d.ts +15 -0
- package/lib.commonjs/abis/ShortStrings.d.ts.map +1 -0
- package/lib.commonjs/abis/ShortStrings.js +23 -0
- package/lib.commonjs/abis/ShortStrings.js.map +1 -0
- package/lib.commonjs/abis/index.d.ts +603 -352
- package/lib.commonjs/abis/index.d.ts.map +1 -1
- package/lib.commonjs/abis/index.js +5 -1
- package/lib.commonjs/abis/index.js.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 +49 -18
- package/lib.commonjs/rankify/GameMaster.d.ts.map +1 -1
- package/lib.commonjs/rankify/GameMaster.js +37 -39
- package/lib.commonjs/rankify/GameMaster.js.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.d.ts +1813 -1173
- package/lib.commonjs/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.js +100 -54
- package/lib.commonjs/rankify/InstanceBase.js.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.d.ts +1 -0
- package/lib.commonjs/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.commonjs/rankify/MAODistributor.js +1 -1
- package/lib.commonjs/rankify/MAODistributor.js.map +1 -1
- package/lib.esm/abis/ArguableVotingTournament.d.ts +10 -2
- package/lib.esm/abis/ArguableVotingTournament.d.ts.map +1 -1
- package/lib.esm/abis/ArguableVotingTournament.js +13 -2
- package/lib.esm/abis/ArguableVotingTournament.js.map +1 -1
- package/lib.esm/abis/EIP712InspectorFacet.d.ts +8 -0
- package/lib.esm/abis/EIP712InspectorFacet.d.ts.map +1 -1
- package/lib.esm/abis/EIP712InspectorFacet.js +10 -0
- package/lib.esm/abis/EIP712InspectorFacet.js.map +1 -1
- package/lib.esm/abis/IRankifyInstance.d.ts +25 -0
- package/lib.esm/abis/IRankifyInstance.d.ts.map +1 -1
- package/lib.esm/abis/IRankifyInstance.js +31 -0
- package/lib.esm/abis/IRankifyInstance.js.map +1 -1
- package/lib.esm/abis/MAODistribution.d.ts +18 -10
- package/lib.esm/abis/MAODistribution.d.ts.map +1 -1
- package/lib.esm/abis/MAODistribution.js +23 -12
- package/lib.esm/abis/MAODistribution.js.map +1 -1
- package/lib.esm/abis/RankifyDiamondInstance.d.ts +222 -128
- package/lib.esm/abis/RankifyDiamondInstance.d.ts.map +1 -1
- package/lib.esm/abis/RankifyDiamondInstance.js +282 -163
- package/lib.esm/abis/RankifyDiamondInstance.js.map +1 -1
- package/lib.esm/abis/RankifyInstanceInit.d.ts +8 -0
- package/lib.esm/abis/RankifyInstanceInit.d.ts.map +1 -1
- package/lib.esm/abis/RankifyInstanceInit.js +10 -0
- package/lib.esm/abis/RankifyInstanceInit.js.map +1 -1
- package/lib.esm/abis/RankifyInstanceMainFacet.d.ts +47 -128
- package/lib.esm/abis/RankifyInstanceMainFacet.d.ts.map +1 -1
- package/lib.esm/abis/RankifyInstanceMainFacet.js +59 -163
- package/lib.esm/abis/RankifyInstanceMainFacet.js.map +1 -1
- package/lib.esm/abis/RankifyInstanceRequirementsFacet.d.ts +167 -0
- package/lib.esm/abis/RankifyInstanceRequirementsFacet.d.ts.map +1 -1
- package/lib.esm/abis/RankifyInstanceRequirementsFacet.js +213 -0
- package/lib.esm/abis/RankifyInstanceRequirementsFacet.js.map +1 -1
- package/lib.esm/abis/ShortStrings.d.ts +15 -0
- package/lib.esm/abis/ShortStrings.d.ts.map +1 -0
- package/lib.esm/abis/ShortStrings.js +20 -0
- package/lib.esm/abis/ShortStrings.js.map +1 -0
- package/lib.esm/abis/index.d.ts +603 -352
- 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/eds/Distributor.js +1 -1
- package/lib.esm/eds/Distributor.js.map +1 -1
- package/lib.esm/rankify/GameMaster.d.ts +49 -18
- package/lib.esm/rankify/GameMaster.d.ts.map +1 -1
- package/lib.esm/rankify/GameMaster.js +37 -39
- package/lib.esm/rankify/GameMaster.js.map +1 -1
- package/lib.esm/rankify/InstanceBase.d.ts +1813 -1173
- package/lib.esm/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.esm/rankify/InstanceBase.js +100 -54
- package/lib.esm/rankify/InstanceBase.js.map +1 -1
- package/lib.esm/rankify/MAODistributor.d.ts +1 -0
- package/lib.esm/rankify/MAODistributor.d.ts.map +1 -1
- package/lib.esm/rankify/MAODistributor.js +1 -1
- package/lib.esm/rankify/MAODistributor.js.map +1 -1
- package/package.json +2 -2
|
@@ -95,6 +95,37 @@ export const IRankifyInstanceAbi = [
|
|
|
95
95
|
"name": "PlayerLeft",
|
|
96
96
|
"type": "event"
|
|
97
97
|
},
|
|
98
|
+
{
|
|
99
|
+
"anonymous": false,
|
|
100
|
+
"inputs": [
|
|
101
|
+
{
|
|
102
|
+
"indexed": true,
|
|
103
|
+
"internalType": "address",
|
|
104
|
+
"name": "player",
|
|
105
|
+
"type": "address"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"indexed": false,
|
|
109
|
+
"internalType": "uint256",
|
|
110
|
+
"name": "rankId",
|
|
111
|
+
"type": "uint256"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"indexed": false,
|
|
115
|
+
"internalType": "uint256",
|
|
116
|
+
"name": "amount",
|
|
117
|
+
"type": "uint256"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"indexed": false,
|
|
121
|
+
"internalType": "uint256",
|
|
122
|
+
"name": "_toMint",
|
|
123
|
+
"type": "uint256"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"name": "RankTokenExited",
|
|
127
|
+
"type": "event"
|
|
128
|
+
},
|
|
98
129
|
{
|
|
99
130
|
"anonymous": false,
|
|
100
131
|
"inputs": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRankifyInstance.js","sourceRoot":"","sources":["../../../src/abis/IRankifyInstance.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC;QACE,QAAQ,E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AE,OAAO;KAChB;IACD;QACE,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE;YACR;gBACE,SAAS,EAAE,IAAI;gBACf,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,SAAS,EAAE,IAAI;gBACf,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,SAAS;aAClB;SACF;QACD,MAAM,EAAE,YAAY;QACpB,MAAM,EAAE,OAAO;KAChB;IACD;QACE,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE;YACR;gBACE,SAAS,EAAE,IAAI;gBACf,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,SAAS;aAClB;SACF;QACD,MAAM,EAAE,kBAAkB;QAC1B,MAAM,EAAE,OAAO;KAChB;IACD;QACE,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE;YACR;gBACE,SAAS,EAAE,KAAK;gBAChB,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,SAAS,EAAE,IAAI;gBACf,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,SAAS,EAAE,IAAI;gBACf,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,SAAS;gBACjB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,SAAS,EAAE,IAAI;gBACf,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE,SAAS;aAClB;SACF;QACD,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,OAAO;KAChB;CACO,CAAC;AACX,eAAe,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"IRankifyInstance.js","sourceRoot":"","sources":["../../../src/abis/IRankifyInstance.ts"],"names":[],"mappings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AAS,EAAE,KAAK;gBAChB,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,SAAS,EAAE,IAAI;gBACf,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,IAAI;gBACZ,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,SAAS,EAAE,IAAI;gBACf,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,SAAS;gBACjB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,SAAS,EAAE,IAAI;gBACf,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE,SAAS;aAClB;SACF;QACD,MAAM,EAAE,aAAa;QACrB,MAAM,EAAE,OAAO;KAChB;CACO,CAAC;AACX,eAAe,mBAAmB,CAAC"}
|
|
@@ -28,9 +28,9 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
28
28
|
readonly name: "governanceERC20BaseId";
|
|
29
29
|
readonly type: "bytes32";
|
|
30
30
|
}, {
|
|
31
|
-
readonly internalType: "
|
|
31
|
+
readonly internalType: "string";
|
|
32
32
|
readonly name: "distributionName";
|
|
33
|
-
readonly type: "
|
|
33
|
+
readonly type: "string";
|
|
34
34
|
}, {
|
|
35
35
|
readonly components: readonly [{
|
|
36
36
|
readonly internalType: "uint64";
|
|
@@ -48,6 +48,10 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
48
48
|
readonly internalType: "struct LibSemver.Version";
|
|
49
49
|
readonly name: "distributionVersion";
|
|
50
50
|
readonly type: "tuple";
|
|
51
|
+
}, {
|
|
52
|
+
readonly internalType: "uint256";
|
|
53
|
+
readonly name: "minParticipantsInCircle";
|
|
54
|
+
readonly type: "uint256";
|
|
51
55
|
}];
|
|
52
56
|
readonly stateMutability: "nonpayable";
|
|
53
57
|
readonly type: "constructor";
|
|
@@ -55,6 +59,18 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
55
59
|
readonly inputs: readonly [];
|
|
56
60
|
readonly name: "ERC1167FailedCreateClone";
|
|
57
61
|
readonly type: "error";
|
|
62
|
+
}, {
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "InvalidShortString";
|
|
65
|
+
readonly type: "error";
|
|
66
|
+
}, {
|
|
67
|
+
readonly inputs: readonly [{
|
|
68
|
+
readonly internalType: "string";
|
|
69
|
+
readonly name: "str";
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "StringTooLong";
|
|
73
|
+
readonly type: "error";
|
|
58
74
|
}, {
|
|
59
75
|
readonly anonymous: false;
|
|
60
76
|
readonly inputs: readonly [{
|
|
@@ -104,10 +120,6 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
104
120
|
readonly internalType: "uint96";
|
|
105
121
|
readonly name: "principalTimeConstant";
|
|
106
122
|
readonly type: "uint96";
|
|
107
|
-
}, {
|
|
108
|
-
readonly internalType: "string";
|
|
109
|
-
readonly name: "metadata";
|
|
110
|
-
readonly type: "string";
|
|
111
123
|
}, {
|
|
112
124
|
readonly internalType: "string";
|
|
113
125
|
readonly name: "rankTokenURI";
|
|
@@ -149,10 +161,6 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
149
161
|
readonly internalType: "uint96";
|
|
150
162
|
readonly name: "principalTimeConstant";
|
|
151
163
|
readonly type: "uint96";
|
|
152
|
-
}, {
|
|
153
|
-
readonly internalType: "string";
|
|
154
|
-
readonly name: "metadata";
|
|
155
|
-
readonly type: "string";
|
|
156
164
|
}, {
|
|
157
165
|
readonly internalType: "string";
|
|
158
166
|
readonly name: "rankTokenURI";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MAODistribution.d.ts","sourceRoot":"","sources":["../../../src/abis/MAODistribution.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"MAODistribution.d.ts","sourceRoot":"","sources":["../../../src/abis/MAODistribution.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkSrB,CAAC;AACX,eAAe,kBAAkB,CAAC"}
|
|
@@ -37,9 +37,9 @@ export const MAODistributionAbi = [
|
|
|
37
37
|
"type": "bytes32"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
|
-
"internalType": "
|
|
40
|
+
"internalType": "string",
|
|
41
41
|
"name": "distributionName",
|
|
42
|
-
"type": "
|
|
42
|
+
"type": "string"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"components": [
|
|
@@ -62,6 +62,11 @@ export const MAODistributionAbi = [
|
|
|
62
62
|
"internalType": "struct LibSemver.Version",
|
|
63
63
|
"name": "distributionVersion",
|
|
64
64
|
"type": "tuple"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "uint256",
|
|
68
|
+
"name": "minParticipantsInCircle",
|
|
69
|
+
"type": "uint256"
|
|
65
70
|
}
|
|
66
71
|
],
|
|
67
72
|
"stateMutability": "nonpayable",
|
|
@@ -72,6 +77,22 @@ export const MAODistributionAbi = [
|
|
|
72
77
|
"name": "ERC1167FailedCreateClone",
|
|
73
78
|
"type": "error"
|
|
74
79
|
},
|
|
80
|
+
{
|
|
81
|
+
"inputs": [],
|
|
82
|
+
"name": "InvalidShortString",
|
|
83
|
+
"type": "error"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"inputs": [
|
|
87
|
+
{
|
|
88
|
+
"internalType": "string",
|
|
89
|
+
"name": "str",
|
|
90
|
+
"type": "string"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"name": "StringTooLong",
|
|
94
|
+
"type": "error"
|
|
95
|
+
},
|
|
75
96
|
{
|
|
76
97
|
"anonymous": false,
|
|
77
98
|
"inputs": [
|
|
@@ -137,11 +158,6 @@ export const MAODistributionAbi = [
|
|
|
137
158
|
"name": "principalTimeConstant",
|
|
138
159
|
"type": "uint96"
|
|
139
160
|
},
|
|
140
|
-
{
|
|
141
|
-
"internalType": "string",
|
|
142
|
-
"name": "metadata",
|
|
143
|
-
"type": "string"
|
|
144
|
-
},
|
|
145
161
|
{
|
|
146
162
|
"internalType": "string",
|
|
147
163
|
"name": "rankTokenURI",
|
|
@@ -196,11 +212,6 @@ export const MAODistributionAbi = [
|
|
|
196
212
|
"name": "principalTimeConstant",
|
|
197
213
|
"type": "uint96"
|
|
198
214
|
},
|
|
199
|
-
{
|
|
200
|
-
"internalType": "string",
|
|
201
|
-
"name": "metadata",
|
|
202
|
-
"type": "string"
|
|
203
|
-
},
|
|
204
215
|
{
|
|
205
216
|
"internalType": "string",
|
|
206
217
|
"name": "rankTokenURI",
|
|
@@ -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,SAAS;gBACzB,MAAM,EAAE,cAAc;gBACtB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,aAAa;gBACrB,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,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,
|
|
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,SAAS;gBACzB,MAAM,EAAE,cAAc;gBACtB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,aAAa;gBACrB,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,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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AM,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"}
|
|
@@ -35,6 +35,14 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
35
35
|
readonly internalType: "bytes32";
|
|
36
36
|
readonly name: "_TYPE_HASH";
|
|
37
37
|
readonly type: "bytes32";
|
|
38
|
+
}, {
|
|
39
|
+
readonly internalType: "string";
|
|
40
|
+
readonly name: "_NAME";
|
|
41
|
+
readonly type: "string";
|
|
42
|
+
}, {
|
|
43
|
+
readonly internalType: "string";
|
|
44
|
+
readonly name: "_VERSION";
|
|
45
|
+
readonly type: "string";
|
|
38
46
|
}];
|
|
39
47
|
readonly stateMutability: "view";
|
|
40
48
|
readonly type: "function";
|
|
@@ -376,6 +384,31 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
376
384
|
}];
|
|
377
385
|
readonly name: "PlayerLeft";
|
|
378
386
|
readonly type: "event";
|
|
387
|
+
}, {
|
|
388
|
+
readonly anonymous: false;
|
|
389
|
+
readonly inputs: readonly [{
|
|
390
|
+
readonly indexed: true;
|
|
391
|
+
readonly internalType: "address";
|
|
392
|
+
readonly name: "player";
|
|
393
|
+
readonly type: "address";
|
|
394
|
+
}, {
|
|
395
|
+
readonly indexed: false;
|
|
396
|
+
readonly internalType: "uint256";
|
|
397
|
+
readonly name: "rankId";
|
|
398
|
+
readonly type: "uint256";
|
|
399
|
+
}, {
|
|
400
|
+
readonly indexed: false;
|
|
401
|
+
readonly internalType: "uint256";
|
|
402
|
+
readonly name: "amount";
|
|
403
|
+
readonly type: "uint256";
|
|
404
|
+
}, {
|
|
405
|
+
readonly indexed: false;
|
|
406
|
+
readonly internalType: "uint256";
|
|
407
|
+
readonly name: "_toMint";
|
|
408
|
+
readonly type: "uint256";
|
|
409
|
+
}];
|
|
410
|
+
readonly name: "RankTokenExited";
|
|
411
|
+
readonly type: "event";
|
|
379
412
|
}, {
|
|
380
413
|
readonly anonymous: false;
|
|
381
414
|
readonly inputs: readonly [{
|
|
@@ -510,6 +543,20 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
510
543
|
}];
|
|
511
544
|
readonly stateMutability: "pure";
|
|
512
545
|
readonly type: "function";
|
|
546
|
+
}, {
|
|
547
|
+
readonly inputs: readonly [{
|
|
548
|
+
readonly internalType: "uint256";
|
|
549
|
+
readonly name: "rankId";
|
|
550
|
+
readonly type: "uint256";
|
|
551
|
+
}, {
|
|
552
|
+
readonly internalType: "uint256";
|
|
553
|
+
readonly name: "amount";
|
|
554
|
+
readonly type: "uint256";
|
|
555
|
+
}];
|
|
556
|
+
readonly name: "exitRankToken";
|
|
557
|
+
readonly outputs: readonly [];
|
|
558
|
+
readonly stateMutability: "nonpayable";
|
|
559
|
+
readonly type: "function";
|
|
513
560
|
}, {
|
|
514
561
|
readonly inputs: readonly [{
|
|
515
562
|
readonly internalType: "uint256";
|
|
@@ -557,6 +604,14 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
557
604
|
readonly internalType: "address";
|
|
558
605
|
readonly name: "beneficiary";
|
|
559
606
|
readonly type: "address";
|
|
607
|
+
}, {
|
|
608
|
+
readonly internalType: "uint256";
|
|
609
|
+
readonly name: "minimumParticipantsInCircle";
|
|
610
|
+
readonly type: "uint256";
|
|
611
|
+
}, {
|
|
612
|
+
readonly internalType: "address";
|
|
613
|
+
readonly name: "derivedToken";
|
|
614
|
+
readonly type: "address";
|
|
560
615
|
}];
|
|
561
616
|
readonly internalType: "struct LibRankify.CommonParams";
|
|
562
617
|
readonly name: "commonParams";
|
|
@@ -596,134 +651,6 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
596
651
|
}];
|
|
597
652
|
readonly stateMutability: "view";
|
|
598
653
|
readonly type: "function";
|
|
599
|
-
}, {
|
|
600
|
-
readonly inputs: readonly [{
|
|
601
|
-
readonly internalType: "uint256";
|
|
602
|
-
readonly name: "gameId";
|
|
603
|
-
readonly type: "uint256";
|
|
604
|
-
}];
|
|
605
|
-
readonly name: "getGameState";
|
|
606
|
-
readonly outputs: readonly [{
|
|
607
|
-
readonly components: readonly [{
|
|
608
|
-
readonly internalType: "uint256";
|
|
609
|
-
readonly name: "rank";
|
|
610
|
-
readonly type: "uint256";
|
|
611
|
-
}, {
|
|
612
|
-
readonly internalType: "uint256";
|
|
613
|
-
readonly name: "minGameTime";
|
|
614
|
-
readonly type: "uint256";
|
|
615
|
-
}, {
|
|
616
|
-
readonly internalType: "address";
|
|
617
|
-
readonly name: "createdBy";
|
|
618
|
-
readonly type: "address";
|
|
619
|
-
}, {
|
|
620
|
-
readonly internalType: "uint256";
|
|
621
|
-
readonly name: "numOngoingProposals";
|
|
622
|
-
readonly type: "uint256";
|
|
623
|
-
}, {
|
|
624
|
-
readonly internalType: "uint256";
|
|
625
|
-
readonly name: "numPrevProposals";
|
|
626
|
-
readonly type: "uint256";
|
|
627
|
-
}, {
|
|
628
|
-
readonly internalType: "uint256";
|
|
629
|
-
readonly name: "numCommitments";
|
|
630
|
-
readonly type: "uint256";
|
|
631
|
-
}, {
|
|
632
|
-
readonly internalType: "uint256";
|
|
633
|
-
readonly name: "numVotesThisTurn";
|
|
634
|
-
readonly type: "uint256";
|
|
635
|
-
}, {
|
|
636
|
-
readonly internalType: "uint256";
|
|
637
|
-
readonly name: "numVotesPrevTurn";
|
|
638
|
-
readonly type: "uint256";
|
|
639
|
-
}, {
|
|
640
|
-
readonly components: readonly [{
|
|
641
|
-
readonly internalType: "uint256";
|
|
642
|
-
readonly name: "voteCredits";
|
|
643
|
-
readonly type: "uint256";
|
|
644
|
-
}, {
|
|
645
|
-
readonly internalType: "uint256";
|
|
646
|
-
readonly name: "maxQuadraticPoints";
|
|
647
|
-
readonly type: "uint256";
|
|
648
|
-
}, {
|
|
649
|
-
readonly internalType: "uint256";
|
|
650
|
-
readonly name: "minQuadraticPositions";
|
|
651
|
-
readonly type: "uint256";
|
|
652
|
-
}];
|
|
653
|
-
readonly internalType: "struct LibQuadraticVoting.qVotingStruct";
|
|
654
|
-
readonly name: "voting";
|
|
655
|
-
readonly type: "tuple";
|
|
656
|
-
}, {
|
|
657
|
-
readonly internalType: "uint256";
|
|
658
|
-
readonly name: "currentTurn";
|
|
659
|
-
readonly type: "uint256";
|
|
660
|
-
}, {
|
|
661
|
-
readonly internalType: "uint256";
|
|
662
|
-
readonly name: "turnStartedAt";
|
|
663
|
-
readonly type: "uint256";
|
|
664
|
-
}, {
|
|
665
|
-
readonly internalType: "uint256";
|
|
666
|
-
readonly name: "registrationOpenAt";
|
|
667
|
-
readonly type: "uint256";
|
|
668
|
-
}, {
|
|
669
|
-
readonly internalType: "uint256";
|
|
670
|
-
readonly name: "startedAt";
|
|
671
|
-
readonly type: "uint256";
|
|
672
|
-
}, {
|
|
673
|
-
readonly internalType: "bool";
|
|
674
|
-
readonly name: "hasStarted";
|
|
675
|
-
readonly type: "bool";
|
|
676
|
-
}, {
|
|
677
|
-
readonly internalType: "bool";
|
|
678
|
-
readonly name: "hasEnded";
|
|
679
|
-
readonly type: "bool";
|
|
680
|
-
}, {
|
|
681
|
-
readonly internalType: "uint256";
|
|
682
|
-
readonly name: "numPlayersMadeMove";
|
|
683
|
-
readonly type: "uint256";
|
|
684
|
-
}, {
|
|
685
|
-
readonly internalType: "uint256";
|
|
686
|
-
readonly name: "numActivePlayers";
|
|
687
|
-
readonly type: "uint256";
|
|
688
|
-
}, {
|
|
689
|
-
readonly internalType: "bool";
|
|
690
|
-
readonly name: "isOvertime";
|
|
691
|
-
readonly type: "bool";
|
|
692
|
-
}, {
|
|
693
|
-
readonly internalType: "uint256";
|
|
694
|
-
readonly name: "timePerTurn";
|
|
695
|
-
readonly type: "uint256";
|
|
696
|
-
}, {
|
|
697
|
-
readonly internalType: "uint256";
|
|
698
|
-
readonly name: "maxPlayerCnt";
|
|
699
|
-
readonly type: "uint256";
|
|
700
|
-
}, {
|
|
701
|
-
readonly internalType: "uint256";
|
|
702
|
-
readonly name: "minPlayerCnt";
|
|
703
|
-
readonly type: "uint256";
|
|
704
|
-
}, {
|
|
705
|
-
readonly internalType: "uint256";
|
|
706
|
-
readonly name: "timeToJoin";
|
|
707
|
-
readonly type: "uint256";
|
|
708
|
-
}, {
|
|
709
|
-
readonly internalType: "uint256";
|
|
710
|
-
readonly name: "maxTurns";
|
|
711
|
-
readonly type: "uint256";
|
|
712
|
-
}, {
|
|
713
|
-
readonly internalType: "uint256";
|
|
714
|
-
readonly name: "voteCredits";
|
|
715
|
-
readonly type: "uint256";
|
|
716
|
-
}, {
|
|
717
|
-
readonly internalType: "address";
|
|
718
|
-
readonly name: "gameMaster";
|
|
719
|
-
readonly type: "address";
|
|
720
|
-
}];
|
|
721
|
-
readonly internalType: "struct IRankifyInstance.GameStateOutput";
|
|
722
|
-
readonly name: "state";
|
|
723
|
-
readonly type: "tuple";
|
|
724
|
-
}];
|
|
725
|
-
readonly stateMutability: "view";
|
|
726
|
-
readonly type: "function";
|
|
727
654
|
}, {
|
|
728
655
|
readonly inputs: readonly [{
|
|
729
656
|
readonly internalType: "uint256";
|
|
@@ -1162,6 +1089,173 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
1162
1089
|
}];
|
|
1163
1090
|
readonly name: "RequirementsConfigured";
|
|
1164
1091
|
readonly type: "event";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly inputs: readonly [];
|
|
1094
|
+
readonly name: "getCommonParams";
|
|
1095
|
+
readonly outputs: readonly [{
|
|
1096
|
+
readonly components: readonly [{
|
|
1097
|
+
readonly internalType: "uint256";
|
|
1098
|
+
readonly name: "principalCost";
|
|
1099
|
+
readonly type: "uint256";
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly internalType: "uint96";
|
|
1102
|
+
readonly name: "principalTimeConstant";
|
|
1103
|
+
readonly type: "uint96";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly internalType: "address";
|
|
1106
|
+
readonly name: "gamePaymentToken";
|
|
1107
|
+
readonly type: "address";
|
|
1108
|
+
}, {
|
|
1109
|
+
readonly internalType: "address";
|
|
1110
|
+
readonly name: "rankTokenAddress";
|
|
1111
|
+
readonly type: "address";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly internalType: "address";
|
|
1114
|
+
readonly name: "beneficiary";
|
|
1115
|
+
readonly type: "address";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly internalType: "uint256";
|
|
1118
|
+
readonly name: "minimumParticipantsInCircle";
|
|
1119
|
+
readonly type: "uint256";
|
|
1120
|
+
}, {
|
|
1121
|
+
readonly internalType: "address";
|
|
1122
|
+
readonly name: "derivedToken";
|
|
1123
|
+
readonly type: "address";
|
|
1124
|
+
}];
|
|
1125
|
+
readonly internalType: "struct LibRankify.CommonParams";
|
|
1126
|
+
readonly name: "";
|
|
1127
|
+
readonly type: "tuple";
|
|
1128
|
+
}];
|
|
1129
|
+
readonly stateMutability: "view";
|
|
1130
|
+
readonly type: "function";
|
|
1131
|
+
}, {
|
|
1132
|
+
readonly inputs: readonly [{
|
|
1133
|
+
readonly internalType: "uint256";
|
|
1134
|
+
readonly name: "gameId";
|
|
1135
|
+
readonly type: "uint256";
|
|
1136
|
+
}];
|
|
1137
|
+
readonly name: "getGameState";
|
|
1138
|
+
readonly outputs: readonly [{
|
|
1139
|
+
readonly components: readonly [{
|
|
1140
|
+
readonly internalType: "uint256";
|
|
1141
|
+
readonly name: "rank";
|
|
1142
|
+
readonly type: "uint256";
|
|
1143
|
+
}, {
|
|
1144
|
+
readonly internalType: "uint256";
|
|
1145
|
+
readonly name: "minGameTime";
|
|
1146
|
+
readonly type: "uint256";
|
|
1147
|
+
}, {
|
|
1148
|
+
readonly internalType: "address";
|
|
1149
|
+
readonly name: "createdBy";
|
|
1150
|
+
readonly type: "address";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly internalType: "uint256";
|
|
1153
|
+
readonly name: "numOngoingProposals";
|
|
1154
|
+
readonly type: "uint256";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly internalType: "uint256";
|
|
1157
|
+
readonly name: "numPrevProposals";
|
|
1158
|
+
readonly type: "uint256";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly internalType: "uint256";
|
|
1161
|
+
readonly name: "numCommitments";
|
|
1162
|
+
readonly type: "uint256";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly internalType: "uint256";
|
|
1165
|
+
readonly name: "numVotesThisTurn";
|
|
1166
|
+
readonly type: "uint256";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly internalType: "uint256";
|
|
1169
|
+
readonly name: "numVotesPrevTurn";
|
|
1170
|
+
readonly type: "uint256";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly components: readonly [{
|
|
1173
|
+
readonly internalType: "uint256";
|
|
1174
|
+
readonly name: "voteCredits";
|
|
1175
|
+
readonly type: "uint256";
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly internalType: "uint256";
|
|
1178
|
+
readonly name: "maxQuadraticPoints";
|
|
1179
|
+
readonly type: "uint256";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly internalType: "uint256";
|
|
1182
|
+
readonly name: "minQuadraticPositions";
|
|
1183
|
+
readonly type: "uint256";
|
|
1184
|
+
}];
|
|
1185
|
+
readonly internalType: "struct LibQuadraticVoting.qVotingStruct";
|
|
1186
|
+
readonly name: "voting";
|
|
1187
|
+
readonly type: "tuple";
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly internalType: "uint256";
|
|
1190
|
+
readonly name: "currentTurn";
|
|
1191
|
+
readonly type: "uint256";
|
|
1192
|
+
}, {
|
|
1193
|
+
readonly internalType: "uint256";
|
|
1194
|
+
readonly name: "turnStartedAt";
|
|
1195
|
+
readonly type: "uint256";
|
|
1196
|
+
}, {
|
|
1197
|
+
readonly internalType: "uint256";
|
|
1198
|
+
readonly name: "registrationOpenAt";
|
|
1199
|
+
readonly type: "uint256";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly internalType: "uint256";
|
|
1202
|
+
readonly name: "startedAt";
|
|
1203
|
+
readonly type: "uint256";
|
|
1204
|
+
}, {
|
|
1205
|
+
readonly internalType: "bool";
|
|
1206
|
+
readonly name: "hasStarted";
|
|
1207
|
+
readonly type: "bool";
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly internalType: "bool";
|
|
1210
|
+
readonly name: "hasEnded";
|
|
1211
|
+
readonly type: "bool";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly internalType: "uint256";
|
|
1214
|
+
readonly name: "numPlayersMadeMove";
|
|
1215
|
+
readonly type: "uint256";
|
|
1216
|
+
}, {
|
|
1217
|
+
readonly internalType: "uint256";
|
|
1218
|
+
readonly name: "numActivePlayers";
|
|
1219
|
+
readonly type: "uint256";
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly internalType: "bool";
|
|
1222
|
+
readonly name: "isOvertime";
|
|
1223
|
+
readonly type: "bool";
|
|
1224
|
+
}, {
|
|
1225
|
+
readonly internalType: "uint256";
|
|
1226
|
+
readonly name: "timePerTurn";
|
|
1227
|
+
readonly type: "uint256";
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly internalType: "uint256";
|
|
1230
|
+
readonly name: "maxPlayerCnt";
|
|
1231
|
+
readonly type: "uint256";
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly internalType: "uint256";
|
|
1234
|
+
readonly name: "minPlayerCnt";
|
|
1235
|
+
readonly type: "uint256";
|
|
1236
|
+
}, {
|
|
1237
|
+
readonly internalType: "uint256";
|
|
1238
|
+
readonly name: "timeToJoin";
|
|
1239
|
+
readonly type: "uint256";
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly internalType: "uint256";
|
|
1242
|
+
readonly name: "maxTurns";
|
|
1243
|
+
readonly type: "uint256";
|
|
1244
|
+
}, {
|
|
1245
|
+
readonly internalType: "uint256";
|
|
1246
|
+
readonly name: "voteCredits";
|
|
1247
|
+
readonly type: "uint256";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly internalType: "address";
|
|
1250
|
+
readonly name: "gameMaster";
|
|
1251
|
+
readonly type: "address";
|
|
1252
|
+
}];
|
|
1253
|
+
readonly internalType: "struct IRankifyInstance.GameStateOutput";
|
|
1254
|
+
readonly name: "state";
|
|
1255
|
+
readonly type: "tuple";
|
|
1256
|
+
}];
|
|
1257
|
+
readonly stateMutability: "view";
|
|
1258
|
+
readonly type: "function";
|
|
1165
1259
|
}, {
|
|
1166
1260
|
readonly inputs: readonly [{
|
|
1167
1261
|
readonly internalType: "uint256";
|
|
@@ -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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