XSwapProxy
Verified contract
Proxy
Active on
Ethereum with 1,760 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x9121…4d6c
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDP | ERC-20 | 0.00391 | $0.999213 |
$0 | |
USDC | ERC-20 | 0.000571 | $1.00 |
$0 | |
USDT | ERC-20 | 0.000005 | $1.001 |
$0 | |
TUSD | ERC-20 | 0 | $0.999065 |
$0 | |
DAI | ERC-20 | 0 | $1.001 |
$0 | |
0xeb26…3549 | ERC-20 | 0.005471 | -- | -- | |
GOLDx | ERC-20 | 0 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11769495 | 4 years ago | | | 0 | 0.0087467440 | |
| 11769495 | 4 years ago | | | 0 | 0.0094255590 | |
| 11430386 | 4 years ago | | | 0 | 0.0049027600 | |
| 11410811 | 4 years ago | | | 0 | 0.0014209200 | |
| 11240671 | 4 years ago | | | 0 | 0.00099117529 | |
| 11233141 | 4 years ago | | | 0 | 0.0039589787 | |
| 11209549 | 4 years ago | | | 0 | 0.0014460600 | |
| 11205828 | 4 years ago | | | 0 | 0.0012807960 | |
| 11205612 | 4 years ago | | | 0 | 0.0014271297 | |
| 11194462 | 4 years ago | | | 0 | 0.0013370161 |
ABI
ABI objects
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 _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 changeAdmin(address newAdmin)
updateAdmin()
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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()
AdminChanged(address previousAdmin, address newAdmin)
AdminUpdated(address newAdmin)
Upgraded(address indexed implementation)
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(address _implementation, bytes _data)
fallback()
This contract contains no error objects.