ERC1967Proxy
Verified contract
Proxy
Active on
Base with 278 txns
Unified storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 10 additional slots
Balances ($480.03)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 480.348443 | $0.999334 |
$480.03 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 22741279 | 15 hours ago | | | 0 | 0.000000707793350666 | |
| 22741244 | 15 hours ago | | | 0 | 6.7693767e-7 | |
| 22741223 | 15 hours ago | | | 0 | 4.2319931e-7 | |
| 22740991 | 15 hours ago | | | 0 | 7.6389840e-7 | |
| 22726948 | a day ago | | | 0 | 0.000011681398 | |
| 22726791 | a day ago | | | 0 | 0.000011925575 | |
| 22726681 | a day ago | | | 0 | 0.0000083258881 | |
| 22720456 | a day ago | | | 0 | 8.2350695e-7 | |
| 22720441 | a day ago | | | 0 | 5.1002871e-7 | |
| 22693487 | 2 days ago | | | 0 | 0.0000010046605 |
ABI
ABI objects
Getter at block 22767923 proxiableUUID() view returns (bytes32)
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
aavePool() view returns (address)
0xa238dd80c259a72e81d7e4664a9801593f98d1c5
cardConfig() view returns (uint256 nativeFee, uint256 nonNativeFee, uint256 revenueFee, uint256 counter, address cardVault, address revenueVault, address commissionVault, address usdcAddress, uint256 minCardAmount, uint256 maxCardAmount, uint256 dailyCardBuyLimit)
(nativeFee=150, nonNativeFee=500, revenueFee=250, counter=132, cardVault=0xdeb5fdf3ec8428d776e9b637ecd30f1c8ef10efd, revenueVault=0x5d00f4cde0eb3760176ed3c26a7e155183232c3d, commissionVault=0x71d184bd15de33c8a17918d3eb2337db9bf337b4, usdcAddress=0x833589fcd6edb6e08f4c7c32d4f71b54bda02913, minCardAmount=5000000, maxCardAmount=1000000000, dailyCardBuyLimit=1000000000)
getFeeTiers() view returns (struct ZebecCardFeeTier[])
[(501000000, 1000000000, 50), (101000000, 500000000, 300), (5000000, 100000000, 650)]
oneInchRouter() view returns (address)
0x111111125421ca6dc452d289314280a0f8842a65
owner() view returns (address)
0x8ffc4e4ee502f8088d019fe7d64d8cf1f11532ef
wEth() view returns (address)
0x4200000000000000000000000000000000000006
zebecToken() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
cardBalances(address) view returns (uint256)
cardPurchases(address) view returns (uint256 unixInRecord, uint256 totalCardBoughtPerDay)
feeTiers(uint256) view returns (uint256 minAmount, uint256 maxAmount, uint256 fee)
getFee(uint256 amount) view returns (uint256)
State-modifying
Events buyCard(uint256 amount, string cardType, string userEmail)
depositUsdc(uint256 amount)
generateYield(uint256 amount)
initialize(struct ZebecCardCardConfig card_config, struct ZebecCardFeeTier[] fee_tiers, address inch_router, address weth, address zbc_token, address aave_pool)
renounceOwnership()
setCardVault(address cardVault)
setComissionVault(address commissionVault)
setDailyCardBuyLimit(uint256 dailyCardBuyLimit)
setFee(uint256 minAmount, uint256 maxAmount, uint256 fee)
setFeeArray(struct ZebecCardFeeTier[] newTiers)
setMaxCardAmount(uint256 maxAmount)
setMinCardAmount(uint256 minAmount)
setNativeFee(uint256 nativeFee)
setNonNativeFee(uint256 nonNativeFee)
setRevenueFee(uint256 revenueFee)
setRevenueVault(address revenueVault)
setUsdcAddress(address usdcAddress)
swapAndDeposit(address executor, struct IAggregationRouterV6SwapDescription desc, bytes routeData) payable
transferOwnership(address newOwner)
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw(uint256 amount)
withdrawYield(uint256 amount)
Upgraded(address indexed implementation)
CardPurchased(address indexed from, uint256 indexed id, uint256 amount, string cardType, string userEmail, uint256 purchasedAt)
Deposited(address indexed from, uint256 amount)
Initialized(uint64 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Swapped(address indexed from, address indexed srcToken, uint256 amount, uint256 spentAmount, uint256 returnAmount, uint256 feeAmount)
Upgraded(address indexed implementation)
WithdrawYield(address indexed from, uint256 withdrawnAmount)
Withdrawn(address indexed from, uint256 withdrawnAmount)
constructor(address implementation, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
InvalidInitialization()
NotEnoughBalance(uint256 requiredBalance, uint256 currentBalance)
NotInitializing()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
SafeERC20FailedOperation(address token)
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)