DEX-AG

DexTrading

0x745daa146934b27e3f0b6bff1a6e36b9b90fb131
DexTrading
event

Trade

Inputs

ParameterTypeDescription
fromaddress
toaddress
toAmountuint256
traderaddress
exchangesaddress[]
tradeTypeuint256

Outputs

(void)
fallback

(fallback)

payable

Inputs

(void)

Outputs

(void)
function

withdrawWeth

nonpayable

Inputs

(void)

Outputs

(void)
function

tradeAndSend

payable

Inputs

ParameterTypeDescription
fromaddress
toaddress
recipientaddress
fromAmountuint256
exchangesaddress[]
approvalsaddress[]
databytes
offsetsuint256[]
etherValuesuint256[]
limitAmountuint256
tradeTypeuint256

Outputs

(void)
function

trade

payable

Inputs

ParameterTypeDescription
fromaddress
toaddress
fromAmountuint256
exchangesaddress[]
approvalsaddress[]
databytes
offsetsuint256[]
etherValuesuint256[]
limitAmountuint256
tradeTypeuint256

Outputs

(void)
Ownable
constructor

DexTrading

nonpayable

Inputs

(void)

Outputs

(void)
event

OwnershipTransferred

Inputs

ParameterTypeDescription
previousOwneraddress
newOwneraddress

Outputs

(void)
function

transferOwnership

nonpayable
Restricted (onlyOwner)

Inputs

ParameterTypeDescription
newOwneraddress

Outputs

(void)
function

renounceOwnership

nonpayable
Restricted (onlyOwner)

Inputs

(void)

Outputs

(void)
function

owner

view

Inputs

(void)

Outputs

TypeDescription
address
function

isOwner

view

Inputs

(void)

Outputs

TypeDescription
bool
function

approvalHandler

view

Inputs

(void)

Outputs

TypeDescription
address
function

WETH

view

Inputs

(void)

Outputs

TypeDescription
address