XSwap

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x486cd1b6 at 10464232
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "XSwap"

No transactions found for "XSwap"


Functions
Getter at block 21202498
authority(view returns (address)
0x0000000000000000000000000000000000000000
isOpen(view returns (bool)
false
maxSwing(view returns (uint256)
0
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
oracle(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x377598d56030b2d6a9e83f20d44ba3b10ddfa2d5
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
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
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(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.