HandlerUtils.sol
HandlerUtils
Functions
determineTransferAction
p2p transfer is position 0 and will be default unless other conditions are met.
determines if a transfer is: p2p transfer buy sell mint burn
Parameters
Name | Type | Description |
---|---|---|
_from | address | the address where the tokens are being moved from |
_to | address | the address where the tokens are going to |
_sender | address | the address triggering the transaction |
Returns
Name | Type | Description |
---|---|---|
action | ActionTypes | intended in the transfer |
isContract
Check if the addresss is a contract
Parameters
Name | Type | Description |
---|---|---|
account | address | address to check |
Returns
Name | Type | Description |
---|---|---|
<none> | bool | contract yes/no |