SmartWalletImplementation
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
17
Slot
XX
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
Balances ($0.00)
No balances found for "SmartWalletImplementation"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SmartWalletImplementation"
ABI
ABI objects
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 params) view returns (uint256 srcAmount, uint256 expectedRate)
getExpectedInWithImpact(struct ISmartWalletImplementationGetExpectedInParams params) view returns (uint256 srcAmount, uint256 expectedRate, uint256 priceImpact)
getExpectedReturn(struct ISmartWalletImplementationGetExpectedReturnParams params) view returns (uint256 destAmount, uint256 expectedRate)
getExpectedReturnWithImpact(struct ISmartWalletImplementationGetExpectedReturnParams params) view returns (uint256 destAmount, uint256 expectedRate, uint256 priceImpact)
platformWalletFees(address, address) view returns (uint256)
State-modifying
Events adminClaimPlatformFees(address[] platformWallets, address[] tokens)
adminClaimPlatformFeesUrgent(address[] platformWallets, address[] tokens)
approveAllowances(address[] tokens, address[] spenders, bool isReset)
claimAdmin()
claimPlatformFee(address[] tokens)
setAdminFeeCollector(address feeCollector)
swap(struct ISmartWalletImplementationSwapParams params) payable returns (uint256 destAmount)
swapAndDeposit(struct ISmartWalletImplementationSwapAndDepositParams params) payable returns (uint256 destAmount)
swapAndRepay(struct ISmartWalletImplementationSwapAndRepayParams params) payable returns (uint256 destAmount)
transferAdmin(address newAdmin)
transferAdminQuickly(address newAdmin)
withdrawEther(uint256 amount, address sendTo)
withdrawFromLendingPlatform(struct ISmartWalletImplementationWithdrawFromLendingPlatformParams params) returns (uint256 returnedAmount)
withdrawToken(address token, uint256 amount, address sendTo)
AdminClaimed(address newAdmin, address previousAdmin)
ApprovedAllowances(address[] tokens, address[] spenders, bool isReset)
ClaimedPlatformFees(address[] wallets, address[] tokens, address claimer)
EtherWithdraw(uint256 amount, address sendTo)
Swap(address indexed trader, address indexed swapContract, address[] tradePath, uint256 srcAmount, uint256 destAmount, uint8 feeMode, uint256 feeBps, address platformWallet)
SwapAndDeposit(address indexed trader, address indexed swapContract, address indexed lendingContract, address[] tradePath, uint256 srcAmount, uint256 destAmount, uint8 feeMode, uint256 feeBps, address platformWallet)
SwapAndRepay(address indexed trader, address indexed swapContract, address indexed lendingContract, address[] tradePath, uint256 srcAmount, uint256 destAmount, uint256 payAmount, uint8 feeMode, uint256 feeBps, address platformWallet)
TokenWithdraw(address token, uint256 amount, address sendTo)
TransferAdminPending(address pendingAdmin)
WithdrawFromLending(address indexed trader, address indexed lendingContract, address token, uint256 amount, uint256 minReturn, uint256 actualReturnAmount)
constructor(address _admin)
receive()
This contract contains no error objects.