dydx

ERC721MarginPosition

0x1098898efacd41e1824cd610f52d0f8690bdc87a
ERC721Basic
event

ApprovalForAll

Inputs

ParameterTypeDescription
_owneraddress
_operatoraddress
_approvedbool

Outputs

(void)
event

Approval

Inputs

ParameterTypeDescription
_owneraddress
_approvedaddress
_tokenIduint256

Outputs

(void)
event

Transfer

Inputs

ParameterTypeDescription
_fromaddress
_toaddress
_tokenIduint256

Outputs

(void)
ERC721BasicToken
function

safeTransferFrom

nonpayable

Inputs

ParameterTypeDescription
_fromaddress
_toaddress
_tokenIduint256
_databytes

Outputs

(void)
function

setApprovalForAll

nonpayable

Inputs

ParameterTypeDescription
_toaddress
_approvedbool

Outputs

(void)
function

safeTransferFrom

nonpayable

Inputs

ParameterTypeDescription
_fromaddress
_toaddress
_tokenIduint256

Outputs

(void)
function

isApprovedForAll

view

Inputs

ParameterTypeDescription
_owneraddress
_operatoraddress

Outputs

TypeDescription
bool
function

ownerOf

view

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

TypeDescription
address
function

exists

view

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

TypeDescription
bool
function

getApproved

view

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

TypeDescription
address
ERC721MarginPosition
function

burnClosedTokenMultiple

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
positionIdsbytes32[]

Outputs

(void)
function

approveRecipient

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
recipientaddress
isApprovedbool

Outputs

(void)
function

burnClosedToken

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
positionIdbytes32

Outputs

(void)
function

untokenizePosition

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
positionIdbytes32
toaddress

Outputs

(void)
function

approveCloser

nonpayable
Restricted (nonReentrant)

Inputs

ParameterTypeDescription
closeraddress
isApprovedbool

Outputs

(void)
function

depositCollateralOnBehalfOf

nonpayable
Restricted (onlyMargin, nonReentrant)

Inputs

ParameterTypeDescription
address
positionIdbytes32
uint256

Outputs

TypeDescription
address
function

receivePositionOwnership

nonpayable
Restricted (onlyMargin, nonReentrant)

Inputs

ParameterTypeDescription
fromaddress
positionIdbytes32

Outputs

TypeDescription
address
function

increasePositionOnBehalfOf

nonpayable
Restricted (onlyMargin, nonReentrant)

Inputs

ParameterTypeDescription
address
positionIdbytes32
uint256

Outputs

TypeDescription
address
function

closeOnBehalfOf

nonpayable
Restricted (onlyMargin, nonReentrant)

Inputs

ParameterTypeDescription
closeraddress
payoutRecipientaddress
positionIdbytes32
requestedAmountuint256

Outputs

TypeDescription
address
uint256
function

getPositionDeedHolder

view

Inputs

ParameterTypeDescription
positionIdbytes32

Outputs

TypeDescription
address
event

RecipientApproval

Inputs

ParameterTypeDescription
owneraddress
approvedaddress
isApprovedbool

Outputs

(void)
event

CloserApproval

Inputs

ParameterTypeDescription
owneraddress
approvedaddress
isApprovedbool

Outputs

(void)
event

PositionUntokenized

Inputs

ParameterTypeDescription
positionIdbytes32
owneraddress
ownershipSentToaddress

Outputs

(void)
event

PositionTokenized

Inputs

ParameterTypeDescription
positionIdbytes32
owneraddress

Outputs

(void)
ERC721Token
function

tokenURI

view

Inputs

ParameterTypeDescription
_tokenIduint256

Outputs

TypeDescription
string
function

symbol

view

Inputs

(void)

Outputs

TypeDescription
string
function

tokenByIndex

view

Inputs

ParameterTypeDescription
_indexuint256

Outputs

TypeDescription
uint256
function

tokenOfOwnerByIndex

view

Inputs

ParameterTypeDescription
_owneraddress
_indexuint256

Outputs

TypeDescription
uint256
function

name

view

Inputs

(void)

Outputs

TypeDescription
string
GeneralERC20
function

transferFrom

nonpayable

Inputs

ParameterTypeDescription
_fromaddress
_toaddress
_tokenIduint256

Outputs

(void)
function

approve

nonpayable

Inputs

ParameterTypeDescription
_toaddress
_tokenIduint256

Outputs

(void)
function

balanceOf

view

Inputs

ParameterTypeDescription
_owneraddress

Outputs

TypeDescription
uint256
function

totalSupply

view

Inputs

(void)

Outputs

TypeDescription
uint256
SupportsInterfaceWithLookup
function

supportsInterface

view

Inputs

ParameterTypeDescription
_interfaceIdbytes4

Outputs

TypeDescription
bool
constructor

nonpayable

Inputs

ParameterTypeDescription
marginaddress

Outputs

(void)
function

approvedClosers

view

Inputs

ParameterTypeDescription
address
address

Outputs

TypeDescription
bool
function

InterfaceId_ERC165

view

Inputs

(void)

Outputs

TypeDescription
bytes4
function

approvedRecipients

view

Inputs

ParameterTypeDescription
address
address

Outputs

TypeDescription
bool
function

DYDX_MARGIN

view

Inputs

(void)

Outputs

TypeDescription
address