KintoWalletFactory
Deployment Address
Mainnet: 0x8a4720488CA32f1223ccFE5A087e250fE3BC5D75
-Interface: IKintoWalletFactory.sol
Basics
Creates
KintoWallet
instances using a beacon proxy pattern.Method to fund a
KintoWallet
account with ETH.Ensures KYC compliance of wallet owners through integration with
KintoID
.Supports deployment of custom contracts using
CREATE2
.
Constructor
Constructor Parameters:
Parameter | Type | Explanation |
---|---|---|
|
| Address of the KintoWallet implementation |
Initialize
Initialize Function:
Parameter | Type | Explanation |
---|---|---|
|
| KintoID contract instance for KYC verification. |
State Functions
1. upgradeAllWalletImplementations
(Admin only)
upgradeAllWalletImplementations
(Admin only)Upgrades all wallet implementations to the specified new implementation.
Parameter | Type | Explanation |
---|---|---|
|
| New wallet implementation address. |
2. createAccount
createAccount
Creates an account and returns its address, using bytes32
for salt
.
Parameter | Type | Explanation |
---|---|---|
|
| The owner address. |
|
| The recoverer address. |
|
| The salt to use for the calculation. |
3. startWalletRecovery
(Only callable by recoverer)
startWalletRecovery
(Only callable by recoverer)Initiates the wallet recovery process.
Parameter | Type | Explanation |
---|---|---|
|
| The wallet address |
4. completeWalletRecovery
(Only callable by recoverer)
completeWalletRecovery
(Only callable by recoverer)Completes the wallet recovery process.
Parameter | Type | Explanation |
---|---|---|
|
| The wallet address |
|
| New signers array |
5. changeWalletRecoverer
(Only callable by recoverer)
changeWalletRecoverer
(Only callable by recoverer)Changes the wallet's recoverer.
Parameter | Type | Explanation |
---|---|---|
|
| The wallet address |
|
| New recoverer address |
6. deployContract
deployContract
Deploys a contract using CREATE2
, with additional KYC verification for the sender.
Parameter | Type | Explanation |
---|---|---|
|
| The address to be set as the owner of the contract. |
|
| The amount of wei to send with the contract creation. |
|
| The bytecode of the contract to deploy. |
|
| The salt to use for the calculation, ensuring the uniqueness of the address. |
7. fundWallet
fundWallet
Funds a KintoWallet
through the factory.
Parameter | Type | Explanation |
---|---|---|
|
| The wallet address to fund. |
8. claimFromFaucet
claimFromFaucet
Claims from a faucet on behalf of a user.
Parameter | Type | Explanation |
---|---|---|
|
| The faucet address to claim from. |
|
| The signature data for the claim. |
9. sendMoneyToAccount
sendMoneyToAccount
Allows sending money to an account from privileged accounts or KYC accounts.
Parameter | Type | Explanation |
---|---|---|
|
| The target account address to send money to. |
View Functions
1. getWalletTimestamp
getWalletTimestamp
Returns the creation timestamp of a wallet.
Parameter | Type | Explanation |
---|---|---|
|
| The wallet address to query. |
2. getAddress
getAddress
Calculates the counterfactual address of an account.
Parameter | Type | Explanation |
---|---|---|
|
| The owner address of the account. |
|
| The address that can recover the account. |
|
| The salt used for the address calculation. |
3. getContractAddress
getContractAddress
Calculates the counterfactual address of a contract to be deployed.
Parameter | Type | Explanation |
---|---|---|
|
| The salt used by |
|
| The hash of the bytecode of the contract to deploy. |
Events
KintoWalletFactoryCreation
: Emitted when a new wallet is created.KintoWalletFactoryUpgraded
: Emitted when the wallet implementation is upgraded.
Last updated