Transfer Manager module for verifing transations with a signed message (SignedTransferManager.sol)
View Source: contracts/modules/Experimental/TransferManager/SignedTransferManager.sol
↗ Extends: TransferManager
SignedTransferManager
Contract Members
Constants & Variables
Events
Functions
Constructor
Arguments
Name | Type | Description |
_securityToken | address | Address of the security token |
_polyAddress | address | Address of the polytoken |
getInitFunction
⤾ overrides IModule.getInitFunction
This function returns the signature of configure function
Arguments
Name | Type | Description |
checkSignatureValidity
function to check if a signature is still valid
Arguments
Name | Type | Description |
_data | bytes | signature |
checkSigner
Arguments
Name | Type | Description |
_signer | address |
executeTransfer
⤾ overrides ITransferManager.executeTransfer
allow verify transfer with signature
Arguments
Name | Type | Description |
_from | address | address transfer from |
_to | address | address transfer to |
_amount | uint256 | transfer amount |
_data | bytes | signature |
Sig needs to be valid (not used or deemed as invalid) Signer needs to be in the signers mapping |
verifyTransfer
⤾ overrides ITransferManager.verifyTransfer
allow verify transfer with signature
Arguments
Name | Type | Description |
_from | address | address transfer from |
_to | address | address transfer to |
_amount | uint256 | transfer amount |
_data | bytes | signature |
Sig needs to be valid (not used or deemed as invalid) Signer needs to be in the signers mapping |
invalidateSignature
allow signers to deem a signature invalid
Arguments
Name | Type | Description |
_from | address | address transfer from |
_to | address | address transfer to |
_amount | uint256 | transfer amount |
_data | bytes | signature |
Sig needs to be valid (not used or deemed as invalid) Signer needs to be in the signers mapping |
getPermissions
⤾ overrides IModule.getPermissions
Return the permissions flag that are associated with ManualApproval transfer manager
Arguments
Name | Type | Description |
_checkSignatureIsInvalid
Arguments
Name | Type | Description |
_data | bytes |
_checkSigner
Arguments
Name | Type | Description |
_signer | address |
_invalidateSignature
Arguments
Name | Type | Description |
_data | bytes |
Last updated