WalletFactory

Factory for wallets creation

operator

address operator

Operator address

holderWalletImpl

address holderWalletImpl

HolderWallet implementation address

onlyOperator

modifier onlyOperator()

Checks if transaction sender is operator

constructor

constructor(address operator_, address holderWalletImpl_) public

operator_ zero address check intentionally omitted

Parameters

Name
Type
Description

operator_

address

operator address

holderWalletImpl_

address

HolderWallet contract address

setOperator

Sets new operator address

Parameters

Name
Type
Description

operator_

address

New operator address

setHolderWalletImpl

Sets new HolderWallet implementation address

Parameters

Name
Type
Description

holderWalletImpl_

address

New holderWalletImpl address

_setHolderWalletImpl

Sets new holderWalletImpl address

Parameters

Name
Type
Description

holderWalletImpl_

address

New holderWalletImpl address

createHolderWallet

Creates new HolderWallet contract

Parameters

Name
Type
Description

user

address

Return Values

Name
Type
Description

wallet

address

Created wallet address

Last updated