Kinto Wallet
Deployment Address
Mainnet implementation: 0x51c676fC24C776eBcb78B8ca3e6Ca2E810Dd6B80
Code: KintoWallet.sol
Interface: IKintoWallet.sol
Basics
Executes transactions according to the Account Abstraction standard.
Validates user operations signatures.
Manages signers and signers policy.
The emergency recovery process can be triggered through a unique signer.
Approves applications and tokens allowances explicitly.
Manages the funder whitelist
State functions
1. initialize (Factory only)
Initializes the KintoWallet with an owner and a recoverer.
Parameter | Type | Explanation |
---|---|---|
|
| The initial owner of the KintoWallet. |
|
| The address designated as the recoverer for the wallet. |
2. execute (EntryPoint only)
Executes a transaction.
Parameter | Type | Explanation |
---|---|---|
|
| The destination address. |
|
| The value to be transferred. |
|
| The calldata of the function. |
3. executeBatch (EntryPoint only)
Executes a batch of transactions.
Parameter | Type | Explanation |
---|---|---|
|
| Array of destination addresses. |
|
| Array of values to be transferred. |
|
| Array of calldata for each function. |
4. setSignerPolicy (only callable by Wallet itself)
Sets the signer policy of the wallet.
Parameter | Type | Explanation |
---|---|---|
|
| The new signer policy. |
5. resetSigners (only callable by Wallet itself)
Resets the signers of the wallet.
Parameter | Type | Explanation |
---|---|---|
|
| Array of new signers. |
|
| The signer policy to apply. |
6. setFunderWhitelist (only callable by Wallet itself)
Sets the funder whitelist.
Parameter | Type | Explanation |
---|---|---|
|
| Array of addresses to whitelist. |
|
| Flags to allow or disallow funders. |
7. approveTokens (only callable by Wallet itself)
Approves tokens for a specific app.
Parameter | Type | Explanation |
---|---|---|
|
| Address of the app. |
|
| Array of token addresses. |
|
| Array of amounts for each token. |
8. revokeTokens (only callable by Wallet itself)
Revokes token approvals for a specific app.
Parameter | Type | Explanation |
---|---|---|
|
| Address of the app. |
|
| Array of token addresses. |
9. setAppKey (only callable by Wallet itself)
Sets the app key for a specific app.
Parameter | Type | Explanation |
---|---|---|
|
| Address of the app. |
|
| Address of the app signer. |
10. setAppWhitelist (only callable by Wallet itself)
Sets the app whitelist.
Parameter | Type | Explanation |
---|---|---|
|
| Array of app addresses. |
|
| Flags to allow or disallow apps. |
11. startRecovery (only callable by Wallet Factory)
Starts the recovery process.
No parameters.
12. finishRecovery (only callable by Wallet Factory)
Finishes the recovery process and resets the signers.
Parameter | Type | Explanation |
---|---|---|
|
| Array of new signers. |
13. changeRecoverer (only callable by Wallet Factory)
Changes the recoverer.
Parameter | Type | Explanation |
---|---|---|
|
| Address of the new recoverer. |
14. cancelRecovery (only callable by Wallet Factory)
Cancels the recovery process.
View Functions
1. isFunderWhitelisted
Checks if a funder is whitelisted.
Parameter | Type | Explanation |
---|---|---|
|
| The funder address to check. |
2. entryPoint
Returns the entry point of the wallet.
No parameters.
3. getNonce
Gets the current nonce of the wallet.
No parameters.
4. getOwnersCount
Returns the count of owners of the wallet.
No parameters.
Last updated