HolderWallet
Contract used as escrow for original tokens wrapped by protocol
VALID_1271_SIGNATURE
Constant returned when passed signature in ERC-1271 compatible method is valid
INVALID_1271_SIGNATURE
Constant returned when passed signature in ERC-1271 compatible method is invalid
_operator
Address of operator
_user
Address of account wallet is associated to
onlyOperator
initialize
Initializer for the wallet
Parameters
operator
address
Wallet owner address
user
address
Address of account wallet is associated to
isValidSignature
Should return whether the signature provided is valid for the provided data
Parameters
hash
bytes32
Hash of the data to be signed
signature
bytes
Signature byte array associated with _data
execute
Executes call
defined by passed parameters
Parameters
to
address
Target smart contract
data
bytes
Calldata send via call (function + data)
Return Values
[0]
bytes
Data returned as result of contact call
getUser
Retrieves user associated to HolderWallet
contract
Return Values
[0]
address
Address of user
getOperator
Retrieves operator associated to HolderWallet
contract
Return Values
[0]
address
Address of operator
_setOperator
Sets operator address
Parameters
operator
address
New operator address
_setUser
Sets address of user associated to wallet
Parameters
user
address
New user address
Last updated