NativeSwap
Verified contract
Implementation
Active on
Ethereum with 0 txns
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
-
variable spans 49 additional slots
-
variable spans 48 additional slots
0x0000…0000
0x0000…0000
0x0000…0000
Balances ($0.00)
No balances found for "NativeSwap"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "NativeSwap"
ABI
ABI objects
Getter at block 21200900 calculateStepsFromStart() view returns (uint256)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE() view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MIGRATOR_ROLE() view returns (bytes32)
0x600e5f1c60beb469a3fa6dd3814a4ae211cc6259a6d033bae218a742f2af01d3
auction() view returns (address)
0x0000000000000000000000000000000000000000
init_() view returns (bool)
false
mainToken() view returns (address)
0x0000000000000000000000000000000000000000
period() view returns (uint256)
0
start() view returns (uint256)
0
stepTimestamp() view returns (uint256)
0
swapToken() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
calculateDeltaPenalty(uint256 amount) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
swapTokenBalanceOf(address) view returns (uint256)
State-modifying
Events deposit(uint256 _amount)
grantRole(bytes32 role, address account)
init(uint256 _period, uint256 _stepTimestamp, address _swapToken, address _mainToken, address _auction)
initialize(address _manager, address _migrator)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setStart(uint256 _start)
swapNativeToken()
withdraw(uint256 _amount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokensSwapped(address indexed account, uint256 indexed stepsFromStart, uint256 userAmount, uint256 penaltyAmount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.