Skip to content

Commit

Permalink
Plugin metadata ABI info won't be used in this project
Browse files Browse the repository at this point in the history
  • Loading branch information
brickpop committed Apr 26, 2024
1 parent 1ca9c31 commit b4aed3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 135 deletions.
47 changes: 2 additions & 45 deletions src/metadata/multisig-build-metadata.json
Original file line number Diff line number Diff line change
@@ -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": []
}
}
}
}
"change": "First release"
}
91 changes: 1 addition & 90 deletions src/metadata/optimistic-token-voting-build-metadata.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit b4aed3e

Please sign in to comment.