Option to buy BVM
Verified contract
Active on
Base with 8,730 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x5371…897b
Balances ($11,926.91)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
BVM | ERC-20 | 670.771251K | $0.017781 |
$11,926.9 | |
USA | ERC-20 | 1 | $0.001787 |
$0 | |
kurbi | ERC-20 | 0.2 | $0.00072 |
$0 | |
COIN www.baseweb.io | ERC-20 | 20K | -- | -- | |
OHNO | ERC-20 | 2 | -- | -- | |
LZPZ | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21734698 | 3 hours ago | | | 0 | 0.000000408752377923 | |
| 21734649 | 3 hours ago | | | 0 | 2.5934384e-7 | |
| 21627896 | 3 days ago | | | 0 | 0.0000051644445 | |
| 21555935 | 4 days ago | | | 0 | 0.0000053771993 | |
| 21490370 | 6 days ago | | | 0 | 4.1288815e-7 | |
| 21460945 | 6 days ago | | | 0 | 0.0000051643367 | |
| 21452019 | 7 days ago | | | 0 | 0.0000054043873 | |
| 21452012 | 7 days ago | | | 0 | 4.1956619e-7 | |
| 21447614 | 7 days ago | | | 0 | 4.1956619e-7 | |
| 21444344 | 7 days ago | | | 0 | 0.0000049641899 |
ABI
ABI objects
Getter at block 21739848
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 slope, int256 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)
670771250680693641742427
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(address, address) view returns (uint256)
balanceOf(address) view returns (uint256)
getDiscountedPrice(uint256 _amount) view returns (uint256)
getLockDurationForLpDiscount(uint256 _discount) view returns (uint256 duration)
getLpDiscountedPrice(uint256 _amount, uint256 _discount) view returns (uint256)
getPaymentTokenAmountForExerciseLp(uint256 _amount, uint256 _discount) view returns (uint256 paymentAmount, uint256 paymentAmountToAddLiquidity)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTimeWeightedAveragePrice(uint256 _amount) view returns (uint256)
getVeDiscountedPrice(uint256 _amount) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
nonces(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
burn(uint256 _amount)
exercise(uint256 _amount, uint256 _maxPaymentAmount, address _recipient) returns (uint256)
exercise(uint256 _amount, uint256 _maxPaymentAmount, address _recipient, uint256 _deadline) returns (uint256)
exerciseLp(uint256 _amount, uint256 _maxPaymentAmount, address _recipient, uint256 _discount, uint256 _deadline) returns (uint256, uint256)
exerciseVe(uint256 _amount, uint256 _maxPaymentAmount, address _recipient, uint256 _deadline) returns (uint256, uint256)
grantRole(bytes32 role, address account)
mint(address _to, uint256 _amount)
pause()
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setDiscount(uint256 _discount)
setFees(uint256 _fee, uint256 _vmFee)
setGauge(address _gauge)
setLockDurationForMaxLpDiscount(uint256 _duration)
setLockDurationForMinLpDiscount(uint256 _duration)
setMaxLPDiscount(uint256 _lpMaxDiscount)
setMinLPDiscount(uint256 _lpMinDiscount)
setPairAndPaymentToken(address _pair, address _paymentToken)
setRouter(address _router)
setTreasury(address _treasury, address _vmTreasury)
setTwapPoints(uint256 _twapPoints)
setVeDiscount(uint256 _veDiscount)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
unPause()
updateGauge()
Approval(address indexed owner, address indexed spender, uint256 amount)
Exercise(address indexed sender, address indexed recipient, uint256 amount, uint256 paymentAmount)
ExerciseLp(address indexed sender, address indexed recipient, uint256 amount, uint256 paymentAmount, uint256 lpAmount)
ExerciseVe(address indexed sender, address indexed recipient, uint256 amount, uint256 paymentAmount, uint256 nftId)
PauseStateChanged(bool isPaused)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetDiscount(uint256 discount)
SetFees(uint256 newTeamFee, uint256 newVMFee)
SetGauge(address indexed newGauge)
SetLockDurationForMaxLpDiscount(uint256 lockDurationForMaxLpDiscount)
SetLockDurationForMinLpDiscount(uint256 lockDurationForMinLpDiscount)
SetMaxLPDiscount(uint256 lpMaxDiscount)
SetMinLPDiscount(uint256 lpMinDiscount)
SetPairAndPaymentToken(address indexed newPair, address indexed newPaymentToken)
SetRouter(address indexed newRouter)
SetTreasury(address indexed newTreasury, address indexed newVMTreasury)
SetTwapPoints(uint256 twapPoints)
SetVeDiscount(uint256 veDiscount)
Transfer(address indexed from, address indexed to, uint256 amount)
constructor(string _name, string _symbol, address _admin, address _paymentToken, address _underlyingToken, address _pair, address _gaugeFactory, address _treasury, address _voter, address _votingEscrow, address _router)
This contract contains no fallback and receive objects.
OptionToken_IncorrectPairToken()
OptionToken_InvalidDiscount()
OptionToken_InvalidFee()
OptionToken_InvalidLockDuration()
OptionToken_InvalidTwapPoints()
OptionToken_NoAdminRole()
OptionToken_NoMinterRole()
OptionToken_NoPauserRole()
OptionToken_PastDeadline()
OptionToken_Paused()
OptionToken_SlippageTooHigh()