NativeSwap

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x0f021f45 at 11472293
Slot
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

No balances found for "NativeSwap"

No transactions found for "NativeSwap"


Functions
Getter at block 21200900
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MIGRATOR_ROLE(view returns (bytes32)
0x600e5f1c60beb469a3fa6dd3814a4ae211cc6259a6d033bae218a742f2af01d3
auction(view returns (address)
0x0000000000000000000000000000000000000000
 
calculateStepsFromStart(view returns (uint256)
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 amountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
swapTokenBalanceOf(addressview returns (uint256)
State-modifying
deposit(uint256 _amount
grantRole(bytes32 roleaddress account
init(uint256 _perioduint256 _stepTimestampaddress _swapTokenaddress _mainTokenaddress _auction
initialize(address _manageraddress _migrator
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setStart(uint256 _start
swapNativeToken(
withdraw(uint256 _amount
Events
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokensSwapped(address indexed accountuint256 indexed stepsFromStartuint256 userAmountuint256 penaltyAmount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.