All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Renamed
Proposal
toActionBatch
and made it immutable - Added
deterministicId
as field toActionBatch
andAction
. ThedeterministicId
is a reference shared by the ActionId in plugins packages that can be known at the time of proposal execution. - The
deterministicId
andId
fields now include thedaoAddress
insideexecuteActions
- Renamed
proposal
toactionBatch
inAction
,ERC20Transfer
,ERC721Transfer
,ERC1155Transfer
,NativeTransfer
andDAO
- Removed
startDate
andendDate
fromActionBatch
as they relate to proposals - Removed
TokenVoting
Multisig
Admin
andAddressList
from the schema - Deleted the corresponding handlers any references to the above plugins
- Removed the concept of wrapped ERC20 as these are only relevant in the context of the token voting plugin
- The function
identifyAndFetchOrCreateERC20Entity
is now renamed tofetchOrCreateERC20Entity
inside thetoken/utils
file
- Add
txHash
field to the Dao entity.
- Fixed bug with negative number balances and missing delegation history for existing ERC20 tokens using
TokenVoting
- Fixed bugs regarding inconsistent memberIds in various parts of the codebase. This primarily affects delegation.
- Removed
createERC1155TokenCalls
,createTokenCalls
,createWrappedTokenCalls
andcreateDummyActions
and use the equivalent functionscreateERC20TokenCalls
,createERC1155TokenCalls
andcreateDummyAction
from@aragon/sdk-commons-subgraph
- Used
createDummyAction
from@aragon/sdk-commons-subgraph
- Added
isSignaling
attribute toTokenVotingProposal
,AddresslistVotingProposal
, andMultisigProposal
that is set to true for proposals having an empty action array.
- Renamed
potentiallyExecutable
attribute toapprovalReached
and stopped setting it totrue
during multisig proposal creation ifminApprovals = 1
when zero approvals were given yet.
- Add support for
Granted
&Revoked
event inPluginRepo
- Add one-to-many relationship from
Dao
&PluginRepo
toPermission
- Renamed
fetchERC20
&fetchWrappedERC20
tofetchOrCreateERC20Entity
&fetchOrCreateWrappedERC20Entity
respectively. - Changed type of
token
attribute ofERC20Transfer
fromERC20Contract
toToken
. - Refactored
Permission
entity & addedpluginRepo
attribute. - Fixed wrong token voting member deletion, when balance & voting power was zero, but it was still delegating to another address.
- Removed
SignatureValidatorSet
event. - Removed
ContractPermissionId
entity.
- Add support for
ERC1155
tokens.
- Fixed missing interfaces of ERC20, ERC721, TokenVoting, AddresslistVoting, and CallbackHandler from Aragon OSx v1.3.0.
- Fixed wrong interface for indexing GovernanceWrappedERC20.
- Added "v" to the version on the github deploy flow.
- Added handler for
NewURI
event on DAO. - Added
delegatee
,votingPower
anddelegators
to theTokenVotingMember
. - Added support for indexing GovernanceWrappedERC20 and underlying token.
- Renamed handling updates from v1.2.0 to v1.3.0
- Fixed start & end date issue by indexing from
getProposal()
instead of the event. - BREAKING: DAO's plugins attribute derive from
PluginInstallation
instead ofIPlugin
. - BREAKING: Changed attribute of
proposalId
in all proposal entities topluginProposalId
- Supports now multiple
DAORegistries
,PluginRepoRegistries
andPluginSetupProcessors
as datasources. - Splits
DAO
into multiple versions. - Fixes typing issues in tests and subgraph manifest.
- Added
method-classes
. - Added
schema-extender.ts
. - Added
installations
toIPlugin
. - Added
PluginRelease
. - Added
metadata
toPluginVersion
. - Added configuration for mumbai.
- Changed
executable
attribute of the proposal entities topotentiallyExecutable
. - Changed
plugin
field ofDao
fromIPluginInstallation
toIPlugin
. - Changed
pluginAddress
field ofPluginInstallation
toplugin
. - Changed
IPluginInstallation
toIPlugin
. - Changed
release: Int!
torelease: PluginRelease!
inPluginVersion
- Changed
versions
toreleases
inPluginRepo
. - Changes
Permission
entity to be mutable.
- Removed
pluginInstallations
fromDao
.
- Add
executable
attribute toMultisigProposal
. - Added
subdomain_blocklist
for DAO indexing.
- Changed
minApprovals
to int onMultisigPlugin
. - Changed proposal entity id to
bytes32
frombigint
. - Fixed the
supportThresholdReachedEarly
check inhandleVoteCast
ofTokenVoting
andAddresslistVoting
.
On 2023-02-16 16:23:28
- Adds support for AdminPlugin members by listening on DAO permissions.
- Changes all instances of
adminstrator
toadministrator
to fix typo.
- Added the
MembershipContractAnnounced
event. - Added
executionTxHash
toAddresslistVotingProposal
,TokenVotingProposal
,MultisigProposal
andAdminProposal
. - Added
voteReplaced
andupdatedAt
toTokenVotingVote
andAddresslistVotingVote
. - Adds entities:
PluginPermission
,PluginPreparation
. - Adds enums:
PermissionOperation
,PluginPreparationType
.
- Changed the folder structure of the
contracts
folder. - Changed indexing of
totalVotingPower
which is now obtained from thesnapshotBlock
and the public functiontotalVotingPower(uint256 _blockNumber)
. - Renamed the
AddressesAdded
andAddressesRemoved
event toMembersAdded
andMembersRemoved
. - Changes
callId
inExecuted
event fromuint256
tobytes32
. - Renames
name
inPluginRepoRegistry
andDAORegistry
tosubdomain
. - Removes
DaoPlugin
entity. - Removes
daos
field from Plugin entities.
- Applied changes made in the
PluginSetupProcessor
.
- Added
startDate
andendDate
to allProposalCreated
events. - Adds
startDate
andendDate
fields to Multisig proposals. - Adds
allowFailureMap
to the proposal entities.
- Replaced
ProposalParameters.minParticipation
byminVotingPower
inTokenVoting
andAddresslistVoting
. - Rescaled and renamed
PCT_BASE = 10**18
toRATIO_BASE = 10**6
. - Changed the type of
ProposalParameter.minApprovals
,MultisigSettingsUpdated.minApprovals
fromuint256
touint16
, and addedapprovals
(uint16) in theProposal
struct. - Updates
ADDRESSLIST_VOTING_INTERFACE
andADMIN_INTERFACE
- Changed all occurences of
oracle
tocondition
.
- Removes
Tally
struct as well asaddressListLength
and movesapprovals
inProposal
.
On 2023-01-11 17:06:50
- Ignores
None
votes from addresslist voting and token voting - Updates
MULTISIG_INTERFACE
- Removes
open
andexecutable
fields from Multisig proposals - Removed
withdraw
event handling.
On 2022-12-09 15:16:22
- Added support for the
AdminPlugin
. - Fixed the early execution criterion in
MajorityVoting
by calculating theworstCaseSupport
quantity. - Adds support for
PluginRepo
,PluginRegistry
andPluginSetupProcessor
- Added
Withdrawn
,TrustedForwarderSet
,StandardCallbackRegistered
andhandleStandardCallbackRegistered
events handling toDaoTemplate
- Added support for the new
PluginSettingsUpdated
event of theMultisig
plugin
- Unified naming of the
MajorityVoting
related variables and functions as well as reordering of the function arguments. - Changed
MajorityVoting
to useminParticipation
and unified the parameter order. - Renamed *package to *plugin.
- Renamed Allowlist to Addresslist.
- Improved test recompilation.
- Marks some entity as immutable.
- Fixes calcuation crash in erc20 voting, when no votes were cast
- Added the field
onlyListed
to theMultisigPlugin
type
On 2022-10-07 15:20:00
executable
property toERC20VotingProposal
andAllowlistProposal
.
On 2022-10-03 10:38:36
- Added an
ERC721Token
entity andToken
interface to be used byTokenVotingPlugin
. - Added
members
toERC20VotingPackage
. - Added
lastUpdated
toERC20VotingVoter
. - Added
voteCount
to bothERC20VotingProposal
andAllowlistProposal
. - Added type field to
VaultTransfer
to differentiate between deposits and withdraws
- Renamed contracts, events, and parameters in
MajorityVoting
:ERC20Voting
toTokenVoting
AllowlistVoting
toAddresslistVoting
andallowlist
toaddresslist
VoteCreated
andVoteExecuted
toProposalCreated
andProposalExecuted
voteId
toproposalId
- Changed
users
tomembers
inAllowlistPackage
. - Adapted subgraph names according to the renaming of the contracts.
- Updated
manifest
,registry
,registry.test
. - Refactored import statements.
- Refactored event names.
- Refactored
deposits
andwithdraws
into one fieldtransfers
. - Refactored
VaultWithdraw
andVaultDeposit
into one typeVaultTransfer
. - Removes not null enforcing
Proposal.metadata
.
- Remove decoding
metadata
hash from Subgraph. - Expand
Proposal
entity to includecreator
,metadata
andcreatedAt
.
- Implement mapping and unit testing for events of
MetaTxComponent
. - Utilizing interfaceId for distinguishing between
ERC20Voting
andWhitelistVoting
. - Added eslint.
- Renamed the event
SetMetadata
toMetadataSet
- Updated Subgraph to adapt to the changes in the core contracts.
- Refactored subgraph's unit testing, applying clean code standards.
- First version of the package.
- Mapping all the main events of the core contracts.
- Mapping all the main events of both
ERC20Voting
andWhitelistVoting
.