dydx / Factory

ERC20ShortFactory

0xc72786ad71b5ef5326299409d5fe6912c05635ab
ERC20Position
function

receivePositionOwnership

nonpayable
Restricted (onlyMargin, nonReentrant, onlyState, onlyPosition)

Inputs

ParameterTypeDescription
fromaddress
positionIdbytes32

Outputs

TypeDescription
address
ERC20PositionFactory
event

TokenCreated

Inputs

ParameterTypeDescription
positionIdbytes32
tokenAddressaddress

Outputs

(void)
constructor

nonpayable

Inputs

ParameterTypeDescription
marginaddress
trustedRecipientsaddress[]
trustedWithdrawersaddress[]

Outputs

(void)
function

TRUSTED_RECIPIENTS

view

Inputs

ParameterTypeDescription
uint256

Outputs

TypeDescription
address
function

TRUSTED_WITHDRAWERS

view

Inputs

ParameterTypeDescription
uint256

Outputs

TypeDescription
address
function

DYDX_MARGIN

view

Inputs

(void)

Outputs

TypeDescription
address