TokenSwap
Verified contract
Active on
Ethereum with 504 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x692a…c56f
Balances ($0.00)
No balances found for "TokenSwap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12761231 | 3 years ago | | | 0 | 0.00056441000 | |
| 12746909 | 3 years ago | | | 0 | 0.00071417000 | |
| 12740754 | 3 years ago | | | 0.98727 | 0.0024281780 | |
| 12740753 | 3 years ago | | | 0.5 | 0.0027138460 | |
| 12740710 | 3 years ago | | | 1 | 0.0034888800 | |
| 12740703 | 3 years ago | | | 0.5 | 0.0023432519 | |
| 12740658 | 3 years ago | | | 0.5 | 0.0020739497 | |
| 12740575 | 3 years ago | | | 0.5 | 0.0027911040 | |
| 12740557 | 3 years ago | | | 0.55 | 0.0019996760 | |
| 12740529 | 3 years ago | | | 2.452 | 0.0021425100 |
ABI
ABI objects
Getter at block 21205665
getActivePhaseInfo() view returns (uint256, struct TokenSwapPhaseInfo)
(0, (0, 0, 0))
getContractInfo() view returns (uint256, uint256, uint256, uint256, uint256, uint256, address, address)
(7776000, 0, 81201869672865705000000000, 4, 0, 500000000000000000, 0x930c2ef8a91e7c2d9703a14cfe612c8af0f970bf, 0x692accdd8b86692427e0aa4752ae917df01cc56f)
owner() view returns (address)
0x60d9f2064f4ff0247e9b858db2d25660913ec718
Read-only
getBoughtPhases(address account) view returns (uint256[])
getLockedBalanceInfo(uint256 phaseId, address account) view returns (struct TokenSwapLockedBalanceInfo)
getPhaseInfo(uint256 phaseId) view returns (struct TokenSwapPhaseInfo)
getReferralCodeInfo(string referralCode) view returns (struct TokenSwapReferralCodeInfo)
getTokenBalance(address account) view returns (uint256, uint256)
State-modifying
Events claimToken()
createPhase(uint256 startTime, uint256 endTime, uint256 swapRate)
renounceOwnership()
swap(uint256 phaseId, string referralCode) payable
transferOwnership(address newOwner)
updateAdminWallet(address adminWallet)
updateLockInterval(uint256 lockInterval)
updateLockPercentage(uint256 lockPercentage)
updateMinDeposit(uint256 minDeposit)
updatePhaseTime(uint256 phaseId, uint256 startTime, uint256 endTime)
updateSwapRate(uint256 phaseId, uint256 swapRate)
withdrawToken(uint256 amount)
AdminWalletUpdated(address addr)
LockIntervalUpdated(uint256 interval)
LockPercentageUpdated(uint256 percentage)
MinDepositUpdated(uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PhaseCreated(uint256 startTime, uint256 endTime, uint256 swapRate)
PhaseTimeUpdated(uint256 phaseId, uint256 startTime, uint256 endTime)
SwapRateUpdated(uint256 phaseId, uint256 swapRate)
Swapped(uint256 phaseId, address account, uint256 ethDeposit, uint256 ethRefund, uint256 tokenSwap, uint256 tokenLock, string referralCode)
TokenClaimed(uint256 phaseId, address account, uint256 amount)
TokenWithdrawed(uint256 amount)
TotalTokenClaimed(address account, uint256 amount)
constructor(address token, address adminWallet)
This contract contains no fallback and receive objects.
This contract contains no error objects.