@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
|
@@ -1,4 +1,594 @@
|
|
|
1
1
|
export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
2
|
+
readonly inputs: readonly [];
|
|
3
|
+
readonly name: "EnforcedPause";
|
|
4
|
+
readonly type: "error";
|
|
5
|
+
}, {
|
|
6
|
+
readonly inputs: readonly [];
|
|
7
|
+
readonly name: "ExpectedPause";
|
|
8
|
+
readonly type: "error";
|
|
9
|
+
}, {
|
|
10
|
+
readonly inputs: readonly [];
|
|
11
|
+
readonly name: "InvalidInitialization";
|
|
12
|
+
readonly type: "error";
|
|
13
|
+
}, {
|
|
14
|
+
readonly inputs: readonly [{
|
|
15
|
+
readonly internalType: "bool";
|
|
16
|
+
readonly name: "recordFound";
|
|
17
|
+
readonly type: "bool";
|
|
18
|
+
}, {
|
|
19
|
+
readonly internalType: "uint256";
|
|
20
|
+
readonly name: "validUtil";
|
|
21
|
+
readonly type: "uint256";
|
|
22
|
+
}];
|
|
23
|
+
readonly name: "InvalidSender";
|
|
24
|
+
readonly type: "error";
|
|
25
|
+
}, {
|
|
26
|
+
readonly inputs: readonly [];
|
|
27
|
+
readonly name: "NotInitializing";
|
|
28
|
+
readonly type: "error";
|
|
29
|
+
}, {
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
32
|
+
readonly type: "error";
|
|
33
|
+
}, {
|
|
34
|
+
readonly inputs: readonly [{
|
|
35
|
+
readonly internalType: "string";
|
|
36
|
+
readonly name: "str";
|
|
37
|
+
readonly type: "string";
|
|
38
|
+
}];
|
|
39
|
+
readonly name: "StringTooLong";
|
|
40
|
+
readonly type: "error";
|
|
41
|
+
}, {
|
|
42
|
+
readonly anonymous: false;
|
|
43
|
+
readonly inputs: readonly [{
|
|
44
|
+
readonly indexed: true;
|
|
45
|
+
readonly internalType: "address";
|
|
46
|
+
readonly name: "user";
|
|
47
|
+
readonly type: "address";
|
|
48
|
+
}, {
|
|
49
|
+
readonly indexed: false;
|
|
50
|
+
readonly internalType: "uint256";
|
|
51
|
+
readonly name: "amount";
|
|
52
|
+
readonly type: "uint256";
|
|
53
|
+
}];
|
|
54
|
+
readonly name: "Claimed";
|
|
55
|
+
readonly type: "event";
|
|
56
|
+
}, {
|
|
57
|
+
readonly anonymous: false;
|
|
58
|
+
readonly inputs: readonly [{
|
|
59
|
+
readonly indexed: false;
|
|
60
|
+
readonly internalType: "uint64";
|
|
61
|
+
readonly name: "version";
|
|
62
|
+
readonly type: "uint64";
|
|
63
|
+
}];
|
|
64
|
+
readonly name: "Initialized";
|
|
65
|
+
readonly type: "event";
|
|
66
|
+
}, {
|
|
67
|
+
readonly anonymous: false;
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly indexed: true;
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
readonly name: "user";
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
}];
|
|
74
|
+
readonly name: "OnboardingBonusClaimed";
|
|
75
|
+
readonly type: "event";
|
|
76
|
+
}, {
|
|
77
|
+
readonly anonymous: false;
|
|
78
|
+
readonly inputs: readonly [{
|
|
79
|
+
readonly indexed: false;
|
|
80
|
+
readonly internalType: "address";
|
|
81
|
+
readonly name: "account";
|
|
82
|
+
readonly type: "address";
|
|
83
|
+
}];
|
|
84
|
+
readonly name: "Paused";
|
|
85
|
+
readonly type: "event";
|
|
86
|
+
}, {
|
|
87
|
+
readonly anonymous: false;
|
|
88
|
+
readonly inputs: readonly [{
|
|
89
|
+
readonly indexed: true;
|
|
90
|
+
readonly internalType: "uint256";
|
|
91
|
+
readonly name: "lifeTimeScore";
|
|
92
|
+
readonly type: "uint256";
|
|
93
|
+
}, {
|
|
94
|
+
readonly indexed: true;
|
|
95
|
+
readonly internalType: "uint256";
|
|
96
|
+
readonly name: "proposedTimes";
|
|
97
|
+
readonly type: "uint256";
|
|
98
|
+
}, {
|
|
99
|
+
readonly indexed: true;
|
|
100
|
+
readonly internalType: "uint256";
|
|
101
|
+
readonly name: "repostedTimes";
|
|
102
|
+
readonly type: "uint256";
|
|
103
|
+
}];
|
|
104
|
+
readonly name: "ProposalLifetimeScore";
|
|
105
|
+
readonly type: "event";
|
|
106
|
+
}, {
|
|
107
|
+
readonly anonymous: false;
|
|
108
|
+
readonly inputs: readonly [{
|
|
109
|
+
readonly indexed: true;
|
|
110
|
+
readonly internalType: "uint256";
|
|
111
|
+
readonly name: "dailyScore";
|
|
112
|
+
readonly type: "uint256";
|
|
113
|
+
}, {
|
|
114
|
+
readonly indexed: true;
|
|
115
|
+
readonly internalType: "uint256";
|
|
116
|
+
readonly name: "day";
|
|
117
|
+
readonly type: "uint256";
|
|
118
|
+
}, {
|
|
119
|
+
readonly indexed: true;
|
|
120
|
+
readonly internalType: "address";
|
|
121
|
+
readonly name: "proposer";
|
|
122
|
+
readonly type: "address";
|
|
123
|
+
}, {
|
|
124
|
+
readonly indexed: false;
|
|
125
|
+
readonly internalType: "bytes32";
|
|
126
|
+
readonly name: "proposal";
|
|
127
|
+
readonly type: "bytes32";
|
|
128
|
+
}];
|
|
129
|
+
readonly name: "ProposalScoreUpdatedByAddress";
|
|
130
|
+
readonly type: "event";
|
|
131
|
+
}, {
|
|
132
|
+
readonly anonymous: false;
|
|
133
|
+
readonly inputs: readonly [{
|
|
134
|
+
readonly indexed: true;
|
|
135
|
+
readonly internalType: "uint256";
|
|
136
|
+
readonly name: "dailyScore";
|
|
137
|
+
readonly type: "uint256";
|
|
138
|
+
}, {
|
|
139
|
+
readonly indexed: true;
|
|
140
|
+
readonly internalType: "uint256";
|
|
141
|
+
readonly name: "day";
|
|
142
|
+
readonly type: "uint256";
|
|
143
|
+
}, {
|
|
144
|
+
readonly indexed: true;
|
|
145
|
+
readonly internalType: "bytes32";
|
|
146
|
+
readonly name: "proposal";
|
|
147
|
+
readonly type: "bytes32";
|
|
148
|
+
}, {
|
|
149
|
+
readonly indexed: false;
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
readonly name: "proposer";
|
|
152
|
+
readonly type: "address";
|
|
153
|
+
}];
|
|
154
|
+
readonly name: "ProposalScoreUpdatedByProposal";
|
|
155
|
+
readonly type: "event";
|
|
156
|
+
}, {
|
|
157
|
+
readonly anonymous: false;
|
|
158
|
+
readonly inputs: readonly [{
|
|
159
|
+
readonly indexed: false;
|
|
160
|
+
readonly internalType: "bytes32";
|
|
161
|
+
readonly name: "proposalHash";
|
|
162
|
+
readonly type: "bytes32";
|
|
163
|
+
}, {
|
|
164
|
+
readonly indexed: false;
|
|
165
|
+
readonly internalType: "uint256";
|
|
166
|
+
readonly name: "newTimesProposed";
|
|
167
|
+
readonly type: "uint256";
|
|
168
|
+
}];
|
|
169
|
+
readonly name: "ProposedTime";
|
|
170
|
+
readonly type: "event";
|
|
171
|
+
}, {
|
|
172
|
+
readonly anonymous: false;
|
|
173
|
+
readonly inputs: readonly [{
|
|
174
|
+
readonly indexed: true;
|
|
175
|
+
readonly internalType: "address";
|
|
176
|
+
readonly name: "proposer";
|
|
177
|
+
readonly type: "address";
|
|
178
|
+
}, {
|
|
179
|
+
readonly indexed: true;
|
|
180
|
+
readonly internalType: "uint256";
|
|
181
|
+
readonly name: "day";
|
|
182
|
+
readonly type: "uint256";
|
|
183
|
+
}, {
|
|
184
|
+
readonly indexed: true;
|
|
185
|
+
readonly internalType: "bytes32";
|
|
186
|
+
readonly name: "proposal";
|
|
187
|
+
readonly type: "bytes32";
|
|
188
|
+
}, {
|
|
189
|
+
readonly indexed: false;
|
|
190
|
+
readonly internalType: "string";
|
|
191
|
+
readonly name: "proposalText";
|
|
192
|
+
readonly type: "string";
|
|
193
|
+
}, {
|
|
194
|
+
readonly indexed: false;
|
|
195
|
+
readonly internalType: "uint256";
|
|
196
|
+
readonly name: "scoreWhenProposed";
|
|
197
|
+
readonly type: "uint256";
|
|
198
|
+
}];
|
|
199
|
+
readonly name: "ProposingByAddress";
|
|
200
|
+
readonly type: "event";
|
|
201
|
+
}, {
|
|
202
|
+
readonly anonymous: false;
|
|
203
|
+
readonly inputs: readonly [{
|
|
204
|
+
readonly indexed: true;
|
|
205
|
+
readonly internalType: "address";
|
|
206
|
+
readonly name: "reposter";
|
|
207
|
+
readonly type: "address";
|
|
208
|
+
}, {
|
|
209
|
+
readonly indexed: true;
|
|
210
|
+
readonly internalType: "uint256";
|
|
211
|
+
readonly name: "day";
|
|
212
|
+
readonly type: "uint256";
|
|
213
|
+
}, {
|
|
214
|
+
readonly indexed: true;
|
|
215
|
+
readonly internalType: "bytes32";
|
|
216
|
+
readonly name: "proposal";
|
|
217
|
+
readonly type: "bytes32";
|
|
218
|
+
}, {
|
|
219
|
+
readonly indexed: false;
|
|
220
|
+
readonly internalType: "address";
|
|
221
|
+
readonly name: "proposer";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}, {
|
|
224
|
+
readonly indexed: false;
|
|
225
|
+
readonly internalType: "string";
|
|
226
|
+
readonly name: "proposalText";
|
|
227
|
+
readonly type: "string";
|
|
228
|
+
}];
|
|
229
|
+
readonly name: "RepostByProposer";
|
|
230
|
+
readonly type: "event";
|
|
231
|
+
}, {
|
|
232
|
+
readonly anonymous: false;
|
|
233
|
+
readonly inputs: readonly [{
|
|
234
|
+
readonly indexed: true;
|
|
235
|
+
readonly internalType: "address";
|
|
236
|
+
readonly name: "proposer";
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
}, {
|
|
239
|
+
readonly indexed: true;
|
|
240
|
+
readonly internalType: "uint256";
|
|
241
|
+
readonly name: "day";
|
|
242
|
+
readonly type: "uint256";
|
|
243
|
+
}, {
|
|
244
|
+
readonly indexed: true;
|
|
245
|
+
readonly internalType: "bytes32";
|
|
246
|
+
readonly name: "proposal";
|
|
247
|
+
readonly type: "bytes32";
|
|
248
|
+
}, {
|
|
249
|
+
readonly indexed: false;
|
|
250
|
+
readonly internalType: "address";
|
|
251
|
+
readonly name: "reposter";
|
|
252
|
+
readonly type: "address";
|
|
253
|
+
}, {
|
|
254
|
+
readonly indexed: false;
|
|
255
|
+
readonly internalType: "string";
|
|
256
|
+
readonly name: "proposalText";
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
}];
|
|
259
|
+
readonly name: "RepostByReposter";
|
|
260
|
+
readonly type: "event";
|
|
261
|
+
}, {
|
|
262
|
+
readonly anonymous: false;
|
|
263
|
+
readonly inputs: readonly [{
|
|
264
|
+
readonly indexed: false;
|
|
265
|
+
readonly internalType: "address";
|
|
266
|
+
readonly name: "account";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
}];
|
|
269
|
+
readonly name: "Unpaused";
|
|
270
|
+
readonly type: "event";
|
|
271
|
+
}, {
|
|
272
|
+
readonly anonymous: false;
|
|
273
|
+
readonly inputs: readonly [{
|
|
274
|
+
readonly indexed: true;
|
|
275
|
+
readonly internalType: "address";
|
|
276
|
+
readonly name: "participant";
|
|
277
|
+
readonly type: "address";
|
|
278
|
+
}, {
|
|
279
|
+
readonly indexed: true;
|
|
280
|
+
readonly internalType: "uint256";
|
|
281
|
+
readonly name: "day";
|
|
282
|
+
readonly type: "uint256";
|
|
283
|
+
}, {
|
|
284
|
+
readonly indexed: true;
|
|
285
|
+
readonly internalType: "bytes32";
|
|
286
|
+
readonly name: "proposal";
|
|
287
|
+
readonly type: "bytes32";
|
|
288
|
+
}, {
|
|
289
|
+
readonly indexed: false;
|
|
290
|
+
readonly internalType: "uint256";
|
|
291
|
+
readonly name: "amount";
|
|
292
|
+
readonly type: "uint256";
|
|
293
|
+
}];
|
|
294
|
+
readonly name: "VotingByAddress";
|
|
295
|
+
readonly type: "event";
|
|
296
|
+
}, {
|
|
297
|
+
readonly inputs: readonly [{
|
|
298
|
+
readonly internalType: "string";
|
|
299
|
+
readonly name: "data";
|
|
300
|
+
readonly type: "string";
|
|
301
|
+
}];
|
|
302
|
+
readonly name: "claim";
|
|
303
|
+
readonly outputs: readonly [];
|
|
304
|
+
readonly stateMutability: "nonpayable";
|
|
305
|
+
readonly type: "function";
|
|
306
|
+
}, {
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly internalType: "address";
|
|
309
|
+
readonly name: "user";
|
|
310
|
+
readonly type: "address";
|
|
311
|
+
}];
|
|
312
|
+
readonly name: "claimOnboardingBonus";
|
|
313
|
+
readonly outputs: readonly [];
|
|
314
|
+
readonly stateMutability: "nonpayable";
|
|
315
|
+
readonly type: "function";
|
|
316
|
+
}, {
|
|
317
|
+
readonly inputs: readonly [];
|
|
318
|
+
readonly name: "currentDay";
|
|
319
|
+
readonly outputs: readonly [{
|
|
320
|
+
readonly internalType: "uint256";
|
|
321
|
+
readonly name: "";
|
|
322
|
+
readonly type: "uint256";
|
|
323
|
+
}];
|
|
324
|
+
readonly stateMutability: "view";
|
|
325
|
+
readonly type: "function";
|
|
326
|
+
}, {
|
|
327
|
+
readonly inputs: readonly [];
|
|
328
|
+
readonly name: "getCurrentDay";
|
|
329
|
+
readonly outputs: readonly [{
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
readonly name: "";
|
|
332
|
+
readonly type: "uint256";
|
|
333
|
+
}];
|
|
334
|
+
readonly stateMutability: "view";
|
|
335
|
+
readonly type: "function";
|
|
336
|
+
}, {
|
|
337
|
+
readonly inputs: readonly [{
|
|
338
|
+
readonly internalType: "bytes32";
|
|
339
|
+
readonly name: "hash";
|
|
340
|
+
readonly type: "bytes32";
|
|
341
|
+
}, {
|
|
342
|
+
readonly internalType: "uint256";
|
|
343
|
+
readonly name: "day";
|
|
344
|
+
readonly type: "uint256";
|
|
345
|
+
}];
|
|
346
|
+
readonly name: "getProposalDailyScore";
|
|
347
|
+
readonly outputs: readonly [{
|
|
348
|
+
readonly components: readonly [{
|
|
349
|
+
readonly internalType: "bytes32";
|
|
350
|
+
readonly name: "proposal";
|
|
351
|
+
readonly type: "bytes32";
|
|
352
|
+
}, {
|
|
353
|
+
readonly internalType: "uint256";
|
|
354
|
+
readonly name: "score";
|
|
355
|
+
readonly type: "uint256";
|
|
356
|
+
}, {
|
|
357
|
+
readonly internalType: "address";
|
|
358
|
+
readonly name: "proposer";
|
|
359
|
+
readonly type: "address";
|
|
360
|
+
}, {
|
|
361
|
+
readonly internalType: "bool";
|
|
362
|
+
readonly name: "exists";
|
|
363
|
+
readonly type: "bool";
|
|
364
|
+
}];
|
|
365
|
+
readonly internalType: "struct LibUBI.DailyProposal";
|
|
366
|
+
readonly name: "";
|
|
367
|
+
readonly type: "tuple";
|
|
368
|
+
}];
|
|
369
|
+
readonly stateMutability: "view";
|
|
370
|
+
readonly type: "function";
|
|
371
|
+
}, {
|
|
372
|
+
readonly inputs: readonly [{
|
|
373
|
+
readonly internalType: "uint256";
|
|
374
|
+
readonly name: "day";
|
|
375
|
+
readonly type: "uint256";
|
|
376
|
+
}];
|
|
377
|
+
readonly name: "getProposalsCnt";
|
|
378
|
+
readonly outputs: readonly [{
|
|
379
|
+
readonly internalType: "uint256";
|
|
380
|
+
readonly name: "";
|
|
381
|
+
readonly type: "uint256";
|
|
382
|
+
}];
|
|
383
|
+
readonly stateMutability: "view";
|
|
384
|
+
readonly type: "function";
|
|
385
|
+
}, {
|
|
386
|
+
readonly inputs: readonly [{
|
|
387
|
+
readonly internalType: "string";
|
|
388
|
+
readonly name: "text";
|
|
389
|
+
readonly type: "string";
|
|
390
|
+
}];
|
|
391
|
+
readonly name: "getShortStringBytes32";
|
|
392
|
+
readonly outputs: readonly [{
|
|
393
|
+
readonly internalType: "bytes32";
|
|
394
|
+
readonly name: "";
|
|
395
|
+
readonly type: "bytes32";
|
|
396
|
+
}];
|
|
397
|
+
readonly stateMutability: "pure";
|
|
398
|
+
readonly type: "function";
|
|
399
|
+
}, {
|
|
400
|
+
readonly inputs: readonly [];
|
|
401
|
+
readonly name: "getUBIParams";
|
|
402
|
+
readonly outputs: readonly [{
|
|
403
|
+
readonly internalType: "uint256";
|
|
404
|
+
readonly name: "dailyClaimAmount";
|
|
405
|
+
readonly type: "uint256";
|
|
406
|
+
}, {
|
|
407
|
+
readonly internalType: "uint256";
|
|
408
|
+
readonly name: "dailySupportAmount";
|
|
409
|
+
readonly type: "uint256";
|
|
410
|
+
}, {
|
|
411
|
+
readonly internalType: "bytes32";
|
|
412
|
+
readonly name: "domainName";
|
|
413
|
+
readonly type: "bytes32";
|
|
414
|
+
}];
|
|
415
|
+
readonly stateMutability: "view";
|
|
416
|
+
readonly type: "function";
|
|
417
|
+
}, {
|
|
418
|
+
readonly inputs: readonly [{
|
|
419
|
+
readonly internalType: "address";
|
|
420
|
+
readonly name: "user";
|
|
421
|
+
readonly type: "address";
|
|
422
|
+
}];
|
|
423
|
+
readonly name: "getUserState";
|
|
424
|
+
readonly outputs: readonly [{
|
|
425
|
+
readonly internalType: "bool";
|
|
426
|
+
readonly name: "claimedToday";
|
|
427
|
+
readonly type: "bool";
|
|
428
|
+
}, {
|
|
429
|
+
readonly internalType: "uint256";
|
|
430
|
+
readonly name: "supportSpent";
|
|
431
|
+
readonly type: "uint256";
|
|
432
|
+
}];
|
|
433
|
+
readonly stateMutability: "view";
|
|
434
|
+
readonly type: "function";
|
|
435
|
+
}, {
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly internalType: "contract IMultipass";
|
|
438
|
+
readonly name: "_multipass";
|
|
439
|
+
readonly type: "address";
|
|
440
|
+
}, {
|
|
441
|
+
readonly internalType: "contract DistributableGovernanceERC20";
|
|
442
|
+
readonly name: "_token";
|
|
443
|
+
readonly type: "address";
|
|
444
|
+
}, {
|
|
445
|
+
readonly internalType: "address";
|
|
446
|
+
readonly name: "_pauser";
|
|
447
|
+
readonly type: "address";
|
|
448
|
+
}, {
|
|
449
|
+
readonly internalType: "uint256";
|
|
450
|
+
readonly name: "dailyClaim";
|
|
451
|
+
readonly type: "uint256";
|
|
452
|
+
}, {
|
|
453
|
+
readonly internalType: "uint256";
|
|
454
|
+
readonly name: "dailySupport";
|
|
455
|
+
readonly type: "uint256";
|
|
456
|
+
}, {
|
|
457
|
+
readonly internalType: "bytes32";
|
|
458
|
+
readonly name: "domainName";
|
|
459
|
+
readonly type: "bytes32";
|
|
460
|
+
}];
|
|
461
|
+
readonly name: "initialize";
|
|
462
|
+
readonly outputs: readonly [];
|
|
463
|
+
readonly stateMutability: "nonpayable";
|
|
464
|
+
readonly type: "function";
|
|
465
|
+
}, {
|
|
466
|
+
readonly inputs: readonly [{
|
|
467
|
+
readonly internalType: "address";
|
|
468
|
+
readonly name: "user";
|
|
469
|
+
readonly type: "address";
|
|
470
|
+
}];
|
|
471
|
+
readonly name: "lastClaimedAt";
|
|
472
|
+
readonly outputs: readonly [{
|
|
473
|
+
readonly internalType: "uint256";
|
|
474
|
+
readonly name: "";
|
|
475
|
+
readonly type: "uint256";
|
|
476
|
+
}];
|
|
477
|
+
readonly stateMutability: "view";
|
|
478
|
+
readonly type: "function";
|
|
479
|
+
}, {
|
|
480
|
+
readonly inputs: readonly [];
|
|
481
|
+
readonly name: "multipass";
|
|
482
|
+
readonly outputs: readonly [{
|
|
483
|
+
readonly internalType: "contract IMultipass";
|
|
484
|
+
readonly name: "";
|
|
485
|
+
readonly type: "address";
|
|
486
|
+
}];
|
|
487
|
+
readonly stateMutability: "view";
|
|
488
|
+
readonly type: "function";
|
|
489
|
+
}, {
|
|
490
|
+
readonly inputs: readonly [{
|
|
491
|
+
readonly internalType: "address";
|
|
492
|
+
readonly name: "user";
|
|
493
|
+
readonly type: "address";
|
|
494
|
+
}];
|
|
495
|
+
readonly name: "onboardingBonusClaimed";
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly internalType: "bool";
|
|
498
|
+
readonly name: "";
|
|
499
|
+
readonly type: "bool";
|
|
500
|
+
}];
|
|
501
|
+
readonly stateMutability: "view";
|
|
502
|
+
readonly type: "function";
|
|
503
|
+
}, {
|
|
504
|
+
readonly inputs: readonly [];
|
|
505
|
+
readonly name: "pause";
|
|
506
|
+
readonly outputs: readonly [];
|
|
507
|
+
readonly stateMutability: "nonpayable";
|
|
508
|
+
readonly type: "function";
|
|
509
|
+
}, {
|
|
510
|
+
readonly inputs: readonly [];
|
|
511
|
+
readonly name: "paused";
|
|
512
|
+
readonly outputs: readonly [{
|
|
513
|
+
readonly internalType: "bool";
|
|
514
|
+
readonly name: "";
|
|
515
|
+
readonly type: "bool";
|
|
516
|
+
}];
|
|
517
|
+
readonly stateMutability: "view";
|
|
518
|
+
readonly type: "function";
|
|
519
|
+
}, {
|
|
520
|
+
readonly inputs: readonly [];
|
|
521
|
+
readonly name: "pauser";
|
|
522
|
+
readonly outputs: readonly [{
|
|
523
|
+
readonly internalType: "address";
|
|
524
|
+
readonly name: "";
|
|
525
|
+
readonly type: "address";
|
|
526
|
+
}];
|
|
527
|
+
readonly stateMutability: "view";
|
|
528
|
+
readonly type: "function";
|
|
529
|
+
}, {
|
|
530
|
+
readonly inputs: readonly [{
|
|
531
|
+
readonly internalType: "bytes32";
|
|
532
|
+
readonly name: "proposal";
|
|
533
|
+
readonly type: "bytes32";
|
|
534
|
+
}];
|
|
535
|
+
readonly name: "proposalLifetimeStats";
|
|
536
|
+
readonly outputs: readonly [{
|
|
537
|
+
readonly components: readonly [{
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
readonly name: "aggregateScore";
|
|
540
|
+
readonly type: "uint256";
|
|
541
|
+
}, {
|
|
542
|
+
readonly internalType: "uint256";
|
|
543
|
+
readonly name: "proposedTimes";
|
|
544
|
+
readonly type: "uint256";
|
|
545
|
+
}, {
|
|
546
|
+
readonly internalType: "uint256";
|
|
547
|
+
readonly name: "repostedTimes";
|
|
548
|
+
readonly type: "uint256";
|
|
549
|
+
}];
|
|
550
|
+
readonly internalType: "struct LibUBI.ProposalGlobalStats";
|
|
551
|
+
readonly name: "";
|
|
552
|
+
readonly type: "tuple";
|
|
553
|
+
}];
|
|
554
|
+
readonly stateMutability: "view";
|
|
555
|
+
readonly type: "function";
|
|
556
|
+
}, {
|
|
557
|
+
readonly inputs: readonly [{
|
|
558
|
+
readonly components: readonly [{
|
|
559
|
+
readonly internalType: "bytes32";
|
|
560
|
+
readonly name: "proposal";
|
|
561
|
+
readonly type: "bytes32";
|
|
562
|
+
}, {
|
|
563
|
+
readonly internalType: "uint256";
|
|
564
|
+
readonly name: "amount";
|
|
565
|
+
readonly type: "uint256";
|
|
566
|
+
}];
|
|
567
|
+
readonly internalType: "struct LibUBI.VoteElement[]";
|
|
568
|
+
readonly name: "votes";
|
|
569
|
+
readonly type: "tuple[]";
|
|
570
|
+
}];
|
|
571
|
+
readonly name: "support";
|
|
572
|
+
readonly outputs: readonly [];
|
|
573
|
+
readonly stateMutability: "nonpayable";
|
|
574
|
+
readonly type: "function";
|
|
575
|
+
}, {
|
|
576
|
+
readonly inputs: readonly [];
|
|
577
|
+
readonly name: "token";
|
|
578
|
+
readonly outputs: readonly [{
|
|
579
|
+
readonly internalType: "contract DistributableGovernanceERC20";
|
|
580
|
+
readonly name: "";
|
|
581
|
+
readonly type: "address";
|
|
582
|
+
}];
|
|
583
|
+
readonly stateMutability: "view";
|
|
584
|
+
readonly type: "function";
|
|
585
|
+
}, {
|
|
586
|
+
readonly inputs: readonly [];
|
|
587
|
+
readonly name: "unpause";
|
|
588
|
+
readonly outputs: readonly [];
|
|
589
|
+
readonly stateMutability: "nonpayable";
|
|
590
|
+
readonly type: "function";
|
|
591
|
+
}, {
|
|
2
592
|
readonly inputs: readonly [];
|
|
3
593
|
readonly name: "currentChainId";
|
|
4
594
|
readonly outputs: readonly [{
|
|
@@ -46,6 +636,60 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
46
636
|
}];
|
|
47
637
|
readonly stateMutability: "view";
|
|
48
638
|
readonly type: "function";
|
|
639
|
+
}, {
|
|
640
|
+
readonly anonymous: false;
|
|
641
|
+
readonly inputs: readonly [{
|
|
642
|
+
readonly indexed: true;
|
|
643
|
+
readonly internalType: "address";
|
|
644
|
+
readonly name: "_address";
|
|
645
|
+
readonly type: "address";
|
|
646
|
+
}];
|
|
647
|
+
readonly name: "WhitelistedGMAdded";
|
|
648
|
+
readonly type: "event";
|
|
649
|
+
}, {
|
|
650
|
+
readonly anonymous: false;
|
|
651
|
+
readonly inputs: readonly [{
|
|
652
|
+
readonly indexed: true;
|
|
653
|
+
readonly internalType: "address";
|
|
654
|
+
readonly name: "_address";
|
|
655
|
+
readonly type: "address";
|
|
656
|
+
}];
|
|
657
|
+
readonly name: "WhitelistedGMRemoved";
|
|
658
|
+
readonly type: "event";
|
|
659
|
+
}, {
|
|
660
|
+
readonly inputs: readonly [{
|
|
661
|
+
readonly internalType: "address";
|
|
662
|
+
readonly name: "_address";
|
|
663
|
+
readonly type: "address";
|
|
664
|
+
}];
|
|
665
|
+
readonly name: "addWhitelistedGM";
|
|
666
|
+
readonly outputs: readonly [];
|
|
667
|
+
readonly stateMutability: "nonpayable";
|
|
668
|
+
readonly type: "function";
|
|
669
|
+
}, {
|
|
670
|
+
readonly inputs: readonly [{
|
|
671
|
+
readonly internalType: "address";
|
|
672
|
+
readonly name: "_address";
|
|
673
|
+
readonly type: "address";
|
|
674
|
+
}];
|
|
675
|
+
readonly name: "isWhitelistedGM";
|
|
676
|
+
readonly outputs: readonly [{
|
|
677
|
+
readonly internalType: "bool";
|
|
678
|
+
readonly name: "";
|
|
679
|
+
readonly type: "bool";
|
|
680
|
+
}];
|
|
681
|
+
readonly stateMutability: "view";
|
|
682
|
+
readonly type: "function";
|
|
683
|
+
}, {
|
|
684
|
+
readonly inputs: readonly [{
|
|
685
|
+
readonly internalType: "address";
|
|
686
|
+
readonly name: "_address";
|
|
687
|
+
readonly type: "address";
|
|
688
|
+
}];
|
|
689
|
+
readonly name: "removeWhitelistedGM";
|
|
690
|
+
readonly outputs: readonly [];
|
|
691
|
+
readonly stateMutability: "nonpayable";
|
|
692
|
+
readonly type: "function";
|
|
49
693
|
}, {
|
|
50
694
|
readonly inputs: readonly [{
|
|
51
695
|
readonly internalType: "bytes32[2]";
|
|
@@ -1519,16 +2163,42 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
1519
2163
|
}, {
|
|
1520
2164
|
readonly inputs: readonly [{
|
|
1521
2165
|
readonly internalType: "uint256";
|
|
1522
|
-
readonly name: "gameId";
|
|
2166
|
+
readonly name: "gameId";
|
|
2167
|
+
readonly type: "uint256";
|
|
2168
|
+
}];
|
|
2169
|
+
readonly name: "isVotingStage";
|
|
2170
|
+
readonly outputs: readonly [{
|
|
2171
|
+
readonly internalType: "bool";
|
|
2172
|
+
readonly name: "";
|
|
2173
|
+
readonly type: "bool";
|
|
2174
|
+
}];
|
|
2175
|
+
readonly stateMutability: "view";
|
|
2176
|
+
readonly type: "function";
|
|
2177
|
+
}, {
|
|
2178
|
+
readonly inputs: readonly [{
|
|
2179
|
+
readonly internalType: "uint256";
|
|
2180
|
+
readonly name: "gameId";
|
|
2181
|
+
readonly type: "uint256";
|
|
2182
|
+
}, {
|
|
2183
|
+
readonly internalType: "bytes";
|
|
2184
|
+
readonly name: "gameMasterSignature";
|
|
2185
|
+
readonly type: "bytes";
|
|
2186
|
+
}, {
|
|
2187
|
+
readonly internalType: "bytes32";
|
|
2188
|
+
readonly name: "gmCommitment";
|
|
2189
|
+
readonly type: "bytes32";
|
|
2190
|
+
}, {
|
|
2191
|
+
readonly internalType: "uint256";
|
|
2192
|
+
readonly name: "deadline";
|
|
1523
2193
|
readonly type: "uint256";
|
|
2194
|
+
}, {
|
|
2195
|
+
readonly internalType: "string";
|
|
2196
|
+
readonly name: "voterPubKey";
|
|
2197
|
+
readonly type: "string";
|
|
1524
2198
|
}];
|
|
1525
|
-
readonly name: "
|
|
1526
|
-
readonly outputs: readonly [
|
|
1527
|
-
|
|
1528
|
-
readonly name: "";
|
|
1529
|
-
readonly type: "bool";
|
|
1530
|
-
}];
|
|
1531
|
-
readonly stateMutability: "view";
|
|
2199
|
+
readonly name: "joinGame";
|
|
2200
|
+
readonly outputs: readonly [];
|
|
2201
|
+
readonly stateMutability: "payable";
|
|
1532
2202
|
readonly type: "function";
|
|
1533
2203
|
}, {
|
|
1534
2204
|
readonly inputs: readonly [{
|
|
@@ -1551,8 +2221,12 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
1551
2221
|
readonly internalType: "string";
|
|
1552
2222
|
readonly name: "voterPubKey";
|
|
1553
2223
|
readonly type: "string";
|
|
2224
|
+
}, {
|
|
2225
|
+
readonly internalType: "address";
|
|
2226
|
+
readonly name: "player";
|
|
2227
|
+
readonly type: "address";
|
|
1554
2228
|
}];
|
|
1555
|
-
readonly name: "
|
|
2229
|
+
readonly name: "joinGameByMaster";
|
|
1556
2230
|
readonly outputs: readonly [];
|
|
1557
2231
|
readonly stateMutability: "payable";
|
|
1558
2232
|
readonly type: "function";
|
|
@@ -2358,6 +3032,293 @@ export declare const RankifyDiamondInstanceAbi: readonly [{
|
|
|
2358
3032
|
}];
|
|
2359
3033
|
readonly stateMutability: "view";
|
|
2360
3034
|
readonly type: "function";
|
|
3035
|
+
}, {
|
|
3036
|
+
readonly inputs: readonly [];
|
|
3037
|
+
readonly name: "EnforcedPause";
|
|
3038
|
+
readonly type: "error";
|
|
3039
|
+
}, {
|
|
3040
|
+
readonly inputs: readonly [];
|
|
3041
|
+
readonly name: "ExpectedPause";
|
|
3042
|
+
readonly type: "error";
|
|
3043
|
+
}, {
|
|
3044
|
+
readonly inputs: readonly [];
|
|
3045
|
+
readonly name: "InvalidInitialization";
|
|
3046
|
+
readonly type: "error";
|
|
3047
|
+
}, {
|
|
3048
|
+
readonly inputs: readonly [];
|
|
3049
|
+
readonly name: "NotInitializing";
|
|
3050
|
+
readonly type: "error";
|
|
3051
|
+
}, {
|
|
3052
|
+
readonly inputs: readonly [];
|
|
3053
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
3054
|
+
readonly type: "error";
|
|
3055
|
+
}, {
|
|
3056
|
+
readonly anonymous: false;
|
|
3057
|
+
readonly inputs: readonly [{
|
|
3058
|
+
readonly indexed: false;
|
|
3059
|
+
readonly internalType: "uint64";
|
|
3060
|
+
readonly name: "version";
|
|
3061
|
+
readonly type: "uint64";
|
|
3062
|
+
}];
|
|
3063
|
+
readonly name: "Initialized";
|
|
3064
|
+
readonly type: "event";
|
|
3065
|
+
}, {
|
|
3066
|
+
readonly anonymous: false;
|
|
3067
|
+
readonly inputs: readonly [{
|
|
3068
|
+
readonly indexed: false;
|
|
3069
|
+
readonly internalType: "address";
|
|
3070
|
+
readonly name: "account";
|
|
3071
|
+
readonly type: "address";
|
|
3072
|
+
}];
|
|
3073
|
+
readonly name: "Paused";
|
|
3074
|
+
readonly type: "event";
|
|
3075
|
+
}, {
|
|
3076
|
+
readonly anonymous: false;
|
|
3077
|
+
readonly inputs: readonly [{
|
|
3078
|
+
readonly indexed: true;
|
|
3079
|
+
readonly internalType: "address";
|
|
3080
|
+
readonly name: "rankifyInstance";
|
|
3081
|
+
readonly type: "address";
|
|
3082
|
+
}, {
|
|
3083
|
+
readonly components: readonly [{
|
|
3084
|
+
readonly internalType: "address";
|
|
3085
|
+
readonly name: "rewardToken";
|
|
3086
|
+
readonly type: "address";
|
|
3087
|
+
}, {
|
|
3088
|
+
readonly internalType: "uint256";
|
|
3089
|
+
readonly name: "principalCost";
|
|
3090
|
+
readonly type: "uint256";
|
|
3091
|
+
}, {
|
|
3092
|
+
readonly internalType: "uint96";
|
|
3093
|
+
readonly name: "principalTimeConstant";
|
|
3094
|
+
readonly type: "uint96";
|
|
3095
|
+
}, {
|
|
3096
|
+
readonly internalType: "uint256";
|
|
3097
|
+
readonly name: "minimumParticipantsInCircle";
|
|
3098
|
+
readonly type: "uint256";
|
|
3099
|
+
}, {
|
|
3100
|
+
readonly internalType: "address";
|
|
3101
|
+
readonly name: "paymentToken";
|
|
3102
|
+
readonly type: "address";
|
|
3103
|
+
}, {
|
|
3104
|
+
readonly internalType: "address";
|
|
3105
|
+
readonly name: "beneficiary";
|
|
3106
|
+
readonly type: "address";
|
|
3107
|
+
}, {
|
|
3108
|
+
readonly internalType: "address";
|
|
3109
|
+
readonly name: "derivedToken";
|
|
3110
|
+
readonly type: "address";
|
|
3111
|
+
}, {
|
|
3112
|
+
readonly internalType: "address";
|
|
3113
|
+
readonly name: "proposalIntegrityVerifier";
|
|
3114
|
+
readonly type: "address";
|
|
3115
|
+
}, {
|
|
3116
|
+
readonly internalType: "address";
|
|
3117
|
+
readonly name: "poseidon5";
|
|
3118
|
+
readonly type: "address";
|
|
3119
|
+
}, {
|
|
3120
|
+
readonly internalType: "address";
|
|
3121
|
+
readonly name: "poseidon6";
|
|
3122
|
+
readonly type: "address";
|
|
3123
|
+
}, {
|
|
3124
|
+
readonly internalType: "address";
|
|
3125
|
+
readonly name: "poseidon2";
|
|
3126
|
+
readonly type: "address";
|
|
3127
|
+
}, {
|
|
3128
|
+
readonly internalType: "contract IMultipass";
|
|
3129
|
+
readonly name: "multipass";
|
|
3130
|
+
readonly type: "address";
|
|
3131
|
+
}, {
|
|
3132
|
+
readonly internalType: "contract DistributableGovernanceERC20";
|
|
3133
|
+
readonly name: "ubiToken";
|
|
3134
|
+
readonly type: "address";
|
|
3135
|
+
}, {
|
|
3136
|
+
readonly internalType: "address";
|
|
3137
|
+
readonly name: "pauser";
|
|
3138
|
+
readonly type: "address";
|
|
3139
|
+
}, {
|
|
3140
|
+
readonly internalType: "uint256";
|
|
3141
|
+
readonly name: "dailyClaim";
|
|
3142
|
+
readonly type: "uint256";
|
|
3143
|
+
}, {
|
|
3144
|
+
readonly internalType: "uint256";
|
|
3145
|
+
readonly name: "dailySupport";
|
|
3146
|
+
readonly type: "uint256";
|
|
3147
|
+
}, {
|
|
3148
|
+
readonly internalType: "bytes32";
|
|
3149
|
+
readonly name: "domainName";
|
|
3150
|
+
readonly type: "bytes32";
|
|
3151
|
+
}];
|
|
3152
|
+
readonly indexed: false;
|
|
3153
|
+
readonly internalType: "struct RankifyInstanceInit.contractInitializer";
|
|
3154
|
+
readonly name: "parameters";
|
|
3155
|
+
readonly type: "tuple";
|
|
3156
|
+
}];
|
|
3157
|
+
readonly name: "RankifyInstanceInitialized";
|
|
3158
|
+
readonly type: "event";
|
|
3159
|
+
}, {
|
|
3160
|
+
readonly anonymous: false;
|
|
3161
|
+
readonly inputs: readonly [{
|
|
3162
|
+
readonly indexed: false;
|
|
3163
|
+
readonly internalType: "address";
|
|
3164
|
+
readonly name: "account";
|
|
3165
|
+
readonly type: "address";
|
|
3166
|
+
}];
|
|
3167
|
+
readonly name: "Unpaused";
|
|
3168
|
+
readonly type: "event";
|
|
3169
|
+
}, {
|
|
3170
|
+
readonly inputs: readonly [{
|
|
3171
|
+
readonly internalType: "string";
|
|
3172
|
+
readonly name: "name";
|
|
3173
|
+
readonly type: "string";
|
|
3174
|
+
}, {
|
|
3175
|
+
readonly internalType: "string";
|
|
3176
|
+
readonly name: "version";
|
|
3177
|
+
readonly type: "string";
|
|
3178
|
+
}, {
|
|
3179
|
+
readonly components: readonly [{
|
|
3180
|
+
readonly internalType: "address";
|
|
3181
|
+
readonly name: "rewardToken";
|
|
3182
|
+
readonly type: "address";
|
|
3183
|
+
}, {
|
|
3184
|
+
readonly internalType: "uint256";
|
|
3185
|
+
readonly name: "principalCost";
|
|
3186
|
+
readonly type: "uint256";
|
|
3187
|
+
}, {
|
|
3188
|
+
readonly internalType: "uint96";
|
|
3189
|
+
readonly name: "principalTimeConstant";
|
|
3190
|
+
readonly type: "uint96";
|
|
3191
|
+
}, {
|
|
3192
|
+
readonly internalType: "uint256";
|
|
3193
|
+
readonly name: "minimumParticipantsInCircle";
|
|
3194
|
+
readonly type: "uint256";
|
|
3195
|
+
}, {
|
|
3196
|
+
readonly internalType: "address";
|
|
3197
|
+
readonly name: "paymentToken";
|
|
3198
|
+
readonly type: "address";
|
|
3199
|
+
}, {
|
|
3200
|
+
readonly internalType: "address";
|
|
3201
|
+
readonly name: "beneficiary";
|
|
3202
|
+
readonly type: "address";
|
|
3203
|
+
}, {
|
|
3204
|
+
readonly internalType: "address";
|
|
3205
|
+
readonly name: "derivedToken";
|
|
3206
|
+
readonly type: "address";
|
|
3207
|
+
}, {
|
|
3208
|
+
readonly internalType: "address";
|
|
3209
|
+
readonly name: "proposalIntegrityVerifier";
|
|
3210
|
+
readonly type: "address";
|
|
3211
|
+
}, {
|
|
3212
|
+
readonly internalType: "address";
|
|
3213
|
+
readonly name: "poseidon5";
|
|
3214
|
+
readonly type: "address";
|
|
3215
|
+
}, {
|
|
3216
|
+
readonly internalType: "address";
|
|
3217
|
+
readonly name: "poseidon6";
|
|
3218
|
+
readonly type: "address";
|
|
3219
|
+
}, {
|
|
3220
|
+
readonly internalType: "address";
|
|
3221
|
+
readonly name: "poseidon2";
|
|
3222
|
+
readonly type: "address";
|
|
3223
|
+
}, {
|
|
3224
|
+
readonly internalType: "contract IMultipass";
|
|
3225
|
+
readonly name: "multipass";
|
|
3226
|
+
readonly type: "address";
|
|
3227
|
+
}, {
|
|
3228
|
+
readonly internalType: "contract DistributableGovernanceERC20";
|
|
3229
|
+
readonly name: "ubiToken";
|
|
3230
|
+
readonly type: "address";
|
|
3231
|
+
}, {
|
|
3232
|
+
readonly internalType: "address";
|
|
3233
|
+
readonly name: "pauser";
|
|
3234
|
+
readonly type: "address";
|
|
3235
|
+
}, {
|
|
3236
|
+
readonly internalType: "uint256";
|
|
3237
|
+
readonly name: "dailyClaim";
|
|
3238
|
+
readonly type: "uint256";
|
|
3239
|
+
}, {
|
|
3240
|
+
readonly internalType: "uint256";
|
|
3241
|
+
readonly name: "dailySupport";
|
|
3242
|
+
readonly type: "uint256";
|
|
3243
|
+
}, {
|
|
3244
|
+
readonly internalType: "bytes32";
|
|
3245
|
+
readonly name: "domainName";
|
|
3246
|
+
readonly type: "bytes32";
|
|
3247
|
+
}];
|
|
3248
|
+
readonly internalType: "struct RankifyInstanceInit.contractInitializer";
|
|
3249
|
+
readonly name: "initData";
|
|
3250
|
+
readonly type: "tuple";
|
|
3251
|
+
}];
|
|
3252
|
+
readonly name: "init";
|
|
3253
|
+
readonly outputs: readonly [];
|
|
3254
|
+
readonly stateMutability: "nonpayable";
|
|
3255
|
+
readonly type: "function";
|
|
3256
|
+
}, {
|
|
3257
|
+
readonly inputs: readonly [];
|
|
3258
|
+
readonly name: "paused";
|
|
3259
|
+
readonly outputs: readonly [{
|
|
3260
|
+
readonly internalType: "bool";
|
|
3261
|
+
readonly name: "";
|
|
3262
|
+
readonly type: "bool";
|
|
3263
|
+
}];
|
|
3264
|
+
readonly stateMutability: "view";
|
|
3265
|
+
readonly type: "function";
|
|
3266
|
+
}, {
|
|
3267
|
+
readonly inputs: readonly [{
|
|
3268
|
+
readonly internalType: "bytes4";
|
|
3269
|
+
readonly name: "selector";
|
|
3270
|
+
readonly type: "bytes4";
|
|
3271
|
+
}];
|
|
3272
|
+
readonly name: "functionDoesNotExist";
|
|
3273
|
+
readonly type: "error";
|
|
3274
|
+
}, {
|
|
3275
|
+
readonly anonymous: false;
|
|
3276
|
+
readonly inputs: readonly [{
|
|
3277
|
+
readonly components: readonly [{
|
|
3278
|
+
readonly internalType: "address";
|
|
3279
|
+
readonly name: "facetAddress";
|
|
3280
|
+
readonly type: "address";
|
|
3281
|
+
}, {
|
|
3282
|
+
readonly internalType: "enum IDiamondCut.FacetCutAction";
|
|
3283
|
+
readonly name: "action";
|
|
3284
|
+
readonly type: "uint8";
|
|
3285
|
+
}, {
|
|
3286
|
+
readonly internalType: "bytes4[]";
|
|
3287
|
+
readonly name: "functionSelectors";
|
|
3288
|
+
readonly type: "bytes4[]";
|
|
3289
|
+
}];
|
|
3290
|
+
readonly indexed: false;
|
|
3291
|
+
readonly internalType: "struct IDiamondCut.FacetCut[]";
|
|
3292
|
+
readonly name: "_diamondCut";
|
|
3293
|
+
readonly type: "tuple[]";
|
|
3294
|
+
}, {
|
|
3295
|
+
readonly indexed: false;
|
|
3296
|
+
readonly internalType: "address";
|
|
3297
|
+
readonly name: "_init";
|
|
3298
|
+
readonly type: "address";
|
|
3299
|
+
}, {
|
|
3300
|
+
readonly indexed: false;
|
|
3301
|
+
readonly internalType: "bytes";
|
|
3302
|
+
readonly name: "_calldata";
|
|
3303
|
+
readonly type: "bytes";
|
|
3304
|
+
}];
|
|
3305
|
+
readonly name: "DiamondCut";
|
|
3306
|
+
readonly type: "event";
|
|
3307
|
+
}, {
|
|
3308
|
+
readonly anonymous: false;
|
|
3309
|
+
readonly inputs: readonly [{
|
|
3310
|
+
readonly indexed: true;
|
|
3311
|
+
readonly internalType: "address";
|
|
3312
|
+
readonly name: "previousOwner";
|
|
3313
|
+
readonly type: "address";
|
|
3314
|
+
}, {
|
|
3315
|
+
readonly indexed: true;
|
|
3316
|
+
readonly internalType: "address";
|
|
3317
|
+
readonly name: "newOwner";
|
|
3318
|
+
readonly type: "address";
|
|
3319
|
+
}];
|
|
3320
|
+
readonly name: "OwnershipTransferred";
|
|
3321
|
+
readonly type: "event";
|
|
2361
3322
|
}, {
|
|
2362
3323
|
readonly inputs: readonly [{
|
|
2363
3324
|
readonly internalType: "bytes4";
|