Governance Contracts Naming Transition
The following tables show the before and after variable names for MCD governance contracts.
DSPause | DSPause/DSProtestPause |
---|---|
wait | isDelayed |
setOwner | setOwner |
setAuthority | setAuthority |
setDelay | setDelay |
plans | scheduledTransactions |
NaN | transactionDelays (NEW) (DSProtestPause) |
proxy | proxy |
delay | delay |
NaN | MAX_DELAY (NEW) |
NaN | DS_PAUSE_TYPE (NEW) |
hash | getTransactionDataHash |
soul | getExtCodeHash |
NaN | setDelayMultiplier (NEW) (DSProtestPause) |
NaN | protestWindowAvailable (NEW) (DSProtestPause) |
NaN | timeUntilProposalProtestDeadline (NEW) (DSProtestPause) |
NaN | maxScheduledTransactions (NEW) |
NaN | protester (NEW) (DSProtestPause) |
NaN | protestEnd (NEW) (DSProtestPause) |
NaN | MAX_DELAY_MULTIPLIER (NEW) (DSProtestPause) |
plot | scheduleTransaction |
NaN | attachTransactionDescription (NEW) |
NaN | protestAgainstTransaction (NEW) (DSProtestPause) |
drop | abandonTransaction |
exec | executeTransaction |
eta | earliestExecutionTime |
fax | parameters |
tag | codeHash |
NaN | getTransactionDelays (NEW) (DSProtestPause) |
DSChief | VoteQuorum |
---|---|
slates | ballots |
votes | votes |
approvals | approvals |
deposits | deposits |
GOV | PROT |
IOU | IOU |
hat | votedAuthority |
MAX_YAYS | MAX_CANDIDATES_PER_BALLOT |
Etch | GroupCandidates |
lock | addVotingWeight |
free | removeVotingWeight |
etch | groupCandidates |
vote | vote |
lift | electCandidate |
addWeight | addWeight |
subWeight | subWeight |
requireByteOrderedSet | requireByteOrderedSet |
setOwner | setOwner |
setAuthority | setAuthority |
isUserRoot | isUserRoot |
setRootUser | setRootUser |
DSAuth | DSAuth |
---|---|
authority | authority |
owner | owner |
setOwner | setOwner |
setAuthority | setAuthority |
auth | auth |
isAuthorized | isAuthorized |
DSRoles | DSRoles/DSDelegateRoles |
---|---|
_root_users | _root_users |
_user_roles | _user_roles |
_capability_roles | _capability_roles |
_public_capabilities | _public_capabilities |
getUserRoles | getUserRoles |
getCapabilityRoles | getCapabilityRoles |
isUserRoot | isUserRoot |
isCapabilityPublic | isCapabilityPublic |
hasUserRole | hasUserRole |
canCall | canCall |
BITNOT | BITNOT |
setRootUser | setRootUser |
setUserRole | setUserRole |
setPublicCapability | setPublicCapability |
setRoleCapability | setRoleCapability |
MkrAuthority | ProtocolTokenAuthority |
---|---|
root | root |
NaN | owner (NEW) |
sudo | isRootCalling |
NaN | isRootOrOwnerCalling (NEW) |
LogSetRoot | LogSetRoot |
NaN | LogSetOwner (NEW) |
setRoot | setRoot |
NaN | setOwner (NEW) |
wards | authorizedAccounts |
LogRely | LogAddAuthorizedAccount |
rely | addAuthorization |
LogDeny | LogRemoveAuthorizedAccount |
deny | removeAuthorization |
burn | burn |
burnFrom | burnFrom |
mint | mint |
canCall | canCall |
VoteProxy | VoteProxy |
---|---|
cold | cold |
hot | hot |
gov | gov |
iou | iou |
chief | voteQuorum |
auth | isAuthorized |
lock | addVotingWeight |
free | removeVotingWeight |
freeAll | removeAllVotingWeight |
vote | vote |
DSGuard | DSGuard |
---|---|
LogPermit | LogPermit |
LogForbid | LogForbid |
ANY | ANY |
canCall | canCall |
permit | permit |
forbid | forbid |
DSStop | DSStop |
---|---|
stopped | stopped |
stoppable | stoppable |
stop | stop |
start | start |