AirSwapToken
constructor
AirSwapToken
nonpayable
Restricted (Pausable)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _deployer | address | |
| _owner | address | |
| _balance | uint256 |
Outputs
(void)
event
BalanceLocked
Inputs
| Parameter | Type | Description |
|---|---|---|
| _owner | address | |
| _oldLockedAmount | uint256 | |
| _newLockedAmount | uint256 | |
| _expiry | uint256 |
Outputs
(void)
Ownable
function
transferOwnership
nonpayable
Restricted (onlyOwner)
Inputs
| Parameter | Type | Description |
|---|---|---|
| newOwner | address |
Outputs
(void)
event
OwnershipTransferred
Inputs
| Parameter | Type | Description |
|---|---|---|
| previousOwner | address | |
| newOwner | address |
Outputs
(void)
Pausable
function
pause
nonpayable
Restricted (onlyOwner, whenNotPaused)
Inputs
(void)
Outputs
(void)
function
unpause
nonpayable
Restricted (onlyOwner, whenPaused)
Inputs
(void)
Outputs
(void)
event
Unpause
Inputs
(void)
Outputs
(void)
event
Pause
Inputs
(void)
Outputs
(void)
Token
event
Approval
Inputs
| Parameter | Type | Description |
|---|---|---|
| _owner | address | |
| _spender | address | |
| _value | uint256 |
Outputs
(void)
event
Transfer
Inputs
| Parameter | Type | Description |
|---|---|---|
| _from | address | |
| _to | address | |
| _value | uint256 |
Outputs
(void)
function
lockBalance
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _value | uint256 |
Outputs
(void)
function
balanceLocks
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint256 | |
| uint256 |
function
allowance
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| _owner | address | |
| _spender | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
transfer
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _to | address | |
| _value | uint256 |
Outputs
| Type | Description |
|---|---|
| bool |
function
availableBalance
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| _owner | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
symbol
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| string |
function
owner
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
balanceOf
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| _owner | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
paused
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| bool |
function
allowed
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address | ||
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
decimals
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint8 |
function
balances
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| address |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
transferFrom
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _from | address | |
| _to | address | |
| _value | uint256 |
Outputs
| Type | Description |
|---|---|
| bool |
function
totalSupply
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
approve
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _spender | address | |
| _value | uint256 |
Outputs
| Type | Description |
|---|---|
| bool |
function
name
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| string |