@peeramid-labs/sdk 3.15.0 → 3.16.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/README.md +34 -0
- package/cli/abis/ArguableVotingTournament.js +10 -0
- package/cli/abis/ArguableVotingTournament.js.map +1 -1
- package/cli/abis/MAODistribution.js +16 -0
- package/cli/abis/MAODistribution.js.map +1 -1
- package/cli/abis/MockShortStrings.js +37 -0
- package/cli/abis/MockShortStrings.js.map +1 -0
- package/cli/abis/Multipass.js +7 -1
- package/cli/abis/Multipass.js.map +1 -1
- package/cli/abis/PausableUpgradeable.js +79 -0
- package/cli/abis/PausableUpgradeable.js.map +1 -0
- package/cli/abis/RankToken.js +38 -0
- package/cli/abis/RankToken.js.map +1 -1
- package/cli/abis/RankifyDiamondInstance.js +1987 -756
- package/cli/abis/RankifyDiamondInstance.js.map +1 -1
- package/cli/abis/RankifyInstanceInit.js +190 -0
- package/cli/abis/RankifyInstanceInit.js.map +1 -1
- package/cli/abis/RankifyInstanceMainFacet.js +38 -0
- package/cli/abis/RankifyInstanceMainFacet.js.map +1 -1
- package/cli/abis/RankifyOwnersFacet.js +78 -0
- package/cli/abis/RankifyOwnersFacet.js.map +1 -0
- package/cli/abis/UBI.js +775 -0
- package/cli/abis/UBI.js.map +1 -0
- package/cli/abis/index.js +19 -1
- package/cli/abis/index.js.map +1 -1
- package/cli/abis/superinterface.js +3049 -0
- package/cli/abis/superinterface.js.map +1 -0
- package/cli/cli/commands/blockchain/mine.js +0 -2
- package/cli/cli/commands/blockchain/mine.js.map +1 -1
- package/cli/cli/commands/fellowship/game/create.js +45 -1
- package/cli/cli/commands/fellowship/game/create.js.map +1 -1
- package/cli/cli/commands/fellowship/game/end-proposing.js +2 -2
- package/cli/cli/commands/fellowship/game/end-proposing.js.map +1 -1
- package/cli/cli/commands/fellowship/game/end-voting.js +2 -2
- package/cli/cli/commands/fellowship/game/end-voting.js.map +1 -1
- package/cli/cli/commands/fellowship/game/join.js +2 -1
- package/cli/cli/commands/fellowship/game/join.js.map +1 -1
- package/cli/cli/commands/fellowship/game/start.js +0 -17
- package/cli/cli/commands/fellowship/game/start.js.map +1 -1
- package/cli/cli/commands/fellowship/game/vote.js +2 -1
- package/cli/cli/commands/fellowship/game/vote.js.map +1 -1
- package/cli/cli/commands/fellowship/gameMaster/add.js +52 -0
- package/cli/cli/commands/fellowship/gameMaster/add.js.map +1 -0
- package/cli/cli/commands/fellowship/gameMaster/index.js +7 -0
- package/cli/cli/commands/fellowship/gameMaster/index.js.map +1 -0
- package/cli/cli/commands/fellowship/index.js +3 -1
- package/cli/cli/commands/fellowship/index.js.map +1 -1
- package/cli/cli/commands/instances/list.js +6 -0
- package/cli/cli/commands/instances/list.js.map +1 -1
- package/cli/cli/commands/multipass/contract.js +26 -0
- package/cli/cli/commands/multipass/contract.js.map +1 -1
- package/cli/cli/commands/multipass/domain.js +44 -1
- package/cli/cli/commands/multipass/domain.js.map +1 -1
- package/cli/cli/commands/multipass/domains.js +16 -2
- package/cli/cli/commands/multipass/domains.js.map +1 -1
- package/cli/cli/playbooks/demo-script.js +192 -0
- package/cli/cli/playbooks/demo-script.js.map +1 -0
- package/cli/cli/playbooks/demoScript.js +190 -0
- package/cli/cli/playbooks/demoScript.js.map +1 -0
- package/cli/cli/playbooks/initGameMaster.js +50 -0
- package/cli/cli/playbooks/initGameMaster.js.map +1 -0
- package/cli/cli/playbooks/playbookRunner.js +80 -0
- package/cli/cli/playbooks/playbookRunner.js.map +1 -0
- package/cli/cli/playbooks/push-game-to-next-phase.js +162 -0
- package/cli/cli/playbooks/push-game-to-next-phase.js.map +1 -0
- package/cli/cli/playbooks/utils.js +210 -0
- package/cli/cli/playbooks/utils.js.map +1 -0
- package/cli/multipass/MultipassBase.js +38 -70
- package/cli/multipass/MultipassBase.js.map +1 -1
- package/cli/multipass/Owner.js +34 -16
- package/cli/multipass/Owner.js.map +1 -1
- package/cli/rankify/GameMaster.js.map +1 -1
- package/cli/rankify/InstanceAdmininstrative.js +70 -0
- package/cli/rankify/InstanceAdmininstrative.js.map +1 -0
- package/cli/rankify/InstanceBase.js +14 -0
- package/cli/rankify/InstanceBase.js.map +1 -1
- package/cli/rankify/Player.js +24 -1
- package/cli/rankify/Player.js.map +1 -1
- package/cli/types.js +7 -1
- package/cli/types.js.map +1 -1
- package/cli/utils/EnvioGraphQLClient.js +468 -0
- package/cli/utils/EnvioGraphQLClient.js.map +1 -1
- package/cli/utils/artifacts.js +15 -3
- package/cli/utils/artifacts.js.map +1 -1
- package/cli/utils/chainMapping.js +0 -1
- package/cli/utils/chainMapping.js.map +1 -1
- package/docs/classes/EnvioGraphQLClient.md +368 -0
- package/docs/classes/GameMaster.md +19 -0
- package/docs/classes/InstanceBase.md +19 -0
- package/docs/classes/InstancePlayer.md +22 -8
- package/docs/classes/InstanceUBI.md +1591 -0
- package/docs/classes/Multipass.md +31 -4
- package/docs/classes/MultipassBase.md +26 -3
- package/docs/docs/classes/EnvioGraphQLClient.md +368 -0
- package/docs/docs/classes/GameMaster.md +19 -0
- package/docs/docs/classes/InstanceBase.md +19 -0
- package/docs/docs/classes/InstancePlayer.md +22 -8
- package/docs/docs/classes/InstanceUBI.md +1591 -0
- package/docs/docs/classes/Multipass.md +31 -4
- package/docs/docs/classes/MultipassBase.md +26 -3
- package/docs/docs/enums/ContractTypes.md +27 -0
- package/docs/docs/index.md +24 -8
- package/docs/docs/interfaces/ContractCondition.md +41 -0
- package/docs/docs/interfaces/DailyProposal.md +36 -0
- package/docs/docs/interfaces/JoinRequirementsInput.md +20 -0
- package/docs/docs/interfaces/ProposalGlobalStats.md +29 -0
- package/docs/docs/interfaces/TransactionProperties.md +20 -0
- package/docs/docs/interfaces/UBIParams.md +29 -0
- package/docs/docs/interfaces/UserState.md +22 -0
- package/docs/docs/interfaces/VoteElement.md +22 -0
- package/docs/docs/interfaces/configSmartRequirement.md +34 -0
- package/docs/docs/interfaces/numericConditon.md +41 -0
- package/docs/enums/ContractTypes.md +27 -0
- package/docs/index.md +24 -8
- package/docs/interfaces/ContractCondition.md +41 -0
- package/docs/interfaces/DailyProposal.md +36 -0
- package/docs/interfaces/JoinRequirementsInput.md +20 -0
- package/docs/interfaces/ProposalGlobalStats.md +29 -0
- package/docs/interfaces/TransactionProperties.md +20 -0
- package/docs/interfaces/UBIParams.md +29 -0
- package/docs/interfaces/UserState.md +22 -0
- package/docs/interfaces/VoteElement.md +22 -0
- package/docs/interfaces/configSmartRequirement.md +34 -0
- package/docs/interfaces/numericConditon.md +41 -0
- package/lib.commonjs/abis/ArguableVotingTournament.d.ts +8 -0
- package/lib.commonjs/abis/ArguableVotingTournament.d.ts.map +1 -1
- package/lib.commonjs/abis/ArguableVotingTournament.js +10 -0
- package/lib.commonjs/abis/ArguableVotingTournament.js.map +1 -1
- package/lib.commonjs/abis/MAODistribution.d.ts +12 -0
- package/lib.commonjs/abis/MAODistribution.d.ts.map +1 -1
- package/lib.commonjs/abis/MAODistribution.js +16 -0
- package/lib.commonjs/abis/MAODistribution.js.map +1 -1
- package/lib.commonjs/abis/MockShortStrings.d.ts +25 -0
- package/lib.commonjs/abis/MockShortStrings.d.ts.map +1 -0
- package/lib.commonjs/abis/MockShortStrings.js +37 -0
- package/lib.commonjs/abis/MockShortStrings.js.map +1 -0
- package/lib.commonjs/abis/Multipass.d.ts +5 -1
- package/lib.commonjs/abis/Multipass.d.ts.map +1 -1
- package/lib.commonjs/abis/Multipass.js +7 -1
- package/lib.commonjs/abis/Multipass.js.map +1 -1
- package/lib.commonjs/abis/PausableUpgradeable.d.ts +59 -0
- package/lib.commonjs/abis/PausableUpgradeable.d.ts.map +1 -0
- package/lib.commonjs/abis/PausableUpgradeable.js +79 -0
- package/lib.commonjs/abis/PausableUpgradeable.js.map +1 -0
- package/lib.commonjs/abis/RankToken.d.ts +30 -0
- package/lib.commonjs/abis/RankToken.d.ts.map +1 -1
- package/lib.commonjs/abis/RankToken.js +38 -0
- package/lib.commonjs/abis/RankToken.js.map +1 -1
- package/lib.commonjs/abis/RankifyDiamondInstance.d.ts +970 -9
- package/lib.commonjs/abis/RankifyDiamondInstance.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyDiamondInstance.js +1987 -756
- package/lib.commonjs/abis/RankifyDiamondInstance.js.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceInit.d.ts +150 -0
- package/lib.commonjs/abis/RankifyInstanceInit.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceInit.js +190 -0
- package/lib.commonjs/abis/RankifyInstanceInit.js.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceMainFacet.d.ts +30 -0
- package/lib.commonjs/abis/RankifyInstanceMainFacet.d.ts.map +1 -1
- package/lib.commonjs/abis/RankifyInstanceMainFacet.js +38 -0
- package/lib.commonjs/abis/RankifyInstanceMainFacet.js.map +1 -1
- package/lib.commonjs/abis/RankifyOwnersFacet.d.ts +57 -0
- package/lib.commonjs/abis/RankifyOwnersFacet.d.ts.map +1 -0
- package/lib.commonjs/abis/RankifyOwnersFacet.js +78 -0
- package/lib.commonjs/abis/RankifyOwnersFacet.js.map +1 -0
- package/lib.commonjs/abis/UBI.d.ts +601 -0
- package/lib.commonjs/abis/UBI.d.ts.map +1 -0
- package/lib.commonjs/abis/UBI.js +775 -0
- package/lib.commonjs/abis/UBI.js.map +1 -0
- package/lib.commonjs/abis/index.d.ts +1935 -1
- package/lib.commonjs/abis/index.d.ts.map +1 -1
- package/lib.commonjs/abis/index.js +19 -1
- package/lib.commonjs/abis/index.js.map +1 -1
- package/lib.commonjs/abis/superinterface.d.ts +3 -0
- package/lib.commonjs/abis/superinterface.d.ts.map +1 -0
- package/lib.commonjs/abis/superinterface.js +3049 -0
- package/lib.commonjs/abis/superinterface.js.map +1 -0
- package/lib.commonjs/index.d.ts +2 -0
- package/lib.commonjs/index.d.ts.map +1 -1
- package/lib.commonjs/index.js +3 -1
- package/lib.commonjs/index.js.map +1 -1
- package/lib.commonjs/multipass/MultipassBase.d.ts +18 -4
- package/lib.commonjs/multipass/MultipassBase.d.ts.map +1 -1
- package/lib.commonjs/multipass/MultipassBase.js +39 -71
- package/lib.commonjs/multipass/MultipassBase.js.map +1 -1
- package/lib.commonjs/multipass/Owner.d.ts +22 -8
- package/lib.commonjs/multipass/Owner.d.ts.map +1 -1
- package/lib.commonjs/multipass/Owner.js +34 -16
- package/lib.commonjs/multipass/Owner.js.map +1 -1
- package/lib.commonjs/multipass/Registrar.d.ts +3 -1
- package/lib.commonjs/multipass/Registrar.d.ts.map +1 -1
- package/lib.commonjs/multipass/Registrar.js +2 -2
- package/lib.commonjs/multipass/Registrar.js.map +1 -1
- package/lib.commonjs/rankify/GameMaster.d.ts +5 -1
- package/lib.commonjs/rankify/GameMaster.d.ts.map +1 -1
- package/lib.commonjs/rankify/GameMaster.js.map +1 -1
- package/lib.commonjs/rankify/InstanceAdmininstrative.d.ts +34 -0
- package/lib.commonjs/rankify/InstanceAdmininstrative.d.ts.map +1 -0
- package/lib.commonjs/rankify/InstanceAdmininstrative.js +74 -0
- package/lib.commonjs/rankify/InstanceAdmininstrative.js.map +1 -0
- package/lib.commonjs/rankify/InstanceBase.d.ts +1 -0
- package/lib.commonjs/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.commonjs/rankify/InstanceBase.js +14 -0
- package/lib.commonjs/rankify/InstanceBase.js.map +1 -1
- package/lib.commonjs/rankify/Player.d.ts +2 -36
- package/lib.commonjs/rankify/Player.d.ts.map +1 -1
- package/lib.commonjs/rankify/Player.js +24 -1
- package/lib.commonjs/rankify/Player.js.map +1 -1
- package/lib.commonjs/types.d.ts +33 -0
- package/lib.commonjs/types.d.ts.map +1 -1
- package/lib.commonjs/types.js +7 -1
- package/lib.commonjs/types.js.map +1 -1
- package/lib.commonjs/ubi/InstanceUBI.d.ts +548 -0
- package/lib.commonjs/ubi/InstanceUBI.d.ts.map +1 -0
- package/lib.commonjs/ubi/InstanceUBI.js +728 -0
- package/lib.commonjs/ubi/InstanceUBI.js.map +1 -0
- package/lib.commonjs/utils/EnvioGraphQLClient.d.ts +279 -0
- package/lib.commonjs/utils/EnvioGraphQLClient.d.ts.map +1 -1
- package/lib.commonjs/utils/EnvioGraphQLClient.js +468 -0
- package/lib.commonjs/utils/EnvioGraphQLClient.js.map +1 -1
- package/lib.commonjs/utils/artifacts.d.ts.map +1 -1
- package/lib.commonjs/utils/artifacts.js +15 -3
- package/lib.commonjs/utils/artifacts.js.map +1 -1
- package/lib.commonjs/utils/chainMapping.d.ts.map +1 -1
- package/lib.commonjs/utils/chainMapping.js +0 -1
- package/lib.commonjs/utils/chainMapping.js.map +1 -1
- package/lib.commonjs/utils/mockUtils.d.ts +3 -0
- package/lib.commonjs/utils/mockUtils.d.ts.map +1 -1
- package/lib.commonjs/utils/mockUtils.js +3 -0
- package/lib.commonjs/utils/mockUtils.js.map +1 -1
- package/lib.esm/abis/ArguableVotingTournament.d.ts +8 -0
- package/lib.esm/abis/ArguableVotingTournament.d.ts.map +1 -1
- package/lib.esm/abis/ArguableVotingTournament.js +10 -0
- package/lib.esm/abis/ArguableVotingTournament.js.map +1 -1
- package/lib.esm/abis/MAODistribution.d.ts +12 -0
- package/lib.esm/abis/MAODistribution.d.ts.map +1 -1
- package/lib.esm/abis/MAODistribution.js +16 -0
- package/lib.esm/abis/MAODistribution.js.map +1 -1
- package/lib.esm/abis/MockShortStrings.d.ts +25 -0
- package/lib.esm/abis/MockShortStrings.d.ts.map +1 -0
- package/lib.esm/abis/MockShortStrings.js +34 -0
- package/lib.esm/abis/MockShortStrings.js.map +1 -0
- package/lib.esm/abis/Multipass.d.ts +5 -1
- package/lib.esm/abis/Multipass.d.ts.map +1 -1
- package/lib.esm/abis/Multipass.js +7 -1
- package/lib.esm/abis/Multipass.js.map +1 -1
- package/lib.esm/abis/PausableUpgradeable.d.ts +59 -0
- package/lib.esm/abis/PausableUpgradeable.d.ts.map +1 -0
- package/lib.esm/abis/PausableUpgradeable.js +76 -0
- package/lib.esm/abis/PausableUpgradeable.js.map +1 -0
- package/lib.esm/abis/RankToken.d.ts +30 -0
- package/lib.esm/abis/RankToken.d.ts.map +1 -1
- package/lib.esm/abis/RankToken.js +38 -0
- package/lib.esm/abis/RankToken.js.map +1 -1
- package/lib.esm/abis/RankifyDiamondInstance.d.ts +970 -9
- package/lib.esm/abis/RankifyDiamondInstance.d.ts.map +1 -1
- package/lib.esm/abis/RankifyDiamondInstance.js +1987 -756
- package/lib.esm/abis/RankifyDiamondInstance.js.map +1 -1
- package/lib.esm/abis/RankifyInstanceInit.d.ts +150 -0
- package/lib.esm/abis/RankifyInstanceInit.d.ts.map +1 -1
- package/lib.esm/abis/RankifyInstanceInit.js +190 -0
- package/lib.esm/abis/RankifyInstanceInit.js.map +1 -1
- package/lib.esm/abis/RankifyInstanceMainFacet.d.ts +30 -0
- package/lib.esm/abis/RankifyInstanceMainFacet.d.ts.map +1 -1
- package/lib.esm/abis/RankifyInstanceMainFacet.js +38 -0
- package/lib.esm/abis/RankifyInstanceMainFacet.js.map +1 -1
- package/lib.esm/abis/RankifyOwnersFacet.d.ts +57 -0
- package/lib.esm/abis/RankifyOwnersFacet.d.ts.map +1 -0
- package/lib.esm/abis/RankifyOwnersFacet.js +75 -0
- package/lib.esm/abis/RankifyOwnersFacet.js.map +1 -0
- package/lib.esm/abis/UBI.d.ts +601 -0
- package/lib.esm/abis/UBI.d.ts.map +1 -0
- package/lib.esm/abis/UBI.js +772 -0
- package/lib.esm/abis/UBI.js.map +1 -0
- package/lib.esm/abis/index.d.ts +1935 -1
- package/lib.esm/abis/index.d.ts.map +1 -1
- package/lib.esm/abis/index.js +13 -0
- package/lib.esm/abis/index.js.map +1 -1
- package/lib.esm/abis/superinterface.d.ts +3 -0
- package/lib.esm/abis/superinterface.d.ts.map +1 -0
- package/lib.esm/abis/superinterface.js +3046 -0
- package/lib.esm/abis/superinterface.js.map +1 -0
- package/lib.esm/index.d.ts +2 -0
- package/lib.esm/index.d.ts.map +1 -1
- package/lib.esm/index.js +1 -0
- package/lib.esm/index.js.map +1 -1
- package/lib.esm/multipass/MultipassBase.d.ts +18 -4
- package/lib.esm/multipass/MultipassBase.d.ts.map +1 -1
- package/lib.esm/multipass/MultipassBase.js +40 -72
- package/lib.esm/multipass/MultipassBase.js.map +1 -1
- package/lib.esm/multipass/Owner.d.ts +22 -8
- package/lib.esm/multipass/Owner.d.ts.map +1 -1
- package/lib.esm/multipass/Owner.js +34 -16
- package/lib.esm/multipass/Owner.js.map +1 -1
- package/lib.esm/multipass/Registrar.d.ts +3 -1
- package/lib.esm/multipass/Registrar.d.ts.map +1 -1
- package/lib.esm/multipass/Registrar.js +2 -2
- package/lib.esm/multipass/Registrar.js.map +1 -1
- package/lib.esm/rankify/GameMaster.d.ts +5 -1
- package/lib.esm/rankify/GameMaster.d.ts.map +1 -1
- package/lib.esm/rankify/GameMaster.js.map +1 -1
- package/lib.esm/rankify/InstanceAdmininstrative.d.ts +34 -0
- package/lib.esm/rankify/InstanceAdmininstrative.d.ts.map +1 -0
- package/lib.esm/rankify/InstanceAdmininstrative.js +70 -0
- package/lib.esm/rankify/InstanceAdmininstrative.js.map +1 -0
- package/lib.esm/rankify/InstanceBase.d.ts +1 -0
- package/lib.esm/rankify/InstanceBase.d.ts.map +1 -1
- package/lib.esm/rankify/InstanceBase.js +14 -0
- package/lib.esm/rankify/InstanceBase.js.map +1 -1
- package/lib.esm/rankify/Player.d.ts +2 -36
- package/lib.esm/rankify/Player.d.ts.map +1 -1
- package/lib.esm/rankify/Player.js +24 -1
- package/lib.esm/rankify/Player.js.map +1 -1
- package/lib.esm/types.d.ts +33 -0
- package/lib.esm/types.d.ts.map +1 -1
- package/lib.esm/types.js +6 -0
- package/lib.esm/types.js.map +1 -1
- package/lib.esm/ubi/InstanceUBI.d.ts +548 -0
- package/lib.esm/ubi/InstanceUBI.d.ts.map +1 -0
- package/lib.esm/ubi/InstanceUBI.js +722 -0
- package/lib.esm/ubi/InstanceUBI.js.map +1 -0
- package/lib.esm/utils/EnvioGraphQLClient.d.ts +279 -0
- package/lib.esm/utils/EnvioGraphQLClient.d.ts.map +1 -1
- package/lib.esm/utils/EnvioGraphQLClient.js +468 -0
- package/lib.esm/utils/EnvioGraphQLClient.js.map +1 -1
- package/lib.esm/utils/artifacts.d.ts.map +1 -1
- package/lib.esm/utils/artifacts.js +15 -3
- package/lib.esm/utils/artifacts.js.map +1 -1
- package/lib.esm/utils/chainMapping.d.ts.map +1 -1
- package/lib.esm/utils/chainMapping.js +0 -1
- package/lib.esm/utils/chainMapping.js.map +1 -1
- package/lib.esm/utils/mockUtils.d.ts +3 -0
- package/lib.esm/utils/mockUtils.d.ts.map +1 -1
- package/lib.esm/utils/mockUtils.js +3 -0
- package/lib.esm/utils/mockUtils.js.map +1 -1
- package/package.json +6 -6
|
@@ -4,188 +4,86 @@ exports.RankifyDiamondInstanceAbi = void 0;
|
|
|
4
4
|
exports.RankifyDiamondInstanceAbi = [
|
|
5
5
|
{
|
|
6
6
|
"inputs": [],
|
|
7
|
-
"name": "
|
|
8
|
-
"
|
|
9
|
-
{
|
|
10
|
-
"internalType": "uint256",
|
|
11
|
-
"name": "",
|
|
12
|
-
"type": "uint256"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"stateMutability": "view",
|
|
16
|
-
"type": "function"
|
|
7
|
+
"name": "EnforcedPause",
|
|
8
|
+
"type": "error"
|
|
17
9
|
},
|
|
18
10
|
{
|
|
19
11
|
"inputs": [],
|
|
20
|
-
"name": "
|
|
21
|
-
"
|
|
22
|
-
{
|
|
23
|
-
"internalType": "bytes32",
|
|
24
|
-
"name": "_CACHED_DOMAIN_SEPARATOR",
|
|
25
|
-
"type": "bytes32"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"internalType": "uint256",
|
|
29
|
-
"name": "_CACHED_CHAIN_ID",
|
|
30
|
-
"type": "uint256"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"internalType": "address",
|
|
34
|
-
"name": "_CACHED_THIS",
|
|
35
|
-
"type": "address"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"internalType": "bytes32",
|
|
39
|
-
"name": "_HASHED_NAME",
|
|
40
|
-
"type": "bytes32"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"internalType": "bytes32",
|
|
44
|
-
"name": "_HASHED_VERSION",
|
|
45
|
-
"type": "bytes32"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"internalType": "bytes32",
|
|
49
|
-
"name": "_TYPE_HASH",
|
|
50
|
-
"type": "bytes32"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"internalType": "string",
|
|
54
|
-
"name": "_NAME",
|
|
55
|
-
"type": "string"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"internalType": "string",
|
|
59
|
-
"name": "_VERSION",
|
|
60
|
-
"type": "string"
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"stateMutability": "view",
|
|
64
|
-
"type": "function"
|
|
12
|
+
"name": "ExpectedPause",
|
|
13
|
+
"type": "error"
|
|
65
14
|
},
|
|
66
15
|
{
|
|
67
|
-
"inputs": [
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"name": "inputs",
|
|
71
|
-
"type": "bytes32[2]"
|
|
72
|
-
}
|
|
73
|
-
],
|
|
74
|
-
"name": "poseidon",
|
|
75
|
-
"outputs": [
|
|
76
|
-
{
|
|
77
|
-
"internalType": "bytes32",
|
|
78
|
-
"name": "",
|
|
79
|
-
"type": "bytes32"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"stateMutability": "view",
|
|
83
|
-
"type": "function"
|
|
16
|
+
"inputs": [],
|
|
17
|
+
"name": "InvalidInitialization",
|
|
18
|
+
"type": "error"
|
|
84
19
|
},
|
|
85
20
|
{
|
|
86
21
|
"inputs": [
|
|
87
22
|
{
|
|
88
|
-
"internalType": "
|
|
89
|
-
"name": "
|
|
90
|
-
"type": "
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"name": "poseidon",
|
|
94
|
-
"outputs": [
|
|
23
|
+
"internalType": "bool",
|
|
24
|
+
"name": "recordFound",
|
|
25
|
+
"type": "bool"
|
|
26
|
+
},
|
|
95
27
|
{
|
|
96
|
-
"internalType": "
|
|
97
|
-
"name": "",
|
|
98
|
-
"type": "
|
|
28
|
+
"internalType": "uint256",
|
|
29
|
+
"name": "validUtil",
|
|
30
|
+
"type": "uint256"
|
|
99
31
|
}
|
|
100
32
|
],
|
|
101
|
-
"
|
|
102
|
-
"type": "
|
|
33
|
+
"name": "InvalidSender",
|
|
34
|
+
"type": "error"
|
|
103
35
|
},
|
|
104
36
|
{
|
|
105
|
-
"inputs": [
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"name": "inputs",
|
|
109
|
-
"type": "bytes32[6]"
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
"name": "poseidon",
|
|
113
|
-
"outputs": [
|
|
114
|
-
{
|
|
115
|
-
"internalType": "bytes32",
|
|
116
|
-
"name": "",
|
|
117
|
-
"type": "bytes32"
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"stateMutability": "view",
|
|
121
|
-
"type": "function"
|
|
37
|
+
"inputs": [],
|
|
38
|
+
"name": "NotInitializing",
|
|
39
|
+
"type": "error"
|
|
122
40
|
},
|
|
123
41
|
{
|
|
124
|
-
"inputs": [
|
|
125
|
-
|
|
126
|
-
"internalType": "uint256",
|
|
127
|
-
"name": "gameId",
|
|
128
|
-
"type": "uint256"
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"name": "ErrorCannotForceEndGame",
|
|
42
|
+
"inputs": [],
|
|
43
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
132
44
|
"type": "error"
|
|
133
45
|
},
|
|
134
46
|
{
|
|
135
47
|
"inputs": [
|
|
136
48
|
{
|
|
137
|
-
"internalType": "
|
|
138
|
-
"name": "
|
|
139
|
-
"type": "
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"internalType": "enum IRankifyInstance.ProposingEndStatus",
|
|
143
|
-
"name": "status",
|
|
144
|
-
"type": "uint8"
|
|
49
|
+
"internalType": "string",
|
|
50
|
+
"name": "str",
|
|
51
|
+
"type": "string"
|
|
145
52
|
}
|
|
146
53
|
],
|
|
147
|
-
"name": "
|
|
54
|
+
"name": "StringTooLong",
|
|
148
55
|
"type": "error"
|
|
149
56
|
},
|
|
150
57
|
{
|
|
58
|
+
"anonymous": false,
|
|
151
59
|
"inputs": [
|
|
152
60
|
{
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
61
|
+
"indexed": true,
|
|
62
|
+
"internalType": "address",
|
|
63
|
+
"name": "user",
|
|
64
|
+
"type": "address"
|
|
156
65
|
},
|
|
157
66
|
{
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
67
|
+
"indexed": false,
|
|
68
|
+
"internalType": "uint256",
|
|
69
|
+
"name": "amount",
|
|
70
|
+
"type": "uint256"
|
|
161
71
|
}
|
|
162
72
|
],
|
|
163
|
-
"name": "
|
|
164
|
-
"type": "
|
|
73
|
+
"name": "Claimed",
|
|
74
|
+
"type": "event"
|
|
165
75
|
},
|
|
166
76
|
{
|
|
167
77
|
"anonymous": false,
|
|
168
78
|
"inputs": [
|
|
169
|
-
{
|
|
170
|
-
"indexed": true,
|
|
171
|
-
"internalType": "uint256",
|
|
172
|
-
"name": "gameId",
|
|
173
|
-
"type": "uint256"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"indexed": false,
|
|
177
|
-
"internalType": "address[]",
|
|
178
|
-
"name": "players",
|
|
179
|
-
"type": "address[]"
|
|
180
|
-
},
|
|
181
79
|
{
|
|
182
80
|
"indexed": false,
|
|
183
|
-
"internalType": "
|
|
184
|
-
"name": "
|
|
185
|
-
"type": "
|
|
81
|
+
"internalType": "uint64",
|
|
82
|
+
"name": "version",
|
|
83
|
+
"type": "uint64"
|
|
186
84
|
}
|
|
187
85
|
],
|
|
188
|
-
"name": "
|
|
86
|
+
"name": "Initialized",
|
|
189
87
|
"type": "event"
|
|
190
88
|
},
|
|
191
89
|
{
|
|
@@ -193,25 +91,25 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
193
91
|
"inputs": [
|
|
194
92
|
{
|
|
195
93
|
"indexed": true,
|
|
196
|
-
"internalType": "
|
|
197
|
-
"name": "
|
|
198
|
-
"type": "
|
|
94
|
+
"internalType": "address",
|
|
95
|
+
"name": "user",
|
|
96
|
+
"type": "address"
|
|
199
97
|
}
|
|
200
98
|
],
|
|
201
|
-
"name": "
|
|
99
|
+
"name": "OnboardingBonusClaimed",
|
|
202
100
|
"type": "event"
|
|
203
101
|
},
|
|
204
102
|
{
|
|
205
103
|
"anonymous": false,
|
|
206
104
|
"inputs": [
|
|
207
105
|
{
|
|
208
|
-
"indexed":
|
|
209
|
-
"internalType": "
|
|
210
|
-
"name": "
|
|
211
|
-
"type": "
|
|
106
|
+
"indexed": false,
|
|
107
|
+
"internalType": "address",
|
|
108
|
+
"name": "account",
|
|
109
|
+
"type": "address"
|
|
212
110
|
}
|
|
213
111
|
],
|
|
214
|
-
"name": "
|
|
112
|
+
"name": "Paused",
|
|
215
113
|
"type": "event"
|
|
216
114
|
},
|
|
217
115
|
{
|
|
@@ -220,35 +118,23 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
220
118
|
{
|
|
221
119
|
"indexed": true,
|
|
222
120
|
"internalType": "uint256",
|
|
223
|
-
"name": "
|
|
121
|
+
"name": "lifeTimeScore",
|
|
224
122
|
"type": "uint256"
|
|
225
123
|
},
|
|
226
124
|
{
|
|
227
125
|
"indexed": true,
|
|
228
126
|
"internalType": "uint256",
|
|
229
|
-
"name": "
|
|
127
|
+
"name": "proposedTimes",
|
|
230
128
|
"type": "uint256"
|
|
231
129
|
},
|
|
232
130
|
{
|
|
233
131
|
"indexed": true,
|
|
234
|
-
"internalType": "string",
|
|
235
|
-
"name": "proposalHash",
|
|
236
|
-
"type": "string"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"indexed": false,
|
|
240
|
-
"internalType": "string",
|
|
241
|
-
"name": "proposal",
|
|
242
|
-
"type": "string"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"indexed": false,
|
|
246
132
|
"internalType": "uint256",
|
|
247
|
-
"name": "
|
|
133
|
+
"name": "repostedTimes",
|
|
248
134
|
"type": "uint256"
|
|
249
135
|
}
|
|
250
136
|
],
|
|
251
|
-
"name": "
|
|
137
|
+
"name": "ProposalLifetimeScore",
|
|
252
138
|
"type": "event"
|
|
253
139
|
},
|
|
254
140
|
{
|
|
@@ -257,13 +143,13 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
257
143
|
{
|
|
258
144
|
"indexed": true,
|
|
259
145
|
"internalType": "uint256",
|
|
260
|
-
"name": "
|
|
146
|
+
"name": "dailyScore",
|
|
261
147
|
"type": "uint256"
|
|
262
148
|
},
|
|
263
149
|
{
|
|
264
150
|
"indexed": true,
|
|
265
151
|
"internalType": "uint256",
|
|
266
|
-
"name": "
|
|
152
|
+
"name": "day",
|
|
267
153
|
"type": "uint256"
|
|
268
154
|
},
|
|
269
155
|
{
|
|
@@ -274,30 +160,12 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
274
160
|
},
|
|
275
161
|
{
|
|
276
162
|
"indexed": false,
|
|
277
|
-
"internalType": "
|
|
278
|
-
"name": "
|
|
279
|
-
"type": "
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"indexed": false,
|
|
283
|
-
"internalType": "string",
|
|
284
|
-
"name": "encryptedProposal",
|
|
285
|
-
"type": "string"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"indexed": false,
|
|
289
|
-
"internalType": "bytes",
|
|
290
|
-
"name": "gmSignature",
|
|
291
|
-
"type": "bytes"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"indexed": false,
|
|
295
|
-
"internalType": "bytes",
|
|
296
|
-
"name": "proposerSignature",
|
|
297
|
-
"type": "bytes"
|
|
163
|
+
"internalType": "bytes32",
|
|
164
|
+
"name": "proposal",
|
|
165
|
+
"type": "bytes32"
|
|
298
166
|
}
|
|
299
167
|
],
|
|
300
|
-
"name": "
|
|
168
|
+
"name": "ProposalScoreUpdatedByAddress",
|
|
301
169
|
"type": "event"
|
|
302
170
|
},
|
|
303
171
|
{
|
|
@@ -306,48 +174,48 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
306
174
|
{
|
|
307
175
|
"indexed": true,
|
|
308
176
|
"internalType": "uint256",
|
|
309
|
-
"name": "
|
|
177
|
+
"name": "dailyScore",
|
|
310
178
|
"type": "uint256"
|
|
311
179
|
},
|
|
312
180
|
{
|
|
313
181
|
"indexed": true,
|
|
314
182
|
"internalType": "uint256",
|
|
315
|
-
"name": "
|
|
183
|
+
"name": "day",
|
|
316
184
|
"type": "uint256"
|
|
317
185
|
},
|
|
318
186
|
{
|
|
319
|
-
"indexed":
|
|
320
|
-
"internalType": "
|
|
321
|
-
"name": "
|
|
322
|
-
"type": "
|
|
187
|
+
"indexed": true,
|
|
188
|
+
"internalType": "bytes32",
|
|
189
|
+
"name": "proposal",
|
|
190
|
+
"type": "bytes32"
|
|
323
191
|
},
|
|
324
192
|
{
|
|
325
193
|
"indexed": false,
|
|
326
|
-
"internalType": "
|
|
327
|
-
"name": "
|
|
328
|
-
"type": "
|
|
194
|
+
"internalType": "address",
|
|
195
|
+
"name": "proposer",
|
|
196
|
+
"type": "address"
|
|
329
197
|
}
|
|
330
198
|
],
|
|
331
|
-
"name": "
|
|
199
|
+
"name": "ProposalScoreUpdatedByProposal",
|
|
332
200
|
"type": "event"
|
|
333
201
|
},
|
|
334
202
|
{
|
|
335
203
|
"anonymous": false,
|
|
336
204
|
"inputs": [
|
|
337
205
|
{
|
|
338
|
-
"indexed":
|
|
339
|
-
"internalType": "
|
|
340
|
-
"name": "
|
|
341
|
-
"type": "
|
|
206
|
+
"indexed": false,
|
|
207
|
+
"internalType": "bytes32",
|
|
208
|
+
"name": "proposalHash",
|
|
209
|
+
"type": "bytes32"
|
|
342
210
|
},
|
|
343
211
|
{
|
|
344
212
|
"indexed": false,
|
|
345
|
-
"internalType": "
|
|
346
|
-
"name": "
|
|
347
|
-
"type": "
|
|
213
|
+
"internalType": "uint256",
|
|
214
|
+
"name": "newTimesProposed",
|
|
215
|
+
"type": "uint256"
|
|
348
216
|
}
|
|
349
217
|
],
|
|
350
|
-
"name": "
|
|
218
|
+
"name": "ProposedTime",
|
|
351
219
|
"type": "event"
|
|
352
220
|
},
|
|
353
221
|
{
|
|
@@ -355,48 +223,36 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
355
223
|
"inputs": [
|
|
356
224
|
{
|
|
357
225
|
"indexed": true,
|
|
358
|
-
"internalType": "
|
|
359
|
-
"name": "
|
|
360
|
-
"type": "
|
|
226
|
+
"internalType": "address",
|
|
227
|
+
"name": "proposer",
|
|
228
|
+
"type": "address"
|
|
361
229
|
},
|
|
362
230
|
{
|
|
363
231
|
"indexed": true,
|
|
364
232
|
"internalType": "uint256",
|
|
365
|
-
"name": "
|
|
233
|
+
"name": "day",
|
|
366
234
|
"type": "uint256"
|
|
367
235
|
},
|
|
368
236
|
{
|
|
369
237
|
"indexed": true,
|
|
370
|
-
"internalType": "
|
|
371
|
-
"name": "
|
|
372
|
-
"type": "
|
|
238
|
+
"internalType": "bytes32",
|
|
239
|
+
"name": "proposal",
|
|
240
|
+
"type": "bytes32"
|
|
373
241
|
},
|
|
374
242
|
{
|
|
375
243
|
"indexed": false,
|
|
376
244
|
"internalType": "string",
|
|
377
|
-
"name": "
|
|
245
|
+
"name": "proposalText",
|
|
378
246
|
"type": "string"
|
|
379
247
|
},
|
|
380
248
|
{
|
|
381
249
|
"indexed": false,
|
|
382
|
-
"internalType": "
|
|
383
|
-
"name": "
|
|
384
|
-
"type": "
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"indexed": false,
|
|
388
|
-
"internalType": "bytes",
|
|
389
|
-
"name": "voterSignature",
|
|
390
|
-
"type": "bytes"
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"indexed": false,
|
|
394
|
-
"internalType": "bytes32",
|
|
395
|
-
"name": "ballotHash",
|
|
396
|
-
"type": "bytes32"
|
|
250
|
+
"internalType": "uint256",
|
|
251
|
+
"name": "scoreWhenProposed",
|
|
252
|
+
"type": "uint256"
|
|
397
253
|
}
|
|
398
254
|
],
|
|
399
|
-
"name": "
|
|
255
|
+
"name": "ProposingByAddress",
|
|
400
256
|
"type": "event"
|
|
401
257
|
},
|
|
402
258
|
{
|
|
@@ -404,131 +260,128 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
404
260
|
"inputs": [
|
|
405
261
|
{
|
|
406
262
|
"indexed": true,
|
|
407
|
-
"internalType": "
|
|
408
|
-
"name": "
|
|
409
|
-
"type": "
|
|
263
|
+
"internalType": "address",
|
|
264
|
+
"name": "reposter",
|
|
265
|
+
"type": "address"
|
|
410
266
|
},
|
|
411
267
|
{
|
|
412
268
|
"indexed": true,
|
|
413
269
|
"internalType": "uint256",
|
|
414
|
-
"name": "
|
|
270
|
+
"name": "day",
|
|
415
271
|
"type": "uint256"
|
|
416
272
|
},
|
|
417
273
|
{
|
|
418
274
|
"indexed": true,
|
|
419
|
-
"internalType": "
|
|
420
|
-
"name": "
|
|
421
|
-
"type": "
|
|
275
|
+
"internalType": "bytes32",
|
|
276
|
+
"name": "proposal",
|
|
277
|
+
"type": "bytes32"
|
|
422
278
|
},
|
|
423
279
|
{
|
|
424
280
|
"indexed": false,
|
|
425
|
-
"internalType": "address
|
|
426
|
-
"name": "
|
|
427
|
-
"type": "address
|
|
281
|
+
"internalType": "address",
|
|
282
|
+
"name": "proposer",
|
|
283
|
+
"type": "address"
|
|
428
284
|
},
|
|
429
285
|
{
|
|
430
286
|
"indexed": false,
|
|
431
|
-
"internalType": "
|
|
432
|
-
"name": "
|
|
433
|
-
"type": "
|
|
287
|
+
"internalType": "string",
|
|
288
|
+
"name": "proposalText",
|
|
289
|
+
"type": "string"
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"name": "RepostByProposer",
|
|
293
|
+
"type": "event"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"anonymous": false,
|
|
297
|
+
"inputs": [
|
|
298
|
+
{
|
|
299
|
+
"indexed": true,
|
|
300
|
+
"internalType": "address",
|
|
301
|
+
"name": "proposer",
|
|
302
|
+
"type": "address"
|
|
434
303
|
},
|
|
435
304
|
{
|
|
436
|
-
"indexed":
|
|
437
|
-
"internalType": "uint256
|
|
438
|
-
"name": "
|
|
439
|
-
"type": "uint256
|
|
305
|
+
"indexed": true,
|
|
306
|
+
"internalType": "uint256",
|
|
307
|
+
"name": "day",
|
|
308
|
+
"type": "uint256"
|
|
440
309
|
},
|
|
441
310
|
{
|
|
442
|
-
"indexed":
|
|
443
|
-
"internalType": "
|
|
444
|
-
"name": "
|
|
445
|
-
"type": "
|
|
311
|
+
"indexed": true,
|
|
312
|
+
"internalType": "bytes32",
|
|
313
|
+
"name": "proposal",
|
|
314
|
+
"type": "bytes32"
|
|
446
315
|
},
|
|
447
316
|
{
|
|
448
317
|
"indexed": false,
|
|
449
|
-
"internalType": "
|
|
450
|
-
"name": "
|
|
451
|
-
"type": "
|
|
318
|
+
"internalType": "address",
|
|
319
|
+
"name": "reposter",
|
|
320
|
+
"type": "address"
|
|
452
321
|
},
|
|
453
322
|
{
|
|
454
323
|
"indexed": false,
|
|
455
|
-
"internalType": "
|
|
456
|
-
"name": "
|
|
457
|
-
"type": "
|
|
324
|
+
"internalType": "string",
|
|
325
|
+
"name": "proposalText",
|
|
326
|
+
"type": "string"
|
|
458
327
|
}
|
|
459
328
|
],
|
|
460
|
-
"name": "
|
|
329
|
+
"name": "RepostByReposter",
|
|
461
330
|
"type": "event"
|
|
462
331
|
},
|
|
463
332
|
{
|
|
333
|
+
"anonymous": false,
|
|
464
334
|
"inputs": [
|
|
465
335
|
{
|
|
466
|
-
"
|
|
467
|
-
"
|
|
468
|
-
"
|
|
469
|
-
|
|
470
|
-
{
|
|
471
|
-
"components": [
|
|
472
|
-
{
|
|
473
|
-
"internalType": "string[]",
|
|
474
|
-
"name": "proposals",
|
|
475
|
-
"type": "string[]"
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"internalType": "uint256[2]",
|
|
479
|
-
"name": "a",
|
|
480
|
-
"type": "uint256[2]"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"internalType": "uint256[2][2]",
|
|
484
|
-
"name": "b",
|
|
485
|
-
"type": "uint256[2][2]"
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"internalType": "uint256[2]",
|
|
489
|
-
"name": "c",
|
|
490
|
-
"type": "uint256[2]"
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
"internalType": "uint256",
|
|
494
|
-
"name": "permutationCommitment",
|
|
495
|
-
"type": "uint256"
|
|
496
|
-
}
|
|
497
|
-
],
|
|
498
|
-
"internalType": "struct RankifyInstanceGameMastersFacet.BatchProposalReveal",
|
|
499
|
-
"name": "newProposals",
|
|
500
|
-
"type": "tuple"
|
|
336
|
+
"indexed": false,
|
|
337
|
+
"internalType": "address",
|
|
338
|
+
"name": "account",
|
|
339
|
+
"type": "address"
|
|
501
340
|
}
|
|
502
341
|
],
|
|
503
|
-
"name": "
|
|
504
|
-
"
|
|
505
|
-
"stateMutability": "nonpayable",
|
|
506
|
-
"type": "function"
|
|
342
|
+
"name": "Unpaused",
|
|
343
|
+
"type": "event"
|
|
507
344
|
},
|
|
508
345
|
{
|
|
346
|
+
"anonymous": false,
|
|
509
347
|
"inputs": [
|
|
510
348
|
{
|
|
511
|
-
"
|
|
512
|
-
"
|
|
513
|
-
"
|
|
349
|
+
"indexed": true,
|
|
350
|
+
"internalType": "address",
|
|
351
|
+
"name": "participant",
|
|
352
|
+
"type": "address"
|
|
514
353
|
},
|
|
515
354
|
{
|
|
516
|
-
"
|
|
517
|
-
"
|
|
518
|
-
"
|
|
355
|
+
"indexed": true,
|
|
356
|
+
"internalType": "uint256",
|
|
357
|
+
"name": "day",
|
|
358
|
+
"type": "uint256"
|
|
519
359
|
},
|
|
520
360
|
{
|
|
521
|
-
"
|
|
522
|
-
"
|
|
523
|
-
"
|
|
361
|
+
"indexed": true,
|
|
362
|
+
"internalType": "bytes32",
|
|
363
|
+
"name": "proposal",
|
|
364
|
+
"type": "bytes32"
|
|
524
365
|
},
|
|
525
366
|
{
|
|
367
|
+
"indexed": false,
|
|
526
368
|
"internalType": "uint256",
|
|
527
|
-
"name": "
|
|
369
|
+
"name": "amount",
|
|
528
370
|
"type": "uint256"
|
|
529
371
|
}
|
|
530
372
|
],
|
|
531
|
-
"name": "
|
|
373
|
+
"name": "VotingByAddress",
|
|
374
|
+
"type": "event"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"inputs": [
|
|
378
|
+
{
|
|
379
|
+
"internalType": "string",
|
|
380
|
+
"name": "data",
|
|
381
|
+
"type": "string"
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
"name": "claim",
|
|
532
385
|
"outputs": [],
|
|
533
386
|
"stateMutability": "nonpayable",
|
|
534
387
|
"type": "function"
|
|
@@ -536,33 +389,67 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
536
389
|
{
|
|
537
390
|
"inputs": [
|
|
538
391
|
{
|
|
539
|
-
"internalType": "
|
|
540
|
-
"name": "
|
|
541
|
-
"type": "
|
|
392
|
+
"internalType": "address",
|
|
393
|
+
"name": "user",
|
|
394
|
+
"type": "address"
|
|
542
395
|
}
|
|
543
396
|
],
|
|
544
|
-
"name": "
|
|
397
|
+
"name": "claimOnboardingBonus",
|
|
545
398
|
"outputs": [],
|
|
546
399
|
"stateMutability": "nonpayable",
|
|
547
400
|
"type": "function"
|
|
548
401
|
},
|
|
402
|
+
{
|
|
403
|
+
"inputs": [],
|
|
404
|
+
"name": "currentDay",
|
|
405
|
+
"outputs": [
|
|
406
|
+
{
|
|
407
|
+
"internalType": "uint256",
|
|
408
|
+
"name": "",
|
|
409
|
+
"type": "uint256"
|
|
410
|
+
}
|
|
411
|
+
],
|
|
412
|
+
"stateMutability": "view",
|
|
413
|
+
"type": "function"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"inputs": [],
|
|
417
|
+
"name": "getCurrentDay",
|
|
418
|
+
"outputs": [
|
|
419
|
+
{
|
|
420
|
+
"internalType": "uint256",
|
|
421
|
+
"name": "",
|
|
422
|
+
"type": "uint256"
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"stateMutability": "view",
|
|
426
|
+
"type": "function"
|
|
427
|
+
},
|
|
549
428
|
{
|
|
550
429
|
"inputs": [
|
|
430
|
+
{
|
|
431
|
+
"internalType": "bytes32",
|
|
432
|
+
"name": "hash",
|
|
433
|
+
"type": "bytes32"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"internalType": "uint256",
|
|
437
|
+
"name": "day",
|
|
438
|
+
"type": "uint256"
|
|
439
|
+
}
|
|
440
|
+
],
|
|
441
|
+
"name": "getProposalDailyScore",
|
|
442
|
+
"outputs": [
|
|
551
443
|
{
|
|
552
444
|
"components": [
|
|
553
445
|
{
|
|
554
|
-
"internalType": "
|
|
555
|
-
"name": "
|
|
556
|
-
"type": "
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"internalType": "string",
|
|
560
|
-
"name": "encryptedProposal",
|
|
561
|
-
"type": "string"
|
|
446
|
+
"internalType": "bytes32",
|
|
447
|
+
"name": "proposal",
|
|
448
|
+
"type": "bytes32"
|
|
562
449
|
},
|
|
563
450
|
{
|
|
564
451
|
"internalType": "uint256",
|
|
565
|
-
"name": "
|
|
452
|
+
"name": "score",
|
|
566
453
|
"type": "uint256"
|
|
567
454
|
},
|
|
568
455
|
{
|
|
@@ -571,229 +458,379 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
571
458
|
"type": "address"
|
|
572
459
|
},
|
|
573
460
|
{
|
|
574
|
-
"internalType": "
|
|
575
|
-
"name": "
|
|
576
|
-
"type": "
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
"internalType": "bytes",
|
|
580
|
-
"name": "proposerSignature",
|
|
581
|
-
"type": "bytes"
|
|
461
|
+
"internalType": "bool",
|
|
462
|
+
"name": "exists",
|
|
463
|
+
"type": "bool"
|
|
582
464
|
}
|
|
583
465
|
],
|
|
584
|
-
"internalType": "struct
|
|
585
|
-
"name": "
|
|
466
|
+
"internalType": "struct LibUBI.DailyProposal",
|
|
467
|
+
"name": "",
|
|
586
468
|
"type": "tuple"
|
|
587
469
|
}
|
|
588
470
|
],
|
|
589
|
-
"
|
|
590
|
-
"outputs": [],
|
|
591
|
-
"stateMutability": "nonpayable",
|
|
471
|
+
"stateMutability": "view",
|
|
592
472
|
"type": "function"
|
|
593
473
|
},
|
|
594
474
|
{
|
|
595
475
|
"inputs": [
|
|
596
476
|
{
|
|
597
477
|
"internalType": "uint256",
|
|
598
|
-
"name": "
|
|
478
|
+
"name": "day",
|
|
599
479
|
"type": "uint256"
|
|
600
|
-
}
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"name": "getProposalsCnt",
|
|
483
|
+
"outputs": [
|
|
484
|
+
{
|
|
485
|
+
"internalType": "uint256",
|
|
486
|
+
"name": "",
|
|
487
|
+
"type": "uint256"
|
|
488
|
+
}
|
|
489
|
+
],
|
|
490
|
+
"stateMutability": "view",
|
|
491
|
+
"type": "function"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"inputs": [
|
|
601
495
|
{
|
|
602
496
|
"internalType": "string",
|
|
603
|
-
"name": "
|
|
497
|
+
"name": "text",
|
|
604
498
|
"type": "string"
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
"type": "address"
|
|
610
|
-
},
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
"name": "getShortStringBytes32",
|
|
502
|
+
"outputs": [
|
|
611
503
|
{
|
|
612
|
-
"internalType": "
|
|
613
|
-
"name": "
|
|
614
|
-
"type": "
|
|
504
|
+
"internalType": "bytes32",
|
|
505
|
+
"name": "",
|
|
506
|
+
"type": "bytes32"
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"stateMutability": "pure",
|
|
510
|
+
"type": "function"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"inputs": [],
|
|
514
|
+
"name": "getUBIParams",
|
|
515
|
+
"outputs": [
|
|
516
|
+
{
|
|
517
|
+
"internalType": "uint256",
|
|
518
|
+
"name": "dailyClaimAmount",
|
|
519
|
+
"type": "uint256"
|
|
615
520
|
},
|
|
616
521
|
{
|
|
617
|
-
"internalType": "
|
|
618
|
-
"name": "
|
|
619
|
-
"type": "
|
|
522
|
+
"internalType": "uint256",
|
|
523
|
+
"name": "dailySupportAmount",
|
|
524
|
+
"type": "uint256"
|
|
620
525
|
},
|
|
621
526
|
{
|
|
622
527
|
"internalType": "bytes32",
|
|
623
|
-
"name": "
|
|
528
|
+
"name": "domainName",
|
|
624
529
|
"type": "bytes32"
|
|
625
530
|
}
|
|
626
531
|
],
|
|
627
|
-
"
|
|
628
|
-
"outputs": [],
|
|
629
|
-
"stateMutability": "nonpayable",
|
|
532
|
+
"stateMutability": "view",
|
|
630
533
|
"type": "function"
|
|
631
534
|
},
|
|
632
535
|
{
|
|
633
536
|
"inputs": [
|
|
537
|
+
{
|
|
538
|
+
"internalType": "address",
|
|
539
|
+
"name": "user",
|
|
540
|
+
"type": "address"
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
"name": "getUserState",
|
|
544
|
+
"outputs": [
|
|
545
|
+
{
|
|
546
|
+
"internalType": "bool",
|
|
547
|
+
"name": "claimedToday",
|
|
548
|
+
"type": "bool"
|
|
549
|
+
},
|
|
634
550
|
{
|
|
635
551
|
"internalType": "uint256",
|
|
636
|
-
"name": "
|
|
552
|
+
"name": "supportSpent",
|
|
637
553
|
"type": "uint256"
|
|
638
554
|
}
|
|
639
555
|
],
|
|
640
|
-
"
|
|
641
|
-
"type": "
|
|
556
|
+
"stateMutability": "view",
|
|
557
|
+
"type": "function"
|
|
642
558
|
},
|
|
643
559
|
{
|
|
644
560
|
"inputs": [
|
|
561
|
+
{
|
|
562
|
+
"internalType": "contract IMultipass",
|
|
563
|
+
"name": "_multipass",
|
|
564
|
+
"type": "address"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"internalType": "contract DistributableGovernanceERC20",
|
|
568
|
+
"name": "_token",
|
|
569
|
+
"type": "address"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"internalType": "address",
|
|
573
|
+
"name": "_pauser",
|
|
574
|
+
"type": "address"
|
|
575
|
+
},
|
|
645
576
|
{
|
|
646
577
|
"internalType": "uint256",
|
|
647
|
-
"name": "
|
|
578
|
+
"name": "dailyClaim",
|
|
648
579
|
"type": "uint256"
|
|
649
580
|
},
|
|
650
581
|
{
|
|
651
|
-
"internalType": "
|
|
652
|
-
"name": "
|
|
653
|
-
"type": "
|
|
582
|
+
"internalType": "uint256",
|
|
583
|
+
"name": "dailySupport",
|
|
584
|
+
"type": "uint256"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"internalType": "bytes32",
|
|
588
|
+
"name": "domainName",
|
|
589
|
+
"type": "bytes32"
|
|
654
590
|
}
|
|
655
591
|
],
|
|
656
|
-
"name": "
|
|
657
|
-
"
|
|
592
|
+
"name": "initialize",
|
|
593
|
+
"outputs": [],
|
|
594
|
+
"stateMutability": "nonpayable",
|
|
595
|
+
"type": "function"
|
|
658
596
|
},
|
|
659
597
|
{
|
|
660
598
|
"inputs": [
|
|
661
599
|
{
|
|
662
|
-
"internalType": "
|
|
663
|
-
"name": "
|
|
664
|
-
"type": "
|
|
665
|
-
}
|
|
600
|
+
"internalType": "address",
|
|
601
|
+
"name": "user",
|
|
602
|
+
"type": "address"
|
|
603
|
+
}
|
|
604
|
+
],
|
|
605
|
+
"name": "lastClaimedAt",
|
|
606
|
+
"outputs": [
|
|
666
607
|
{
|
|
667
608
|
"internalType": "uint256",
|
|
668
|
-
"name": "
|
|
609
|
+
"name": "",
|
|
669
610
|
"type": "uint256"
|
|
670
611
|
}
|
|
671
612
|
],
|
|
672
|
-
"
|
|
673
|
-
"type": "
|
|
613
|
+
"stateMutability": "view",
|
|
614
|
+
"type": "function"
|
|
674
615
|
},
|
|
675
616
|
{
|
|
676
617
|
"inputs": [],
|
|
677
|
-
"name": "
|
|
678
|
-
"
|
|
618
|
+
"name": "multipass",
|
|
619
|
+
"outputs": [
|
|
620
|
+
{
|
|
621
|
+
"internalType": "contract IMultipass",
|
|
622
|
+
"name": "",
|
|
623
|
+
"type": "address"
|
|
624
|
+
}
|
|
625
|
+
],
|
|
626
|
+
"stateMutability": "view",
|
|
627
|
+
"type": "function"
|
|
679
628
|
},
|
|
680
629
|
{
|
|
681
630
|
"inputs": [
|
|
682
631
|
{
|
|
683
|
-
"internalType": "
|
|
684
|
-
"name": "
|
|
685
|
-
"type": "
|
|
632
|
+
"internalType": "address",
|
|
633
|
+
"name": "user",
|
|
634
|
+
"type": "address"
|
|
686
635
|
}
|
|
687
636
|
],
|
|
688
|
-
"name": "
|
|
689
|
-
"
|
|
637
|
+
"name": "onboardingBonusClaimed",
|
|
638
|
+
"outputs": [
|
|
639
|
+
{
|
|
640
|
+
"internalType": "bool",
|
|
641
|
+
"name": "",
|
|
642
|
+
"type": "bool"
|
|
643
|
+
}
|
|
644
|
+
],
|
|
645
|
+
"stateMutability": "view",
|
|
646
|
+
"type": "function"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"inputs": [],
|
|
650
|
+
"name": "pause",
|
|
651
|
+
"outputs": [],
|
|
652
|
+
"stateMutability": "nonpayable",
|
|
653
|
+
"type": "function"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"inputs": [],
|
|
657
|
+
"name": "paused",
|
|
658
|
+
"outputs": [
|
|
659
|
+
{
|
|
660
|
+
"internalType": "bool",
|
|
661
|
+
"name": "",
|
|
662
|
+
"type": "bool"
|
|
663
|
+
}
|
|
664
|
+
],
|
|
665
|
+
"stateMutability": "view",
|
|
666
|
+
"type": "function"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"inputs": [],
|
|
670
|
+
"name": "pauser",
|
|
671
|
+
"outputs": [
|
|
672
|
+
{
|
|
673
|
+
"internalType": "address",
|
|
674
|
+
"name": "",
|
|
675
|
+
"type": "address"
|
|
676
|
+
}
|
|
677
|
+
],
|
|
678
|
+
"stateMutability": "view",
|
|
679
|
+
"type": "function"
|
|
690
680
|
},
|
|
691
681
|
{
|
|
692
682
|
"inputs": [
|
|
693
683
|
{
|
|
694
684
|
"internalType": "bytes32",
|
|
695
|
-
"name": "
|
|
685
|
+
"name": "proposal",
|
|
696
686
|
"type": "bytes32"
|
|
697
|
-
}
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"name": "proposalLifetimeStats",
|
|
690
|
+
"outputs": [
|
|
698
691
|
{
|
|
699
|
-
"
|
|
700
|
-
|
|
701
|
-
|
|
692
|
+
"components": [
|
|
693
|
+
{
|
|
694
|
+
"internalType": "uint256",
|
|
695
|
+
"name": "aggregateScore",
|
|
696
|
+
"type": "uint256"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"internalType": "uint256",
|
|
700
|
+
"name": "proposedTimes",
|
|
701
|
+
"type": "uint256"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"internalType": "uint256",
|
|
705
|
+
"name": "repostedTimes",
|
|
706
|
+
"type": "uint256"
|
|
707
|
+
}
|
|
708
|
+
],
|
|
709
|
+
"internalType": "struct LibUBI.ProposalGlobalStats",
|
|
710
|
+
"name": "",
|
|
711
|
+
"type": "tuple"
|
|
702
712
|
}
|
|
703
713
|
],
|
|
704
|
-
"
|
|
705
|
-
"type": "
|
|
714
|
+
"stateMutability": "view",
|
|
715
|
+
"type": "function"
|
|
706
716
|
},
|
|
707
717
|
{
|
|
708
718
|
"inputs": [
|
|
709
719
|
{
|
|
710
|
-
"
|
|
711
|
-
|
|
712
|
-
|
|
720
|
+
"components": [
|
|
721
|
+
{
|
|
722
|
+
"internalType": "bytes32",
|
|
723
|
+
"name": "proposal",
|
|
724
|
+
"type": "bytes32"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"internalType": "uint256",
|
|
728
|
+
"name": "amount",
|
|
729
|
+
"type": "uint256"
|
|
730
|
+
}
|
|
731
|
+
],
|
|
732
|
+
"internalType": "struct LibUBI.VoteElement[]",
|
|
733
|
+
"name": "votes",
|
|
734
|
+
"type": "tuple[]"
|
|
713
735
|
}
|
|
714
736
|
],
|
|
715
|
-
"name": "
|
|
716
|
-
"
|
|
737
|
+
"name": "support",
|
|
738
|
+
"outputs": [],
|
|
739
|
+
"stateMutability": "nonpayable",
|
|
740
|
+
"type": "function"
|
|
717
741
|
},
|
|
718
742
|
{
|
|
719
743
|
"inputs": [],
|
|
720
|
-
"name": "
|
|
721
|
-
"
|
|
722
|
-
},
|
|
723
|
-
{
|
|
724
|
-
"anonymous": false,
|
|
725
|
-
"inputs": [
|
|
744
|
+
"name": "token",
|
|
745
|
+
"outputs": [
|
|
726
746
|
{
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"
|
|
730
|
-
"type": "uint256"
|
|
747
|
+
"internalType": "contract DistributableGovernanceERC20",
|
|
748
|
+
"name": "",
|
|
749
|
+
"type": "address"
|
|
731
750
|
}
|
|
732
751
|
],
|
|
733
|
-
"
|
|
734
|
-
"type": "
|
|
752
|
+
"stateMutability": "view",
|
|
753
|
+
"type": "function"
|
|
735
754
|
},
|
|
736
755
|
{
|
|
737
|
-
"
|
|
738
|
-
"
|
|
756
|
+
"inputs": [],
|
|
757
|
+
"name": "unpause",
|
|
758
|
+
"outputs": [],
|
|
759
|
+
"stateMutability": "nonpayable",
|
|
760
|
+
"type": "function"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"inputs": [],
|
|
764
|
+
"name": "currentChainId",
|
|
765
|
+
"outputs": [
|
|
739
766
|
{
|
|
740
|
-
"indexed": true,
|
|
741
767
|
"internalType": "uint256",
|
|
742
|
-
"name": "
|
|
768
|
+
"name": "",
|
|
743
769
|
"type": "uint256"
|
|
744
770
|
}
|
|
745
771
|
],
|
|
746
|
-
"
|
|
747
|
-
"type": "
|
|
772
|
+
"stateMutability": "view",
|
|
773
|
+
"type": "function"
|
|
748
774
|
},
|
|
749
775
|
{
|
|
750
|
-
"
|
|
751
|
-
"
|
|
776
|
+
"inputs": [],
|
|
777
|
+
"name": "inspectEIP712Hashes",
|
|
778
|
+
"outputs": [
|
|
779
|
+
{
|
|
780
|
+
"internalType": "bytes32",
|
|
781
|
+
"name": "_CACHED_DOMAIN_SEPARATOR",
|
|
782
|
+
"type": "bytes32"
|
|
783
|
+
},
|
|
752
784
|
{
|
|
753
|
-
"indexed": true,
|
|
754
785
|
"internalType": "uint256",
|
|
755
|
-
"name": "
|
|
786
|
+
"name": "_CACHED_CHAIN_ID",
|
|
756
787
|
"type": "uint256"
|
|
757
788
|
},
|
|
758
789
|
{
|
|
759
|
-
"indexed": true,
|
|
760
790
|
"internalType": "address",
|
|
761
|
-
"name": "
|
|
791
|
+
"name": "_CACHED_THIS",
|
|
762
792
|
"type": "address"
|
|
763
793
|
},
|
|
764
794
|
{
|
|
765
|
-
"indexed": false,
|
|
766
795
|
"internalType": "bytes32",
|
|
767
|
-
"name": "
|
|
796
|
+
"name": "_HASHED_NAME",
|
|
797
|
+
"type": "bytes32"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"internalType": "bytes32",
|
|
801
|
+
"name": "_HASHED_VERSION",
|
|
802
|
+
"type": "bytes32"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"internalType": "bytes32",
|
|
806
|
+
"name": "_TYPE_HASH",
|
|
768
807
|
"type": "bytes32"
|
|
769
808
|
},
|
|
770
809
|
{
|
|
771
|
-
"indexed": false,
|
|
772
810
|
"internalType": "string",
|
|
773
|
-
"name": "
|
|
811
|
+
"name": "_NAME",
|
|
812
|
+
"type": "string"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"internalType": "string",
|
|
816
|
+
"name": "_VERSION",
|
|
774
817
|
"type": "string"
|
|
775
818
|
}
|
|
776
819
|
],
|
|
777
|
-
"
|
|
778
|
-
"type": "
|
|
820
|
+
"stateMutability": "view",
|
|
821
|
+
"type": "function"
|
|
779
822
|
},
|
|
780
823
|
{
|
|
781
824
|
"anonymous": false,
|
|
782
825
|
"inputs": [
|
|
783
|
-
{
|
|
784
|
-
"indexed": true,
|
|
785
|
-
"internalType": "uint256",
|
|
786
|
-
"name": "gameId",
|
|
787
|
-
"type": "uint256"
|
|
788
|
-
},
|
|
789
826
|
{
|
|
790
827
|
"indexed": true,
|
|
791
828
|
"internalType": "address",
|
|
792
|
-
"name": "
|
|
829
|
+
"name": "_address",
|
|
793
830
|
"type": "address"
|
|
794
831
|
}
|
|
795
832
|
],
|
|
796
|
-
"name": "
|
|
833
|
+
"name": "WhitelistedGMAdded",
|
|
797
834
|
"type": "event"
|
|
798
835
|
},
|
|
799
836
|
{
|
|
@@ -802,29 +839,194 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
802
839
|
{
|
|
803
840
|
"indexed": true,
|
|
804
841
|
"internalType": "address",
|
|
805
|
-
"name": "
|
|
842
|
+
"name": "_address",
|
|
806
843
|
"type": "address"
|
|
807
|
-
}
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"name": "WhitelistedGMRemoved",
|
|
847
|
+
"type": "event"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"inputs": [
|
|
851
|
+
{
|
|
852
|
+
"internalType": "address",
|
|
853
|
+
"name": "_address",
|
|
854
|
+
"type": "address"
|
|
855
|
+
}
|
|
856
|
+
],
|
|
857
|
+
"name": "addWhitelistedGM",
|
|
858
|
+
"outputs": [],
|
|
859
|
+
"stateMutability": "nonpayable",
|
|
860
|
+
"type": "function"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"inputs": [
|
|
864
|
+
{
|
|
865
|
+
"internalType": "address",
|
|
866
|
+
"name": "_address",
|
|
867
|
+
"type": "address"
|
|
868
|
+
}
|
|
869
|
+
],
|
|
870
|
+
"name": "isWhitelistedGM",
|
|
871
|
+
"outputs": [
|
|
872
|
+
{
|
|
873
|
+
"internalType": "bool",
|
|
874
|
+
"name": "",
|
|
875
|
+
"type": "bool"
|
|
876
|
+
}
|
|
877
|
+
],
|
|
878
|
+
"stateMutability": "view",
|
|
879
|
+
"type": "function"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"inputs": [
|
|
883
|
+
{
|
|
884
|
+
"internalType": "address",
|
|
885
|
+
"name": "_address",
|
|
886
|
+
"type": "address"
|
|
887
|
+
}
|
|
888
|
+
],
|
|
889
|
+
"name": "removeWhitelistedGM",
|
|
890
|
+
"outputs": [],
|
|
891
|
+
"stateMutability": "nonpayable",
|
|
892
|
+
"type": "function"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"inputs": [
|
|
896
|
+
{
|
|
897
|
+
"internalType": "bytes32[2]",
|
|
898
|
+
"name": "inputs",
|
|
899
|
+
"type": "bytes32[2]"
|
|
900
|
+
}
|
|
901
|
+
],
|
|
902
|
+
"name": "poseidon",
|
|
903
|
+
"outputs": [
|
|
904
|
+
{
|
|
905
|
+
"internalType": "bytes32",
|
|
906
|
+
"name": "",
|
|
907
|
+
"type": "bytes32"
|
|
908
|
+
}
|
|
909
|
+
],
|
|
910
|
+
"stateMutability": "view",
|
|
911
|
+
"type": "function"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"inputs": [
|
|
915
|
+
{
|
|
916
|
+
"internalType": "bytes32[5]",
|
|
917
|
+
"name": "inputs",
|
|
918
|
+
"type": "bytes32[5]"
|
|
919
|
+
}
|
|
920
|
+
],
|
|
921
|
+
"name": "poseidon",
|
|
922
|
+
"outputs": [
|
|
923
|
+
{
|
|
924
|
+
"internalType": "bytes32",
|
|
925
|
+
"name": "",
|
|
926
|
+
"type": "bytes32"
|
|
927
|
+
}
|
|
928
|
+
],
|
|
929
|
+
"stateMutability": "view",
|
|
930
|
+
"type": "function"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"inputs": [
|
|
934
|
+
{
|
|
935
|
+
"internalType": "bytes32[6]",
|
|
936
|
+
"name": "inputs",
|
|
937
|
+
"type": "bytes32[6]"
|
|
938
|
+
}
|
|
939
|
+
],
|
|
940
|
+
"name": "poseidon",
|
|
941
|
+
"outputs": [
|
|
942
|
+
{
|
|
943
|
+
"internalType": "bytes32",
|
|
944
|
+
"name": "",
|
|
945
|
+
"type": "bytes32"
|
|
946
|
+
}
|
|
947
|
+
],
|
|
948
|
+
"stateMutability": "view",
|
|
949
|
+
"type": "function"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"inputs": [
|
|
808
953
|
{
|
|
809
|
-
"indexed": false,
|
|
810
954
|
"internalType": "uint256",
|
|
811
|
-
"name": "
|
|
955
|
+
"name": "gameId",
|
|
956
|
+
"type": "uint256"
|
|
957
|
+
}
|
|
958
|
+
],
|
|
959
|
+
"name": "ErrorCannotForceEndGame",
|
|
960
|
+
"type": "error"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"inputs": [
|
|
964
|
+
{
|
|
965
|
+
"internalType": "uint256",
|
|
966
|
+
"name": "gameId",
|
|
812
967
|
"type": "uint256"
|
|
813
968
|
},
|
|
814
969
|
{
|
|
815
|
-
"
|
|
970
|
+
"internalType": "enum IRankifyInstance.ProposingEndStatus",
|
|
971
|
+
"name": "status",
|
|
972
|
+
"type": "uint8"
|
|
973
|
+
}
|
|
974
|
+
],
|
|
975
|
+
"name": "ErrorProposingStageEndFailed",
|
|
976
|
+
"type": "error"
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"inputs": [
|
|
980
|
+
{
|
|
981
|
+
"internalType": "bytes32",
|
|
982
|
+
"name": "ballotHash",
|
|
983
|
+
"type": "bytes32"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"internalType": "bytes32",
|
|
987
|
+
"name": "ballotHashFromVotes",
|
|
988
|
+
"type": "bytes32"
|
|
989
|
+
}
|
|
990
|
+
],
|
|
991
|
+
"name": "ballotIntegrityCheckFailed",
|
|
992
|
+
"type": "error"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"anonymous": false,
|
|
996
|
+
"inputs": [
|
|
997
|
+
{
|
|
998
|
+
"indexed": true,
|
|
816
999
|
"internalType": "uint256",
|
|
817
|
-
"name": "
|
|
1000
|
+
"name": "gameId",
|
|
818
1001
|
"type": "uint256"
|
|
819
1002
|
},
|
|
820
1003
|
{
|
|
821
1004
|
"indexed": false,
|
|
1005
|
+
"internalType": "address[]",
|
|
1006
|
+
"name": "players",
|
|
1007
|
+
"type": "address[]"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"indexed": false,
|
|
1011
|
+
"internalType": "uint256[]",
|
|
1012
|
+
"name": "scores",
|
|
1013
|
+
"type": "uint256[]"
|
|
1014
|
+
}
|
|
1015
|
+
],
|
|
1016
|
+
"name": "GameOver",
|
|
1017
|
+
"type": "event"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"anonymous": false,
|
|
1021
|
+
"inputs": [
|
|
1022
|
+
{
|
|
1023
|
+
"indexed": true,
|
|
822
1024
|
"internalType": "uint256",
|
|
823
|
-
"name": "
|
|
1025
|
+
"name": "gameId",
|
|
824
1026
|
"type": "uint256"
|
|
825
1027
|
}
|
|
826
1028
|
],
|
|
827
|
-
"name": "
|
|
1029
|
+
"name": "LastTurn",
|
|
828
1030
|
"type": "event"
|
|
829
1031
|
},
|
|
830
1032
|
{
|
|
@@ -837,7 +1039,7 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
837
1039
|
"type": "uint256"
|
|
838
1040
|
}
|
|
839
1041
|
],
|
|
840
|
-
"name": "
|
|
1042
|
+
"name": "OverTime",
|
|
841
1043
|
"type": "event"
|
|
842
1044
|
},
|
|
843
1045
|
{
|
|
@@ -849,181 +1051,32 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
849
1051
|
"name": "gameId",
|
|
850
1052
|
"type": "uint256"
|
|
851
1053
|
},
|
|
852
|
-
{
|
|
853
|
-
"components": [
|
|
854
|
-
{
|
|
855
|
-
"components": [
|
|
856
|
-
{
|
|
857
|
-
"internalType": "uint256",
|
|
858
|
-
"name": "have",
|
|
859
|
-
"type": "uint256"
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
"internalType": "uint256",
|
|
863
|
-
"name": "lock",
|
|
864
|
-
"type": "uint256"
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
"internalType": "uint256",
|
|
868
|
-
"name": "burn",
|
|
869
|
-
"type": "uint256"
|
|
870
|
-
},
|
|
871
|
-
{
|
|
872
|
-
"internalType": "uint256",
|
|
873
|
-
"name": "pay",
|
|
874
|
-
"type": "uint256"
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
"internalType": "uint256",
|
|
878
|
-
"name": "bet",
|
|
879
|
-
"type": "uint256"
|
|
880
|
-
}
|
|
881
|
-
],
|
|
882
|
-
"internalType": "struct LibCoinVending.NumericCondition",
|
|
883
|
-
"name": "ethValues",
|
|
884
|
-
"type": "tuple"
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
"components": [
|
|
888
|
-
{
|
|
889
|
-
"internalType": "address",
|
|
890
|
-
"name": "contractAddress",
|
|
891
|
-
"type": "address"
|
|
892
|
-
},
|
|
893
|
-
{
|
|
894
|
-
"internalType": "uint256",
|
|
895
|
-
"name": "contractId",
|
|
896
|
-
"type": "uint256"
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
"internalType": "enum LibCoinVending.ContractTypes",
|
|
900
|
-
"name": "contractType",
|
|
901
|
-
"type": "uint8"
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
"components": [
|
|
905
|
-
{
|
|
906
|
-
"components": [
|
|
907
|
-
{
|
|
908
|
-
"internalType": "bytes",
|
|
909
|
-
"name": "data",
|
|
910
|
-
"type": "bytes"
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"internalType": "uint256",
|
|
914
|
-
"name": "amount",
|
|
915
|
-
"type": "uint256"
|
|
916
|
-
}
|
|
917
|
-
],
|
|
918
|
-
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
919
|
-
"name": "have",
|
|
920
|
-
"type": "tuple"
|
|
921
|
-
},
|
|
922
|
-
{
|
|
923
|
-
"components": [
|
|
924
|
-
{
|
|
925
|
-
"internalType": "bytes",
|
|
926
|
-
"name": "data",
|
|
927
|
-
"type": "bytes"
|
|
928
|
-
},
|
|
929
|
-
{
|
|
930
|
-
"internalType": "uint256",
|
|
931
|
-
"name": "amount",
|
|
932
|
-
"type": "uint256"
|
|
933
|
-
}
|
|
934
|
-
],
|
|
935
|
-
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
936
|
-
"name": "lock",
|
|
937
|
-
"type": "tuple"
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
"components": [
|
|
941
|
-
{
|
|
942
|
-
"internalType": "bytes",
|
|
943
|
-
"name": "data",
|
|
944
|
-
"type": "bytes"
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
"internalType": "uint256",
|
|
948
|
-
"name": "amount",
|
|
949
|
-
"type": "uint256"
|
|
950
|
-
}
|
|
951
|
-
],
|
|
952
|
-
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
953
|
-
"name": "burn",
|
|
954
|
-
"type": "tuple"
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
"components": [
|
|
958
|
-
{
|
|
959
|
-
"internalType": "bytes",
|
|
960
|
-
"name": "data",
|
|
961
|
-
"type": "bytes"
|
|
962
|
-
},
|
|
963
|
-
{
|
|
964
|
-
"internalType": "uint256",
|
|
965
|
-
"name": "amount",
|
|
966
|
-
"type": "uint256"
|
|
967
|
-
}
|
|
968
|
-
],
|
|
969
|
-
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
970
|
-
"name": "pay",
|
|
971
|
-
"type": "tuple"
|
|
972
|
-
},
|
|
973
|
-
{
|
|
974
|
-
"components": [
|
|
975
|
-
{
|
|
976
|
-
"internalType": "bytes",
|
|
977
|
-
"name": "data",
|
|
978
|
-
"type": "bytes"
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
"internalType": "uint256",
|
|
982
|
-
"name": "amount",
|
|
983
|
-
"type": "uint256"
|
|
984
|
-
}
|
|
985
|
-
],
|
|
986
|
-
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
987
|
-
"name": "bet",
|
|
988
|
-
"type": "tuple"
|
|
989
|
-
}
|
|
990
|
-
],
|
|
991
|
-
"internalType": "struct LibCoinVending.ContractCondition",
|
|
992
|
-
"name": "contractRequirement",
|
|
993
|
-
"type": "tuple"
|
|
994
|
-
}
|
|
995
|
-
],
|
|
996
|
-
"internalType": "struct LibCoinVending.configSmartRequirement[]",
|
|
997
|
-
"name": "contracts",
|
|
998
|
-
"type": "tuple[]"
|
|
999
|
-
}
|
|
1000
|
-
],
|
|
1001
|
-
"indexed": false,
|
|
1002
|
-
"internalType": "struct LibCoinVending.ConfigPosition",
|
|
1003
|
-
"name": "config",
|
|
1004
|
-
"type": "tuple"
|
|
1005
|
-
}
|
|
1006
|
-
],
|
|
1007
|
-
"name": "RequirementsConfigured",
|
|
1008
|
-
"type": "event"
|
|
1009
|
-
},
|
|
1010
|
-
{
|
|
1011
|
-
"anonymous": false,
|
|
1012
|
-
"inputs": [
|
|
1013
1054
|
{
|
|
1014
1055
|
"indexed": true,
|
|
1015
1056
|
"internalType": "uint256",
|
|
1016
|
-
"name": "
|
|
1057
|
+
"name": "turn",
|
|
1017
1058
|
"type": "uint256"
|
|
1018
1059
|
},
|
|
1060
|
+
{
|
|
1061
|
+
"indexed": true,
|
|
1062
|
+
"internalType": "string",
|
|
1063
|
+
"name": "proposalHash",
|
|
1064
|
+
"type": "string"
|
|
1065
|
+
},
|
|
1019
1066
|
{
|
|
1020
1067
|
"indexed": false,
|
|
1021
|
-
"internalType": "
|
|
1022
|
-
"name": "
|
|
1023
|
-
"type": "
|
|
1068
|
+
"internalType": "string",
|
|
1069
|
+
"name": "proposal",
|
|
1070
|
+
"type": "string"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"indexed": false,
|
|
1074
|
+
"internalType": "uint256",
|
|
1075
|
+
"name": "score",
|
|
1076
|
+
"type": "uint256"
|
|
1024
1077
|
}
|
|
1025
1078
|
],
|
|
1026
|
-
"name": "
|
|
1079
|
+
"name": "ProposalScore",
|
|
1027
1080
|
"type": "event"
|
|
1028
1081
|
},
|
|
1029
1082
|
{
|
|
@@ -1038,121 +1091,896 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
1038
1091
|
{
|
|
1039
1092
|
"indexed": true,
|
|
1040
1093
|
"internalType": "uint256",
|
|
1041
|
-
"name": "
|
|
1094
|
+
"name": "turn",
|
|
1095
|
+
"type": "uint256"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"indexed": true,
|
|
1099
|
+
"internalType": "address",
|
|
1100
|
+
"name": "proposer",
|
|
1101
|
+
"type": "address"
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"indexed": false,
|
|
1105
|
+
"internalType": "uint256",
|
|
1106
|
+
"name": "commitment",
|
|
1042
1107
|
"type": "uint256"
|
|
1043
1108
|
},
|
|
1044
1109
|
{
|
|
1045
1110
|
"indexed": false,
|
|
1046
|
-
"internalType": "
|
|
1047
|
-
"name": "
|
|
1048
|
-
"type": "
|
|
1111
|
+
"internalType": "string",
|
|
1112
|
+
"name": "encryptedProposal",
|
|
1113
|
+
"type": "string"
|
|
1049
1114
|
},
|
|
1050
1115
|
{
|
|
1051
1116
|
"indexed": false,
|
|
1052
|
-
"internalType": "
|
|
1053
|
-
"name": "
|
|
1054
|
-
"type": "
|
|
1117
|
+
"internalType": "bytes",
|
|
1118
|
+
"name": "gmSignature",
|
|
1119
|
+
"type": "bytes"
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"indexed": false,
|
|
1123
|
+
"internalType": "bytes",
|
|
1124
|
+
"name": "proposerSignature",
|
|
1125
|
+
"type": "bytes"
|
|
1055
1126
|
}
|
|
1056
1127
|
],
|
|
1057
|
-
"name": "
|
|
1128
|
+
"name": "ProposalSubmitted",
|
|
1058
1129
|
"type": "event"
|
|
1059
1130
|
},
|
|
1060
1131
|
{
|
|
1061
1132
|
"anonymous": false,
|
|
1062
1133
|
"inputs": [
|
|
1063
1134
|
{
|
|
1064
|
-
"indexed":
|
|
1135
|
+
"indexed": true,
|
|
1065
1136
|
"internalType": "uint256",
|
|
1066
1137
|
"name": "gameId",
|
|
1067
1138
|
"type": "uint256"
|
|
1068
1139
|
},
|
|
1069
|
-
{
|
|
1070
|
-
"indexed": true,
|
|
1071
|
-
"internalType": "address",
|
|
1072
|
-
"name": "gm",
|
|
1073
|
-
"type": "address"
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"indexed": true,
|
|
1077
|
-
"internalType": "address",
|
|
1078
|
-
"name": "creator",
|
|
1079
|
-
"type": "address"
|
|
1080
|
-
},
|
|
1081
1140
|
{
|
|
1082
1141
|
"indexed": true,
|
|
1083
1142
|
"internalType": "uint256",
|
|
1084
|
-
"name": "
|
|
1143
|
+
"name": "roundNumber",
|
|
1085
1144
|
"type": "uint256"
|
|
1086
1145
|
},
|
|
1087
1146
|
{
|
|
1088
1147
|
"indexed": false,
|
|
1089
1148
|
"internalType": "uint256",
|
|
1090
|
-
"name": "
|
|
1149
|
+
"name": "numProposals",
|
|
1091
1150
|
"type": "uint256"
|
|
1092
1151
|
},
|
|
1093
1152
|
{
|
|
1094
1153
|
"indexed": false,
|
|
1095
|
-
"internalType": "
|
|
1096
|
-
"name": "
|
|
1097
|
-
"type": "
|
|
1154
|
+
"internalType": "string[]",
|
|
1155
|
+
"name": "proposals",
|
|
1156
|
+
"type": "string[]"
|
|
1098
1157
|
}
|
|
1099
1158
|
],
|
|
1100
|
-
"name": "
|
|
1159
|
+
"name": "ProposingStageEnded",
|
|
1101
1160
|
"type": "event"
|
|
1102
1161
|
},
|
|
1103
1162
|
{
|
|
1163
|
+
"anonymous": false,
|
|
1104
1164
|
"inputs": [
|
|
1105
1165
|
{
|
|
1166
|
+
"indexed": true,
|
|
1106
1167
|
"internalType": "uint256",
|
|
1107
1168
|
"name": "gameId",
|
|
1108
1169
|
"type": "uint256"
|
|
1109
|
-
}
|
|
1110
|
-
],
|
|
1111
|
-
"name": "canEndProposingStage",
|
|
1112
|
-
"outputs": [
|
|
1113
|
-
{
|
|
1114
|
-
"internalType": "bool",
|
|
1115
|
-
"name": "",
|
|
1116
|
-
"type": "bool"
|
|
1117
1170
|
},
|
|
1118
1171
|
{
|
|
1119
|
-
"
|
|
1120
|
-
"
|
|
1121
|
-
"
|
|
1172
|
+
"indexed": false,
|
|
1173
|
+
"internalType": "address",
|
|
1174
|
+
"name": "winner",
|
|
1175
|
+
"type": "address"
|
|
1122
1176
|
}
|
|
1123
1177
|
],
|
|
1124
|
-
"
|
|
1125
|
-
"type": "
|
|
1178
|
+
"name": "StaleGameEnded",
|
|
1179
|
+
"type": "event"
|
|
1126
1180
|
},
|
|
1127
1181
|
{
|
|
1182
|
+
"anonymous": false,
|
|
1128
1183
|
"inputs": [
|
|
1129
1184
|
{
|
|
1185
|
+
"indexed": true,
|
|
1130
1186
|
"internalType": "uint256",
|
|
1131
1187
|
"name": "gameId",
|
|
1132
1188
|
"type": "uint256"
|
|
1133
|
-
}
|
|
1134
|
-
],
|
|
1135
|
-
"name": "canEndVotingStage",
|
|
1136
|
-
"outputs": [
|
|
1189
|
+
},
|
|
1137
1190
|
{
|
|
1138
|
-
"
|
|
1139
|
-
"
|
|
1140
|
-
"
|
|
1191
|
+
"indexed": true,
|
|
1192
|
+
"internalType": "uint256",
|
|
1193
|
+
"name": "turn",
|
|
1194
|
+
"type": "uint256"
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"indexed": true,
|
|
1198
|
+
"internalType": "address",
|
|
1199
|
+
"name": "player",
|
|
1200
|
+
"type": "address"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"indexed": false,
|
|
1204
|
+
"internalType": "string",
|
|
1205
|
+
"name": "sealedBallotId",
|
|
1206
|
+
"type": "string"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"indexed": false,
|
|
1210
|
+
"internalType": "bytes",
|
|
1211
|
+
"name": "gmSignature",
|
|
1212
|
+
"type": "bytes"
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"indexed": false,
|
|
1216
|
+
"internalType": "bytes",
|
|
1217
|
+
"name": "voterSignature",
|
|
1218
|
+
"type": "bytes"
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"indexed": false,
|
|
1222
|
+
"internalType": "bytes32",
|
|
1223
|
+
"name": "ballotHash",
|
|
1224
|
+
"type": "bytes32"
|
|
1141
1225
|
}
|
|
1142
1226
|
],
|
|
1143
|
-
"
|
|
1144
|
-
"type": "
|
|
1227
|
+
"name": "VoteSubmitted",
|
|
1228
|
+
"type": "event"
|
|
1145
1229
|
},
|
|
1146
1230
|
{
|
|
1231
|
+
"anonymous": false,
|
|
1147
1232
|
"inputs": [
|
|
1148
1233
|
{
|
|
1234
|
+
"indexed": true,
|
|
1149
1235
|
"internalType": "uint256",
|
|
1150
1236
|
"name": "gameId",
|
|
1151
1237
|
"type": "uint256"
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"indexed": true,
|
|
1241
|
+
"internalType": "uint256",
|
|
1242
|
+
"name": "roundNumber",
|
|
1243
|
+
"type": "uint256"
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"indexed": true,
|
|
1247
|
+
"internalType": "address",
|
|
1248
|
+
"name": "winner",
|
|
1249
|
+
"type": "address"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"indexed": false,
|
|
1253
|
+
"internalType": "address[]",
|
|
1254
|
+
"name": "players",
|
|
1255
|
+
"type": "address[]"
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"indexed": false,
|
|
1259
|
+
"internalType": "uint256[]",
|
|
1260
|
+
"name": "scores",
|
|
1261
|
+
"type": "uint256[]"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"indexed": false,
|
|
1265
|
+
"internalType": "uint256[][]",
|
|
1266
|
+
"name": "votesSorted",
|
|
1267
|
+
"type": "uint256[][]"
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"indexed": false,
|
|
1271
|
+
"internalType": "bool[]",
|
|
1272
|
+
"name": "isActive",
|
|
1273
|
+
"type": "bool[]"
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"indexed": false,
|
|
1277
|
+
"internalType": "uint256[][]",
|
|
1278
|
+
"name": "finalizedVotingMatrix",
|
|
1279
|
+
"type": "uint256[][]"
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"indexed": false,
|
|
1283
|
+
"internalType": "uint256[]",
|
|
1284
|
+
"name": "permutation",
|
|
1285
|
+
"type": "uint256[]"
|
|
1286
|
+
}
|
|
1287
|
+
],
|
|
1288
|
+
"name": "VotingStageResults",
|
|
1289
|
+
"type": "event"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"inputs": [
|
|
1293
|
+
{
|
|
1294
|
+
"internalType": "uint256",
|
|
1295
|
+
"name": "gameId",
|
|
1296
|
+
"type": "uint256"
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"components": [
|
|
1300
|
+
{
|
|
1301
|
+
"internalType": "string[]",
|
|
1302
|
+
"name": "proposals",
|
|
1303
|
+
"type": "string[]"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"internalType": "uint256[2]",
|
|
1307
|
+
"name": "a",
|
|
1308
|
+
"type": "uint256[2]"
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"internalType": "uint256[2][2]",
|
|
1312
|
+
"name": "b",
|
|
1313
|
+
"type": "uint256[2][2]"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"internalType": "uint256[2]",
|
|
1317
|
+
"name": "c",
|
|
1318
|
+
"type": "uint256[2]"
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"internalType": "uint256",
|
|
1322
|
+
"name": "permutationCommitment",
|
|
1323
|
+
"type": "uint256"
|
|
1324
|
+
}
|
|
1325
|
+
],
|
|
1326
|
+
"internalType": "struct RankifyInstanceGameMastersFacet.BatchProposalReveal",
|
|
1327
|
+
"name": "newProposals",
|
|
1328
|
+
"type": "tuple"
|
|
1329
|
+
}
|
|
1330
|
+
],
|
|
1331
|
+
"name": "endProposing",
|
|
1332
|
+
"outputs": [],
|
|
1333
|
+
"stateMutability": "nonpayable",
|
|
1334
|
+
"type": "function"
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"inputs": [
|
|
1338
|
+
{
|
|
1339
|
+
"internalType": "uint256",
|
|
1340
|
+
"name": "gameId",
|
|
1341
|
+
"type": "uint256"
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
"internalType": "uint256[][]",
|
|
1345
|
+
"name": "votes",
|
|
1346
|
+
"type": "uint256[][]"
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"internalType": "uint256[]",
|
|
1350
|
+
"name": "permutation",
|
|
1351
|
+
"type": "uint256[]"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"internalType": "uint256",
|
|
1355
|
+
"name": "shuffleSalt",
|
|
1356
|
+
"type": "uint256"
|
|
1357
|
+
}
|
|
1358
|
+
],
|
|
1359
|
+
"name": "endVoting",
|
|
1360
|
+
"outputs": [],
|
|
1361
|
+
"stateMutability": "nonpayable",
|
|
1362
|
+
"type": "function"
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
"inputs": [
|
|
1366
|
+
{
|
|
1367
|
+
"internalType": "uint256",
|
|
1368
|
+
"name": "gameId",
|
|
1369
|
+
"type": "uint256"
|
|
1370
|
+
}
|
|
1371
|
+
],
|
|
1372
|
+
"name": "forceEndStaleGame",
|
|
1373
|
+
"outputs": [],
|
|
1374
|
+
"stateMutability": "nonpayable",
|
|
1375
|
+
"type": "function"
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
"inputs": [
|
|
1379
|
+
{
|
|
1380
|
+
"components": [
|
|
1381
|
+
{
|
|
1382
|
+
"internalType": "uint256",
|
|
1383
|
+
"name": "gameId",
|
|
1384
|
+
"type": "uint256"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"internalType": "string",
|
|
1388
|
+
"name": "encryptedProposal",
|
|
1389
|
+
"type": "string"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"internalType": "uint256",
|
|
1393
|
+
"name": "commitment",
|
|
1394
|
+
"type": "uint256"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"internalType": "address",
|
|
1398
|
+
"name": "proposer",
|
|
1399
|
+
"type": "address"
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"internalType": "bytes",
|
|
1403
|
+
"name": "gmSignature",
|
|
1404
|
+
"type": "bytes"
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"internalType": "bytes",
|
|
1408
|
+
"name": "proposerSignature",
|
|
1409
|
+
"type": "bytes"
|
|
1410
|
+
}
|
|
1411
|
+
],
|
|
1412
|
+
"internalType": "struct RankifyInstanceGameMastersFacet.ProposalParams",
|
|
1413
|
+
"name": "params",
|
|
1414
|
+
"type": "tuple"
|
|
1415
|
+
}
|
|
1416
|
+
],
|
|
1417
|
+
"name": "submitProposal",
|
|
1418
|
+
"outputs": [],
|
|
1419
|
+
"stateMutability": "nonpayable",
|
|
1420
|
+
"type": "function"
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"inputs": [
|
|
1424
|
+
{
|
|
1425
|
+
"internalType": "uint256",
|
|
1426
|
+
"name": "gameId",
|
|
1427
|
+
"type": "uint256"
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"internalType": "string",
|
|
1431
|
+
"name": "sealedBallotId",
|
|
1432
|
+
"type": "string"
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
"internalType": "address",
|
|
1436
|
+
"name": "voter",
|
|
1437
|
+
"type": "address"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"internalType": "bytes",
|
|
1441
|
+
"name": "gmSignature",
|
|
1442
|
+
"type": "bytes"
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"internalType": "bytes",
|
|
1446
|
+
"name": "voterSignature",
|
|
1447
|
+
"type": "bytes"
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
"internalType": "bytes32",
|
|
1451
|
+
"name": "ballotHash",
|
|
1452
|
+
"type": "bytes32"
|
|
1453
|
+
}
|
|
1454
|
+
],
|
|
1455
|
+
"name": "submitVote",
|
|
1456
|
+
"outputs": [],
|
|
1457
|
+
"stateMutability": "nonpayable",
|
|
1458
|
+
"type": "function"
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
"inputs": [
|
|
1462
|
+
{
|
|
1463
|
+
"internalType": "uint256",
|
|
1464
|
+
"name": "gameId",
|
|
1465
|
+
"type": "uint256"
|
|
1466
|
+
}
|
|
1467
|
+
],
|
|
1468
|
+
"name": "ErrorCannotForceEndGame",
|
|
1469
|
+
"type": "error"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"inputs": [
|
|
1473
|
+
{
|
|
1474
|
+
"internalType": "uint256",
|
|
1475
|
+
"name": "gameId",
|
|
1476
|
+
"type": "uint256"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"internalType": "enum IRankifyInstance.ProposingEndStatus",
|
|
1480
|
+
"name": "status",
|
|
1481
|
+
"type": "uint8"
|
|
1482
|
+
}
|
|
1483
|
+
],
|
|
1484
|
+
"name": "ErrorProposingStageEndFailed",
|
|
1485
|
+
"type": "error"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"inputs": [
|
|
1489
|
+
{
|
|
1490
|
+
"internalType": "uint256",
|
|
1491
|
+
"name": "a",
|
|
1492
|
+
"type": "uint256"
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"internalType": "uint256",
|
|
1496
|
+
"name": "b",
|
|
1497
|
+
"type": "uint256"
|
|
1498
|
+
}
|
|
1499
|
+
],
|
|
1500
|
+
"name": "NoDivisionReminderAllowed",
|
|
1501
|
+
"type": "error"
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"inputs": [],
|
|
1505
|
+
"name": "RankNotSpecified",
|
|
1506
|
+
"type": "error"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"inputs": [
|
|
1510
|
+
{
|
|
1511
|
+
"internalType": "string",
|
|
1512
|
+
"name": "message",
|
|
1513
|
+
"type": "string"
|
|
1514
|
+
}
|
|
1515
|
+
],
|
|
1516
|
+
"name": "invalidConfiguration",
|
|
1517
|
+
"type": "error"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"inputs": [
|
|
1521
|
+
{
|
|
1522
|
+
"internalType": "bytes32",
|
|
1523
|
+
"name": "digest",
|
|
1524
|
+
"type": "bytes32"
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"internalType": "string",
|
|
1528
|
+
"name": "message",
|
|
1529
|
+
"type": "string"
|
|
1530
|
+
}
|
|
1531
|
+
],
|
|
1532
|
+
"name": "invalidECDSARecoverSigner",
|
|
1533
|
+
"type": "error"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"inputs": [
|
|
1537
|
+
{
|
|
1538
|
+
"internalType": "uint256",
|
|
1539
|
+
"name": "nTurns",
|
|
1540
|
+
"type": "uint256"
|
|
1541
|
+
}
|
|
1542
|
+
],
|
|
1543
|
+
"name": "invalidTurnCount",
|
|
1544
|
+
"type": "error"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"inputs": [],
|
|
1548
|
+
"name": "zeroValue",
|
|
1549
|
+
"type": "error"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"anonymous": false,
|
|
1553
|
+
"inputs": [
|
|
1554
|
+
{
|
|
1555
|
+
"indexed": true,
|
|
1556
|
+
"internalType": "uint256",
|
|
1557
|
+
"name": "gameId",
|
|
1558
|
+
"type": "uint256"
|
|
1559
|
+
}
|
|
1560
|
+
],
|
|
1561
|
+
"name": "GameClosed",
|
|
1562
|
+
"type": "event"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"anonymous": false,
|
|
1566
|
+
"inputs": [
|
|
1567
|
+
{
|
|
1568
|
+
"indexed": true,
|
|
1569
|
+
"internalType": "uint256",
|
|
1570
|
+
"name": "gameId",
|
|
1571
|
+
"type": "uint256"
|
|
1572
|
+
}
|
|
1573
|
+
],
|
|
1574
|
+
"name": "GameStarted",
|
|
1575
|
+
"type": "event"
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"anonymous": false,
|
|
1579
|
+
"inputs": [
|
|
1580
|
+
{
|
|
1581
|
+
"indexed": true,
|
|
1582
|
+
"internalType": "uint256",
|
|
1583
|
+
"name": "gameId",
|
|
1584
|
+
"type": "uint256"
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"indexed": true,
|
|
1588
|
+
"internalType": "address",
|
|
1589
|
+
"name": "participant",
|
|
1590
|
+
"type": "address"
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"indexed": false,
|
|
1594
|
+
"internalType": "bytes32",
|
|
1595
|
+
"name": "gmCommitment",
|
|
1596
|
+
"type": "bytes32"
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"indexed": false,
|
|
1600
|
+
"internalType": "string",
|
|
1601
|
+
"name": "voterPubKey",
|
|
1602
|
+
"type": "string"
|
|
1603
|
+
}
|
|
1604
|
+
],
|
|
1605
|
+
"name": "PlayerJoined",
|
|
1606
|
+
"type": "event"
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"anonymous": false,
|
|
1610
|
+
"inputs": [
|
|
1611
|
+
{
|
|
1612
|
+
"indexed": true,
|
|
1613
|
+
"internalType": "uint256",
|
|
1614
|
+
"name": "gameId",
|
|
1615
|
+
"type": "uint256"
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"indexed": true,
|
|
1619
|
+
"internalType": "address",
|
|
1620
|
+
"name": "player",
|
|
1621
|
+
"type": "address"
|
|
1622
|
+
}
|
|
1623
|
+
],
|
|
1624
|
+
"name": "PlayerLeft",
|
|
1625
|
+
"type": "event"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"anonymous": false,
|
|
1629
|
+
"inputs": [
|
|
1630
|
+
{
|
|
1631
|
+
"indexed": true,
|
|
1632
|
+
"internalType": "address",
|
|
1633
|
+
"name": "player",
|
|
1634
|
+
"type": "address"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"indexed": false,
|
|
1638
|
+
"internalType": "uint256",
|
|
1639
|
+
"name": "rankId",
|
|
1640
|
+
"type": "uint256"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"indexed": false,
|
|
1644
|
+
"internalType": "uint256",
|
|
1645
|
+
"name": "amount",
|
|
1646
|
+
"type": "uint256"
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"indexed": false,
|
|
1650
|
+
"internalType": "uint256",
|
|
1651
|
+
"name": "_toMint",
|
|
1652
|
+
"type": "uint256"
|
|
1653
|
+
}
|
|
1654
|
+
],
|
|
1655
|
+
"name": "RankTokenExited",
|
|
1656
|
+
"type": "event"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"anonymous": false,
|
|
1660
|
+
"inputs": [
|
|
1661
|
+
{
|
|
1662
|
+
"indexed": true,
|
|
1663
|
+
"internalType": "uint256",
|
|
1664
|
+
"name": "gameId",
|
|
1665
|
+
"type": "uint256"
|
|
1666
|
+
}
|
|
1667
|
+
],
|
|
1668
|
+
"name": "RegistrationOpen",
|
|
1669
|
+
"type": "event"
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"anonymous": false,
|
|
1673
|
+
"inputs": [
|
|
1674
|
+
{
|
|
1675
|
+
"indexed": true,
|
|
1676
|
+
"internalType": "uint256",
|
|
1677
|
+
"name": "gameId",
|
|
1678
|
+
"type": "uint256"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"components": [
|
|
1682
|
+
{
|
|
1683
|
+
"components": [
|
|
1684
|
+
{
|
|
1685
|
+
"internalType": "uint256",
|
|
1686
|
+
"name": "have",
|
|
1687
|
+
"type": "uint256"
|
|
1688
|
+
},
|
|
1689
|
+
{
|
|
1690
|
+
"internalType": "uint256",
|
|
1691
|
+
"name": "lock",
|
|
1692
|
+
"type": "uint256"
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"internalType": "uint256",
|
|
1696
|
+
"name": "burn",
|
|
1697
|
+
"type": "uint256"
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
"internalType": "uint256",
|
|
1701
|
+
"name": "pay",
|
|
1702
|
+
"type": "uint256"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"internalType": "uint256",
|
|
1706
|
+
"name": "bet",
|
|
1707
|
+
"type": "uint256"
|
|
1708
|
+
}
|
|
1709
|
+
],
|
|
1710
|
+
"internalType": "struct LibCoinVending.NumericCondition",
|
|
1711
|
+
"name": "ethValues",
|
|
1712
|
+
"type": "tuple"
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"components": [
|
|
1716
|
+
{
|
|
1717
|
+
"internalType": "address",
|
|
1718
|
+
"name": "contractAddress",
|
|
1719
|
+
"type": "address"
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"internalType": "uint256",
|
|
1723
|
+
"name": "contractId",
|
|
1724
|
+
"type": "uint256"
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"internalType": "enum LibCoinVending.ContractTypes",
|
|
1728
|
+
"name": "contractType",
|
|
1729
|
+
"type": "uint8"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"components": [
|
|
1733
|
+
{
|
|
1734
|
+
"components": [
|
|
1735
|
+
{
|
|
1736
|
+
"internalType": "bytes",
|
|
1737
|
+
"name": "data",
|
|
1738
|
+
"type": "bytes"
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"internalType": "uint256",
|
|
1742
|
+
"name": "amount",
|
|
1743
|
+
"type": "uint256"
|
|
1744
|
+
}
|
|
1745
|
+
],
|
|
1746
|
+
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
1747
|
+
"name": "have",
|
|
1748
|
+
"type": "tuple"
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"components": [
|
|
1752
|
+
{
|
|
1753
|
+
"internalType": "bytes",
|
|
1754
|
+
"name": "data",
|
|
1755
|
+
"type": "bytes"
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"internalType": "uint256",
|
|
1759
|
+
"name": "amount",
|
|
1760
|
+
"type": "uint256"
|
|
1761
|
+
}
|
|
1762
|
+
],
|
|
1763
|
+
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
1764
|
+
"name": "lock",
|
|
1765
|
+
"type": "tuple"
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"components": [
|
|
1769
|
+
{
|
|
1770
|
+
"internalType": "bytes",
|
|
1771
|
+
"name": "data",
|
|
1772
|
+
"type": "bytes"
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"internalType": "uint256",
|
|
1776
|
+
"name": "amount",
|
|
1777
|
+
"type": "uint256"
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1780
|
+
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
1781
|
+
"name": "burn",
|
|
1782
|
+
"type": "tuple"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"components": [
|
|
1786
|
+
{
|
|
1787
|
+
"internalType": "bytes",
|
|
1788
|
+
"name": "data",
|
|
1789
|
+
"type": "bytes"
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"internalType": "uint256",
|
|
1793
|
+
"name": "amount",
|
|
1794
|
+
"type": "uint256"
|
|
1795
|
+
}
|
|
1796
|
+
],
|
|
1797
|
+
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
1798
|
+
"name": "pay",
|
|
1799
|
+
"type": "tuple"
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"components": [
|
|
1803
|
+
{
|
|
1804
|
+
"internalType": "bytes",
|
|
1805
|
+
"name": "data",
|
|
1806
|
+
"type": "bytes"
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"internalType": "uint256",
|
|
1810
|
+
"name": "amount",
|
|
1811
|
+
"type": "uint256"
|
|
1812
|
+
}
|
|
1813
|
+
],
|
|
1814
|
+
"internalType": "struct LibCoinVending.TransactionProperties",
|
|
1815
|
+
"name": "bet",
|
|
1816
|
+
"type": "tuple"
|
|
1817
|
+
}
|
|
1818
|
+
],
|
|
1819
|
+
"internalType": "struct LibCoinVending.ContractCondition",
|
|
1820
|
+
"name": "contractRequirement",
|
|
1821
|
+
"type": "tuple"
|
|
1822
|
+
}
|
|
1823
|
+
],
|
|
1824
|
+
"internalType": "struct LibCoinVending.configSmartRequirement[]",
|
|
1825
|
+
"name": "contracts",
|
|
1826
|
+
"type": "tuple[]"
|
|
1827
|
+
}
|
|
1828
|
+
],
|
|
1829
|
+
"indexed": false,
|
|
1830
|
+
"internalType": "struct LibCoinVending.ConfigPosition",
|
|
1831
|
+
"name": "config",
|
|
1832
|
+
"type": "tuple"
|
|
1833
|
+
}
|
|
1834
|
+
],
|
|
1835
|
+
"name": "RequirementsConfigured",
|
|
1836
|
+
"type": "event"
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"anonymous": false,
|
|
1840
|
+
"inputs": [
|
|
1841
|
+
{
|
|
1842
|
+
"indexed": true,
|
|
1843
|
+
"internalType": "uint256",
|
|
1844
|
+
"name": "gameId",
|
|
1845
|
+
"type": "uint256"
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"indexed": false,
|
|
1849
|
+
"internalType": "address",
|
|
1850
|
+
"name": "winner",
|
|
1851
|
+
"type": "address"
|
|
1852
|
+
}
|
|
1853
|
+
],
|
|
1854
|
+
"name": "StaleGameEnded",
|
|
1855
|
+
"type": "event"
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"anonymous": false,
|
|
1859
|
+
"inputs": [
|
|
1860
|
+
{
|
|
1861
|
+
"indexed": true,
|
|
1862
|
+
"internalType": "uint256",
|
|
1863
|
+
"name": "gameId",
|
|
1864
|
+
"type": "uint256"
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"indexed": true,
|
|
1868
|
+
"internalType": "uint256",
|
|
1869
|
+
"name": "roundNumber",
|
|
1870
|
+
"type": "uint256"
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
"indexed": false,
|
|
1874
|
+
"internalType": "address[]",
|
|
1875
|
+
"name": "players",
|
|
1876
|
+
"type": "address[]"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"indexed": false,
|
|
1880
|
+
"internalType": "uint256[]",
|
|
1881
|
+
"name": "scores",
|
|
1882
|
+
"type": "uint256[]"
|
|
1883
|
+
}
|
|
1884
|
+
],
|
|
1885
|
+
"name": "VotingStageEnded",
|
|
1886
|
+
"type": "event"
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"anonymous": false,
|
|
1890
|
+
"inputs": [
|
|
1891
|
+
{
|
|
1892
|
+
"indexed": false,
|
|
1893
|
+
"internalType": "uint256",
|
|
1894
|
+
"name": "gameId",
|
|
1895
|
+
"type": "uint256"
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"indexed": true,
|
|
1899
|
+
"internalType": "address",
|
|
1900
|
+
"name": "gm",
|
|
1901
|
+
"type": "address"
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"indexed": true,
|
|
1905
|
+
"internalType": "address",
|
|
1906
|
+
"name": "creator",
|
|
1907
|
+
"type": "address"
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"indexed": true,
|
|
1911
|
+
"internalType": "uint256",
|
|
1912
|
+
"name": "rank",
|
|
1913
|
+
"type": "uint256"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"indexed": false,
|
|
1917
|
+
"internalType": "uint256",
|
|
1918
|
+
"name": "proposingPhaseDuration",
|
|
1919
|
+
"type": "uint256"
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"indexed": false,
|
|
1923
|
+
"internalType": "uint256",
|
|
1924
|
+
"name": "votePhaseDuration",
|
|
1925
|
+
"type": "uint256"
|
|
1926
|
+
}
|
|
1927
|
+
],
|
|
1928
|
+
"name": "gameCreated",
|
|
1929
|
+
"type": "event"
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"inputs": [
|
|
1933
|
+
{
|
|
1934
|
+
"internalType": "uint256",
|
|
1935
|
+
"name": "gameId",
|
|
1936
|
+
"type": "uint256"
|
|
1937
|
+
}
|
|
1938
|
+
],
|
|
1939
|
+
"name": "canEndProposingStage",
|
|
1940
|
+
"outputs": [
|
|
1941
|
+
{
|
|
1942
|
+
"internalType": "bool",
|
|
1943
|
+
"name": "",
|
|
1944
|
+
"type": "bool"
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"internalType": "enum IRankifyInstance.ProposingEndStatus",
|
|
1948
|
+
"name": "",
|
|
1949
|
+
"type": "uint8"
|
|
1950
|
+
}
|
|
1951
|
+
],
|
|
1952
|
+
"stateMutability": "view",
|
|
1953
|
+
"type": "function"
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"inputs": [
|
|
1957
|
+
{
|
|
1958
|
+
"internalType": "uint256",
|
|
1959
|
+
"name": "gameId",
|
|
1960
|
+
"type": "uint256"
|
|
1961
|
+
}
|
|
1962
|
+
],
|
|
1963
|
+
"name": "canEndVotingStage",
|
|
1964
|
+
"outputs": [
|
|
1965
|
+
{
|
|
1966
|
+
"internalType": "bool",
|
|
1967
|
+
"name": "",
|
|
1968
|
+
"type": "bool"
|
|
1969
|
+
}
|
|
1970
|
+
],
|
|
1971
|
+
"stateMutability": "view",
|
|
1972
|
+
"type": "function"
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"inputs": [
|
|
1976
|
+
{
|
|
1977
|
+
"internalType": "uint256",
|
|
1978
|
+
"name": "gameId",
|
|
1979
|
+
"type": "uint256"
|
|
1980
|
+
}
|
|
1981
|
+
],
|
|
1982
|
+
"name": "canStartGame",
|
|
1983
|
+
"outputs": [
|
|
1156
1984
|
{
|
|
1157
1985
|
"internalType": "bool",
|
|
1158
1986
|
"name": "",
|
|
@@ -2015,7 +2843,45 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
2015
2843
|
"type": "string"
|
|
2016
2844
|
}
|
|
2017
2845
|
],
|
|
2018
|
-
"name": "joinGame",
|
|
2846
|
+
"name": "joinGame",
|
|
2847
|
+
"outputs": [],
|
|
2848
|
+
"stateMutability": "payable",
|
|
2849
|
+
"type": "function"
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
"inputs": [
|
|
2853
|
+
{
|
|
2854
|
+
"internalType": "uint256",
|
|
2855
|
+
"name": "gameId",
|
|
2856
|
+
"type": "uint256"
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
"internalType": "bytes",
|
|
2860
|
+
"name": "gameMasterSignature",
|
|
2861
|
+
"type": "bytes"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"internalType": "bytes32",
|
|
2865
|
+
"name": "gmCommitment",
|
|
2866
|
+
"type": "bytes32"
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
"internalType": "uint256",
|
|
2870
|
+
"name": "deadline",
|
|
2871
|
+
"type": "uint256"
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"internalType": "string",
|
|
2875
|
+
"name": "voterPubKey",
|
|
2876
|
+
"type": "string"
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"internalType": "address",
|
|
2880
|
+
"name": "player",
|
|
2881
|
+
"type": "address"
|
|
2882
|
+
}
|
|
2883
|
+
],
|
|
2884
|
+
"name": "joinGameByMaster",
|
|
2019
2885
|
"outputs": [],
|
|
2020
2886
|
"stateMutability": "payable",
|
|
2021
2887
|
"type": "function"
|
|
@@ -2916,86 +3782,437 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
2916
3782
|
"type": "uint256"
|
|
2917
3783
|
}
|
|
2918
3784
|
],
|
|
2919
|
-
"stateMutability": "view",
|
|
2920
|
-
"type": "function"
|
|
3785
|
+
"stateMutability": "view",
|
|
3786
|
+
"type": "function"
|
|
3787
|
+
},
|
|
3788
|
+
{
|
|
3789
|
+
"inputs": [
|
|
3790
|
+
{
|
|
3791
|
+
"internalType": "uint256",
|
|
3792
|
+
"name": "gameId",
|
|
3793
|
+
"type": "uint256"
|
|
3794
|
+
},
|
|
3795
|
+
{
|
|
3796
|
+
"internalType": "uint256",
|
|
3797
|
+
"name": "turn",
|
|
3798
|
+
"type": "uint256"
|
|
3799
|
+
},
|
|
3800
|
+
{
|
|
3801
|
+
"internalType": "bytes32",
|
|
3802
|
+
"name": "proposalHash",
|
|
3803
|
+
"type": "bytes32"
|
|
3804
|
+
}
|
|
3805
|
+
],
|
|
3806
|
+
"name": "getProposalTurnScore",
|
|
3807
|
+
"outputs": [
|
|
3808
|
+
{
|
|
3809
|
+
"internalType": "uint256",
|
|
3810
|
+
"name": "score",
|
|
3811
|
+
"type": "uint256"
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"internalType": "address[]",
|
|
3815
|
+
"name": "proposedBy",
|
|
3816
|
+
"type": "address[]"
|
|
3817
|
+
}
|
|
3818
|
+
],
|
|
3819
|
+
"stateMutability": "view",
|
|
3820
|
+
"type": "function"
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
"inputs": [
|
|
3824
|
+
{
|
|
3825
|
+
"internalType": "uint256",
|
|
3826
|
+
"name": "gameId",
|
|
3827
|
+
"type": "uint256"
|
|
3828
|
+
},
|
|
3829
|
+
{
|
|
3830
|
+
"internalType": "uint256",
|
|
3831
|
+
"name": "turn",
|
|
3832
|
+
"type": "uint256"
|
|
3833
|
+
}
|
|
3834
|
+
],
|
|
3835
|
+
"name": "getProposalsTurnScores",
|
|
3836
|
+
"outputs": [
|
|
3837
|
+
{
|
|
3838
|
+
"internalType": "bytes32[]",
|
|
3839
|
+
"name": "proposalHashes",
|
|
3840
|
+
"type": "bytes32[]"
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
"internalType": "uint256[]",
|
|
3844
|
+
"name": "scores",
|
|
3845
|
+
"type": "uint256[]"
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"internalType": "address[][]",
|
|
3849
|
+
"name": "proposedBy",
|
|
3850
|
+
"type": "address[][]"
|
|
3851
|
+
}
|
|
3852
|
+
],
|
|
3853
|
+
"stateMutability": "view",
|
|
3854
|
+
"type": "function"
|
|
3855
|
+
},
|
|
3856
|
+
{
|
|
3857
|
+
"inputs": [
|
|
3858
|
+
{
|
|
3859
|
+
"internalType": "bytes32",
|
|
3860
|
+
"name": "proposalHash",
|
|
3861
|
+
"type": "bytes32"
|
|
3862
|
+
}
|
|
3863
|
+
],
|
|
3864
|
+
"name": "proposalExists",
|
|
3865
|
+
"outputs": [
|
|
3866
|
+
{
|
|
3867
|
+
"internalType": "bool",
|
|
3868
|
+
"name": "",
|
|
3869
|
+
"type": "bool"
|
|
3870
|
+
}
|
|
3871
|
+
],
|
|
3872
|
+
"stateMutability": "view",
|
|
3873
|
+
"type": "function"
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
"inputs": [
|
|
3877
|
+
{
|
|
3878
|
+
"internalType": "uint256",
|
|
3879
|
+
"name": "gameId",
|
|
3880
|
+
"type": "uint256"
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"internalType": "bytes32",
|
|
3884
|
+
"name": "proposalHash",
|
|
3885
|
+
"type": "bytes32"
|
|
3886
|
+
}
|
|
3887
|
+
],
|
|
3888
|
+
"name": "proposalExistsInGame",
|
|
3889
|
+
"outputs": [
|
|
3890
|
+
{
|
|
3891
|
+
"internalType": "bool",
|
|
3892
|
+
"name": "",
|
|
3893
|
+
"type": "bool"
|
|
3894
|
+
}
|
|
3895
|
+
],
|
|
3896
|
+
"stateMutability": "view",
|
|
3897
|
+
"type": "function"
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
"inputs": [
|
|
3901
|
+
{
|
|
3902
|
+
"internalType": "uint256",
|
|
3903
|
+
"name": "gameId",
|
|
3904
|
+
"type": "uint256"
|
|
3905
|
+
},
|
|
3906
|
+
{
|
|
3907
|
+
"internalType": "uint256",
|
|
3908
|
+
"name": "turn",
|
|
3909
|
+
"type": "uint256"
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
"internalType": "bytes32",
|
|
3913
|
+
"name": "proposalHash",
|
|
3914
|
+
"type": "bytes32"
|
|
3915
|
+
}
|
|
3916
|
+
],
|
|
3917
|
+
"name": "proposalExistsInTurn",
|
|
3918
|
+
"outputs": [
|
|
3919
|
+
{
|
|
3920
|
+
"internalType": "bool",
|
|
3921
|
+
"name": "exists",
|
|
3922
|
+
"type": "bool"
|
|
3923
|
+
},
|
|
3924
|
+
{
|
|
3925
|
+
"internalType": "address[]",
|
|
3926
|
+
"name": "proposedBy",
|
|
3927
|
+
"type": "address[]"
|
|
3928
|
+
}
|
|
3929
|
+
],
|
|
3930
|
+
"stateMutability": "view",
|
|
3931
|
+
"type": "function"
|
|
3932
|
+
},
|
|
3933
|
+
{
|
|
3934
|
+
"inputs": [],
|
|
3935
|
+
"name": "EnforcedPause",
|
|
3936
|
+
"type": "error"
|
|
3937
|
+
},
|
|
3938
|
+
{
|
|
3939
|
+
"inputs": [],
|
|
3940
|
+
"name": "ExpectedPause",
|
|
3941
|
+
"type": "error"
|
|
3942
|
+
},
|
|
3943
|
+
{
|
|
3944
|
+
"inputs": [],
|
|
3945
|
+
"name": "InvalidInitialization",
|
|
3946
|
+
"type": "error"
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
"inputs": [],
|
|
3950
|
+
"name": "NotInitializing",
|
|
3951
|
+
"type": "error"
|
|
3952
|
+
},
|
|
3953
|
+
{
|
|
3954
|
+
"inputs": [],
|
|
3955
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
3956
|
+
"type": "error"
|
|
3957
|
+
},
|
|
3958
|
+
{
|
|
3959
|
+
"anonymous": false,
|
|
3960
|
+
"inputs": [
|
|
3961
|
+
{
|
|
3962
|
+
"indexed": false,
|
|
3963
|
+
"internalType": "uint64",
|
|
3964
|
+
"name": "version",
|
|
3965
|
+
"type": "uint64"
|
|
3966
|
+
}
|
|
3967
|
+
],
|
|
3968
|
+
"name": "Initialized",
|
|
3969
|
+
"type": "event"
|
|
3970
|
+
},
|
|
3971
|
+
{
|
|
3972
|
+
"anonymous": false,
|
|
3973
|
+
"inputs": [
|
|
3974
|
+
{
|
|
3975
|
+
"indexed": false,
|
|
3976
|
+
"internalType": "address",
|
|
3977
|
+
"name": "account",
|
|
3978
|
+
"type": "address"
|
|
3979
|
+
}
|
|
3980
|
+
],
|
|
3981
|
+
"name": "Paused",
|
|
3982
|
+
"type": "event"
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
"anonymous": false,
|
|
3986
|
+
"inputs": [
|
|
3987
|
+
{
|
|
3988
|
+
"indexed": true,
|
|
3989
|
+
"internalType": "address",
|
|
3990
|
+
"name": "rankifyInstance",
|
|
3991
|
+
"type": "address"
|
|
3992
|
+
},
|
|
3993
|
+
{
|
|
3994
|
+
"components": [
|
|
3995
|
+
{
|
|
3996
|
+
"internalType": "address",
|
|
3997
|
+
"name": "rewardToken",
|
|
3998
|
+
"type": "address"
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
"internalType": "uint256",
|
|
4002
|
+
"name": "principalCost",
|
|
4003
|
+
"type": "uint256"
|
|
4004
|
+
},
|
|
4005
|
+
{
|
|
4006
|
+
"internalType": "uint96",
|
|
4007
|
+
"name": "principalTimeConstant",
|
|
4008
|
+
"type": "uint96"
|
|
4009
|
+
},
|
|
4010
|
+
{
|
|
4011
|
+
"internalType": "uint256",
|
|
4012
|
+
"name": "minimumParticipantsInCircle",
|
|
4013
|
+
"type": "uint256"
|
|
4014
|
+
},
|
|
4015
|
+
{
|
|
4016
|
+
"internalType": "address",
|
|
4017
|
+
"name": "paymentToken",
|
|
4018
|
+
"type": "address"
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
"internalType": "address",
|
|
4022
|
+
"name": "beneficiary",
|
|
4023
|
+
"type": "address"
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"internalType": "address",
|
|
4027
|
+
"name": "derivedToken",
|
|
4028
|
+
"type": "address"
|
|
4029
|
+
},
|
|
4030
|
+
{
|
|
4031
|
+
"internalType": "address",
|
|
4032
|
+
"name": "proposalIntegrityVerifier",
|
|
4033
|
+
"type": "address"
|
|
4034
|
+
},
|
|
4035
|
+
{
|
|
4036
|
+
"internalType": "address",
|
|
4037
|
+
"name": "poseidon5",
|
|
4038
|
+
"type": "address"
|
|
4039
|
+
},
|
|
4040
|
+
{
|
|
4041
|
+
"internalType": "address",
|
|
4042
|
+
"name": "poseidon6",
|
|
4043
|
+
"type": "address"
|
|
4044
|
+
},
|
|
4045
|
+
{
|
|
4046
|
+
"internalType": "address",
|
|
4047
|
+
"name": "poseidon2",
|
|
4048
|
+
"type": "address"
|
|
4049
|
+
},
|
|
4050
|
+
{
|
|
4051
|
+
"internalType": "contract IMultipass",
|
|
4052
|
+
"name": "multipass",
|
|
4053
|
+
"type": "address"
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"internalType": "contract DistributableGovernanceERC20",
|
|
4057
|
+
"name": "ubiToken",
|
|
4058
|
+
"type": "address"
|
|
4059
|
+
},
|
|
4060
|
+
{
|
|
4061
|
+
"internalType": "address",
|
|
4062
|
+
"name": "pauser",
|
|
4063
|
+
"type": "address"
|
|
4064
|
+
},
|
|
4065
|
+
{
|
|
4066
|
+
"internalType": "uint256",
|
|
4067
|
+
"name": "dailyClaim",
|
|
4068
|
+
"type": "uint256"
|
|
4069
|
+
},
|
|
4070
|
+
{
|
|
4071
|
+
"internalType": "uint256",
|
|
4072
|
+
"name": "dailySupport",
|
|
4073
|
+
"type": "uint256"
|
|
4074
|
+
},
|
|
4075
|
+
{
|
|
4076
|
+
"internalType": "bytes32",
|
|
4077
|
+
"name": "domainName",
|
|
4078
|
+
"type": "bytes32"
|
|
4079
|
+
}
|
|
4080
|
+
],
|
|
4081
|
+
"indexed": false,
|
|
4082
|
+
"internalType": "struct RankifyInstanceInit.contractInitializer",
|
|
4083
|
+
"name": "parameters",
|
|
4084
|
+
"type": "tuple"
|
|
4085
|
+
}
|
|
4086
|
+
],
|
|
4087
|
+
"name": "RankifyInstanceInitialized",
|
|
4088
|
+
"type": "event"
|
|
2921
4089
|
},
|
|
2922
4090
|
{
|
|
4091
|
+
"anonymous": false,
|
|
2923
4092
|
"inputs": [
|
|
2924
4093
|
{
|
|
2925
|
-
"
|
|
2926
|
-
"
|
|
2927
|
-
"
|
|
2928
|
-
|
|
2929
|
-
{
|
|
2930
|
-
"internalType": "uint256",
|
|
2931
|
-
"name": "turn",
|
|
2932
|
-
"type": "uint256"
|
|
2933
|
-
},
|
|
2934
|
-
{
|
|
2935
|
-
"internalType": "bytes32",
|
|
2936
|
-
"name": "proposalHash",
|
|
2937
|
-
"type": "bytes32"
|
|
2938
|
-
}
|
|
2939
|
-
],
|
|
2940
|
-
"name": "getProposalTurnScore",
|
|
2941
|
-
"outputs": [
|
|
2942
|
-
{
|
|
2943
|
-
"internalType": "uint256",
|
|
2944
|
-
"name": "score",
|
|
2945
|
-
"type": "uint256"
|
|
2946
|
-
},
|
|
2947
|
-
{
|
|
2948
|
-
"internalType": "address[]",
|
|
2949
|
-
"name": "proposedBy",
|
|
2950
|
-
"type": "address[]"
|
|
4094
|
+
"indexed": false,
|
|
4095
|
+
"internalType": "address",
|
|
4096
|
+
"name": "account",
|
|
4097
|
+
"type": "address"
|
|
2951
4098
|
}
|
|
2952
4099
|
],
|
|
2953
|
-
"
|
|
2954
|
-
"type": "
|
|
4100
|
+
"name": "Unpaused",
|
|
4101
|
+
"type": "event"
|
|
2955
4102
|
},
|
|
2956
4103
|
{
|
|
2957
4104
|
"inputs": [
|
|
2958
4105
|
{
|
|
2959
|
-
"internalType": "
|
|
2960
|
-
"name": "
|
|
2961
|
-
"type": "
|
|
2962
|
-
},
|
|
2963
|
-
{
|
|
2964
|
-
"internalType": "uint256",
|
|
2965
|
-
"name": "turn",
|
|
2966
|
-
"type": "uint256"
|
|
2967
|
-
}
|
|
2968
|
-
],
|
|
2969
|
-
"name": "getProposalsTurnScores",
|
|
2970
|
-
"outputs": [
|
|
2971
|
-
{
|
|
2972
|
-
"internalType": "bytes32[]",
|
|
2973
|
-
"name": "proposalHashes",
|
|
2974
|
-
"type": "bytes32[]"
|
|
4106
|
+
"internalType": "string",
|
|
4107
|
+
"name": "name",
|
|
4108
|
+
"type": "string"
|
|
2975
4109
|
},
|
|
2976
4110
|
{
|
|
2977
|
-
"internalType": "
|
|
2978
|
-
"name": "
|
|
2979
|
-
"type": "
|
|
4111
|
+
"internalType": "string",
|
|
4112
|
+
"name": "version",
|
|
4113
|
+
"type": "string"
|
|
2980
4114
|
},
|
|
2981
4115
|
{
|
|
2982
|
-
"
|
|
2983
|
-
|
|
2984
|
-
|
|
4116
|
+
"components": [
|
|
4117
|
+
{
|
|
4118
|
+
"internalType": "address",
|
|
4119
|
+
"name": "rewardToken",
|
|
4120
|
+
"type": "address"
|
|
4121
|
+
},
|
|
4122
|
+
{
|
|
4123
|
+
"internalType": "uint256",
|
|
4124
|
+
"name": "principalCost",
|
|
4125
|
+
"type": "uint256"
|
|
4126
|
+
},
|
|
4127
|
+
{
|
|
4128
|
+
"internalType": "uint96",
|
|
4129
|
+
"name": "principalTimeConstant",
|
|
4130
|
+
"type": "uint96"
|
|
4131
|
+
},
|
|
4132
|
+
{
|
|
4133
|
+
"internalType": "uint256",
|
|
4134
|
+
"name": "minimumParticipantsInCircle",
|
|
4135
|
+
"type": "uint256"
|
|
4136
|
+
},
|
|
4137
|
+
{
|
|
4138
|
+
"internalType": "address",
|
|
4139
|
+
"name": "paymentToken",
|
|
4140
|
+
"type": "address"
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
"internalType": "address",
|
|
4144
|
+
"name": "beneficiary",
|
|
4145
|
+
"type": "address"
|
|
4146
|
+
},
|
|
4147
|
+
{
|
|
4148
|
+
"internalType": "address",
|
|
4149
|
+
"name": "derivedToken",
|
|
4150
|
+
"type": "address"
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
"internalType": "address",
|
|
4154
|
+
"name": "proposalIntegrityVerifier",
|
|
4155
|
+
"type": "address"
|
|
4156
|
+
},
|
|
4157
|
+
{
|
|
4158
|
+
"internalType": "address",
|
|
4159
|
+
"name": "poseidon5",
|
|
4160
|
+
"type": "address"
|
|
4161
|
+
},
|
|
4162
|
+
{
|
|
4163
|
+
"internalType": "address",
|
|
4164
|
+
"name": "poseidon6",
|
|
4165
|
+
"type": "address"
|
|
4166
|
+
},
|
|
4167
|
+
{
|
|
4168
|
+
"internalType": "address",
|
|
4169
|
+
"name": "poseidon2",
|
|
4170
|
+
"type": "address"
|
|
4171
|
+
},
|
|
4172
|
+
{
|
|
4173
|
+
"internalType": "contract IMultipass",
|
|
4174
|
+
"name": "multipass",
|
|
4175
|
+
"type": "address"
|
|
4176
|
+
},
|
|
4177
|
+
{
|
|
4178
|
+
"internalType": "contract DistributableGovernanceERC20",
|
|
4179
|
+
"name": "ubiToken",
|
|
4180
|
+
"type": "address"
|
|
4181
|
+
},
|
|
4182
|
+
{
|
|
4183
|
+
"internalType": "address",
|
|
4184
|
+
"name": "pauser",
|
|
4185
|
+
"type": "address"
|
|
4186
|
+
},
|
|
4187
|
+
{
|
|
4188
|
+
"internalType": "uint256",
|
|
4189
|
+
"name": "dailyClaim",
|
|
4190
|
+
"type": "uint256"
|
|
4191
|
+
},
|
|
4192
|
+
{
|
|
4193
|
+
"internalType": "uint256",
|
|
4194
|
+
"name": "dailySupport",
|
|
4195
|
+
"type": "uint256"
|
|
4196
|
+
},
|
|
4197
|
+
{
|
|
4198
|
+
"internalType": "bytes32",
|
|
4199
|
+
"name": "domainName",
|
|
4200
|
+
"type": "bytes32"
|
|
4201
|
+
}
|
|
4202
|
+
],
|
|
4203
|
+
"internalType": "struct RankifyInstanceInit.contractInitializer",
|
|
4204
|
+
"name": "initData",
|
|
4205
|
+
"type": "tuple"
|
|
2985
4206
|
}
|
|
2986
4207
|
],
|
|
2987
|
-
"
|
|
4208
|
+
"name": "init",
|
|
4209
|
+
"outputs": [],
|
|
4210
|
+
"stateMutability": "nonpayable",
|
|
2988
4211
|
"type": "function"
|
|
2989
4212
|
},
|
|
2990
4213
|
{
|
|
2991
|
-
"inputs": [
|
|
2992
|
-
|
|
2993
|
-
"internalType": "bytes32",
|
|
2994
|
-
"name": "proposalHash",
|
|
2995
|
-
"type": "bytes32"
|
|
2996
|
-
}
|
|
2997
|
-
],
|
|
2998
|
-
"name": "proposalExists",
|
|
4214
|
+
"inputs": [],
|
|
4215
|
+
"name": "paused",
|
|
2999
4216
|
"outputs": [
|
|
3000
4217
|
{
|
|
3001
4218
|
"internalType": "bool",
|
|
@@ -3009,60 +4226,74 @@ exports.RankifyDiamondInstanceAbi = [
|
|
|
3009
4226
|
{
|
|
3010
4227
|
"inputs": [
|
|
3011
4228
|
{
|
|
3012
|
-
"internalType": "
|
|
3013
|
-
"name": "
|
|
3014
|
-
"type": "
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
"internalType": "bytes32",
|
|
3018
|
-
"name": "proposalHash",
|
|
3019
|
-
"type": "bytes32"
|
|
3020
|
-
}
|
|
3021
|
-
],
|
|
3022
|
-
"name": "proposalExistsInGame",
|
|
3023
|
-
"outputs": [
|
|
3024
|
-
{
|
|
3025
|
-
"internalType": "bool",
|
|
3026
|
-
"name": "",
|
|
3027
|
-
"type": "bool"
|
|
4229
|
+
"internalType": "bytes4",
|
|
4230
|
+
"name": "selector",
|
|
4231
|
+
"type": "bytes4"
|
|
3028
4232
|
}
|
|
3029
4233
|
],
|
|
3030
|
-
"
|
|
3031
|
-
"type": "
|
|
4234
|
+
"name": "functionDoesNotExist",
|
|
4235
|
+
"type": "error"
|
|
3032
4236
|
},
|
|
3033
4237
|
{
|
|
4238
|
+
"anonymous": false,
|
|
3034
4239
|
"inputs": [
|
|
3035
4240
|
{
|
|
3036
|
-
"
|
|
3037
|
-
|
|
3038
|
-
|
|
4241
|
+
"components": [
|
|
4242
|
+
{
|
|
4243
|
+
"internalType": "address",
|
|
4244
|
+
"name": "facetAddress",
|
|
4245
|
+
"type": "address"
|
|
4246
|
+
},
|
|
4247
|
+
{
|
|
4248
|
+
"internalType": "enum IDiamondCut.FacetCutAction",
|
|
4249
|
+
"name": "action",
|
|
4250
|
+
"type": "uint8"
|
|
4251
|
+
},
|
|
4252
|
+
{
|
|
4253
|
+
"internalType": "bytes4[]",
|
|
4254
|
+
"name": "functionSelectors",
|
|
4255
|
+
"type": "bytes4[]"
|
|
4256
|
+
}
|
|
4257
|
+
],
|
|
4258
|
+
"indexed": false,
|
|
4259
|
+
"internalType": "struct IDiamondCut.FacetCut[]",
|
|
4260
|
+
"name": "_diamondCut",
|
|
4261
|
+
"type": "tuple[]"
|
|
3039
4262
|
},
|
|
3040
4263
|
{
|
|
3041
|
-
"
|
|
3042
|
-
"
|
|
3043
|
-
"
|
|
4264
|
+
"indexed": false,
|
|
4265
|
+
"internalType": "address",
|
|
4266
|
+
"name": "_init",
|
|
4267
|
+
"type": "address"
|
|
3044
4268
|
},
|
|
3045
4269
|
{
|
|
3046
|
-
"
|
|
3047
|
-
"
|
|
3048
|
-
"
|
|
4270
|
+
"indexed": false,
|
|
4271
|
+
"internalType": "bytes",
|
|
4272
|
+
"name": "_calldata",
|
|
4273
|
+
"type": "bytes"
|
|
3049
4274
|
}
|
|
3050
4275
|
],
|
|
3051
|
-
"name": "
|
|
3052
|
-
"
|
|
4276
|
+
"name": "DiamondCut",
|
|
4277
|
+
"type": "event"
|
|
4278
|
+
},
|
|
4279
|
+
{
|
|
4280
|
+
"anonymous": false,
|
|
4281
|
+
"inputs": [
|
|
3053
4282
|
{
|
|
3054
|
-
"
|
|
3055
|
-
"
|
|
3056
|
-
"
|
|
4283
|
+
"indexed": true,
|
|
4284
|
+
"internalType": "address",
|
|
4285
|
+
"name": "previousOwner",
|
|
4286
|
+
"type": "address"
|
|
3057
4287
|
},
|
|
3058
4288
|
{
|
|
3059
|
-
"
|
|
3060
|
-
"
|
|
3061
|
-
"
|
|
4289
|
+
"indexed": true,
|
|
4290
|
+
"internalType": "address",
|
|
4291
|
+
"name": "newOwner",
|
|
4292
|
+
"type": "address"
|
|
3062
4293
|
}
|
|
3063
4294
|
],
|
|
3064
|
-
"
|
|
3065
|
-
"type": "
|
|
4295
|
+
"name": "OwnershipTransferred",
|
|
4296
|
+
"type": "event"
|
|
3066
4297
|
},
|
|
3067
4298
|
{
|
|
3068
4299
|
"inputs": [
|