DSAuthEvents
event
LogSetOwner
Inputs
| Parameter | Type | Description |
|---|---|---|
| owner | address |
Outputs
(void)
event
LogSetAuthority
Inputs
| Parameter | Type | Description |
|---|---|---|
| authority | address |
Outputs
(void)
DSChief
function
setRootUser
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| who | address | |
| enabled | bool |
Outputs
(void)
function
setAuthority
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| authority_ | address |
Outputs
(void)
function
setOwner
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| owner_ | address |
Outputs
(void)
function
isUserRoot
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| who | address |
Outputs
| Type | Description |
|---|---|
| bool |
constructor
DSChief
nonpayable
Restricted (DSChiefApprovals)
Inputs
| Parameter | Type | Description |
|---|---|---|
| GOV | address | |
| IOU | address | |
| MAX_YAYS | uint256 |
Outputs
(void)
DSChiefApprovals
function
vote
nonpayable
Restricted (note)
Inputs
| Parameter | Type | Description |
|---|---|---|
| yays | address[] |
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
lock
nonpayable
Restricted (note)
Inputs
| Parameter | Type | Description |
|---|---|---|
| wad | uint256 |
Outputs
(void)
function
free
nonpayable
Restricted (note)
Inputs
| Parameter | Type | Description |
|---|---|---|
| wad | uint256 |
Outputs
(void)
function
vote
nonpayable
Restricted (note)
Inputs
| Parameter | Type | Description |
|---|---|---|
| slate | bytes32 |
Outputs
(void)
function
etch
nonpayable
Restricted (note)
Inputs
| Parameter | Type | Description |
|---|---|---|
| yays | address[] |
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
lift
nonpayable
Restricted (note)
Inputs
| Parameter | Type | Description |
|---|---|---|
| whom | address |
Outputs
(void)
event
Etch
Inputs
| Parameter | Type | Description |
|---|---|---|
| slate | bytes32 |
Outputs
(void)
DSNote
event
LogNote
Inputs
| Parameter | Type | Description |
|---|---|---|
| sig | bytes4 | |
| guy | address | |
| foo | bytes32 | |
| bar | bytes32 | |
| wad | uint256 | |
| fax | bytes |
Outputs
(void)
DSRoles
function
setPublicCapability
nonpayable
Restricted (auth)
Inputs
| Parameter | Type | Description |
|---|---|---|
| code | address | |
| sig | bytes4 | |
| enabled | bool |
Outputs
(void)
function
setRoleCapability
nonpayable
Restricted (auth)
Inputs
| Parameter | Type | Description |
|---|---|---|
| role | uint8 | |
| code | address | |
| sig | bytes4 | |
| enabled | bool |
Outputs
(void)
function
setUserRole
nonpayable
Restricted (auth)
Inputs
| Parameter | Type | Description |
|---|---|---|
| who | address | |
| role | uint8 | |
| enabled | bool |
Outputs
(void)
function
canCall
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| caller | address | |
| code | address | |
| sig | bytes4 |
Outputs
| Type | Description |
|---|---|
| bool |
function
hasUserRole
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| who | address | |
| role | uint8 |
Outputs
| Type | Description |
|---|---|
| bool |
function
isCapabilityPublic
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| code | address | |
| sig | bytes4 |
Outputs
| Type | Description |
|---|---|
| bool |
function
getCapabilityRoles
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| code | address | |
| sig | bytes4 |
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
getUserRoles
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| who | address |
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
hat
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
deposits
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
votes
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| bytes32 |
function
slates
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| bytes32 | ||
| uint256 |
Outputs
| Type | Description |
|---|---|
| address |
function
authority
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
owner
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
approvals
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
MAX_YAYS
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
GOV
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
IOU
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |