@peeramid-labs/sdk 3.11.0 → 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 +117 -28
- 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 +117 -28
- 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 +117 -28
- 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
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
export declare const LibRankifyAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [];
|
|
3
|
+
readonly name: "ECDSAInvalidSignature";
|
|
4
|
+
readonly type: "error";
|
|
5
|
+
}, {
|
|
6
|
+
readonly inputs: readonly [{
|
|
7
|
+
readonly internalType: "uint256";
|
|
8
|
+
readonly name: "length";
|
|
9
|
+
readonly type: "uint256";
|
|
10
|
+
}];
|
|
11
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
12
|
+
readonly type: "error";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly internalType: "bytes32";
|
|
16
|
+
readonly name: "s";
|
|
17
|
+
readonly type: "bytes32";
|
|
18
|
+
}];
|
|
19
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
20
|
+
readonly type: "error";
|
|
21
|
+
}, {
|
|
22
|
+
readonly inputs: readonly [];
|
|
23
|
+
readonly name: "RankNotSpecified";
|
|
24
|
+
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [{
|
|
27
|
+
readonly internalType: "string";
|
|
28
|
+
readonly name: "message";
|
|
29
|
+
readonly type: "string";
|
|
30
|
+
}];
|
|
31
|
+
readonly name: "invalidConfiguration";
|
|
32
|
+
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [{
|
|
35
|
+
readonly internalType: "bytes32";
|
|
36
|
+
readonly name: "digest";
|
|
37
|
+
readonly type: "bytes32";
|
|
38
|
+
}, {
|
|
39
|
+
readonly internalType: "string";
|
|
40
|
+
readonly name: "message";
|
|
41
|
+
readonly type: "string";
|
|
42
|
+
}];
|
|
43
|
+
readonly name: "invalidECDSARecoverSigner";
|
|
44
|
+
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [{
|
|
47
|
+
readonly internalType: "uint256";
|
|
48
|
+
readonly name: "nTurns";
|
|
49
|
+
readonly type: "uint256";
|
|
50
|
+
}];
|
|
51
|
+
readonly name: "invalidTurnCount";
|
|
52
|
+
readonly type: "error";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly internalType: "string";
|
|
56
|
+
readonly name: "parameter";
|
|
57
|
+
readonly type: "string";
|
|
58
|
+
}, {
|
|
59
|
+
readonly internalType: "uint256";
|
|
60
|
+
readonly name: "arg";
|
|
61
|
+
readonly type: "uint256";
|
|
62
|
+
}, {
|
|
63
|
+
readonly internalType: "uint256";
|
|
64
|
+
readonly name: "arg2";
|
|
65
|
+
readonly type: "uint256";
|
|
66
|
+
}];
|
|
67
|
+
readonly name: "quadraticVotingError";
|
|
68
|
+
readonly type: "error";
|
|
69
|
+
}, {
|
|
70
|
+
readonly inputs: readonly [];
|
|
71
|
+
readonly name: "_PROPOSAL_PROOF_TYPEHASH";
|
|
72
|
+
readonly outputs: readonly [{
|
|
73
|
+
readonly internalType: "bytes32";
|
|
74
|
+
readonly name: "";
|
|
75
|
+
readonly type: "bytes32";
|
|
76
|
+
}];
|
|
77
|
+
readonly stateMutability: "view";
|
|
78
|
+
readonly type: "function";
|
|
79
|
+
}, {
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly name: "_VOTE_PROOF_TYPEHASH";
|
|
82
|
+
readonly outputs: readonly [{
|
|
83
|
+
readonly internalType: "bytes32";
|
|
84
|
+
readonly name: "";
|
|
85
|
+
readonly type: "bytes32";
|
|
86
|
+
}];
|
|
87
|
+
readonly stateMutability: "view";
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
}, {
|
|
90
|
+
readonly inputs: readonly [];
|
|
91
|
+
readonly name: "_VOTE_SUBMIT_PROOF_TYPEHASH";
|
|
92
|
+
readonly outputs: readonly [{
|
|
93
|
+
readonly internalType: "bytes32";
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly type: "bytes32";
|
|
96
|
+
}];
|
|
97
|
+
readonly stateMutability: "view";
|
|
98
|
+
readonly type: "function";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [{
|
|
101
|
+
readonly internalType: "string";
|
|
102
|
+
readonly name: "a";
|
|
103
|
+
readonly type: "string";
|
|
104
|
+
}, {
|
|
105
|
+
readonly internalType: "string";
|
|
106
|
+
readonly name: "b";
|
|
107
|
+
readonly type: "string";
|
|
108
|
+
}];
|
|
109
|
+
readonly name: "compareStrings";
|
|
110
|
+
readonly outputs: readonly [{
|
|
111
|
+
readonly internalType: "bool";
|
|
112
|
+
readonly name: "";
|
|
113
|
+
readonly type: "bool";
|
|
114
|
+
}];
|
|
115
|
+
readonly stateMutability: "pure";
|
|
116
|
+
readonly type: "function";
|
|
117
|
+
}, {
|
|
118
|
+
readonly inputs: readonly [{
|
|
119
|
+
readonly internalType: "uint256";
|
|
120
|
+
readonly name: "gameId";
|
|
121
|
+
readonly type: "uint256";
|
|
122
|
+
}];
|
|
123
|
+
readonly name: "enforceGameExists";
|
|
124
|
+
readonly outputs: readonly [];
|
|
125
|
+
readonly stateMutability: "view";
|
|
126
|
+
readonly type: "function";
|
|
127
|
+
}, {
|
|
128
|
+
readonly inputs: readonly [{
|
|
129
|
+
readonly internalType: "uint256";
|
|
130
|
+
readonly name: "gameId";
|
|
131
|
+
readonly type: "uint256";
|
|
132
|
+
}, {
|
|
133
|
+
readonly internalType: "address";
|
|
134
|
+
readonly name: "candidate";
|
|
135
|
+
readonly type: "address";
|
|
136
|
+
}];
|
|
137
|
+
readonly name: "enforceIsGM";
|
|
138
|
+
readonly outputs: readonly [];
|
|
139
|
+
readonly stateMutability: "view";
|
|
140
|
+
readonly type: "function";
|
|
141
|
+
}, {
|
|
142
|
+
readonly inputs: readonly [{
|
|
143
|
+
readonly internalType: "uint256";
|
|
144
|
+
readonly name: "gameId";
|
|
145
|
+
readonly type: "uint256";
|
|
146
|
+
}, {
|
|
147
|
+
readonly internalType: "address";
|
|
148
|
+
readonly name: "candidate";
|
|
149
|
+
readonly type: "address";
|
|
150
|
+
}];
|
|
151
|
+
readonly name: "enforceIsGameCreator";
|
|
152
|
+
readonly outputs: readonly [];
|
|
153
|
+
readonly stateMutability: "view";
|
|
154
|
+
readonly type: "function";
|
|
155
|
+
}, {
|
|
156
|
+
readonly inputs: readonly [];
|
|
157
|
+
readonly name: "enforceIsInitialized";
|
|
158
|
+
readonly outputs: readonly [];
|
|
159
|
+
readonly stateMutability: "view";
|
|
160
|
+
readonly type: "function";
|
|
161
|
+
}, {
|
|
162
|
+
readonly inputs: readonly [{
|
|
163
|
+
readonly internalType: "uint128";
|
|
164
|
+
readonly name: "minGameTime";
|
|
165
|
+
readonly type: "uint128";
|
|
166
|
+
}, {
|
|
167
|
+
readonly components: readonly [{
|
|
168
|
+
readonly internalType: "uint256";
|
|
169
|
+
readonly name: "principalCost";
|
|
170
|
+
readonly type: "uint256";
|
|
171
|
+
}, {
|
|
172
|
+
readonly internalType: "uint96";
|
|
173
|
+
readonly name: "principalTimeConstant";
|
|
174
|
+
readonly type: "uint96";
|
|
175
|
+
}, {
|
|
176
|
+
readonly internalType: "address";
|
|
177
|
+
readonly name: "gamePaymentToken";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
}, {
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
readonly name: "rankTokenAddress";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}, {
|
|
184
|
+
readonly internalType: "address";
|
|
185
|
+
readonly name: "beneficiary";
|
|
186
|
+
readonly type: "address";
|
|
187
|
+
}, {
|
|
188
|
+
readonly internalType: "uint256";
|
|
189
|
+
readonly name: "minimumParticipantsInCircle";
|
|
190
|
+
readonly type: "uint256";
|
|
191
|
+
}, {
|
|
192
|
+
readonly internalType: "address";
|
|
193
|
+
readonly name: "derivedToken";
|
|
194
|
+
readonly type: "address";
|
|
195
|
+
}, {
|
|
196
|
+
readonly internalType: "address";
|
|
197
|
+
readonly name: "proposalIntegrityVerifier";
|
|
198
|
+
readonly type: "address";
|
|
199
|
+
}, {
|
|
200
|
+
readonly internalType: "address";
|
|
201
|
+
readonly name: "poseidon5";
|
|
202
|
+
readonly type: "address";
|
|
203
|
+
}, {
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
readonly name: "poseidon6";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
}, {
|
|
208
|
+
readonly internalType: "address";
|
|
209
|
+
readonly name: "poseidon2";
|
|
210
|
+
readonly type: "address";
|
|
211
|
+
}];
|
|
212
|
+
readonly internalType: "struct LibRankify.CommonParams";
|
|
213
|
+
readonly name: "commonParams";
|
|
214
|
+
readonly type: "tuple";
|
|
215
|
+
}];
|
|
216
|
+
readonly name: "getGamePrice";
|
|
217
|
+
readonly outputs: readonly [{
|
|
218
|
+
readonly internalType: "uint256";
|
|
219
|
+
readonly name: "";
|
|
220
|
+
readonly type: "uint256";
|
|
221
|
+
}];
|
|
222
|
+
readonly stateMutability: "pure";
|
|
223
|
+
readonly type: "function";
|
|
224
|
+
}];
|
|
225
|
+
export default LibRankifyAbi;
|
|
226
|
+
//# sourceMappingURL=LibRankify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LibRankify.d.ts","sourceRoot":"","sources":["../../../src/abis/LibRankify.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoShB,CAAC;AACX,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
export const LibRankifyAbi = [
|
|
2
|
+
{
|
|
3
|
+
"inputs": [],
|
|
4
|
+
"name": "ECDSAInvalidSignature",
|
|
5
|
+
"type": "error"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"inputs": [
|
|
9
|
+
{
|
|
10
|
+
"internalType": "uint256",
|
|
11
|
+
"name": "length",
|
|
12
|
+
"type": "uint256"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"name": "ECDSAInvalidSignatureLength",
|
|
16
|
+
"type": "error"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"inputs": [
|
|
20
|
+
{
|
|
21
|
+
"internalType": "bytes32",
|
|
22
|
+
"name": "s",
|
|
23
|
+
"type": "bytes32"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"name": "ECDSAInvalidSignatureS",
|
|
27
|
+
"type": "error"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"inputs": [],
|
|
31
|
+
"name": "RankNotSpecified",
|
|
32
|
+
"type": "error"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"inputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "string",
|
|
38
|
+
"name": "message",
|
|
39
|
+
"type": "string"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"name": "invalidConfiguration",
|
|
43
|
+
"type": "error"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"inputs": [
|
|
47
|
+
{
|
|
48
|
+
"internalType": "bytes32",
|
|
49
|
+
"name": "digest",
|
|
50
|
+
"type": "bytes32"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"internalType": "string",
|
|
54
|
+
"name": "message",
|
|
55
|
+
"type": "string"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"name": "invalidECDSARecoverSigner",
|
|
59
|
+
"type": "error"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"inputs": [
|
|
63
|
+
{
|
|
64
|
+
"internalType": "uint256",
|
|
65
|
+
"name": "nTurns",
|
|
66
|
+
"type": "uint256"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"name": "invalidTurnCount",
|
|
70
|
+
"type": "error"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"inputs": [
|
|
74
|
+
{
|
|
75
|
+
"internalType": "string",
|
|
76
|
+
"name": "parameter",
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"internalType": "uint256",
|
|
81
|
+
"name": "arg",
|
|
82
|
+
"type": "uint256"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"internalType": "uint256",
|
|
86
|
+
"name": "arg2",
|
|
87
|
+
"type": "uint256"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "quadraticVotingError",
|
|
91
|
+
"type": "error"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"inputs": [],
|
|
95
|
+
"name": "_PROPOSAL_PROOF_TYPEHASH",
|
|
96
|
+
"outputs": [
|
|
97
|
+
{
|
|
98
|
+
"internalType": "bytes32",
|
|
99
|
+
"name": "",
|
|
100
|
+
"type": "bytes32"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"stateMutability": "view",
|
|
104
|
+
"type": "function"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"inputs": [],
|
|
108
|
+
"name": "_VOTE_PROOF_TYPEHASH",
|
|
109
|
+
"outputs": [
|
|
110
|
+
{
|
|
111
|
+
"internalType": "bytes32",
|
|
112
|
+
"name": "",
|
|
113
|
+
"type": "bytes32"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"stateMutability": "view",
|
|
117
|
+
"type": "function"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"inputs": [],
|
|
121
|
+
"name": "_VOTE_SUBMIT_PROOF_TYPEHASH",
|
|
122
|
+
"outputs": [
|
|
123
|
+
{
|
|
124
|
+
"internalType": "bytes32",
|
|
125
|
+
"name": "",
|
|
126
|
+
"type": "bytes32"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"stateMutability": "view",
|
|
130
|
+
"type": "function"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"inputs": [
|
|
134
|
+
{
|
|
135
|
+
"internalType": "string",
|
|
136
|
+
"name": "a",
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"internalType": "string",
|
|
141
|
+
"name": "b",
|
|
142
|
+
"type": "string"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"name": "compareStrings",
|
|
146
|
+
"outputs": [
|
|
147
|
+
{
|
|
148
|
+
"internalType": "bool",
|
|
149
|
+
"name": "",
|
|
150
|
+
"type": "bool"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"stateMutability": "pure",
|
|
154
|
+
"type": "function"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"inputs": [
|
|
158
|
+
{
|
|
159
|
+
"internalType": "uint256",
|
|
160
|
+
"name": "gameId",
|
|
161
|
+
"type": "uint256"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"name": "enforceGameExists",
|
|
165
|
+
"outputs": [],
|
|
166
|
+
"stateMutability": "view",
|
|
167
|
+
"type": "function"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"inputs": [
|
|
171
|
+
{
|
|
172
|
+
"internalType": "uint256",
|
|
173
|
+
"name": "gameId",
|
|
174
|
+
"type": "uint256"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"internalType": "address",
|
|
178
|
+
"name": "candidate",
|
|
179
|
+
"type": "address"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"name": "enforceIsGM",
|
|
183
|
+
"outputs": [],
|
|
184
|
+
"stateMutability": "view",
|
|
185
|
+
"type": "function"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"inputs": [
|
|
189
|
+
{
|
|
190
|
+
"internalType": "uint256",
|
|
191
|
+
"name": "gameId",
|
|
192
|
+
"type": "uint256"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"internalType": "address",
|
|
196
|
+
"name": "candidate",
|
|
197
|
+
"type": "address"
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"name": "enforceIsGameCreator",
|
|
201
|
+
"outputs": [],
|
|
202
|
+
"stateMutability": "view",
|
|
203
|
+
"type": "function"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"inputs": [],
|
|
207
|
+
"name": "enforceIsInitialized",
|
|
208
|
+
"outputs": [],
|
|
209
|
+
"stateMutability": "view",
|
|
210
|
+
"type": "function"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"inputs": [
|
|
214
|
+
{
|
|
215
|
+
"internalType": "uint128",
|
|
216
|
+
"name": "minGameTime",
|
|
217
|
+
"type": "uint128"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"components": [
|
|
221
|
+
{
|
|
222
|
+
"internalType": "uint256",
|
|
223
|
+
"name": "principalCost",
|
|
224
|
+
"type": "uint256"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"internalType": "uint96",
|
|
228
|
+
"name": "principalTimeConstant",
|
|
229
|
+
"type": "uint96"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"internalType": "address",
|
|
233
|
+
"name": "gamePaymentToken",
|
|
234
|
+
"type": "address"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"internalType": "address",
|
|
238
|
+
"name": "rankTokenAddress",
|
|
239
|
+
"type": "address"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"internalType": "address",
|
|
243
|
+
"name": "beneficiary",
|
|
244
|
+
"type": "address"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"internalType": "uint256",
|
|
248
|
+
"name": "minimumParticipantsInCircle",
|
|
249
|
+
"type": "uint256"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"internalType": "address",
|
|
253
|
+
"name": "derivedToken",
|
|
254
|
+
"type": "address"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"internalType": "address",
|
|
258
|
+
"name": "proposalIntegrityVerifier",
|
|
259
|
+
"type": "address"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"internalType": "address",
|
|
263
|
+
"name": "poseidon5",
|
|
264
|
+
"type": "address"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"internalType": "address",
|
|
268
|
+
"name": "poseidon6",
|
|
269
|
+
"type": "address"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"internalType": "address",
|
|
273
|
+
"name": "poseidon2",
|
|
274
|
+
"type": "address"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"internalType": "struct LibRankify.CommonParams",
|
|
278
|
+
"name": "commonParams",
|
|
279
|
+
"type": "tuple"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"name": "getGamePrice",
|
|
283
|
+
"outputs": [
|
|
284
|
+
{
|
|
285
|
+
"internalType": "uint256",
|
|
286
|
+
"name": "",
|
|
287
|
+
"type": "uint256"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"stateMutability": "pure",
|
|
291
|
+
"type": "function"
|
|
292
|
+
}
|
|
293
|
+
];
|
|
294
|
+
export default LibRankifyAbi;
|
|
295
|
+
//# sourceMappingURL=LibRankify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LibRankify.js","sourceRoot":"","sources":["../../../src/abis/LibRankify.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B;QACE,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,uBAAuB;QAC/B,MAAM,EAAE,OAAO;KAChB;IACD;QACE,QAAQ,EAAE;YACR;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,SAAS;aAClB;SACF;QACD,MAAM,EAAE,6BAA6B;QACrC,MAAM,EAAE,OAAO;KAChB;IACD;QACE,QAAQ,EAAE;YACR;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,GAAG;gBACX,MAAM,EAAE,SAAS;aAClB;SACF;QACD,MAAM,EAAE,wBAAwB;QAChC,MAAM,EAAE,OAAO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EAAE,SAAS;qBAClB;oBACD;wBACE,cAAc,EAAE,SAAS;wBACzB,MAAM,EAAE,cAAc;wBACtB,MAAM,EAAE,SAAS;qBAClB;oBACD;wBACE,cAAc,EAAE,SAAS;wBACzB,MAAM,EAAE,2BAA2B;wBACnC,MAAM,EAAE,SAAS;qBAClB;oBACD;wBACE,cAAc,EAAE,SAAS;wBACzB,MAAM,EAAE,WAAW;wBACnB,MAAM,EAAE,SAAS;qBAClB;oBACD;wBACE,cAAc,EAAE,SAAS;wBACzB,MAAM,EAAE,WAAW;wBACnB,MAAM,EAAE,SAAS;qBAClB;oBACD;wBACE,cAAc,EAAE,SAAS;wBACzB,MAAM,EAAE,WAAW;wBACnB,MAAM,EAAE,SAAS;qBAClB;iBACF;gBACD,cAAc,EAAE,gCAAgC;gBAChD,MAAM,EAAE,cAAc;gBACtB,MAAM,EAAE,OAAO;aAChB;SACF;QACD,MAAM,EAAE,cAAc;QACtB,SAAS,EAAE;YACT;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE,SAAS;aAClB;SACF;QACD,iBAAiB,EAAE,MAAM;QACzB,MAAM,EAAE,UAAU;KACnB;CACO,CAAC;AACX,eAAe,aAAa,CAAC"}
|
|
@@ -3,14 +3,6 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
3
3
|
readonly internalType: "address";
|
|
4
4
|
readonly name: "trustedForwarder";
|
|
5
5
|
readonly type: "address";
|
|
6
|
-
}, {
|
|
7
|
-
readonly internalType: "address";
|
|
8
|
-
readonly name: "paymentToken";
|
|
9
|
-
readonly type: "address";
|
|
10
|
-
}, {
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "beneficiary";
|
|
13
|
-
readonly type: "address";
|
|
14
6
|
}, {
|
|
15
7
|
readonly internalType: "address[]";
|
|
16
8
|
readonly name: "zkpVerifier";
|
|
@@ -123,6 +115,14 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
123
115
|
readonly internalType: "string";
|
|
124
116
|
readonly name: "tokenSymbol";
|
|
125
117
|
readonly type: "string";
|
|
118
|
+
}, {
|
|
119
|
+
readonly internalType: "uint256[]";
|
|
120
|
+
readonly name: "preMintAmounts";
|
|
121
|
+
readonly type: "uint256[]";
|
|
122
|
+
}, {
|
|
123
|
+
readonly internalType: "address[]";
|
|
124
|
+
readonly name: "preMintReceivers";
|
|
125
|
+
readonly type: "address[]";
|
|
126
126
|
}];
|
|
127
127
|
readonly internalType: "struct MAODistribution.TokenArguments";
|
|
128
128
|
readonly name: "tokenSettings";
|
|
@@ -148,6 +148,10 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
148
148
|
readonly internalType: "address";
|
|
149
149
|
readonly name: "owner";
|
|
150
150
|
readonly type: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly internalType: "address";
|
|
153
|
+
readonly name: "paymentToken";
|
|
154
|
+
readonly type: "address";
|
|
151
155
|
}];
|
|
152
156
|
readonly internalType: "struct MAODistribution.UserRankifySettings";
|
|
153
157
|
readonly name: "rankifySettings";
|
|
@@ -168,6 +172,14 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
168
172
|
readonly internalType: "string";
|
|
169
173
|
readonly name: "tokenSymbol";
|
|
170
174
|
readonly type: "string";
|
|
175
|
+
}, {
|
|
176
|
+
readonly internalType: "uint256[]";
|
|
177
|
+
readonly name: "preMintAmounts";
|
|
178
|
+
readonly type: "uint256[]";
|
|
179
|
+
}, {
|
|
180
|
+
readonly internalType: "address[]";
|
|
181
|
+
readonly name: "preMintReceivers";
|
|
182
|
+
readonly type: "address[]";
|
|
171
183
|
}];
|
|
172
184
|
readonly internalType: "struct MAODistribution.TokenArguments";
|
|
173
185
|
readonly name: "tokenSettings";
|
|
@@ -193,6 +205,10 @@ export declare const MAODistributionAbi: readonly [{
|
|
|
193
205
|
readonly internalType: "address";
|
|
194
206
|
readonly name: "owner";
|
|
195
207
|
readonly type: "address";
|
|
208
|
+
}, {
|
|
209
|
+
readonly internalType: "address";
|
|
210
|
+
readonly name: "paymentToken";
|
|
211
|
+
readonly type: "address";
|
|
196
212
|
}];
|
|
197
213
|
readonly internalType: "struct MAODistribution.UserRankifySettings";
|
|
198
214
|
readonly name: "rankifySettings";
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqVrB,CAAC;AACX,eAAe,kBAAkB,CAAC"}
|
|
@@ -6,16 +6,6 @@ export const MAODistributionAbi = [
|
|
|
6
6
|
"name": "trustedForwarder",
|
|
7
7
|
"type": "address"
|
|
8
8
|
},
|
|
9
|
-
{
|
|
10
|
-
"internalType": "address",
|
|
11
|
-
"name": "paymentToken",
|
|
12
|
-
"type": "address"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"internalType": "address",
|
|
16
|
-
"name": "beneficiary",
|
|
17
|
-
"type": "address"
|
|
18
|
-
},
|
|
19
9
|
{
|
|
20
10
|
"internalType": "address[]",
|
|
21
11
|
"name": "zkpVerifier",
|
|
@@ -161,6 +151,16 @@ export const MAODistributionAbi = [
|
|
|
161
151
|
"internalType": "string",
|
|
162
152
|
"name": "tokenSymbol",
|
|
163
153
|
"type": "string"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"internalType": "uint256[]",
|
|
157
|
+
"name": "preMintAmounts",
|
|
158
|
+
"type": "uint256[]"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"internalType": "address[]",
|
|
162
|
+
"name": "preMintReceivers",
|
|
163
|
+
"type": "address[]"
|
|
164
164
|
}
|
|
165
165
|
],
|
|
166
166
|
"internalType": "struct MAODistribution.TokenArguments",
|
|
@@ -193,6 +193,11 @@ export const MAODistributionAbi = [
|
|
|
193
193
|
"internalType": "address",
|
|
194
194
|
"name": "owner",
|
|
195
195
|
"type": "address"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"internalType": "address",
|
|
199
|
+
"name": "paymentToken",
|
|
200
|
+
"type": "address"
|
|
196
201
|
}
|
|
197
202
|
],
|
|
198
203
|
"internalType": "struct MAODistribution.UserRankifySettings",
|
|
@@ -220,6 +225,16 @@ export const MAODistributionAbi = [
|
|
|
220
225
|
"internalType": "string",
|
|
221
226
|
"name": "tokenSymbol",
|
|
222
227
|
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"internalType": "uint256[]",
|
|
231
|
+
"name": "preMintAmounts",
|
|
232
|
+
"type": "uint256[]"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"internalType": "address[]",
|
|
236
|
+
"name": "preMintReceivers",
|
|
237
|
+
"type": "address[]"
|
|
223
238
|
}
|
|
224
239
|
],
|
|
225
240
|
"internalType": "struct MAODistribution.TokenArguments",
|
|
@@ -252,6 +267,11 @@ export const MAODistributionAbi = [
|
|
|
252
267
|
"internalType": "address",
|
|
253
268
|
"name": "owner",
|
|
254
269
|
"type": "address"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"internalType": "address",
|
|
273
|
+
"name": "paymentToken",
|
|
274
|
+
"type": "address"
|
|
255
275
|
}
|
|
256
276
|
],
|
|
257
277
|
"internalType": "struct MAODistribution.UserRankifySettings",
|