XSwapProxy

Verified contract

Proxy

Active on Ethereum with 1,760 txns
Deployed by via 0x1aeb003a at 10055304
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x7f1a5d942ed14c750a48b0cd2726342e428a7adb69d25f0823dcca28aa741c99
0xc0fb0a1194165c03744e6d292be92a5c4c50deda234a48ef2948500c92812456
0x05066e54a20ce0e078c6a235f94ba27c1e7b120c9339acf6f3a2edc606f247b8
From
0x10bae8b4d26011cad5abdfb4cf4c344ca19807a1bd877b91f3b1606c0ff922e3
0xdf2a9b7e5601f39a28aa3bcbbdee3e96ca1e386763c9837475e58429a75f62c5
0x383e031b28b6a6d7e0e0c1466d813b4a63d10c0ffae0fb890feba9b5587d8fde
From
0x79c8239322d31bdcbe371e27a667a210ddd4a6247af693cbb2bf27ae2ce61397
0x1ae8e6ec0bcc5ad13faf7349141088e83945fe9aa1f80eafead962e865ab794d
0x66aaaeb3287e4e1344e373551d1d45c616bb31c2ccf9f075ad25ece7b7dec9b2
0x07c821a6b9064d8135911b5c20a83cfee9eb7a2aa17dae268ea49ae2abf824ab

Functions
Getter at block 21202498
admin(view returns (address)
0x0000000000000000000000000000000000000000
implementation(view returns (address)
0x0000000000000000000000000000000000000000
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
authority(view returns (address)
0x9121d140fff2660f72f1fbed92e7f66a11014d6c
isOpen(view returns (bool)
true
maxSwing(view returns (uint256)
1500000000000000000
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
oracle(view returns (address)
0x1e618d24c68eaf9bb3030691fca3283a67985042
owner(view returns (address)
0x8bbaf686d18c00a01b7f99767241a874fd8c7d42
paused(view returns (bool)
false
Read-only
exchangeRate(address _inputaddress _outputview returns (uint256)
fee(addressaddressview returns (uint256)
getAmountByInput(address _inputaddress _outputuint256 _inputAmountview returns (uint256)
getAmountByOutput(address _inputaddress _outputuint256 _outputAmountview returns (uint256)
getBestOutputByInput(address _inputaddress _outputuint256 _inputAmountview returns (uint256)
getLiquidity(address _tokenview returns (uint256)
remainingDToken(addressview returns (address)
supportDToken(addressview returns (address)
tokensEnable(addressview returns (bool)
tradesDisable(addressaddressview returns (bool)
State-modifying
changeAdmin(address newAdmin
updateAdmin(
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
acceptOwnership(
active(address _oracle
disableDToken(address _dToken
disableOwnership(
disableToken(address _token
disableTrade(address _inputaddress _output
emergencyStop(bool _changeStateTo
enableDToken(address _dToken
enableToken(address _token
enableTrade(address _inputaddress _output
pause(
setAuthority(address authority_
setFee(address _inputaddress _outputuint256 _fee
setFeeBatch(address[] _inputaddress[] _outputuint256[] _fee
setMaxSwing(uint256 _maxSwing
setOracle(address _oracle
swap(address _inputaddress _outputuint256 _inputAmount
swap(address _inputaddress _outputuint256 _inputAmountaddress _receiver
swapTo(address _inputaddress _outputuint256 _outputAmount
swapTo(address _inputaddress _outputuint256 _outputAmountaddress _receiver
transferIn(address _tokenuint256 _amount
transferOut(address _tokenaddress _receiveruint256 _amount
transferOutALL(address _tokenaddress _receiver
transferOwnership(address newOwner_
unpause(
Events
AdminChanged(address previousAdminaddress newAdmin
AdminUpdated(address newAdmin
Upgraded(address indexed implementation
DisableDToken(address DTokenaddress tokenuint256 DTokenBalance
DisableToken(address token
DisableTrade(address inputaddress output
EmergencyStop(bool isOpen
EnableDToken(address DTokenaddress tokenuint256 DTokenBalance
EnableToken(address token
EnableTrade(address inputaddress output
LogSetAuthority(address indexed authority
LogSetOwner(address indexed owner
OwnerUpdate(address indexed owneraddress indexed newOwner
Paused(address admin
SetFee(address inputaddress outputuint256 fee
SetMaxSwing(uint256 maxSwing
SetOracle(address oracle
Swap(address fromaddress toaddress inputuint256 inputAmountuint256 inputPriceaddress outputuint256 outputAmountuint256 outputPrice
TransferIn(address tokenuint256 amountuint256 balance
TransferOut(address tokenaddress receiveruint256 amountuint256 balance
Unpaused(address admin
Constructor
constructor(address _implementationbytes _data
Fallback and receive
fallback(
Errors

This contract contains no error objects.