ZebecCard

Verified contract

Implementation

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

No balances found for "ZebecCard"

No transactions found for "ZebecCard"


Functions
Getter at block 22767923
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
aavePool(view returns (address)
0x0000000000000000000000000000000000000000
cardConfig(view returns (uint256 nativeFeeuint256 nonNativeFeeuint256 revenueFeeuint256 counteraddress cardVaultaddress revenueVaultaddress commissionVaultaddress usdcAddressuint256 minCardAmountuint256 maxCardAmountuint256 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(addressview returns (uint256)
cardPurchases(addressview returns (uint256 unixInRecorduint256 totalCardBoughtPerDay)
feeTiers(uint256view returns (uint256 minAmountuint256 maxAmountuint256 fee)
getFee(uint256 amountview returns (uint256)
State-modifying
buyCard(uint256 amountstring cardTypestring userEmail
depositUsdc(uint256 amount
generateYield(uint256 amount
initialize(struct ZebecCardCardConfig card_configstruct ZebecCardFeeTier[] fee_tiersaddress inch_routeraddress wethaddress zbc_tokenaddress aave_pool
renounceOwnership(
setCardVault(address cardVault
setComissionVault(address commissionVault
setDailyCardBuyLimit(uint256 dailyCardBuyLimit
setFee(uint256 minAmountuint256 maxAmountuint256 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 executorstruct IAggregationRouterV6SwapDescription descbytes routeDatapayable 
transferOwnership(address newOwner
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(uint256 amount
withdrawYield(uint256 amount
Events
CardPurchased(address indexed fromuint256 indexed iduint256 amountstring cardTypestring userEmailuint256 purchasedAt
Deposited(address indexed fromuint256 amount
Initialized(uint64 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Swapped(address indexed fromaddress indexed srcTokenuint256 amountuint256 spentAmountuint256 returnAmountuint256 feeAmount
Upgraded(address indexed implementation
WithdrawYield(address indexed fromuint256 withdrawnAmount
Withdrawn(address indexed fromuint256 withdrawnAmount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
InvalidInitialization(
NotEnoughBalance(uint256 requiredBalanceuint256 currentBalance
NotInitializing(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
SafeERC20FailedOperation(address token
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot