From b4aed3efdd6bc8d532f186e4c959164f6595a525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8r=E2=88=82=C2=A1?= Date: Fri, 26 Apr 2024 15:38:38 +0200 Subject: [PATCH] Plugin metadata ABI info won't be used in this project --- src/metadata/multisig-build-metadata.json | 47 +--------- ...ptimistic-token-voting-build-metadata.json | 91 +------------------ 2 files changed, 3 insertions(+), 135 deletions(-) diff --git a/src/metadata/multisig-build-metadata.json b/src/metadata/multisig-build-metadata.json index 8dd56a1..1970146 100644 --- a/src/metadata/multisig-build-metadata.json +++ b/src/metadata/multisig-build-metadata.json @@ -1,47 +1,4 @@ { "ui": {}, - "change": "", - "pluginSetup": { - "prepareInstallation": { - "description": "The information required for the installation.", - "inputs": [ - { - "internalType": "address[]", - "name": "members", - "type": "address[]", - "description": "The addresses of the initial members to be added." - }, - { - "components": [ - { - "internalType": "bool", - "name": "onlyListed", - "type": "bool", - "description": "Whether only listed addresses can create a proposal or not." - }, - { - "internalType": "uint16", - "name": "minApprovals", - "type": "uint16", - "description": "The minimal number of approvals required for a proposal to pass." - } - ], - "internalType": "struct Multisig.MultisigSettings", - "name": "multisigSettings", - "type": "tuple", - "description": "The inital multisig settings." - } - ], - "prepareUpdate": { - "1": { - "description": "No input is required for the update.", - "inputs": [] - } - }, - "prepareUninstallation": { - "description": "No input is required for the uninstallation.", - "inputs": [] - } - } - } -} \ No newline at end of file + "change": "First release" +} diff --git a/src/metadata/optimistic-token-voting-build-metadata.json b/src/metadata/optimistic-token-voting-build-metadata.json index e80e96a..eaefdeb 100644 --- a/src/metadata/optimistic-token-voting-build-metadata.json +++ b/src/metadata/optimistic-token-voting-build-metadata.json @@ -1,93 +1,4 @@ { "ui": {}, - "change": "Initial version of the plugin", - "pluginSetup": { - "prepareInstallation": { - "description": "The information required for the installation.", - "inputs": [ - { - "components": [ - { - "internalType": "uint32", - "name": "minVetoRatio", - "type": "uint32", - "description": "The minimum ratio of the token supply to veto a proposal. Its value has to be in the interval [0, 10^6] defined by `RATIO_BASE = 10**6`." - }, - { - "internalType": "uint64", - "name": "minDuration", - "type": "uint64", - "description": "The minimum duration of the proposal vote in seconds." - }, - { - "internalType": "uint256", - "name": "minProposerVotingPower", - "type": "uint256", - "description": "The minimum voting power required to create a proposal." - } - ], - "internalType": "struct OptimisticTokenVotingPlugin.OptimisticGovernanceSettings", - "name": "governanceSettings", - "type": "tuple", - "description": "The governance settings that will be enforced when proposals are created." - }, - { - "components": [ - { - "internalType": "address", - "name": "token", - "type": "address", - "description": "The token address. If this is `address(0)`, a new `GovernanceERC20` token is deployed. If not, the existing token is wrapped as an `GovernanceWrappedERC20`." - }, - { - "internalType": "string", - "name": "name", - "type": "string", - "description": "The token name. This parameter is only relevant if the token address is `address(0)`." - }, - { - "internalType": "string", - "name": "symbol", - "type": "string", - "description": "The token symbol. This parameter is only relevant if the token address is `address(0)`." - } - ], - "internalType": "struct OptimisticTokenVotingPluginSetup.TokenSettings", - "name": "tokenSettings", - "type": "tuple", - "description": "The token settings that either specify an existing ERC-20 token (`token = address(0)`) or the name and symbol of a new `GovernanceERC20` token to be created." - }, - { - "components": [ - { - "internalType": "address[]", - "name": "receivers", - "type": "address[]", - "description": "The receivers of the tokens." - }, - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]", - "description": "The amounts of tokens to be minted for each receiver." - } - ], - "internalType": "struct GovernanceERC20.MintSettings", - "name": "mintSettings", - "type": "tuple", - "description": "The token mint settings struct containing the `receivers` and `amounts`." - }, - { - "internalType": "address[]", - "name": "proposers", - "type": "address[]", - "description": "The initial list of addresses that can create proposals." - } - ] - }, - "prepareUninstallation": { - "description": "No input is required for the uninstallation.", - "inputs": [] - } - } + "change": "Initial version of the plugin" }