@poa-box/core 0.1.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 +201 -0
- package/dist/abis/DirectDemocracyVotingNew.d.ts +749 -0
- package/dist/abis/DirectDemocracyVotingNew.js +961 -0
- package/dist/abis/ERC20.d.ts +90 -0
- package/dist/abis/ERC20.js +125 -0
- package/dist/abis/EducationHubNew.d.ts +590 -0
- package/dist/abis/EducationHubNew.js +762 -0
- package/dist/abis/EligibilityModuleNew.d.ts +1615 -0
- package/dist/abis/EligibilityModuleNew.js +2082 -0
- package/dist/abis/Executor.d.ts +619 -0
- package/dist/abis/Executor.js +796 -0
- package/dist/abis/HybridVotingNew.d.ts +898 -0
- package/dist/abis/HybridVotingNew.js +1149 -0
- package/dist/abis/ImplementationRegistry.d.ts +270 -0
- package/dist/abis/ImplementationRegistry.js +355 -0
- package/dist/abis/OrgDeployerNew.d.ts +1275 -0
- package/dist/abis/OrgDeployerNew.js +1630 -0
- package/dist/abis/OrgRegistry.d.ts +670 -0
- package/dist/abis/OrgRegistry.js +868 -0
- package/dist/abis/ParticipationToken.d.ts +1086 -0
- package/dist/abis/ParticipationToken.js +1415 -0
- package/dist/abis/PasskeyAccount.d.ts +788 -0
- package/dist/abis/PasskeyAccount.js +1019 -0
- package/dist/abis/PasskeyAccountFactory.d.ts +344 -0
- package/dist/abis/PasskeyAccountFactory.js +449 -0
- package/dist/abis/PaymasterHub.d.ts +1603 -0
- package/dist/abis/PaymasterHub.js +2048 -0
- package/dist/abis/PaymentManager.d.ts +520 -0
- package/dist/abis/PaymentManager.js +671 -0
- package/dist/abis/PoaManager.d.ts +344 -0
- package/dist/abis/PoaManager.js +449 -0
- package/dist/abis/QuickJoinNew.d.ts +855 -0
- package/dist/abis/QuickJoinNew.js +1098 -0
- package/dist/abis/TaskManagerNew.d.ts +1236 -0
- package/dist/abis/TaskManagerNew.js +1573 -0
- package/dist/abis/ToggleModule.d.ts +193 -0
- package/dist/abis/ToggleModule.js +255 -0
- package/dist/abis/UniversalAccountRegistry.d.ts +577 -0
- package/dist/abis/UniversalAccountRegistry.js +750 -0
- package/dist/abis/ZkEmailInvites.d.ts +823 -0
- package/dist/abis/ZkEmailInvites.js +1060 -0
- package/dist/abis/external/AaveGovernanceV2.d.ts +128 -0
- package/dist/abis/external/AaveGovernanceV2.js +177 -0
- package/dist/abis/external/AaveGovernanceV3.d.ts +160 -0
- package/dist/abis/external/AaveGovernanceV3.js +220 -0
- package/dist/abis/external/AragonVoting.d.ts +107 -0
- package/dist/abis/external/AragonVoting.js +150 -0
- package/dist/abis/external/CurveGaugeController.d.ts +95 -0
- package/dist/abis/external/CurveGaugeController.js +130 -0
- package/dist/abis/external/CurveVotingEscrow.d.ts +86 -0
- package/dist/abis/external/CurveVotingEscrow.js +116 -0
- package/dist/abis/external/GovernorAlpha.d.ts +172 -0
- package/dist/abis/external/GovernorAlpha.js +228 -0
- package/dist/abis/external/MakerDAOChief.d.ts +92 -0
- package/dist/abis/external/MakerDAOChief.js +129 -0
- package/dist/abis/external/OZGovernor.d.ts +227 -0
- package/dist/abis/external/OZGovernor.js +317 -0
- package/dist/abis/external/SolidlyVotingEscrow.d.ts +196 -0
- package/dist/abis/external/SolidlyVotingEscrow.js +260 -0
- package/dist/abis/index.d.ts +62 -0
- package/dist/abis/index.js +98 -0
- package/dist/chains.d.ts +150 -0
- package/dist/chains.js +320 -0
- package/dist/context.d.ts +48 -0
- package/dist/context.js +38 -0
- package/dist/contracts.d.ts +24 -0
- package/dist/contracts.js +41 -0
- package/dist/encoding.d.ts +58 -0
- package/dist/encoding.js +243 -0
- package/dist/env.d.ts +10 -0
- package/dist/env.js +4 -0
- package/dist/error-catalog.d.ts +41 -0
- package/dist/error-catalog.js +941 -0
- package/dist/errors.d.ts +27 -0
- package/dist/errors.js +60 -0
- package/dist/execute/ethers.d.ts +93 -0
- package/dist/execute/ethers.js +323 -0
- package/dist/execute/index.d.ts +7 -0
- package/dist/execute/index.js +23 -0
- package/dist/execute/sponsored.d.ts +68 -0
- package/dist/execute/sponsored.js +277 -0
- package/dist/exit-codes.d.ts +18 -0
- package/dist/exit-codes.js +21 -0
- package/dist/format.d.ts +21 -0
- package/dist/format.js +89 -0
- package/dist/graph/client.d.ts +298 -0
- package/dist/graph/client.js +702 -0
- package/dist/graph/documents/activity.d.ts +9 -0
- package/dist/graph/documents/activity.js +164 -0
- package/dist/graph/documents/beacons.d.ts +172 -0
- package/dist/graph/documents/beacons.js +345 -0
- package/dist/graph/documents/index.d.ts +21 -0
- package/dist/graph/documents/index.js +57 -0
- package/dist/graph/documents/infrastructure.d.ts +30 -0
- package/dist/graph/documents/infrastructure.js +34 -0
- package/dist/graph/documents/org.d.ts +15 -0
- package/dist/graph/documents/org.js +249 -0
- package/dist/graph/documents/paymaster.d.ts +95 -0
- package/dist/graph/documents/paymaster.js +101 -0
- package/dist/graph/documents/role.d.ts +6 -0
- package/dist/graph/documents/role.js +41 -0
- package/dist/graph/documents/roles.d.ts +50 -0
- package/dist/graph/documents/roles.js +112 -0
- package/dist/graph/documents/task.d.ts +84 -0
- package/dist/graph/documents/task.js +236 -0
- package/dist/graph/documents/token.d.ts +13 -0
- package/dist/graph/documents/token.js +126 -0
- package/dist/graph/documents/treasury.d.ts +39 -0
- package/dist/graph/documents/treasury.js +136 -0
- package/dist/graph/documents/user.d.ts +120 -0
- package/dist/graph/documents/user.js +302 -0
- package/dist/graph/documents/voting-classes.d.ts +69 -0
- package/dist/graph/documents/voting-classes.js +149 -0
- package/dist/graph/documents/voting.d.ts +28 -0
- package/dist/graph/documents/voting.js +163 -0
- package/dist/graph/documents/vouch.d.ts +79 -0
- package/dist/graph/documents/vouch.js +171 -0
- package/dist/graph/documents/zkemail.d.ts +63 -0
- package/dist/graph/documents/zkemail.js +188 -0
- package/dist/graph/index.d.ts +2 -0
- package/dist/graph/index.js +41 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.js +92 -0
- package/dist/ipfs.d.ts +39 -0
- package/dist/ipfs.js +214 -0
- package/dist/label-aliases.d.ts +31 -0
- package/dist/label-aliases.js +70 -0
- package/dist/metadata/education.d.ts +30 -0
- package/dist/metadata/education.js +31 -0
- package/dist/metadata/index.d.ts +12 -0
- package/dist/metadata/index.js +48 -0
- package/dist/metadata/org.d.ts +92 -0
- package/dist/metadata/org.js +93 -0
- package/dist/metadata/proposal.d.ts +44 -0
- package/dist/metadata/proposal.js +45 -0
- package/dist/metadata/role.d.ts +38 -0
- package/dist/metadata/role.js +35 -0
- package/dist/metadata/task.d.ts +108 -0
- package/dist/metadata/task.js +81 -0
- package/dist/metadata/token.d.ts +32 -0
- package/dist/metadata/token.js +36 -0
- package/dist/metadata/user.d.ts +63 -0
- package/dist/metadata/user.js +70 -0
- package/dist/multicall.d.ts +32 -0
- package/dist/multicall.js +96 -0
- package/dist/payout.d.ts +59 -0
- package/dist/payout.js +96 -0
- package/dist/perms.d.ts +47 -0
- package/dist/perms.js +120 -0
- package/dist/preflight.d.ts +72 -0
- package/dist/preflight.js +269 -0
- package/dist/reads/education.d.ts +79 -0
- package/dist/reads/education.js +122 -0
- package/dist/reads/eligibility.d.ts +377 -0
- package/dist/reads/eligibility.js +687 -0
- package/dist/reads/index.d.ts +16 -0
- package/dist/reads/index.js +55 -0
- package/dist/reads/org.d.ts +258 -0
- package/dist/reads/org.js +220 -0
- package/dist/reads/paymaster.d.ts +147 -0
- package/dist/reads/paymaster.js +235 -0
- package/dist/reads/project.d.ts +33 -0
- package/dist/reads/project.js +62 -0
- package/dist/reads/resolve.d.ts +34 -0
- package/dist/reads/resolve.js +64 -0
- package/dist/reads/task.d.ts +286 -0
- package/dist/reads/task.js +280 -0
- package/dist/reads/token.d.ts +94 -0
- package/dist/reads/token.js +75 -0
- package/dist/reads/treasury.d.ts +222 -0
- package/dist/reads/treasury.js +241 -0
- package/dist/reads/user.d.ts +229 -0
- package/dist/reads/user.js +155 -0
- package/dist/reads/vote.d.ts +296 -0
- package/dist/reads/vote.js +392 -0
- package/dist/reads/zkemail.d.ts +117 -0
- package/dist/reads/zkemail.js +217 -0
- package/dist/similarity.d.ts +36 -0
- package/dist/similarity.js +67 -0
- package/dist/sponsorship-config.d.ts +47 -0
- package/dist/sponsorship-config.js +41 -0
- package/dist/stats.d.ts +11 -0
- package/dist/stats.js +27 -0
- package/dist/task-lens.d.ts +113 -0
- package/dist/task-lens.js +210 -0
- package/dist/tx/education.d.ts +169 -0
- package/dist/tx/education.js +344 -0
- package/dist/tx/eligibility.d.ts +511 -0
- package/dist/tx/eligibility.js +818 -0
- package/dist/tx/governance.d.ts +85 -0
- package/dist/tx/governance.js +87 -0
- package/dist/tx/index.d.ts +17 -0
- package/dist/tx/index.js +56 -0
- package/dist/tx/intent.d.ts +67 -0
- package/dist/tx/intent.js +48 -0
- package/dist/tx/org.d.ts +321 -0
- package/dist/tx/org.js +544 -0
- package/dist/tx/paymaster.d.ts +140 -0
- package/dist/tx/paymaster.js +251 -0
- package/dist/tx/project.d.ts +146 -0
- package/dist/tx/project.js +217 -0
- package/dist/tx/task.d.ts +480 -0
- package/dist/tx/task.js +1149 -0
- package/dist/tx/token.d.ts +96 -0
- package/dist/tx/token.js +165 -0
- package/dist/tx/treasury.d.ts +474 -0
- package/dist/tx/treasury.js +911 -0
- package/dist/tx/user.d.ts +177 -0
- package/dist/tx/user.js +292 -0
- package/dist/tx/vote.d.ts +332 -0
- package/dist/tx/vote.js +762 -0
- package/dist/tx/zkemail.d.ts +90 -0
- package/dist/tx/zkemail.js +210 -0
- package/dist/validation.d.ts +8 -0
- package/dist/validation.js +39 -0
- package/dist/version.d.ts +142 -0
- package/dist/version.js +257 -0
- package/dist/zkemail.d.ts +161 -0
- package/dist/zkemail.js +299 -0
- package/package.json +130 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
export declare const AaveGovernanceV2Abi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "create";
|
|
4
|
+
readonly stateMutability: "nonpayable";
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly name: "executor";
|
|
7
|
+
readonly type: "address";
|
|
8
|
+
}, {
|
|
9
|
+
readonly name: "targets";
|
|
10
|
+
readonly type: "address[]";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "values";
|
|
13
|
+
readonly type: "uint256[]";
|
|
14
|
+
}, {
|
|
15
|
+
readonly name: "signatures";
|
|
16
|
+
readonly type: "string[]";
|
|
17
|
+
}, {
|
|
18
|
+
readonly name: "calldatas";
|
|
19
|
+
readonly type: "bytes[]";
|
|
20
|
+
}, {
|
|
21
|
+
readonly name: "withDelegatecalls";
|
|
22
|
+
readonly type: "bool[]";
|
|
23
|
+
}, {
|
|
24
|
+
readonly name: "ipfsHash";
|
|
25
|
+
readonly type: "bytes32";
|
|
26
|
+
}];
|
|
27
|
+
readonly outputs: readonly [{
|
|
28
|
+
readonly name: "";
|
|
29
|
+
readonly type: "uint256";
|
|
30
|
+
}];
|
|
31
|
+
}, {
|
|
32
|
+
readonly type: "function";
|
|
33
|
+
readonly name: "cancel";
|
|
34
|
+
readonly stateMutability: "nonpayable";
|
|
35
|
+
readonly inputs: readonly [{
|
|
36
|
+
readonly name: "proposalId";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
}];
|
|
39
|
+
readonly outputs: readonly [];
|
|
40
|
+
}, {
|
|
41
|
+
readonly type: "function";
|
|
42
|
+
readonly name: "queue";
|
|
43
|
+
readonly stateMutability: "nonpayable";
|
|
44
|
+
readonly inputs: readonly [{
|
|
45
|
+
readonly name: "proposalId";
|
|
46
|
+
readonly type: "uint256";
|
|
47
|
+
}];
|
|
48
|
+
readonly outputs: readonly [];
|
|
49
|
+
}, {
|
|
50
|
+
readonly type: "function";
|
|
51
|
+
readonly name: "execute";
|
|
52
|
+
readonly stateMutability: "payable";
|
|
53
|
+
readonly inputs: readonly [{
|
|
54
|
+
readonly name: "proposalId";
|
|
55
|
+
readonly type: "uint256";
|
|
56
|
+
}];
|
|
57
|
+
readonly outputs: readonly [];
|
|
58
|
+
}, {
|
|
59
|
+
readonly type: "function";
|
|
60
|
+
readonly name: "submitVote";
|
|
61
|
+
readonly stateMutability: "nonpayable";
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly name: "proposalId";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
}, {
|
|
66
|
+
readonly name: "support";
|
|
67
|
+
readonly type: "bool";
|
|
68
|
+
}];
|
|
69
|
+
readonly outputs: readonly [];
|
|
70
|
+
}, {
|
|
71
|
+
readonly type: "function";
|
|
72
|
+
readonly name: "submitVoteBySignature";
|
|
73
|
+
readonly stateMutability: "nonpayable";
|
|
74
|
+
readonly inputs: readonly [{
|
|
75
|
+
readonly name: "proposalId";
|
|
76
|
+
readonly type: "uint256";
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "support";
|
|
79
|
+
readonly type: "bool";
|
|
80
|
+
}, {
|
|
81
|
+
readonly name: "v";
|
|
82
|
+
readonly type: "uint8";
|
|
83
|
+
}, {
|
|
84
|
+
readonly name: "r";
|
|
85
|
+
readonly type: "bytes32";
|
|
86
|
+
}, {
|
|
87
|
+
readonly name: "s";
|
|
88
|
+
readonly type: "bytes32";
|
|
89
|
+
}];
|
|
90
|
+
readonly outputs: readonly [];
|
|
91
|
+
}, {
|
|
92
|
+
readonly type: "function";
|
|
93
|
+
readonly name: "setVotingDelay";
|
|
94
|
+
readonly stateMutability: "nonpayable";
|
|
95
|
+
readonly inputs: readonly [{
|
|
96
|
+
readonly name: "votingDelay";
|
|
97
|
+
readonly type: "uint256";
|
|
98
|
+
}];
|
|
99
|
+
readonly outputs: readonly [];
|
|
100
|
+
}, {
|
|
101
|
+
readonly type: "function";
|
|
102
|
+
readonly name: "authorizeExecutors";
|
|
103
|
+
readonly stateMutability: "nonpayable";
|
|
104
|
+
readonly inputs: readonly [{
|
|
105
|
+
readonly name: "executors";
|
|
106
|
+
readonly type: "address[]";
|
|
107
|
+
}];
|
|
108
|
+
readonly outputs: readonly [];
|
|
109
|
+
}, {
|
|
110
|
+
readonly type: "function";
|
|
111
|
+
readonly name: "unauthorizeExecutors";
|
|
112
|
+
readonly stateMutability: "nonpayable";
|
|
113
|
+
readonly inputs: readonly [{
|
|
114
|
+
readonly name: "executors";
|
|
115
|
+
readonly type: "address[]";
|
|
116
|
+
}];
|
|
117
|
+
readonly outputs: readonly [];
|
|
118
|
+
}, {
|
|
119
|
+
readonly type: "function";
|
|
120
|
+
readonly name: "setGovernanceStrategy";
|
|
121
|
+
readonly stateMutability: "nonpayable";
|
|
122
|
+
readonly inputs: readonly [{
|
|
123
|
+
readonly name: "governanceStrategy";
|
|
124
|
+
readonly type: "address";
|
|
125
|
+
}];
|
|
126
|
+
readonly outputs: readonly [];
|
|
127
|
+
}];
|
|
128
|
+
export default AaveGovernanceV2Abi;
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// GENERATED by packages/core/scripts/gen-abis.mjs — do not edit.
|
|
3
|
+
// Source of truth: src/abi/*.json at the repo root (see scripts/extract-abis.mjs).
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AaveGovernanceV2Abi = void 0;
|
|
6
|
+
exports.AaveGovernanceV2Abi = [
|
|
7
|
+
{
|
|
8
|
+
"type": "function",
|
|
9
|
+
"name": "create",
|
|
10
|
+
"stateMutability": "nonpayable",
|
|
11
|
+
"inputs": [
|
|
12
|
+
{
|
|
13
|
+
"name": "executor",
|
|
14
|
+
"type": "address"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "targets",
|
|
18
|
+
"type": "address[]"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "values",
|
|
22
|
+
"type": "uint256[]"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "signatures",
|
|
26
|
+
"type": "string[]"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "calldatas",
|
|
30
|
+
"type": "bytes[]"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "withDelegatecalls",
|
|
34
|
+
"type": "bool[]"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "ipfsHash",
|
|
38
|
+
"type": "bytes32"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"outputs": [
|
|
42
|
+
{
|
|
43
|
+
"name": "",
|
|
44
|
+
"type": "uint256"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "function",
|
|
50
|
+
"name": "cancel",
|
|
51
|
+
"stateMutability": "nonpayable",
|
|
52
|
+
"inputs": [
|
|
53
|
+
{
|
|
54
|
+
"name": "proposalId",
|
|
55
|
+
"type": "uint256"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"outputs": []
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "function",
|
|
62
|
+
"name": "queue",
|
|
63
|
+
"stateMutability": "nonpayable",
|
|
64
|
+
"inputs": [
|
|
65
|
+
{
|
|
66
|
+
"name": "proposalId",
|
|
67
|
+
"type": "uint256"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"outputs": []
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "function",
|
|
74
|
+
"name": "execute",
|
|
75
|
+
"stateMutability": "payable",
|
|
76
|
+
"inputs": [
|
|
77
|
+
{
|
|
78
|
+
"name": "proposalId",
|
|
79
|
+
"type": "uint256"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"outputs": []
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "function",
|
|
86
|
+
"name": "submitVote",
|
|
87
|
+
"stateMutability": "nonpayable",
|
|
88
|
+
"inputs": [
|
|
89
|
+
{
|
|
90
|
+
"name": "proposalId",
|
|
91
|
+
"type": "uint256"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "support",
|
|
95
|
+
"type": "bool"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"outputs": []
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "function",
|
|
102
|
+
"name": "submitVoteBySignature",
|
|
103
|
+
"stateMutability": "nonpayable",
|
|
104
|
+
"inputs": [
|
|
105
|
+
{
|
|
106
|
+
"name": "proposalId",
|
|
107
|
+
"type": "uint256"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "support",
|
|
111
|
+
"type": "bool"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "v",
|
|
115
|
+
"type": "uint8"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "r",
|
|
119
|
+
"type": "bytes32"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "s",
|
|
123
|
+
"type": "bytes32"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"outputs": []
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "function",
|
|
130
|
+
"name": "setVotingDelay",
|
|
131
|
+
"stateMutability": "nonpayable",
|
|
132
|
+
"inputs": [
|
|
133
|
+
{
|
|
134
|
+
"name": "votingDelay",
|
|
135
|
+
"type": "uint256"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"outputs": []
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "function",
|
|
142
|
+
"name": "authorizeExecutors",
|
|
143
|
+
"stateMutability": "nonpayable",
|
|
144
|
+
"inputs": [
|
|
145
|
+
{
|
|
146
|
+
"name": "executors",
|
|
147
|
+
"type": "address[]"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"outputs": []
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "function",
|
|
154
|
+
"name": "unauthorizeExecutors",
|
|
155
|
+
"stateMutability": "nonpayable",
|
|
156
|
+
"inputs": [
|
|
157
|
+
{
|
|
158
|
+
"name": "executors",
|
|
159
|
+
"type": "address[]"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"outputs": []
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "function",
|
|
166
|
+
"name": "setGovernanceStrategy",
|
|
167
|
+
"stateMutability": "nonpayable",
|
|
168
|
+
"inputs": [
|
|
169
|
+
{
|
|
170
|
+
"name": "governanceStrategy",
|
|
171
|
+
"type": "address"
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"outputs": []
|
|
175
|
+
}
|
|
176
|
+
];
|
|
177
|
+
exports.default = exports.AaveGovernanceV2Abi;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
export declare const AaveGovernanceV3Abi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "createProposal";
|
|
4
|
+
readonly stateMutability: "nonpayable";
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly name: "payloads";
|
|
7
|
+
readonly type: "tuple[]";
|
|
8
|
+
readonly components: readonly [{
|
|
9
|
+
readonly name: "chain";
|
|
10
|
+
readonly type: "uint256";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "accessLevel";
|
|
13
|
+
readonly type: "uint8";
|
|
14
|
+
}, {
|
|
15
|
+
readonly name: "payloadsController";
|
|
16
|
+
readonly type: "address";
|
|
17
|
+
}, {
|
|
18
|
+
readonly name: "payloadId";
|
|
19
|
+
readonly type: "uint40";
|
|
20
|
+
}];
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "votingPortal";
|
|
23
|
+
readonly type: "address";
|
|
24
|
+
}, {
|
|
25
|
+
readonly name: "ipfsHash";
|
|
26
|
+
readonly type: "bytes32";
|
|
27
|
+
}];
|
|
28
|
+
readonly outputs: readonly [{
|
|
29
|
+
readonly name: "";
|
|
30
|
+
readonly type: "uint256";
|
|
31
|
+
}];
|
|
32
|
+
}, {
|
|
33
|
+
readonly type: "function";
|
|
34
|
+
readonly name: "cancelProposal";
|
|
35
|
+
readonly stateMutability: "nonpayable";
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly name: "proposalId";
|
|
38
|
+
readonly type: "uint256";
|
|
39
|
+
}];
|
|
40
|
+
readonly outputs: readonly [];
|
|
41
|
+
}, {
|
|
42
|
+
readonly type: "function";
|
|
43
|
+
readonly name: "executeProposal";
|
|
44
|
+
readonly stateMutability: "nonpayable";
|
|
45
|
+
readonly inputs: readonly [{
|
|
46
|
+
readonly name: "proposalId";
|
|
47
|
+
readonly type: "uint256";
|
|
48
|
+
}];
|
|
49
|
+
readonly outputs: readonly [];
|
|
50
|
+
}, {
|
|
51
|
+
readonly type: "function";
|
|
52
|
+
readonly name: "queueProposal";
|
|
53
|
+
readonly stateMutability: "nonpayable";
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly name: "proposalId";
|
|
56
|
+
readonly type: "uint256";
|
|
57
|
+
}, {
|
|
58
|
+
readonly name: "forVotes";
|
|
59
|
+
readonly type: "uint128";
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "againstVotes";
|
|
62
|
+
readonly type: "uint128";
|
|
63
|
+
}];
|
|
64
|
+
readonly outputs: readonly [];
|
|
65
|
+
}, {
|
|
66
|
+
readonly type: "function";
|
|
67
|
+
readonly name: "setVotingConfigs";
|
|
68
|
+
readonly stateMutability: "nonpayable";
|
|
69
|
+
readonly inputs: readonly [{
|
|
70
|
+
readonly name: "votingConfigs";
|
|
71
|
+
readonly type: "tuple[]";
|
|
72
|
+
readonly components: readonly [{
|
|
73
|
+
readonly name: "accessLevel";
|
|
74
|
+
readonly type: "uint8";
|
|
75
|
+
}, {
|
|
76
|
+
readonly name: "votingDuration";
|
|
77
|
+
readonly type: "uint24";
|
|
78
|
+
}, {
|
|
79
|
+
readonly name: "yesThreshold";
|
|
80
|
+
readonly type: "uint56";
|
|
81
|
+
}, {
|
|
82
|
+
readonly name: "yesNoDifferential";
|
|
83
|
+
readonly type: "uint56";
|
|
84
|
+
}, {
|
|
85
|
+
readonly name: "minPropositionPower";
|
|
86
|
+
readonly type: "uint56";
|
|
87
|
+
}];
|
|
88
|
+
}];
|
|
89
|
+
readonly outputs: readonly [];
|
|
90
|
+
}, {
|
|
91
|
+
readonly type: "function";
|
|
92
|
+
readonly name: "addVotingPortals";
|
|
93
|
+
readonly stateMutability: "nonpayable";
|
|
94
|
+
readonly inputs: readonly [{
|
|
95
|
+
readonly name: "votingPortals";
|
|
96
|
+
readonly type: "address[]";
|
|
97
|
+
}];
|
|
98
|
+
readonly outputs: readonly [];
|
|
99
|
+
}, {
|
|
100
|
+
readonly type: "function";
|
|
101
|
+
readonly name: "removeVotingPortals";
|
|
102
|
+
readonly stateMutability: "nonpayable";
|
|
103
|
+
readonly inputs: readonly [{
|
|
104
|
+
readonly name: "votingPortals";
|
|
105
|
+
readonly type: "address[]";
|
|
106
|
+
}];
|
|
107
|
+
readonly outputs: readonly [];
|
|
108
|
+
}, {
|
|
109
|
+
readonly type: "function";
|
|
110
|
+
readonly name: "setPowerStrategy";
|
|
111
|
+
readonly stateMutability: "nonpayable";
|
|
112
|
+
readonly inputs: readonly [{
|
|
113
|
+
readonly name: "powerStrategy";
|
|
114
|
+
readonly type: "address";
|
|
115
|
+
}];
|
|
116
|
+
readonly outputs: readonly [];
|
|
117
|
+
}, {
|
|
118
|
+
readonly type: "function";
|
|
119
|
+
readonly name: "rescueVotingTokens";
|
|
120
|
+
readonly stateMutability: "nonpayable";
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly name: "erc20Token";
|
|
123
|
+
readonly type: "address";
|
|
124
|
+
}, {
|
|
125
|
+
readonly name: "to";
|
|
126
|
+
readonly type: "address";
|
|
127
|
+
}, {
|
|
128
|
+
readonly name: "amount";
|
|
129
|
+
readonly type: "uint256";
|
|
130
|
+
}];
|
|
131
|
+
readonly outputs: readonly [];
|
|
132
|
+
}, {
|
|
133
|
+
readonly type: "function";
|
|
134
|
+
readonly name: "rescueEth";
|
|
135
|
+
readonly stateMutability: "nonpayable";
|
|
136
|
+
readonly inputs: readonly [{
|
|
137
|
+
readonly name: "to";
|
|
138
|
+
readonly type: "address";
|
|
139
|
+
}, {
|
|
140
|
+
readonly name: "amount";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
}];
|
|
143
|
+
readonly outputs: readonly [];
|
|
144
|
+
}, {
|
|
145
|
+
readonly type: "function";
|
|
146
|
+
readonly name: "transferOwnership";
|
|
147
|
+
readonly stateMutability: "nonpayable";
|
|
148
|
+
readonly inputs: readonly [{
|
|
149
|
+
readonly name: "newOwner";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
}];
|
|
152
|
+
readonly outputs: readonly [];
|
|
153
|
+
}, {
|
|
154
|
+
readonly type: "function";
|
|
155
|
+
readonly name: "renounceOwnership";
|
|
156
|
+
readonly stateMutability: "nonpayable";
|
|
157
|
+
readonly inputs: readonly [];
|
|
158
|
+
readonly outputs: readonly [];
|
|
159
|
+
}];
|
|
160
|
+
export default AaveGovernanceV3Abi;
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// GENERATED by packages/core/scripts/gen-abis.mjs — do not edit.
|
|
3
|
+
// Source of truth: src/abi/*.json at the repo root (see scripts/extract-abis.mjs).
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AaveGovernanceV3Abi = void 0;
|
|
6
|
+
exports.AaveGovernanceV3Abi = [
|
|
7
|
+
{
|
|
8
|
+
"type": "function",
|
|
9
|
+
"name": "createProposal",
|
|
10
|
+
"stateMutability": "nonpayable",
|
|
11
|
+
"inputs": [
|
|
12
|
+
{
|
|
13
|
+
"name": "payloads",
|
|
14
|
+
"type": "tuple[]",
|
|
15
|
+
"components": [
|
|
16
|
+
{
|
|
17
|
+
"name": "chain",
|
|
18
|
+
"type": "uint256"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "accessLevel",
|
|
22
|
+
"type": "uint8"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "payloadsController",
|
|
26
|
+
"type": "address"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "payloadId",
|
|
30
|
+
"type": "uint40"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "votingPortal",
|
|
36
|
+
"type": "address"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "ipfsHash",
|
|
40
|
+
"type": "bytes32"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"outputs": [
|
|
44
|
+
{
|
|
45
|
+
"name": "",
|
|
46
|
+
"type": "uint256"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "function",
|
|
52
|
+
"name": "cancelProposal",
|
|
53
|
+
"stateMutability": "nonpayable",
|
|
54
|
+
"inputs": [
|
|
55
|
+
{
|
|
56
|
+
"name": "proposalId",
|
|
57
|
+
"type": "uint256"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"outputs": []
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "function",
|
|
64
|
+
"name": "executeProposal",
|
|
65
|
+
"stateMutability": "nonpayable",
|
|
66
|
+
"inputs": [
|
|
67
|
+
{
|
|
68
|
+
"name": "proposalId",
|
|
69
|
+
"type": "uint256"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"outputs": []
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "function",
|
|
76
|
+
"name": "queueProposal",
|
|
77
|
+
"stateMutability": "nonpayable",
|
|
78
|
+
"inputs": [
|
|
79
|
+
{
|
|
80
|
+
"name": "proposalId",
|
|
81
|
+
"type": "uint256"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "forVotes",
|
|
85
|
+
"type": "uint128"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "againstVotes",
|
|
89
|
+
"type": "uint128"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"outputs": []
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "function",
|
|
96
|
+
"name": "setVotingConfigs",
|
|
97
|
+
"stateMutability": "nonpayable",
|
|
98
|
+
"inputs": [
|
|
99
|
+
{
|
|
100
|
+
"name": "votingConfigs",
|
|
101
|
+
"type": "tuple[]",
|
|
102
|
+
"components": [
|
|
103
|
+
{
|
|
104
|
+
"name": "accessLevel",
|
|
105
|
+
"type": "uint8"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "votingDuration",
|
|
109
|
+
"type": "uint24"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "yesThreshold",
|
|
113
|
+
"type": "uint56"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "yesNoDifferential",
|
|
117
|
+
"type": "uint56"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "minPropositionPower",
|
|
121
|
+
"type": "uint56"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"outputs": []
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"type": "function",
|
|
130
|
+
"name": "addVotingPortals",
|
|
131
|
+
"stateMutability": "nonpayable",
|
|
132
|
+
"inputs": [
|
|
133
|
+
{
|
|
134
|
+
"name": "votingPortals",
|
|
135
|
+
"type": "address[]"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"outputs": []
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "function",
|
|
142
|
+
"name": "removeVotingPortals",
|
|
143
|
+
"stateMutability": "nonpayable",
|
|
144
|
+
"inputs": [
|
|
145
|
+
{
|
|
146
|
+
"name": "votingPortals",
|
|
147
|
+
"type": "address[]"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"outputs": []
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "function",
|
|
154
|
+
"name": "setPowerStrategy",
|
|
155
|
+
"stateMutability": "nonpayable",
|
|
156
|
+
"inputs": [
|
|
157
|
+
{
|
|
158
|
+
"name": "powerStrategy",
|
|
159
|
+
"type": "address"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"outputs": []
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "function",
|
|
166
|
+
"name": "rescueVotingTokens",
|
|
167
|
+
"stateMutability": "nonpayable",
|
|
168
|
+
"inputs": [
|
|
169
|
+
{
|
|
170
|
+
"name": "erc20Token",
|
|
171
|
+
"type": "address"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "to",
|
|
175
|
+
"type": "address"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "amount",
|
|
179
|
+
"type": "uint256"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"outputs": []
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "function",
|
|
186
|
+
"name": "rescueEth",
|
|
187
|
+
"stateMutability": "nonpayable",
|
|
188
|
+
"inputs": [
|
|
189
|
+
{
|
|
190
|
+
"name": "to",
|
|
191
|
+
"type": "address"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "amount",
|
|
195
|
+
"type": "uint256"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"outputs": []
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"type": "function",
|
|
202
|
+
"name": "transferOwnership",
|
|
203
|
+
"stateMutability": "nonpayable",
|
|
204
|
+
"inputs": [
|
|
205
|
+
{
|
|
206
|
+
"name": "newOwner",
|
|
207
|
+
"type": "address"
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"outputs": []
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"type": "function",
|
|
214
|
+
"name": "renounceOwnership",
|
|
215
|
+
"stateMutability": "nonpayable",
|
|
216
|
+
"inputs": [],
|
|
217
|
+
"outputs": []
|
|
218
|
+
}
|
|
219
|
+
];
|
|
220
|
+
exports.default = exports.AaveGovernanceV3Abi;
|