@peeramid-labs/sdk 3.2.0 → 3.3.1
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/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 +9 -5
- package/cli/cli/commands/fellowship/index.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/rankify/InstanceBase.js +22 -0
- package/cli/rankify/InstanceBase.js.map +1 -1
- package/docs/classes/GameMaster.md +57 -462
- package/docs/classes/InstanceBase.md +23 -14
- package/docs/classes/InstancePlayer.md +27 -12
- package/docs/classes/MAODistributorClient.md +1 -1
- package/docs/docs/classes/GameMaster.md +57 -462
- package/docs/docs/classes/InstanceBase.md +23 -14
- package/docs/docs/classes/InstancePlayer.md +27 -12
- package/docs/docs/classes/MAODistributorClient.md +1 -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/rankify/GameMaster.d.ts +49 -21
- package/lib.commonjs/rankify/GameMaster.d.ts.map +1 -1
- package/lib.commonjs/rankify/GameMaster.js +41 -43
- package/lib.commonjs/rankify/GameMaster.js.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.d.ts +1794 -1124
- package/lib.commonjs/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.js +22 -0
- package/lib.commonjs/rankify/InstanceBase.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/rankify/GameMaster.d.ts +49 -21
- package/lib.esm/rankify/GameMaster.d.ts.map +1 -1
- package/lib.esm/rankify/GameMaster.js +42 -44
- package/lib.esm/rankify/GameMaster.js.map +1 -1
- package/lib.esm/rankify/InstanceBase.d.ts +1794 -1124
- package/lib.esm/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.esm/rankify/InstanceBase.js +22 -0
- package/lib.esm/rankify/InstanceBase.js.map +1 -1
- package/package.json +3 -3
|
@@ -109,6 +109,7 @@ export { ReentrancyGuardUpgradeableAbi } from './ReentrancyGuardUpgradeable';
|
|
|
109
109
|
export { RepoAbi } from './Repo';
|
|
110
110
|
export { RepositoryAbi } from './Repository';
|
|
111
111
|
export { SafeCastAbi } from './SafeCast';
|
|
112
|
+
export { ShortStringsAbi } from './ShortStrings';
|
|
112
113
|
export { SimpleAccessManagerAbi } from './SimpleAccessManager';
|
|
113
114
|
export { StringsAbi } from './Strings';
|
|
114
115
|
export { Test1FacetAbi } from './Test1Facet';
|
|
@@ -655,9 +656,9 @@ declare const abis: {
|
|
|
655
656
|
readonly name: "initializerSelector";
|
|
656
657
|
readonly type: "bytes4";
|
|
657
658
|
}, {
|
|
658
|
-
readonly internalType: "
|
|
659
|
+
readonly internalType: "string";
|
|
659
660
|
readonly name: "_distributionName";
|
|
660
|
-
readonly type: "
|
|
661
|
+
readonly type: "string";
|
|
661
662
|
}, {
|
|
662
663
|
readonly components: readonly [{
|
|
663
664
|
readonly internalType: "uint64";
|
|
@@ -719,6 +720,14 @@ declare const abis: {
|
|
|
719
720
|
readonly inputs: readonly [];
|
|
720
721
|
readonly name: "ERC1167FailedCreateClone";
|
|
721
722
|
readonly type: "error";
|
|
723
|
+
}, {
|
|
724
|
+
readonly inputs: readonly [{
|
|
725
|
+
readonly internalType: "string";
|
|
726
|
+
readonly name: "str";
|
|
727
|
+
readonly type: "string";
|
|
728
|
+
}];
|
|
729
|
+
readonly name: "StringTooLong";
|
|
730
|
+
readonly type: "error";
|
|
722
731
|
}, {
|
|
723
732
|
readonly anonymous: false;
|
|
724
733
|
readonly inputs: readonly [{
|
|
@@ -3822,6 +3831,14 @@ declare const abis: {
|
|
|
3822
3831
|
readonly internalType: "bytes32";
|
|
3823
3832
|
readonly name: "_TYPE_HASH";
|
|
3824
3833
|
readonly type: "bytes32";
|
|
3834
|
+
}, {
|
|
3835
|
+
readonly internalType: "string";
|
|
3836
|
+
readonly name: "_NAME";
|
|
3837
|
+
readonly type: "string";
|
|
3838
|
+
}, {
|
|
3839
|
+
readonly internalType: "string";
|
|
3840
|
+
readonly name: "_VERSION";
|
|
3841
|
+
readonly type: "string";
|
|
3825
3842
|
}];
|
|
3826
3843
|
readonly stateMutability: "view";
|
|
3827
3844
|
readonly type: "function";
|
|
@@ -12838,6 +12855,31 @@ declare const abis: {
|
|
|
12838
12855
|
}];
|
|
12839
12856
|
readonly name: "PlayerLeft";
|
|
12840
12857
|
readonly type: "event";
|
|
12858
|
+
}, {
|
|
12859
|
+
readonly anonymous: false;
|
|
12860
|
+
readonly inputs: readonly [{
|
|
12861
|
+
readonly indexed: true;
|
|
12862
|
+
readonly internalType: "address";
|
|
12863
|
+
readonly name: "player";
|
|
12864
|
+
readonly type: "address";
|
|
12865
|
+
}, {
|
|
12866
|
+
readonly indexed: false;
|
|
12867
|
+
readonly internalType: "uint256";
|
|
12868
|
+
readonly name: "rankId";
|
|
12869
|
+
readonly type: "uint256";
|
|
12870
|
+
}, {
|
|
12871
|
+
readonly indexed: false;
|
|
12872
|
+
readonly internalType: "uint256";
|
|
12873
|
+
readonly name: "amount";
|
|
12874
|
+
readonly type: "uint256";
|
|
12875
|
+
}, {
|
|
12876
|
+
readonly indexed: false;
|
|
12877
|
+
readonly internalType: "uint256";
|
|
12878
|
+
readonly name: "_toMint";
|
|
12879
|
+
readonly type: "uint256";
|
|
12880
|
+
}];
|
|
12881
|
+
readonly name: "RankTokenExited";
|
|
12882
|
+
readonly type: "event";
|
|
12841
12883
|
}, {
|
|
12842
12884
|
readonly anonymous: false;
|
|
12843
12885
|
readonly inputs: readonly [{
|
|
@@ -14850,9 +14892,9 @@ declare const abis: {
|
|
|
14850
14892
|
readonly name: "governanceERC20BaseId";
|
|
14851
14893
|
readonly type: "bytes32";
|
|
14852
14894
|
}, {
|
|
14853
|
-
readonly internalType: "
|
|
14895
|
+
readonly internalType: "string";
|
|
14854
14896
|
readonly name: "distributionName";
|
|
14855
|
-
readonly type: "
|
|
14897
|
+
readonly type: "string";
|
|
14856
14898
|
}, {
|
|
14857
14899
|
readonly components: readonly [{
|
|
14858
14900
|
readonly internalType: "uint64";
|
|
@@ -14870,6 +14912,10 @@ declare const abis: {
|
|
|
14870
14912
|
readonly internalType: "struct LibSemver.Version";
|
|
14871
14913
|
readonly name: "distributionVersion";
|
|
14872
14914
|
readonly type: "tuple";
|
|
14915
|
+
}, {
|
|
14916
|
+
readonly internalType: "uint256";
|
|
14917
|
+
readonly name: "minParticipantsInCircle";
|
|
14918
|
+
readonly type: "uint256";
|
|
14873
14919
|
}];
|
|
14874
14920
|
readonly stateMutability: "nonpayable";
|
|
14875
14921
|
readonly type: "constructor";
|
|
@@ -14877,6 +14923,18 @@ declare const abis: {
|
|
|
14877
14923
|
readonly inputs: readonly [];
|
|
14878
14924
|
readonly name: "ERC1167FailedCreateClone";
|
|
14879
14925
|
readonly type: "error";
|
|
14926
|
+
}, {
|
|
14927
|
+
readonly inputs: readonly [];
|
|
14928
|
+
readonly name: "InvalidShortString";
|
|
14929
|
+
readonly type: "error";
|
|
14930
|
+
}, {
|
|
14931
|
+
readonly inputs: readonly [{
|
|
14932
|
+
readonly internalType: "string";
|
|
14933
|
+
readonly name: "str";
|
|
14934
|
+
readonly type: "string";
|
|
14935
|
+
}];
|
|
14936
|
+
readonly name: "StringTooLong";
|
|
14937
|
+
readonly type: "error";
|
|
14880
14938
|
}, {
|
|
14881
14939
|
readonly anonymous: false;
|
|
14882
14940
|
readonly inputs: readonly [{
|
|
@@ -14926,10 +14984,6 @@ declare const abis: {
|
|
|
14926
14984
|
readonly internalType: "uint96";
|
|
14927
14985
|
readonly name: "principalTimeConstant";
|
|
14928
14986
|
readonly type: "uint96";
|
|
14929
|
-
}, {
|
|
14930
|
-
readonly internalType: "string";
|
|
14931
|
-
readonly name: "metadata";
|
|
14932
|
-
readonly type: "string";
|
|
14933
14987
|
}, {
|
|
14934
14988
|
readonly internalType: "string";
|
|
14935
14989
|
readonly name: "rankTokenURI";
|
|
@@ -14971,10 +15025,6 @@ declare const abis: {
|
|
|
14971
15025
|
readonly internalType: "uint96";
|
|
14972
15026
|
readonly name: "principalTimeConstant";
|
|
14973
15027
|
readonly type: "uint96";
|
|
14974
|
-
}, {
|
|
14975
|
-
readonly internalType: "string";
|
|
14976
|
-
readonly name: "metadata";
|
|
14977
|
-
readonly type: "string";
|
|
14978
15028
|
}, {
|
|
14979
15029
|
readonly internalType: "string";
|
|
14980
15030
|
readonly name: "rankTokenURI";
|
|
@@ -21582,6 +21632,14 @@ declare const abis: {
|
|
|
21582
21632
|
readonly internalType: "bytes32";
|
|
21583
21633
|
readonly name: "_TYPE_HASH";
|
|
21584
21634
|
readonly type: "bytes32";
|
|
21635
|
+
}, {
|
|
21636
|
+
readonly internalType: "string";
|
|
21637
|
+
readonly name: "_NAME";
|
|
21638
|
+
readonly type: "string";
|
|
21639
|
+
}, {
|
|
21640
|
+
readonly internalType: "string";
|
|
21641
|
+
readonly name: "_VERSION";
|
|
21642
|
+
readonly type: "string";
|
|
21585
21643
|
}];
|
|
21586
21644
|
readonly stateMutability: "view";
|
|
21587
21645
|
readonly type: "function";
|
|
@@ -21923,6 +21981,31 @@ declare const abis: {
|
|
|
21923
21981
|
}];
|
|
21924
21982
|
readonly name: "PlayerLeft";
|
|
21925
21983
|
readonly type: "event";
|
|
21984
|
+
}, {
|
|
21985
|
+
readonly anonymous: false;
|
|
21986
|
+
readonly inputs: readonly [{
|
|
21987
|
+
readonly indexed: true;
|
|
21988
|
+
readonly internalType: "address";
|
|
21989
|
+
readonly name: "player";
|
|
21990
|
+
readonly type: "address";
|
|
21991
|
+
}, {
|
|
21992
|
+
readonly indexed: false;
|
|
21993
|
+
readonly internalType: "uint256";
|
|
21994
|
+
readonly name: "rankId";
|
|
21995
|
+
readonly type: "uint256";
|
|
21996
|
+
}, {
|
|
21997
|
+
readonly indexed: false;
|
|
21998
|
+
readonly internalType: "uint256";
|
|
21999
|
+
readonly name: "amount";
|
|
22000
|
+
readonly type: "uint256";
|
|
22001
|
+
}, {
|
|
22002
|
+
readonly indexed: false;
|
|
22003
|
+
readonly internalType: "uint256";
|
|
22004
|
+
readonly name: "_toMint";
|
|
22005
|
+
readonly type: "uint256";
|
|
22006
|
+
}];
|
|
22007
|
+
readonly name: "RankTokenExited";
|
|
22008
|
+
readonly type: "event";
|
|
21926
22009
|
}, {
|
|
21927
22010
|
readonly anonymous: false;
|
|
21928
22011
|
readonly inputs: readonly [{
|
|
@@ -22057,6 +22140,20 @@ declare const abis: {
|
|
|
22057
22140
|
}];
|
|
22058
22141
|
readonly stateMutability: "pure";
|
|
22059
22142
|
readonly type: "function";
|
|
22143
|
+
}, {
|
|
22144
|
+
readonly inputs: readonly [{
|
|
22145
|
+
readonly internalType: "uint256";
|
|
22146
|
+
readonly name: "rankId";
|
|
22147
|
+
readonly type: "uint256";
|
|
22148
|
+
}, {
|
|
22149
|
+
readonly internalType: "uint256";
|
|
22150
|
+
readonly name: "amount";
|
|
22151
|
+
readonly type: "uint256";
|
|
22152
|
+
}];
|
|
22153
|
+
readonly name: "exitRankToken";
|
|
22154
|
+
readonly outputs: readonly [];
|
|
22155
|
+
readonly stateMutability: "nonpayable";
|
|
22156
|
+
readonly type: "function";
|
|
22060
22157
|
}, {
|
|
22061
22158
|
readonly inputs: readonly [{
|
|
22062
22159
|
readonly internalType: "uint256";
|
|
@@ -22104,6 +22201,14 @@ declare const abis: {
|
|
|
22104
22201
|
readonly internalType: "address";
|
|
22105
22202
|
readonly name: "beneficiary";
|
|
22106
22203
|
readonly type: "address";
|
|
22204
|
+
}, {
|
|
22205
|
+
readonly internalType: "uint256";
|
|
22206
|
+
readonly name: "minimumParticipantsInCircle";
|
|
22207
|
+
readonly type: "uint256";
|
|
22208
|
+
}, {
|
|
22209
|
+
readonly internalType: "address";
|
|
22210
|
+
readonly name: "derivedToken";
|
|
22211
|
+
readonly type: "address";
|
|
22107
22212
|
}];
|
|
22108
22213
|
readonly internalType: "struct LibRankify.CommonParams";
|
|
22109
22214
|
readonly name: "commonParams";
|
|
@@ -22143,134 +22248,6 @@ declare const abis: {
|
|
|
22143
22248
|
}];
|
|
22144
22249
|
readonly stateMutability: "view";
|
|
22145
22250
|
readonly type: "function";
|
|
22146
|
-
}, {
|
|
22147
|
-
readonly inputs: readonly [{
|
|
22148
|
-
readonly internalType: "uint256";
|
|
22149
|
-
readonly name: "gameId";
|
|
22150
|
-
readonly type: "uint256";
|
|
22151
|
-
}];
|
|
22152
|
-
readonly name: "getGameState";
|
|
22153
|
-
readonly outputs: readonly [{
|
|
22154
|
-
readonly components: readonly [{
|
|
22155
|
-
readonly internalType: "uint256";
|
|
22156
|
-
readonly name: "rank";
|
|
22157
|
-
readonly type: "uint256";
|
|
22158
|
-
}, {
|
|
22159
|
-
readonly internalType: "uint256";
|
|
22160
|
-
readonly name: "minGameTime";
|
|
22161
|
-
readonly type: "uint256";
|
|
22162
|
-
}, {
|
|
22163
|
-
readonly internalType: "address";
|
|
22164
|
-
readonly name: "createdBy";
|
|
22165
|
-
readonly type: "address";
|
|
22166
|
-
}, {
|
|
22167
|
-
readonly internalType: "uint256";
|
|
22168
|
-
readonly name: "numOngoingProposals";
|
|
22169
|
-
readonly type: "uint256";
|
|
22170
|
-
}, {
|
|
22171
|
-
readonly internalType: "uint256";
|
|
22172
|
-
readonly name: "numPrevProposals";
|
|
22173
|
-
readonly type: "uint256";
|
|
22174
|
-
}, {
|
|
22175
|
-
readonly internalType: "uint256";
|
|
22176
|
-
readonly name: "numCommitments";
|
|
22177
|
-
readonly type: "uint256";
|
|
22178
|
-
}, {
|
|
22179
|
-
readonly internalType: "uint256";
|
|
22180
|
-
readonly name: "numVotesThisTurn";
|
|
22181
|
-
readonly type: "uint256";
|
|
22182
|
-
}, {
|
|
22183
|
-
readonly internalType: "uint256";
|
|
22184
|
-
readonly name: "numVotesPrevTurn";
|
|
22185
|
-
readonly type: "uint256";
|
|
22186
|
-
}, {
|
|
22187
|
-
readonly components: readonly [{
|
|
22188
|
-
readonly internalType: "uint256";
|
|
22189
|
-
readonly name: "voteCredits";
|
|
22190
|
-
readonly type: "uint256";
|
|
22191
|
-
}, {
|
|
22192
|
-
readonly internalType: "uint256";
|
|
22193
|
-
readonly name: "maxQuadraticPoints";
|
|
22194
|
-
readonly type: "uint256";
|
|
22195
|
-
}, {
|
|
22196
|
-
readonly internalType: "uint256";
|
|
22197
|
-
readonly name: "minQuadraticPositions";
|
|
22198
|
-
readonly type: "uint256";
|
|
22199
|
-
}];
|
|
22200
|
-
readonly internalType: "struct LibQuadraticVoting.qVotingStruct";
|
|
22201
|
-
readonly name: "voting";
|
|
22202
|
-
readonly type: "tuple";
|
|
22203
|
-
}, {
|
|
22204
|
-
readonly internalType: "uint256";
|
|
22205
|
-
readonly name: "currentTurn";
|
|
22206
|
-
readonly type: "uint256";
|
|
22207
|
-
}, {
|
|
22208
|
-
readonly internalType: "uint256";
|
|
22209
|
-
readonly name: "turnStartedAt";
|
|
22210
|
-
readonly type: "uint256";
|
|
22211
|
-
}, {
|
|
22212
|
-
readonly internalType: "uint256";
|
|
22213
|
-
readonly name: "registrationOpenAt";
|
|
22214
|
-
readonly type: "uint256";
|
|
22215
|
-
}, {
|
|
22216
|
-
readonly internalType: "uint256";
|
|
22217
|
-
readonly name: "startedAt";
|
|
22218
|
-
readonly type: "uint256";
|
|
22219
|
-
}, {
|
|
22220
|
-
readonly internalType: "bool";
|
|
22221
|
-
readonly name: "hasStarted";
|
|
22222
|
-
readonly type: "bool";
|
|
22223
|
-
}, {
|
|
22224
|
-
readonly internalType: "bool";
|
|
22225
|
-
readonly name: "hasEnded";
|
|
22226
|
-
readonly type: "bool";
|
|
22227
|
-
}, {
|
|
22228
|
-
readonly internalType: "uint256";
|
|
22229
|
-
readonly name: "numPlayersMadeMove";
|
|
22230
|
-
readonly type: "uint256";
|
|
22231
|
-
}, {
|
|
22232
|
-
readonly internalType: "uint256";
|
|
22233
|
-
readonly name: "numActivePlayers";
|
|
22234
|
-
readonly type: "uint256";
|
|
22235
|
-
}, {
|
|
22236
|
-
readonly internalType: "bool";
|
|
22237
|
-
readonly name: "isOvertime";
|
|
22238
|
-
readonly type: "bool";
|
|
22239
|
-
}, {
|
|
22240
|
-
readonly internalType: "uint256";
|
|
22241
|
-
readonly name: "timePerTurn";
|
|
22242
|
-
readonly type: "uint256";
|
|
22243
|
-
}, {
|
|
22244
|
-
readonly internalType: "uint256";
|
|
22245
|
-
readonly name: "maxPlayerCnt";
|
|
22246
|
-
readonly type: "uint256";
|
|
22247
|
-
}, {
|
|
22248
|
-
readonly internalType: "uint256";
|
|
22249
|
-
readonly name: "minPlayerCnt";
|
|
22250
|
-
readonly type: "uint256";
|
|
22251
|
-
}, {
|
|
22252
|
-
readonly internalType: "uint256";
|
|
22253
|
-
readonly name: "timeToJoin";
|
|
22254
|
-
readonly type: "uint256";
|
|
22255
|
-
}, {
|
|
22256
|
-
readonly internalType: "uint256";
|
|
22257
|
-
readonly name: "maxTurns";
|
|
22258
|
-
readonly type: "uint256";
|
|
22259
|
-
}, {
|
|
22260
|
-
readonly internalType: "uint256";
|
|
22261
|
-
readonly name: "voteCredits";
|
|
22262
|
-
readonly type: "uint256";
|
|
22263
|
-
}, {
|
|
22264
|
-
readonly internalType: "address";
|
|
22265
|
-
readonly name: "gameMaster";
|
|
22266
|
-
readonly type: "address";
|
|
22267
|
-
}];
|
|
22268
|
-
readonly internalType: "struct IRankifyInstance.GameStateOutput";
|
|
22269
|
-
readonly name: "state";
|
|
22270
|
-
readonly type: "tuple";
|
|
22271
|
-
}];
|
|
22272
|
-
readonly stateMutability: "view";
|
|
22273
|
-
readonly type: "function";
|
|
22274
22251
|
}, {
|
|
22275
22252
|
readonly inputs: readonly [{
|
|
22276
22253
|
readonly internalType: "uint256";
|
|
@@ -22710,29 +22687,196 @@ declare const abis: {
|
|
|
22710
22687
|
readonly name: "RequirementsConfigured";
|
|
22711
22688
|
readonly type: "event";
|
|
22712
22689
|
}, {
|
|
22713
|
-
readonly inputs: readonly [
|
|
22714
|
-
|
|
22715
|
-
readonly name: "gameId";
|
|
22716
|
-
readonly type: "uint256";
|
|
22717
|
-
}];
|
|
22718
|
-
readonly name: "getJoinRequirements";
|
|
22690
|
+
readonly inputs: readonly [];
|
|
22691
|
+
readonly name: "getCommonParams";
|
|
22719
22692
|
readonly outputs: readonly [{
|
|
22720
22693
|
readonly components: readonly [{
|
|
22721
|
-
readonly
|
|
22722
|
-
|
|
22723
|
-
|
|
22724
|
-
|
|
22725
|
-
|
|
22726
|
-
|
|
22727
|
-
|
|
22728
|
-
|
|
22729
|
-
|
|
22730
|
-
|
|
22731
|
-
|
|
22732
|
-
|
|
22733
|
-
|
|
22734
|
-
|
|
22735
|
-
|
|
22694
|
+
readonly internalType: "uint256";
|
|
22695
|
+
readonly name: "principalCost";
|
|
22696
|
+
readonly type: "uint256";
|
|
22697
|
+
}, {
|
|
22698
|
+
readonly internalType: "uint96";
|
|
22699
|
+
readonly name: "principalTimeConstant";
|
|
22700
|
+
readonly type: "uint96";
|
|
22701
|
+
}, {
|
|
22702
|
+
readonly internalType: "address";
|
|
22703
|
+
readonly name: "gamePaymentToken";
|
|
22704
|
+
readonly type: "address";
|
|
22705
|
+
}, {
|
|
22706
|
+
readonly internalType: "address";
|
|
22707
|
+
readonly name: "rankTokenAddress";
|
|
22708
|
+
readonly type: "address";
|
|
22709
|
+
}, {
|
|
22710
|
+
readonly internalType: "address";
|
|
22711
|
+
readonly name: "beneficiary";
|
|
22712
|
+
readonly type: "address";
|
|
22713
|
+
}, {
|
|
22714
|
+
readonly internalType: "uint256";
|
|
22715
|
+
readonly name: "minimumParticipantsInCircle";
|
|
22716
|
+
readonly type: "uint256";
|
|
22717
|
+
}, {
|
|
22718
|
+
readonly internalType: "address";
|
|
22719
|
+
readonly name: "derivedToken";
|
|
22720
|
+
readonly type: "address";
|
|
22721
|
+
}];
|
|
22722
|
+
readonly internalType: "struct LibRankify.CommonParams";
|
|
22723
|
+
readonly name: "";
|
|
22724
|
+
readonly type: "tuple";
|
|
22725
|
+
}];
|
|
22726
|
+
readonly stateMutability: "view";
|
|
22727
|
+
readonly type: "function";
|
|
22728
|
+
}, {
|
|
22729
|
+
readonly inputs: readonly [{
|
|
22730
|
+
readonly internalType: "uint256";
|
|
22731
|
+
readonly name: "gameId";
|
|
22732
|
+
readonly type: "uint256";
|
|
22733
|
+
}];
|
|
22734
|
+
readonly name: "getGameState";
|
|
22735
|
+
readonly outputs: readonly [{
|
|
22736
|
+
readonly components: readonly [{
|
|
22737
|
+
readonly internalType: "uint256";
|
|
22738
|
+
readonly name: "rank";
|
|
22739
|
+
readonly type: "uint256";
|
|
22740
|
+
}, {
|
|
22741
|
+
readonly internalType: "uint256";
|
|
22742
|
+
readonly name: "minGameTime";
|
|
22743
|
+
readonly type: "uint256";
|
|
22744
|
+
}, {
|
|
22745
|
+
readonly internalType: "address";
|
|
22746
|
+
readonly name: "createdBy";
|
|
22747
|
+
readonly type: "address";
|
|
22748
|
+
}, {
|
|
22749
|
+
readonly internalType: "uint256";
|
|
22750
|
+
readonly name: "numOngoingProposals";
|
|
22751
|
+
readonly type: "uint256";
|
|
22752
|
+
}, {
|
|
22753
|
+
readonly internalType: "uint256";
|
|
22754
|
+
readonly name: "numPrevProposals";
|
|
22755
|
+
readonly type: "uint256";
|
|
22756
|
+
}, {
|
|
22757
|
+
readonly internalType: "uint256";
|
|
22758
|
+
readonly name: "numCommitments";
|
|
22759
|
+
readonly type: "uint256";
|
|
22760
|
+
}, {
|
|
22761
|
+
readonly internalType: "uint256";
|
|
22762
|
+
readonly name: "numVotesThisTurn";
|
|
22763
|
+
readonly type: "uint256";
|
|
22764
|
+
}, {
|
|
22765
|
+
readonly internalType: "uint256";
|
|
22766
|
+
readonly name: "numVotesPrevTurn";
|
|
22767
|
+
readonly type: "uint256";
|
|
22768
|
+
}, {
|
|
22769
|
+
readonly components: readonly [{
|
|
22770
|
+
readonly internalType: "uint256";
|
|
22771
|
+
readonly name: "voteCredits";
|
|
22772
|
+
readonly type: "uint256";
|
|
22773
|
+
}, {
|
|
22774
|
+
readonly internalType: "uint256";
|
|
22775
|
+
readonly name: "maxQuadraticPoints";
|
|
22776
|
+
readonly type: "uint256";
|
|
22777
|
+
}, {
|
|
22778
|
+
readonly internalType: "uint256";
|
|
22779
|
+
readonly name: "minQuadraticPositions";
|
|
22780
|
+
readonly type: "uint256";
|
|
22781
|
+
}];
|
|
22782
|
+
readonly internalType: "struct LibQuadraticVoting.qVotingStruct";
|
|
22783
|
+
readonly name: "voting";
|
|
22784
|
+
readonly type: "tuple";
|
|
22785
|
+
}, {
|
|
22786
|
+
readonly internalType: "uint256";
|
|
22787
|
+
readonly name: "currentTurn";
|
|
22788
|
+
readonly type: "uint256";
|
|
22789
|
+
}, {
|
|
22790
|
+
readonly internalType: "uint256";
|
|
22791
|
+
readonly name: "turnStartedAt";
|
|
22792
|
+
readonly type: "uint256";
|
|
22793
|
+
}, {
|
|
22794
|
+
readonly internalType: "uint256";
|
|
22795
|
+
readonly name: "registrationOpenAt";
|
|
22796
|
+
readonly type: "uint256";
|
|
22797
|
+
}, {
|
|
22798
|
+
readonly internalType: "uint256";
|
|
22799
|
+
readonly name: "startedAt";
|
|
22800
|
+
readonly type: "uint256";
|
|
22801
|
+
}, {
|
|
22802
|
+
readonly internalType: "bool";
|
|
22803
|
+
readonly name: "hasStarted";
|
|
22804
|
+
readonly type: "bool";
|
|
22805
|
+
}, {
|
|
22806
|
+
readonly internalType: "bool";
|
|
22807
|
+
readonly name: "hasEnded";
|
|
22808
|
+
readonly type: "bool";
|
|
22809
|
+
}, {
|
|
22810
|
+
readonly internalType: "uint256";
|
|
22811
|
+
readonly name: "numPlayersMadeMove";
|
|
22812
|
+
readonly type: "uint256";
|
|
22813
|
+
}, {
|
|
22814
|
+
readonly internalType: "uint256";
|
|
22815
|
+
readonly name: "numActivePlayers";
|
|
22816
|
+
readonly type: "uint256";
|
|
22817
|
+
}, {
|
|
22818
|
+
readonly internalType: "bool";
|
|
22819
|
+
readonly name: "isOvertime";
|
|
22820
|
+
readonly type: "bool";
|
|
22821
|
+
}, {
|
|
22822
|
+
readonly internalType: "uint256";
|
|
22823
|
+
readonly name: "timePerTurn";
|
|
22824
|
+
readonly type: "uint256";
|
|
22825
|
+
}, {
|
|
22826
|
+
readonly internalType: "uint256";
|
|
22827
|
+
readonly name: "maxPlayerCnt";
|
|
22828
|
+
readonly type: "uint256";
|
|
22829
|
+
}, {
|
|
22830
|
+
readonly internalType: "uint256";
|
|
22831
|
+
readonly name: "minPlayerCnt";
|
|
22832
|
+
readonly type: "uint256";
|
|
22833
|
+
}, {
|
|
22834
|
+
readonly internalType: "uint256";
|
|
22835
|
+
readonly name: "timeToJoin";
|
|
22836
|
+
readonly type: "uint256";
|
|
22837
|
+
}, {
|
|
22838
|
+
readonly internalType: "uint256";
|
|
22839
|
+
readonly name: "maxTurns";
|
|
22840
|
+
readonly type: "uint256";
|
|
22841
|
+
}, {
|
|
22842
|
+
readonly internalType: "uint256";
|
|
22843
|
+
readonly name: "voteCredits";
|
|
22844
|
+
readonly type: "uint256";
|
|
22845
|
+
}, {
|
|
22846
|
+
readonly internalType: "address";
|
|
22847
|
+
readonly name: "gameMaster";
|
|
22848
|
+
readonly type: "address";
|
|
22849
|
+
}];
|
|
22850
|
+
readonly internalType: "struct IRankifyInstance.GameStateOutput";
|
|
22851
|
+
readonly name: "state";
|
|
22852
|
+
readonly type: "tuple";
|
|
22853
|
+
}];
|
|
22854
|
+
readonly stateMutability: "view";
|
|
22855
|
+
readonly type: "function";
|
|
22856
|
+
}, {
|
|
22857
|
+
readonly inputs: readonly [{
|
|
22858
|
+
readonly internalType: "uint256";
|
|
22859
|
+
readonly name: "gameId";
|
|
22860
|
+
readonly type: "uint256";
|
|
22861
|
+
}];
|
|
22862
|
+
readonly name: "getJoinRequirements";
|
|
22863
|
+
readonly outputs: readonly [{
|
|
22864
|
+
readonly components: readonly [{
|
|
22865
|
+
readonly components: readonly [{
|
|
22866
|
+
readonly internalType: "uint256";
|
|
22867
|
+
readonly name: "have";
|
|
22868
|
+
readonly type: "uint256";
|
|
22869
|
+
}, {
|
|
22870
|
+
readonly internalType: "uint256";
|
|
22871
|
+
readonly name: "lock";
|
|
22872
|
+
readonly type: "uint256";
|
|
22873
|
+
}, {
|
|
22874
|
+
readonly internalType: "uint256";
|
|
22875
|
+
readonly name: "burn";
|
|
22876
|
+
readonly type: "uint256";
|
|
22877
|
+
}, {
|
|
22878
|
+
readonly internalType: "uint256";
|
|
22879
|
+
readonly name: "pay";
|
|
22736
22880
|
readonly type: "uint256";
|
|
22737
22881
|
}, {
|
|
22738
22882
|
readonly internalType: "uint256";
|
|
@@ -23653,6 +23797,10 @@ declare const abis: {
|
|
|
23653
23797
|
readonly internalType: "uint96";
|
|
23654
23798
|
readonly name: "principalTimeConstant";
|
|
23655
23799
|
readonly type: "uint96";
|
|
23800
|
+
}, {
|
|
23801
|
+
readonly internalType: "uint256";
|
|
23802
|
+
readonly name: "minimumParticipantsInCircle";
|
|
23803
|
+
readonly type: "uint256";
|
|
23656
23804
|
}, {
|
|
23657
23805
|
readonly internalType: "address";
|
|
23658
23806
|
readonly name: "paymentToken";
|
|
@@ -23661,6 +23809,10 @@ declare const abis: {
|
|
|
23661
23809
|
readonly internalType: "address";
|
|
23662
23810
|
readonly name: "beneficiary";
|
|
23663
23811
|
readonly type: "address";
|
|
23812
|
+
}, {
|
|
23813
|
+
readonly internalType: "address";
|
|
23814
|
+
readonly name: "derivedToken";
|
|
23815
|
+
readonly type: "address";
|
|
23664
23816
|
}];
|
|
23665
23817
|
readonly internalType: "struct RankifyInstanceInit.contractInitializer";
|
|
23666
23818
|
readonly name: "initData";
|
|
@@ -23761,6 +23913,31 @@ declare const abis: {
|
|
|
23761
23913
|
}];
|
|
23762
23914
|
readonly name: "PlayerLeft";
|
|
23763
23915
|
readonly type: "event";
|
|
23916
|
+
}, {
|
|
23917
|
+
readonly anonymous: false;
|
|
23918
|
+
readonly inputs: readonly [{
|
|
23919
|
+
readonly indexed: true;
|
|
23920
|
+
readonly internalType: "address";
|
|
23921
|
+
readonly name: "player";
|
|
23922
|
+
readonly type: "address";
|
|
23923
|
+
}, {
|
|
23924
|
+
readonly indexed: false;
|
|
23925
|
+
readonly internalType: "uint256";
|
|
23926
|
+
readonly name: "rankId";
|
|
23927
|
+
readonly type: "uint256";
|
|
23928
|
+
}, {
|
|
23929
|
+
readonly indexed: false;
|
|
23930
|
+
readonly internalType: "uint256";
|
|
23931
|
+
readonly name: "amount";
|
|
23932
|
+
readonly type: "uint256";
|
|
23933
|
+
}, {
|
|
23934
|
+
readonly indexed: false;
|
|
23935
|
+
readonly internalType: "uint256";
|
|
23936
|
+
readonly name: "_toMint";
|
|
23937
|
+
readonly type: "uint256";
|
|
23938
|
+
}];
|
|
23939
|
+
readonly name: "RankTokenExited";
|
|
23940
|
+
readonly type: "event";
|
|
23764
23941
|
}, {
|
|
23765
23942
|
readonly anonymous: false;
|
|
23766
23943
|
readonly inputs: readonly [{
|
|
@@ -23898,88 +24075,16 @@ declare const abis: {
|
|
|
23898
24075
|
}, {
|
|
23899
24076
|
readonly inputs: readonly [{
|
|
23900
24077
|
readonly internalType: "uint256";
|
|
23901
|
-
readonly name: "
|
|
24078
|
+
readonly name: "rankId";
|
|
23902
24079
|
readonly type: "uint256";
|
|
23903
|
-
}
|
|
23904
|
-
readonly name: "gameCreator";
|
|
23905
|
-
readonly outputs: readonly [{
|
|
23906
|
-
readonly internalType: "address";
|
|
23907
|
-
readonly name: "";
|
|
23908
|
-
readonly type: "address";
|
|
23909
|
-
}];
|
|
23910
|
-
readonly stateMutability: "view";
|
|
23911
|
-
readonly type: "function";
|
|
23912
|
-
}, {
|
|
23913
|
-
readonly inputs: readonly [];
|
|
23914
|
-
readonly name: "getContractState";
|
|
23915
|
-
readonly outputs: readonly [{
|
|
23916
|
-
readonly components: readonly [{
|
|
23917
|
-
readonly internalType: "uint256";
|
|
23918
|
-
readonly name: "numGames";
|
|
23919
|
-
readonly type: "uint256";
|
|
23920
|
-
}, {
|
|
23921
|
-
readonly internalType: "bool";
|
|
23922
|
-
readonly name: "contractInitialized";
|
|
23923
|
-
readonly type: "bool";
|
|
23924
|
-
}, {
|
|
23925
|
-
readonly components: readonly [{
|
|
23926
|
-
readonly internalType: "uint256";
|
|
23927
|
-
readonly name: "principalCost";
|
|
23928
|
-
readonly type: "uint256";
|
|
23929
|
-
}, {
|
|
23930
|
-
readonly internalType: "uint96";
|
|
23931
|
-
readonly name: "principalTimeConstant";
|
|
23932
|
-
readonly type: "uint96";
|
|
23933
|
-
}, {
|
|
23934
|
-
readonly internalType: "address";
|
|
23935
|
-
readonly name: "gamePaymentToken";
|
|
23936
|
-
readonly type: "address";
|
|
23937
|
-
}, {
|
|
23938
|
-
readonly internalType: "address";
|
|
23939
|
-
readonly name: "rankTokenAddress";
|
|
23940
|
-
readonly type: "address";
|
|
23941
|
-
}, {
|
|
23942
|
-
readonly internalType: "address";
|
|
23943
|
-
readonly name: "beneficiary";
|
|
23944
|
-
readonly type: "address";
|
|
23945
|
-
}];
|
|
23946
|
-
readonly internalType: "struct LibRankify.CommonParams";
|
|
23947
|
-
readonly name: "commonParams";
|
|
23948
|
-
readonly type: "tuple";
|
|
23949
|
-
}];
|
|
23950
|
-
readonly internalType: "struct LibRankify.InstanceState";
|
|
23951
|
-
readonly name: "";
|
|
23952
|
-
readonly type: "tuple";
|
|
23953
|
-
}];
|
|
23954
|
-
readonly stateMutability: "pure";
|
|
23955
|
-
readonly type: "function";
|
|
23956
|
-
}, {
|
|
23957
|
-
readonly inputs: readonly [{
|
|
23958
|
-
readonly internalType: "uint256";
|
|
23959
|
-
readonly name: "gameId";
|
|
23960
|
-
readonly type: "uint256";
|
|
23961
|
-
}];
|
|
23962
|
-
readonly name: "getGM";
|
|
23963
|
-
readonly outputs: readonly [{
|
|
23964
|
-
readonly internalType: "address";
|
|
23965
|
-
readonly name: "";
|
|
23966
|
-
readonly type: "address";
|
|
23967
|
-
}];
|
|
23968
|
-
readonly stateMutability: "view";
|
|
23969
|
-
readonly type: "function";
|
|
23970
|
-
}, {
|
|
23971
|
-
readonly inputs: readonly [{
|
|
23972
|
-
readonly internalType: "uint256";
|
|
23973
|
-
readonly name: "gameId";
|
|
23974
|
-
readonly type: "uint256";
|
|
23975
|
-
}];
|
|
23976
|
-
readonly name: "getGameRank";
|
|
23977
|
-
readonly outputs: readonly [{
|
|
24080
|
+
}, {
|
|
23978
24081
|
readonly internalType: "uint256";
|
|
23979
|
-
readonly name: "";
|
|
24082
|
+
readonly name: "amount";
|
|
23980
24083
|
readonly type: "uint256";
|
|
23981
24084
|
}];
|
|
23982
|
-
readonly
|
|
24085
|
+
readonly name: "exitRankToken";
|
|
24086
|
+
readonly outputs: readonly [];
|
|
24087
|
+
readonly stateMutability: "nonpayable";
|
|
23983
24088
|
readonly type: "function";
|
|
23984
24089
|
}, {
|
|
23985
24090
|
readonly inputs: readonly [{
|
|
@@ -23987,126 +24092,92 @@ declare const abis: {
|
|
|
23987
24092
|
readonly name: "gameId";
|
|
23988
24093
|
readonly type: "uint256";
|
|
23989
24094
|
}];
|
|
23990
|
-
readonly name: "
|
|
23991
|
-
readonly outputs: readonly [{
|
|
23992
|
-
readonly
|
|
23993
|
-
|
|
23994
|
-
|
|
23995
|
-
|
|
23996
|
-
|
|
23997
|
-
|
|
23998
|
-
|
|
23999
|
-
|
|
24000
|
-
|
|
24001
|
-
|
|
24002
|
-
|
|
24003
|
-
readonly type: "address";
|
|
24004
|
-
}, {
|
|
24005
|
-
readonly internalType: "uint256";
|
|
24006
|
-
readonly name: "numOngoingProposals";
|
|
24007
|
-
readonly type: "uint256";
|
|
24008
|
-
}, {
|
|
24009
|
-
readonly internalType: "uint256";
|
|
24010
|
-
readonly name: "numPrevProposals";
|
|
24011
|
-
readonly type: "uint256";
|
|
24012
|
-
}, {
|
|
24013
|
-
readonly internalType: "uint256";
|
|
24014
|
-
readonly name: "numCommitments";
|
|
24015
|
-
readonly type: "uint256";
|
|
24016
|
-
}, {
|
|
24017
|
-
readonly internalType: "uint256";
|
|
24018
|
-
readonly name: "numVotesThisTurn";
|
|
24019
|
-
readonly type: "uint256";
|
|
24020
|
-
}, {
|
|
24021
|
-
readonly internalType: "uint256";
|
|
24022
|
-
readonly name: "numVotesPrevTurn";
|
|
24023
|
-
readonly type: "uint256";
|
|
24024
|
-
}, {
|
|
24025
|
-
readonly components: readonly [{
|
|
24026
|
-
readonly internalType: "uint256";
|
|
24027
|
-
readonly name: "voteCredits";
|
|
24028
|
-
readonly type: "uint256";
|
|
24029
|
-
}, {
|
|
24030
|
-
readonly internalType: "uint256";
|
|
24031
|
-
readonly name: "maxQuadraticPoints";
|
|
24032
|
-
readonly type: "uint256";
|
|
24033
|
-
}, {
|
|
24034
|
-
readonly internalType: "uint256";
|
|
24035
|
-
readonly name: "minQuadraticPositions";
|
|
24036
|
-
readonly type: "uint256";
|
|
24037
|
-
}];
|
|
24038
|
-
readonly internalType: "struct LibQuadraticVoting.qVotingStruct";
|
|
24039
|
-
readonly name: "voting";
|
|
24040
|
-
readonly type: "tuple";
|
|
24041
|
-
}, {
|
|
24042
|
-
readonly internalType: "uint256";
|
|
24043
|
-
readonly name: "currentTurn";
|
|
24044
|
-
readonly type: "uint256";
|
|
24045
|
-
}, {
|
|
24046
|
-
readonly internalType: "uint256";
|
|
24047
|
-
readonly name: "turnStartedAt";
|
|
24048
|
-
readonly type: "uint256";
|
|
24049
|
-
}, {
|
|
24050
|
-
readonly internalType: "uint256";
|
|
24051
|
-
readonly name: "registrationOpenAt";
|
|
24052
|
-
readonly type: "uint256";
|
|
24053
|
-
}, {
|
|
24054
|
-
readonly internalType: "uint256";
|
|
24055
|
-
readonly name: "startedAt";
|
|
24056
|
-
readonly type: "uint256";
|
|
24057
|
-
}, {
|
|
24058
|
-
readonly internalType: "bool";
|
|
24059
|
-
readonly name: "hasStarted";
|
|
24060
|
-
readonly type: "bool";
|
|
24061
|
-
}, {
|
|
24062
|
-
readonly internalType: "bool";
|
|
24063
|
-
readonly name: "hasEnded";
|
|
24064
|
-
readonly type: "bool";
|
|
24065
|
-
}, {
|
|
24066
|
-
readonly internalType: "uint256";
|
|
24067
|
-
readonly name: "numPlayersMadeMove";
|
|
24068
|
-
readonly type: "uint256";
|
|
24069
|
-
}, {
|
|
24070
|
-
readonly internalType: "uint256";
|
|
24071
|
-
readonly name: "numActivePlayers";
|
|
24072
|
-
readonly type: "uint256";
|
|
24073
|
-
}, {
|
|
24074
|
-
readonly internalType: "bool";
|
|
24075
|
-
readonly name: "isOvertime";
|
|
24076
|
-
readonly type: "bool";
|
|
24077
|
-
}, {
|
|
24078
|
-
readonly internalType: "uint256";
|
|
24079
|
-
readonly name: "timePerTurn";
|
|
24080
|
-
readonly type: "uint256";
|
|
24081
|
-
}, {
|
|
24082
|
-
readonly internalType: "uint256";
|
|
24083
|
-
readonly name: "maxPlayerCnt";
|
|
24084
|
-
readonly type: "uint256";
|
|
24085
|
-
}, {
|
|
24086
|
-
readonly internalType: "uint256";
|
|
24087
|
-
readonly name: "minPlayerCnt";
|
|
24088
|
-
readonly type: "uint256";
|
|
24089
|
-
}, {
|
|
24090
|
-
readonly internalType: "uint256";
|
|
24091
|
-
readonly name: "timeToJoin";
|
|
24092
|
-
readonly type: "uint256";
|
|
24093
|
-
}, {
|
|
24095
|
+
readonly name: "gameCreator";
|
|
24096
|
+
readonly outputs: readonly [{
|
|
24097
|
+
readonly internalType: "address";
|
|
24098
|
+
readonly name: "";
|
|
24099
|
+
readonly type: "address";
|
|
24100
|
+
}];
|
|
24101
|
+
readonly stateMutability: "view";
|
|
24102
|
+
readonly type: "function";
|
|
24103
|
+
}, {
|
|
24104
|
+
readonly inputs: readonly [];
|
|
24105
|
+
readonly name: "getContractState";
|
|
24106
|
+
readonly outputs: readonly [{
|
|
24107
|
+
readonly components: readonly [{
|
|
24094
24108
|
readonly internalType: "uint256";
|
|
24095
|
-
readonly name: "
|
|
24109
|
+
readonly name: "numGames";
|
|
24096
24110
|
readonly type: "uint256";
|
|
24097
24111
|
}, {
|
|
24098
|
-
readonly internalType: "
|
|
24099
|
-
readonly name: "
|
|
24100
|
-
readonly type: "
|
|
24112
|
+
readonly internalType: "bool";
|
|
24113
|
+
readonly name: "contractInitialized";
|
|
24114
|
+
readonly type: "bool";
|
|
24101
24115
|
}, {
|
|
24102
|
-
readonly
|
|
24103
|
-
|
|
24104
|
-
|
|
24116
|
+
readonly components: readonly [{
|
|
24117
|
+
readonly internalType: "uint256";
|
|
24118
|
+
readonly name: "principalCost";
|
|
24119
|
+
readonly type: "uint256";
|
|
24120
|
+
}, {
|
|
24121
|
+
readonly internalType: "uint96";
|
|
24122
|
+
readonly name: "principalTimeConstant";
|
|
24123
|
+
readonly type: "uint96";
|
|
24124
|
+
}, {
|
|
24125
|
+
readonly internalType: "address";
|
|
24126
|
+
readonly name: "gamePaymentToken";
|
|
24127
|
+
readonly type: "address";
|
|
24128
|
+
}, {
|
|
24129
|
+
readonly internalType: "address";
|
|
24130
|
+
readonly name: "rankTokenAddress";
|
|
24131
|
+
readonly type: "address";
|
|
24132
|
+
}, {
|
|
24133
|
+
readonly internalType: "address";
|
|
24134
|
+
readonly name: "beneficiary";
|
|
24135
|
+
readonly type: "address";
|
|
24136
|
+
}, {
|
|
24137
|
+
readonly internalType: "uint256";
|
|
24138
|
+
readonly name: "minimumParticipantsInCircle";
|
|
24139
|
+
readonly type: "uint256";
|
|
24140
|
+
}, {
|
|
24141
|
+
readonly internalType: "address";
|
|
24142
|
+
readonly name: "derivedToken";
|
|
24143
|
+
readonly type: "address";
|
|
24144
|
+
}];
|
|
24145
|
+
readonly internalType: "struct LibRankify.CommonParams";
|
|
24146
|
+
readonly name: "commonParams";
|
|
24147
|
+
readonly type: "tuple";
|
|
24105
24148
|
}];
|
|
24106
|
-
readonly internalType: "struct
|
|
24107
|
-
readonly name: "
|
|
24149
|
+
readonly internalType: "struct LibRankify.InstanceState";
|
|
24150
|
+
readonly name: "";
|
|
24108
24151
|
readonly type: "tuple";
|
|
24109
24152
|
}];
|
|
24153
|
+
readonly stateMutability: "pure";
|
|
24154
|
+
readonly type: "function";
|
|
24155
|
+
}, {
|
|
24156
|
+
readonly inputs: readonly [{
|
|
24157
|
+
readonly internalType: "uint256";
|
|
24158
|
+
readonly name: "gameId";
|
|
24159
|
+
readonly type: "uint256";
|
|
24160
|
+
}];
|
|
24161
|
+
readonly name: "getGM";
|
|
24162
|
+
readonly outputs: readonly [{
|
|
24163
|
+
readonly internalType: "address";
|
|
24164
|
+
readonly name: "";
|
|
24165
|
+
readonly type: "address";
|
|
24166
|
+
}];
|
|
24167
|
+
readonly stateMutability: "view";
|
|
24168
|
+
readonly type: "function";
|
|
24169
|
+
}, {
|
|
24170
|
+
readonly inputs: readonly [{
|
|
24171
|
+
readonly internalType: "uint256";
|
|
24172
|
+
readonly name: "gameId";
|
|
24173
|
+
readonly type: "uint256";
|
|
24174
|
+
}];
|
|
24175
|
+
readonly name: "getGameRank";
|
|
24176
|
+
readonly outputs: readonly [{
|
|
24177
|
+
readonly internalType: "uint256";
|
|
24178
|
+
readonly name: "";
|
|
24179
|
+
readonly type: "uint256";
|
|
24180
|
+
}];
|
|
24110
24181
|
readonly stateMutability: "view";
|
|
24111
24182
|
readonly type: "function";
|
|
24112
24183
|
}, {
|
|
@@ -24548,6 +24619,173 @@ declare const abis: {
|
|
|
24548
24619
|
}];
|
|
24549
24620
|
readonly name: "RequirementsConfigured";
|
|
24550
24621
|
readonly type: "event";
|
|
24622
|
+
}, {
|
|
24623
|
+
readonly inputs: readonly [];
|
|
24624
|
+
readonly name: "getCommonParams";
|
|
24625
|
+
readonly outputs: readonly [{
|
|
24626
|
+
readonly components: readonly [{
|
|
24627
|
+
readonly internalType: "uint256";
|
|
24628
|
+
readonly name: "principalCost";
|
|
24629
|
+
readonly type: "uint256";
|
|
24630
|
+
}, {
|
|
24631
|
+
readonly internalType: "uint96";
|
|
24632
|
+
readonly name: "principalTimeConstant";
|
|
24633
|
+
readonly type: "uint96";
|
|
24634
|
+
}, {
|
|
24635
|
+
readonly internalType: "address";
|
|
24636
|
+
readonly name: "gamePaymentToken";
|
|
24637
|
+
readonly type: "address";
|
|
24638
|
+
}, {
|
|
24639
|
+
readonly internalType: "address";
|
|
24640
|
+
readonly name: "rankTokenAddress";
|
|
24641
|
+
readonly type: "address";
|
|
24642
|
+
}, {
|
|
24643
|
+
readonly internalType: "address";
|
|
24644
|
+
readonly name: "beneficiary";
|
|
24645
|
+
readonly type: "address";
|
|
24646
|
+
}, {
|
|
24647
|
+
readonly internalType: "uint256";
|
|
24648
|
+
readonly name: "minimumParticipantsInCircle";
|
|
24649
|
+
readonly type: "uint256";
|
|
24650
|
+
}, {
|
|
24651
|
+
readonly internalType: "address";
|
|
24652
|
+
readonly name: "derivedToken";
|
|
24653
|
+
readonly type: "address";
|
|
24654
|
+
}];
|
|
24655
|
+
readonly internalType: "struct LibRankify.CommonParams";
|
|
24656
|
+
readonly name: "";
|
|
24657
|
+
readonly type: "tuple";
|
|
24658
|
+
}];
|
|
24659
|
+
readonly stateMutability: "view";
|
|
24660
|
+
readonly type: "function";
|
|
24661
|
+
}, {
|
|
24662
|
+
readonly inputs: readonly [{
|
|
24663
|
+
readonly internalType: "uint256";
|
|
24664
|
+
readonly name: "gameId";
|
|
24665
|
+
readonly type: "uint256";
|
|
24666
|
+
}];
|
|
24667
|
+
readonly name: "getGameState";
|
|
24668
|
+
readonly outputs: readonly [{
|
|
24669
|
+
readonly components: readonly [{
|
|
24670
|
+
readonly internalType: "uint256";
|
|
24671
|
+
readonly name: "rank";
|
|
24672
|
+
readonly type: "uint256";
|
|
24673
|
+
}, {
|
|
24674
|
+
readonly internalType: "uint256";
|
|
24675
|
+
readonly name: "minGameTime";
|
|
24676
|
+
readonly type: "uint256";
|
|
24677
|
+
}, {
|
|
24678
|
+
readonly internalType: "address";
|
|
24679
|
+
readonly name: "createdBy";
|
|
24680
|
+
readonly type: "address";
|
|
24681
|
+
}, {
|
|
24682
|
+
readonly internalType: "uint256";
|
|
24683
|
+
readonly name: "numOngoingProposals";
|
|
24684
|
+
readonly type: "uint256";
|
|
24685
|
+
}, {
|
|
24686
|
+
readonly internalType: "uint256";
|
|
24687
|
+
readonly name: "numPrevProposals";
|
|
24688
|
+
readonly type: "uint256";
|
|
24689
|
+
}, {
|
|
24690
|
+
readonly internalType: "uint256";
|
|
24691
|
+
readonly name: "numCommitments";
|
|
24692
|
+
readonly type: "uint256";
|
|
24693
|
+
}, {
|
|
24694
|
+
readonly internalType: "uint256";
|
|
24695
|
+
readonly name: "numVotesThisTurn";
|
|
24696
|
+
readonly type: "uint256";
|
|
24697
|
+
}, {
|
|
24698
|
+
readonly internalType: "uint256";
|
|
24699
|
+
readonly name: "numVotesPrevTurn";
|
|
24700
|
+
readonly type: "uint256";
|
|
24701
|
+
}, {
|
|
24702
|
+
readonly components: readonly [{
|
|
24703
|
+
readonly internalType: "uint256";
|
|
24704
|
+
readonly name: "voteCredits";
|
|
24705
|
+
readonly type: "uint256";
|
|
24706
|
+
}, {
|
|
24707
|
+
readonly internalType: "uint256";
|
|
24708
|
+
readonly name: "maxQuadraticPoints";
|
|
24709
|
+
readonly type: "uint256";
|
|
24710
|
+
}, {
|
|
24711
|
+
readonly internalType: "uint256";
|
|
24712
|
+
readonly name: "minQuadraticPositions";
|
|
24713
|
+
readonly type: "uint256";
|
|
24714
|
+
}];
|
|
24715
|
+
readonly internalType: "struct LibQuadraticVoting.qVotingStruct";
|
|
24716
|
+
readonly name: "voting";
|
|
24717
|
+
readonly type: "tuple";
|
|
24718
|
+
}, {
|
|
24719
|
+
readonly internalType: "uint256";
|
|
24720
|
+
readonly name: "currentTurn";
|
|
24721
|
+
readonly type: "uint256";
|
|
24722
|
+
}, {
|
|
24723
|
+
readonly internalType: "uint256";
|
|
24724
|
+
readonly name: "turnStartedAt";
|
|
24725
|
+
readonly type: "uint256";
|
|
24726
|
+
}, {
|
|
24727
|
+
readonly internalType: "uint256";
|
|
24728
|
+
readonly name: "registrationOpenAt";
|
|
24729
|
+
readonly type: "uint256";
|
|
24730
|
+
}, {
|
|
24731
|
+
readonly internalType: "uint256";
|
|
24732
|
+
readonly name: "startedAt";
|
|
24733
|
+
readonly type: "uint256";
|
|
24734
|
+
}, {
|
|
24735
|
+
readonly internalType: "bool";
|
|
24736
|
+
readonly name: "hasStarted";
|
|
24737
|
+
readonly type: "bool";
|
|
24738
|
+
}, {
|
|
24739
|
+
readonly internalType: "bool";
|
|
24740
|
+
readonly name: "hasEnded";
|
|
24741
|
+
readonly type: "bool";
|
|
24742
|
+
}, {
|
|
24743
|
+
readonly internalType: "uint256";
|
|
24744
|
+
readonly name: "numPlayersMadeMove";
|
|
24745
|
+
readonly type: "uint256";
|
|
24746
|
+
}, {
|
|
24747
|
+
readonly internalType: "uint256";
|
|
24748
|
+
readonly name: "numActivePlayers";
|
|
24749
|
+
readonly type: "uint256";
|
|
24750
|
+
}, {
|
|
24751
|
+
readonly internalType: "bool";
|
|
24752
|
+
readonly name: "isOvertime";
|
|
24753
|
+
readonly type: "bool";
|
|
24754
|
+
}, {
|
|
24755
|
+
readonly internalType: "uint256";
|
|
24756
|
+
readonly name: "timePerTurn";
|
|
24757
|
+
readonly type: "uint256";
|
|
24758
|
+
}, {
|
|
24759
|
+
readonly internalType: "uint256";
|
|
24760
|
+
readonly name: "maxPlayerCnt";
|
|
24761
|
+
readonly type: "uint256";
|
|
24762
|
+
}, {
|
|
24763
|
+
readonly internalType: "uint256";
|
|
24764
|
+
readonly name: "minPlayerCnt";
|
|
24765
|
+
readonly type: "uint256";
|
|
24766
|
+
}, {
|
|
24767
|
+
readonly internalType: "uint256";
|
|
24768
|
+
readonly name: "timeToJoin";
|
|
24769
|
+
readonly type: "uint256";
|
|
24770
|
+
}, {
|
|
24771
|
+
readonly internalType: "uint256";
|
|
24772
|
+
readonly name: "maxTurns";
|
|
24773
|
+
readonly type: "uint256";
|
|
24774
|
+
}, {
|
|
24775
|
+
readonly internalType: "uint256";
|
|
24776
|
+
readonly name: "voteCredits";
|
|
24777
|
+
readonly type: "uint256";
|
|
24778
|
+
}, {
|
|
24779
|
+
readonly internalType: "address";
|
|
24780
|
+
readonly name: "gameMaster";
|
|
24781
|
+
readonly type: "address";
|
|
24782
|
+
}];
|
|
24783
|
+
readonly internalType: "struct IRankifyInstance.GameStateOutput";
|
|
24784
|
+
readonly name: "state";
|
|
24785
|
+
readonly type: "tuple";
|
|
24786
|
+
}];
|
|
24787
|
+
readonly stateMutability: "view";
|
|
24788
|
+
readonly type: "function";
|
|
24551
24789
|
}, {
|
|
24552
24790
|
readonly inputs: readonly [{
|
|
24553
24791
|
readonly internalType: "uint256";
|
|
@@ -25686,6 +25924,19 @@ declare const abis: {
|
|
|
25686
25924
|
readonly name: "SafeCastOverflowedUintToInt";
|
|
25687
25925
|
readonly type: "error";
|
|
25688
25926
|
}];
|
|
25927
|
+
readonly ShortStringsAbi: readonly [{
|
|
25928
|
+
readonly inputs: readonly [];
|
|
25929
|
+
readonly name: "InvalidShortString";
|
|
25930
|
+
readonly type: "error";
|
|
25931
|
+
}, {
|
|
25932
|
+
readonly inputs: readonly [{
|
|
25933
|
+
readonly internalType: "string";
|
|
25934
|
+
readonly name: "str";
|
|
25935
|
+
readonly type: "string";
|
|
25936
|
+
}];
|
|
25937
|
+
readonly name: "StringTooLong";
|
|
25938
|
+
readonly type: "error";
|
|
25939
|
+
}];
|
|
25689
25940
|
readonly SimpleAccessManagerAbi: readonly [{
|
|
25690
25941
|
readonly inputs: readonly [];
|
|
25691
25942
|
readonly stateMutability: "nonpayable";
|