SmartWalletImplementation

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x582bf5c3 at 12626768
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot

No balances found for "SmartWalletImplementation"

No transactions found for "SmartWalletImplementation"


Functions
Getter at block 21757923
BPS(view returns (uint256)
10000
admin(view returns (address)
0x5012c645ad7de348147fb9d99b6b8d8949748e17
adminFeeCollector(view returns (address)
0x0000000000000000000000000000000000000000
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getExpectedIn(struct ISmartWalletImplementationGetExpectedInParams paramsview returns (uint256 srcAmountuint256 expectedRate)
getExpectedInWithImpact(struct ISmartWalletImplementationGetExpectedInParams paramsview returns (uint256 srcAmountuint256 expectedRateuint256 priceImpact)
getExpectedReturn(struct ISmartWalletImplementationGetExpectedReturnParams paramsview returns (uint256 destAmountuint256 expectedRate)
getExpectedReturnWithImpact(struct ISmartWalletImplementationGetExpectedReturnParams paramsview returns (uint256 destAmountuint256 expectedRateuint256 priceImpact)
platformWalletFees(addressaddressview returns (uint256)
State-modifying
adminClaimPlatformFees(address[] platformWalletsaddress[] tokens
adminClaimPlatformFeesUrgent(address[] platformWalletsaddress[] tokens
approveAllowances(address[] tokensaddress[] spendersbool isReset
claimAdmin(
claimPlatformFee(address[] tokens
setAdminFeeCollector(address feeCollector
swap(struct ISmartWalletImplementationSwapParams paramspayable returns (uint256 destAmount)
swapAndDeposit(struct ISmartWalletImplementationSwapAndDepositParams paramspayable returns (uint256 destAmount)
swapAndRepay(struct ISmartWalletImplementationSwapAndRepayParams paramspayable returns (uint256 destAmount)
transferAdmin(address newAdmin
transferAdminQuickly(address newAdmin
withdrawEther(uint256 amountaddress sendTo
withdrawFromLendingPlatform(struct ISmartWalletImplementationWithdrawFromLendingPlatformParams paramsreturns (uint256 returnedAmount)
withdrawToken(address tokenuint256 amountaddress sendTo
Events
AdminClaimed(address newAdminaddress previousAdmin
ApprovedAllowances(address[] tokensaddress[] spendersbool isReset
ClaimedPlatformFees(address[] walletsaddress[] tokensaddress claimer
EtherWithdraw(uint256 amountaddress sendTo
Swap(address indexed traderaddress indexed swapContractaddress[] tradePathuint256 srcAmountuint256 destAmountuint8 feeModeuint256 feeBpsaddress platformWallet
SwapAndDeposit(address indexed traderaddress indexed swapContractaddress indexed lendingContractaddress[] tradePathuint256 srcAmountuint256 destAmountuint8 feeModeuint256 feeBpsaddress platformWallet
SwapAndRepay(address indexed traderaddress indexed swapContractaddress indexed lendingContractaddress[] tradePathuint256 srcAmountuint256 destAmountuint256 payAmountuint8 feeModeuint256 feeBpsaddress platformWallet
TokenWithdraw(address tokenuint256 amountaddress sendTo
TransferAdminPending(address pendingAdmin
WithdrawFromLending(address indexed traderaddress indexed lendingContractaddress tokenuint256 amountuint256 minReturnuint256 actualReturnAmount
Constructor
constructor(address _admin
Fallback and receive
receive(
Errors

This contract contains no error objects.