ERC20PositionFactory
function
receivePositionOwnership
nonpayable
Restricted (onlyMargin)
Inputs
| Parameter | Type | Description |
|---|---|---|
| from | address | |
| positionId | bytes32 |
Outputs
| Type | Description |
|---|---|
| address |
event
TokenCreated
Inputs
| Parameter | Type | Description |
|---|---|---|
| positionId | bytes32 | |
| tokenAddress | address |
Outputs
(void)
constructor
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| margin | address | |
| trustedRecipients | address[] | |
| trustedWithdrawers | address[] |
Outputs
(void)
function
TRUSTED_RECIPIENTS
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| uint256 |
Outputs
| Type | Description |
|---|---|
| address |
function
TRUSTED_WITHDRAWERS
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| uint256 |
Outputs
| Type | Description |
|---|---|
| address |
function
DYDX_MARGIN
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |