ZebecCard
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
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 ($0.00)
No balances found for "ZebecCard"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ZebecCard"
ABI
ABI objects
Getter at block 22767923
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
aavePool() view returns (address)
0x0000000000000000000000000000000000000000
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=0, nonNativeFee=0, revenueFee=0, counter=0, cardVault=0x0000000000000000000000000000000000000000, revenueVault=0x0000000000000000000000000000000000000000, commissionVault=0x0000000000000000000000000000000000000000, usdcAddress=0x0000000000000000000000000000000000000000, minCardAmount=0, maxCardAmount=0, dailyCardBuyLimit=0)
getFeeTiers() view returns (struct ZebecCardFeeTier[])
[]
oneInchRouter() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
wEth() view returns (address)
0x0000000000000000000000000000000000000000
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)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
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)