dydx / Vault

Vault

0x5199071825cc1d6cd019b0d7d42b08106f6cf16d
AccessControlledBase
event

AccessRevoked

Inputs

ParameterTypeDescription
whoaddress

Outputs

(void)
event

AccessGranted

Inputs

ParameterTypeDescription
whoaddress

Outputs

(void)
Ownable
function

transferOwnership

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
_newOwneraddress

Outputs

(void)
function

renounceOwnership

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
event

OwnershipTransferred

Inputs

ParameterTypeDescription
previousOwneraddress
newOwneraddress

Outputs

(void)
event

OwnershipRenounced

Inputs

ParameterTypeDescription
previousOwneraddress

Outputs

(void)
StaticAccessControlled
function

grantAccess

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
whoaddress

Outputs

(void)
Vault
function

withdrawExcessToken

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
tokenaddress
toaddress

Outputs

TypeDescription
uint256
function

transferToVault

nonpayable
Restricted (requiresAuthorization)

Inputs

ParameterTypeDescription
idbytes32
tokenaddress
fromaddress
amountuint256

Outputs

(void)
function

transferFromVault

nonpayable
Restricted (requiresAuthorization)

Inputs

ParameterTypeDescription
idbytes32
tokenaddress
toaddress
amountuint256

Outputs

(void)
event

ExcessTokensWithdrawn

Inputs

ParameterTypeDescription
tokenaddress
toaddress
calleraddress

Outputs

(void)
constructor

nonpayable

Inputs

ParameterTypeDescription
proxyaddress
gracePerioduint256

Outputs

(void)
function

GRACE_PERIOD_EXPIRATION

view

Inputs

(void)

Outputs

TypeDescription
uint256
function

TOKEN_PROXY

view

Inputs

(void)

Outputs

TypeDescription
address
function

balances

view

Inputs

ParameterTypeDescription
bytes32
address

Outputs

TypeDescription
uint256
function

authorized

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
bool
function

totalBalances

view

Inputs

ParameterTypeDescription
address

Outputs

TypeDescription
uint256
function

owner

view

Inputs

(void)

Outputs

TypeDescription
address