@q-dev/q-ts-gdk-sdk
Version:
Typescript Library to interact with GDK Contracts
282 lines (281 loc) • 6.89 kB
JSON
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "votingAddress",
"type": "address"
},
{
"components": [
{
"internalType": "string",
"name": "panelName",
"type": "string"
},
{
"internalType": "string",
"name": "votingDescription",
"type": "string"
},
{
"internalType": "address",
"name": "votingToken",
"type": "address"
},
{
"components": [
{
"internalType": "string",
"name": "votingSituationName",
"type": "string"
},
{
"components": [
{
"internalType": "uint256",
"name": "votingPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingType",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.DAOVotingValues",
"name": "votingValues",
"type": "tuple"
}
],
"internalType": "struct IDAOVoting.InitialSituation[]",
"name": "situations",
"type": "tuple[]"
}
],
"indexed": false,
"internalType": "struct IDAOVoting.ConstructorParams",
"name": "",
"type": "tuple"
}
],
"name": "DeployedDAOVoting",
"type": "event"
},
{
"inputs": [],
"name": "VOTING_FACTORY_RESOURCE",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "VOTING_REGISTRY_DEP",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "daoRegistry",
"outputs": [
{
"internalType": "contract DAORegistry",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "string",
"name": "panelName",
"type": "string"
},
{
"internalType": "string",
"name": "votingDescription",
"type": "string"
},
{
"internalType": "address",
"name": "votingToken",
"type": "address"
},
{
"components": [
{
"internalType": "string",
"name": "votingSituationName",
"type": "string"
},
{
"components": [
{
"internalType": "uint256",
"name": "votingPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "vetoPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "proposalExecutionPeriod",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "requiredVetoQuorum",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "votingType",
"type": "uint256"
}
],
"internalType": "struct IDAOVoting.DAOVotingValues",
"name": "votingValues",
"type": "tuple"
}
],
"internalType": "struct IDAOVoting.InitialSituation[]",
"name": "situations",
"type": "tuple[]"
}
],
"internalType": "struct IDAOVoting.ConstructorParams",
"name": "params_",
"type": "tuple"
}
],
"name": "deployDAOVoting",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getInjector",
"outputs": [
{
"internalType": "address",
"name": "injector_",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "permissionManager",
"outputs": [
{
"internalType": "contract PermissionManager",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "registryAddress_",
"type": "address"
},
{
"internalType": "bytes",
"name": "data_",
"type": "bytes"
}
],
"name": "setDependencies",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "injector_",
"type": "address"
}
],
"name": "setInjector",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "votingRegistry",
"outputs": [
{
"internalType": "contract VotingRegistry",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]