SwapContract
Verified contract
Active on
Ethereum with 3,190 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($30.49)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0.009 | $3,387.59 |
$30.49 | |
$ Evmosia.com | ERC-20 | 2.5K | -- | -- | |
sbBTC | ERC-20 | 0.179993 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17691009 | a year ago | | | 0 | 0.00075556691 | |
| 17690351 | a year ago | | | 0 | 0.0013141740 | |
| 17688009 | a year ago | | | 0 | 0.00091088907 | |
| 17685009 | a year ago | | | 0 | 0.0011736184 | |
| 17682008 | a year ago | | | 0 | 0.00062203999 | |
| 17679033 | a year ago | | | 0 | 0.0027157680 | |
| 17676007 | a year ago | | | 0 | 0.00046419550 | |
| 17673009 | a year ago | | | 0 | 0.0010930143 | |
| 17667009 | a year ago | | | 0 | 0.00069337007 | |
| 17658009 | a year ago | | | 0 | 0.00067929619 |
ABI
ABI objects
Getter at block 21262816 getActiveNodes() view returns (address[]) spGetPendingSwaps() view returns (struct SwapContractspPendingTx[] data)
BTCT_ADDR() view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
activeNodeCount() view returns (uint8)
17
churnedInCount() view returns (uint8)
17
getCurrentPriceLP() view returns (uint256 nowPrice)
105443079
ip() view returns (address)
0x9b50fe186a8881741ef2aef2fceb9f17df82dc7e
limitBTCForSPFlow2() view returns (uint256)
1303924
lpToken() view returns (address)
0x44a62c7121a64691b61aef669f21c628258e7d52
oldestActiveIndex() view returns (uint256)
13
owner() view returns (address)
0x0ac2601e8ff080725e8dbc6435c4c19b31bc43cd
paraswapAddress() view returns (address)
0xdef171fe48cf0115b1d80b88dc8eab59176fee57
sbBTCPool() view returns (address)
0x2f927257dc6783f5ae0644ee729242533699b2c1
sw() view returns (address)
0x2a3040d8b2a4ea8d3c36c04ae2affb9c5a8e856d
swapCount() view returns (uint256)
18
tssThreshold() view returns (uint8)
8
wETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
balanceOf(address _token, address _user) view returns (uint256)
getFloatReserve(address _tokenA, address _tokenB) view returns (uint256 reserveA, uint256 reserveB)
isNodeStake(address _user) view returns (bool)
isTxUsed(bytes32 _txid) view returns (bool)
spPendingTXs(uint256) view returns (bytes32 SwapID, string DestAddr, address RefundAddr, uint256 AmountWBTC, uint256 Timestamp)
tokens(address, address) view returns (uint256)
whitelist(address) view returns (bool)
State-modifying
Events churn(address _newOwner, address[] _nodes, bool[] _isRemoved, uint8 _churnedInCount, uint8 _tssThreshold) returns (bool)
collectSwapFeesForBTC(uint256 _incomingAmount, uint256 _minerFee, uint256 _rewardsAmount, address[] _spenders, uint256[] _swapAmounts, bool _isUpdatelimitBTCForSPFlow2) returns (bool)
multiRecordSkyPoolsTX(bytes32[] _addressesAndAmounts, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _usedTxIds) returns (bool)
multiTransferERC20TightlyPacked(address _destToken, bytes32[] _addressesAndAmounts, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns (bool)
recordIncomingFloat(address _token, bytes32 _addressesAndAmountOfFloat, bytes32 _txid) returns (bool)
recordOutcomingFloat(address _token, bytes32 _addressesAndAmountOfLPtoken, uint256 _minerFee, bytes32 _txid) returns (bool)
recordSkyPoolsTX(address _to, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _usedTxIds) returns (bool)
recordUTXOSweepMinerFee(uint256 _minerFee, bytes32 _txid) returns (bool)
redeemERC20Token(address _token, uint256 _amount)
redeemEther(uint256 _amount)
renounceOwnership()
singleTransferERC20(address _destToken, address _to, uint256 _amount, uint256 _totalSwapped, uint256 _rewardsAmount, bytes32[] _redeemedFloatTxIds) returns (bool)
spCleanUpOldTXs()
spDeposit(address _token, uint256 _amount) payable
spFlow1SimpleSwap(struct UtilsSimpleData _data)
spFlow1Uniswap(bool _fork, address _factory, bytes32 _initCode, uint256 _amountIn, uint256 _amountOutMin, address[] _path) returns (uint256 receivedAmount)
spFlow2SimpleSwap(string _destinationAddressForBTC, struct UtilsSimpleData _data) returns (uint256 receivedAmount)
spFlow2Uniswap(string _destinationAddressForBTC, bool _fork, address _factory, bytes32 _initCode, uint256 _amountIn, uint256 _amountOutMin, address[] _path) returns (uint256 receivedAmount)
transferOwnership(address newOwner)
BurnLPTokensForFloat(address token, uint256 amountOfLP, uint256 amountOfFloat, uint256 currentPriceLP, uint256 withdrawal, bytes32 txid)
Deposit(address token, address user, uint256 amount, uint256 balance, uint256 Timestamp)
DistributeNodeRewards(uint256 rewardLPTsForNodes)
IssueLPTokensForFloat(address to, uint256 amountOfFloat, uint256 amountOfLP, uint256 currentPriceLP, uint256 depositFees, bytes32 txid)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RewardsCollection(address feesToken, uint256 rewards, uint256 amountLPTokensForNode, uint256 currentPriceLP)
Swap(address from, address to, uint256 amount)
SwapTokensToBTC(bytes32 SwapID, string DestAddr, address RefundAddr, uint256 AmountWBTC, uint256 Timestamp)
Withdraw(address token, address user, uint256 amount, uint256 balance, uint256 Timestamp)
constructor(address _lpToken, address _btct, address _wETH, address _sbBTCPool, address _params, address _swapRewards, uint256 _existingBTCFloat)
receive()
This contract contains no error objects.