mint
, transfer
, and transferFrom
operations, both before and after execution.
transfer
function.
Calls the _checksPoliciesERC20Transfer
function to evaluate policies.
Name | Type | Description |
---|---|---|
to | address | The receiving address. |
value | uint256 | The amount to transfer. |
balanceFrom | uint256 | The sender’s balance before the transfer. |
balanceTo | uint256 | The receiver’s balance before the transfer. |
blockTime | uint256 | The current block timestamp. |
transfer
function.
Calls the _checksPoliciesERC20Transfer
function to evaluate policies.
Name | Type | Description |
---|---|---|
to | address | The receiving address. |
value | uint256 | The amount to transfer. |
balanceFrom | uint256 | The sender’s balance after the transfer. |
balanceTo | uint256 | The receiver’s balance after the transfer. |
blockTime | uint256 | The current block timestamp. |
transferFrom
function.
Calls the _checksPoliciesERC20TransferFrom
function to evaluate policies.
Name | Type | Description |
---|---|---|
from | address | The sending address. |
to | address | The receiving address. |
value | uint256 | The amount to transfer. |
balanceFrom | uint256 | The sender’s balance before the transfer. |
balanceTo | uint256 | The receiver’s balance before the transfer. |
blockTime | uint256 | The current block timestamp. |
transferFrom
function.
Calls the _checksPoliciesERC20TransferFrom
function to evaluate policies.
Name | Type | Description |
---|---|---|
from | address | The sending address. |
to | address | The receiving address. |
value | uint256 | The amount to transfer. |
balanceFrom | uint256 | The sender’s balance after the transfer. |
balanceTo | uint256 | The receiver’s balance after the transfer. |
blockTime | uint256 | The current block timestamp. |
mint
function.
Calls the _checksPoliciesERC20Mint
function to evaluate policies.
Name | Type | Description |
---|---|---|
to | address | The receiving address. |
amount | uint256 | The amount to mint. |
balanceFrom | uint256 | The sender’s balance before the mint. |
balanceTo | uint256 | The receiver’s balance before the mint. |
blockTime | uint256 | The current block timestamp. |
mint
function.
Calls the _checksPoliciesERC20Mint
function to evaluate policies.
Name | Type | Description |
---|---|---|
to | address | The receiving address. |
amount | uint256 | The amount to mint. |
balanceFrom | uint256 | The sender’s balance after the mint. |
balanceTo | uint256 | The receiver’s balance after the mint. |
blockTime | uint256 | The current block timestamp. |
transfer
operation.
Encodes the parameters and invokes the _invokeRulesEngine
function.
Name | Type | Description |
---|---|---|
_to | address | The receiving address. |
_value | uint256 | The amount to transfer. |
_balanceFrom | uint256 | The sender’s balance. |
_balanceTo | uint256 | The receiver’s balance. |
_blockTime | uint256 | The current block timestamp. |
transferFrom
operation.
Encodes the parameters and invokes the _invokeRulesEngine
function.
Name | Type | Description |
---|---|---|
_from | address | The sending address. |
_to | address | The receiving address. |
_value | uint256 | The amount to transfer. |
_balanceFrom | uint256 | The sender’s balance. |
_balanceTo | uint256 | The receiver’s balance. |
_blockTime | uint256 | The current block timestamp. |
mint
operation.
Encodes the parameters and invokes the _invokeRulesEngine
function.
Name | Type | Description |
---|---|---|
_to | address | The receiving address. |
_amount | uint256 | The amount to mint. |
_balanceFrom | uint256 | The sender’s balance. |
_balanceTo | uint256 | The receiver’s balance. |
_blockTime | uint256 | The current block timestamp. |