Option to buy fBOMB

Verified contract

Active on Base with 47 txns
Deployed by via 0x2d1d0d80 at 2682040
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $21,905.06
0x4e45c23fcb1586abc819b184e895afdc5182a9e44bd15770b90f974e956639fd
0x56522f77b149102f5f08796aa03436a96f60d6e3f51d4b191d4402571a29667e
0x82a883403c8ddf1e4d92e447d03eb7ad2fa440207bcfbaa98d72b5863cacd74c
0xce6892ade25fd078015a837000fd602dcdac971a0b0e3f05d0057d39ae1d94e8
0x70a52635d676599570328b6987386be1eca787209770aa90978932c4396f94d0
0xfbb0f770cbbdba7b5260455cd0b7eba8c6e818d7958cfdaa574db783fa5d0893
0xef6e12d1728a7bdde86e703730b7d132f483cae5c1ec5e65053548c02674c108
0xf5267e9405f5bc628a5d66f38c9f50099a6f08de892e83c8c4a0e2c9ed20b3bb
0xcb665349d1e14ce6f49bd2ed6d43f6b3ad522eebe7417c2893d7aadb3d36b166
0x0d863efd572f1f943ae9c1cf729882094a0610517b844824c33f45b90ffcab77

Functions
Getter at block 23215439
ADMIN_ROLE(view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0x617a30c9b92e2f01af7ae9ba71f5011fec21eec77ea7e87172b6ac3777514bd7
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)
0xe16d2d37774b18a430f468a76db2f706d2ee5cba
getSlopeInterceptForLpDiscount(view returns (int256 slopeint256 intercept)
(slope=-49680, intercept=4082400)
isPaused(view returns (bool)
false
lockDurationForMaxLpDiscount(view returns (uint256)
2592000
lockDurationForMinLpDiscount(view returns (uint256)
604800
maxLPDiscount(view returns (uint256)
30
minLPDiscount(view returns (uint256)
70
name(view returns (string)
Option to buy fBOMB
pair(view returns (address)
0xed8f465fbb5685c3be6a91851f87409253483080
paymentToken(view returns (address)
0x4200000000000000000000000000000000000006
router(view returns (address)
0xe11b93b61f6291d35c5a2bea0a9ff169080160cf
symbol(view returns (string)
ofBOMB
teamFee(view returns (uint256)
5
totalSupply(view returns (uint256)
421332130794048713443842
treasury(view returns (address)
0x28aa4f9ffe21365473b64c161b566c3cdead0108
twapPoints(view returns (uint256)
4
underlyingToken(view returns (address)
0x74ccbe53f77b08632ce0cb91d3a545bf6b8e0979
veDiscount(view returns (uint256)
30
vmFee(view returns (uint256)
5
vmTreasury(view returns (address)
0xfa89a4c7f79dc4111c116a0f01061f4a7d9fab73
voter(view returns (address)
0xab9b68c9e53c94d7c0949fb909e80e4a29f9134a
votingEscrow(view returns (address)
0x0000000000000000000000000000000000000000
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(