XSwap
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "XSwap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "XSwap"
ABI
ABI objects
Getter at block 21203312
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 _input, address _output) view returns (uint256)
fee(address, address) view returns (uint256)
getAmountByInput(address _input, address _output, uint256 _inputAmount) view returns (uint256)
getAmountByOutput(address _input, address _output, uint256 _outputAmount) view returns (uint256)
getBestOutputByInput(address _input, address _output, uint256 _inputAmount) view returns (uint256)
getLiquidity(address _token) view returns (uint256)
remainingDToken(address) view returns (address)
supportDToken(address) view returns (address)
tokensEnable(address) view returns (bool)
tradesDisable(address, address) view returns (bool)
State-modifying
Events acceptOwnership()
active(address _oracle)
disableDToken(address _dToken)
disableOwnership()
disableToken(address _token)
disableTrade(address _input, address _output)
emergencyStop(bool _changeStateTo)
enableDToken(address _dToken)
enableToken(address _token)
enableTrade(address _input, address _output)
pause()
setAuthority(address authority_)
setFee(address _input, address _output, uint256 _fee)
setFeeBatch(address[] _input, address[] _output, uint256[] _fee)
setMaxSwing(uint256 _maxSwing)
setOracle(address _oracle)
swap(address _input, address _output, uint256 _inputAmount)
swap(address _input, address _output, uint256 _inputAmount, address _receiver)
swapTo(address _input, address _output, uint256 _outputAmount)
swapTo(address _input, address _output, uint256 _outputAmount, address _receiver)
transferIn(address _token, uint256 _amount)
transferOut(address _token, address _receiver, uint256 _amount)
transferOutALL(address _token, address _receiver)
transferOwnership(address newOwner_)
unpause()
DisableDToken(address DToken, address token, uint256 DTokenBalance)
DisableToken(address token)
DisableTrade(address input, address output)
EmergencyStop(bool isOpen)
EnableDToken(address DToken, address token, uint256 DTokenBalance)
EnableToken(address token)
EnableTrade(address input, address output)
LogSetAuthority(address indexed authority)
LogSetOwner(address indexed owner)
OwnerUpdate(address indexed owner, address indexed newOwner)
Paused(address admin)
SetFee(address input, address output, uint256 fee)
SetMaxSwing(uint256 maxSwing)
SetOracle(address oracle)
Swap(address from, address to, address input, uint256 inputAmount, uint256 inputPrice, address output, uint256 outputAmount, uint256 outputPrice)
TransferIn(address token, uint256 amount, uint256 balance)
TransferOut(address token, address receiver, uint256 amount, uint256 balance)
Unpaused(address admin)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.