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 explicitly.
Manages the funder whitelist.
Implements an insurance policy system.
State functions
1. initialize (Factory only)
Initializes the KintoWallet with an owner and a recoverer.
anOwner
address
The initial owner of the KintoWallet.
_recoverer
address
The address designated as the recoverer for the wallet.
2. execute (EntryPoint only)
Executes a transaction.
dest
address
The destination address.
value
uint256
The value to be transferred.
func
bytes
The calldata of the function.
3. executeBatch (EntryPoint only)
Executes a batch of transactions.
dest
address[]
Array of destination addresses.
values
uint256[]
Array of values to be transferred.
func
bytes[]
Array of calldata for each function.
4. setSignerPolicy (only callable by Wallet itself)
Sets the signer policy of the wallet.
newPolicy
uint8
The new signer policy.
5. resetSigners (only callable by Wallet itself)
Resets the signers of the wallet.
newSigners
address[]
Array of new signers.
newPolicy
uint8
The signer policy to apply.
6. setFunderWhitelist (only callable by Wallet itself)
Sets the funder whitelist.
newWhitelist
address[]
Array of addresses to whitelist.
flags
bool[]
Flags to allow or disallow funders.
7. whitelistApp (only callable by Wallet itself)
Sets the app whitelist.
apps
address[]
Array of app addresses.
flags
bool[]
Flags to allow or disallow apps.
8. setAppKey (only callable by Wallet itself)
Sets the app key for a specific app.
app
address
Address of the app.
signer
address
Address of the app signer.
9. whitelistAppAndSetKey (only callable by Wallet itself)
Whitelists an app and sets its app key.
app
address
Address of the app.
signer
address
Address of the app signer.
10. startRecovery (only callable by Wallet Factory)
Starts the recovery process.
No parameters.
11. completeRecovery (only callable by Wallet Factory)
Completes the recovery process and resets the signers.
newSigners
address[]
Array of new signers.
12. changeRecoverer (only callable by Wallet Factory)
Changes the recoverer.
newRecoverer
address
Address of the new recoverer.
13. cancelRecovery (only callable by Wallet itself)
Cancels the recovery process.
No parameters.
14. setInsurancePolicy (only callable by Wallet itself)
Sets the insurance policy for the wallet.
newPolicy
uint256
The new insurance policy to set.
paymentToken
address
The token address used for payment.
View Functions
1. isFunderWhitelisted
Checks if a funder is whitelisted.
funder
address
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.
5. getOwners
Returns an array of the wallet's owners.
No parameters.
6. getInsurancePrice
Returns the price of the insurance policy.
newPolicy
uint256
The insurance policy to price.
paymentToken
address
The token address used for payment.
Last updated