Option to buy BVM

Verified contract

Active on Base with 8,765 txns
Deployed by via 0xf99189ab at 1963109
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $12,560.96
ERC-20
Value $0.17
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0xe1ce209552e035a428f85138071626e8f0fa19c3bc6c6638ab752afd13df365b
0x2e2c2963626e6a7c38e816a03975731d37399d392e6f0287f7f3ca13ec0f76cc
0xa306eaaa4dd86e27cde26dfcb7a1dfc47e367fc70952ea4ff72ef78005a70e45
0xad615cad31614cb242cbd1f34efe97cca649fc124db1c094e85442f5e4f80e74
0x32474bb09e17df617d5cbb1d0764906f7c403787cfbc451ae409119788bed17b
0xac4e25e398f740b63a848a6825d7d118e55e10340ed987057a214de6b8038de3
0xea1db07e08afe6338a5ae086a8f95b67416101d3d58da74570fcdc615613f001
0xab03f3727c8176cad86fd475dd8a2f908a014d7721447186dcc1442f3740e724
0x484ff67175fd1a29ffce3de3bb2f3036334386cda47984610f67a9209d0fc291
0x998382bf18178e28d74a9d2daf90f0e40023a5a1976b7c2ab6f8068c925eda77

Functions
Getter at block 22724110
ADMIN_ROLE(view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0xa982a9532ec7f200e8e2393fdd9ed99224a74cae71f389c39aaf9715f9441517
FULL_LOCK(view returns (uint256)
31449600
MAX_DISCOUNT(view returns (uint256)
100
MAX_FEES(view returns (uint256)
50
MAX_TWAP_POINTS(view returns (uint256)
50
MINTER_ROLE(view returns (bytes32)
0xf0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9
MIN_DISCOUNT(view returns (uint256)
0
PAUSER_ROLE(view returns (bytes32)
0x539440820030c4994db4e31b6b800deafd503688728f932addfe7a410515c14c
decimals(view returns (uint8)
18
discount(view returns (uint256)
80
gauge(view returns (address)
0x3f5129112754d4fbe7ab228c2d5e312b2bc79a06
getSlopeInterceptForLpDiscount(view returns (int256 slopeint256 intercept)
(slope=-77586, intercept=6811680)
isPaused(view returns (bool)
false
lockDurationForMaxLpDiscount(view returns (uint256)
5260000
lockDurationForMinLpDiscount(view returns (uint256)
604800
maxLPDiscount(view returns (uint256)
20
minLPDiscount(view returns (uint256)
80
name(view returns (string)
Option to buy BVM
pair(view returns (address)
0x53713f956a4da3f08b55a390b20657edf9e0897b
paymentToken(view returns (address)
0x4200000000000000000000000000000000000006
router(view returns (address)
0x000000000000000000000000000000000000dead
symbol(view returns (string)
oBVM
teamFee(view returns (uint256)
30
totalSupply(view returns (uint256)
673979562832452848539085
treasury(view returns (address)
0x6c2b4f28be49226da31218b7d68886129333047d
twapPoints(view returns (uint256)
4
underlyingToken(view returns (address)
0xd386a121991e51eab5e3433bf5b1cf4c8884b47a
veDiscount(view returns (uint256)
1
vmFee(view returns (uint256)
5
vmTreasury(view returns (address)
0x6c2b4f28be49226da31218b7d68886129333047d
voter(view returns (address)
0xab9b68c9e53c94d7c0949fb909e80e4a29f9134a
votingEscrow(view returns (address)
0x91f85d68b413de823684c891db515b0390a02512
Read-only
allowance(addressaddressview returns (uint256)
balanceOf(addressview returns (uint256)
getDiscountedPrice(uint256 _amountview returns (uint256)
getLockDurationForLpDiscount(uint256 _discountview returns (uint256 duration)
getLpDiscountedPrice(uint256 _amountuint256 _discountview returns (uint256)
getPaymentTokenAmountForExerciseLp(uint256 _amountuint256 _discountview returns (uint256 paymentAmountuint256 paymentAmountToAddLiquidity)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTimeWeightedAveragePrice(uint256 _amountview returns (uint256)
getVeDiscountedPrice(uint256 _amountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
nonces(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
approve(address spenderuint256 amountreturns (bool)
burn(uint256 _amount
exercise(uint256 _amountuint256 _maxPaymentAmountaddress _recipientreturns (uint256)
exercise(uint256 _amountuint256 _maxPaymentAmountaddress _recipientuint256 _deadlinereturns (uint256)
exerciseLp(uint256 _amountuint256 _maxPaymentAmountaddress _recipientuint256 _discountuint256 _deadlinereturns (uint256uint256)
exerciseVe(uint256 _amountuint256 _maxPaymentAmountaddress _recipientuint256 _deadlinereturns (uint256uint256)
grantRole(bytes32 roleaddress account
mint(address _touint256 _amount
pause(
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setDiscount(uint256 _discount
setFees(uint256 _feeuint256 _vmFee
setGauge(address _gauge
setLockDurationForMaxLpDiscount(uint256 _duration
setLockDurationForMinLpDiscount(uint256 _duration
setMaxLPDiscount(uint256 _lpMaxDiscount
setMinLPDiscount(uint256 _lpMinDiscount
setPairAndPaymentToken(address _pairaddress _paymentToken
setRouter(address _router
setTreasury(address _treasuryaddress _vmTreasury
setTwapPoints(uint256 _twapPoints
setVeDiscount(uint256 _veDiscount
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
unPause(
updateGauge(
Events
Approval(address indexed owneraddress indexed spenderuint256 amount
Exercise(address indexed senderaddress indexed recipientuint256 amountuint256 paymentAmount
ExerciseLp(address indexed senderaddress indexed recipientuint256 amountuint256 paymentAmountuint256 lpAmount
ExerciseVe(address indexed senderaddress indexed recipientuint256 amountuint256 paymentAmountuint256 nftId
PauseStateChanged(bool isPaused
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetDiscount(uint256 discount
SetFees(uint256 newTeamFeeuint256 newVMFee
SetGauge(address indexed newGauge
SetLockDurationForMaxLpDiscount(uint256 lockDurationForMaxLpDiscount
SetLockDurationForMinLpDiscount(uint256 lockDurationForMinLpDiscount
SetMaxLPDiscount(uint256 lpMaxDiscount
SetMinLPDiscount(uint256 lpMinDiscount
SetPairAndPaymentToken(address indexed newPairaddress indexed newPaymentToken
SetRouter(address indexed newRouter
SetTreasury(address indexed newTreasuryaddress indexed newVMTreasury
SetTwapPoints(uint256 twapPoints
SetVeDiscount(uint256 veDiscount
Transfer(address indexed fromaddress indexed touint256 amount
Constructor
constructor(string _namestring _symboladdress _adminaddress _paymentTokenaddress _underlyingTokenaddress _pairaddress _gaugeFactoryaddress _treasuryaddress _voteraddress _votingEscrowaddress _router
Fallback and receive

This contract contains no fallback and receive objects.

Errors
OptionToken_IncorrectPairToken(
OptionToken_InvalidDiscount(
OptionToken_InvalidFee(
OptionToken_InvalidLockDuration(
OptionToken_InvalidTwapPoints(
OptionToken_NoAdminRole(
OptionToken_NoMinterRole(
OptionToken_NoPauserRole(
OptionToken_PastDeadline(
OptionToken_Paused(
OptionToken_SlippageTooHigh(