Option to buy SMOOTH
Verified contract
Active on
Base with 236 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x1186…2087
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
SMOOTH | ERC-20 | 26.031665M | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13671109 | 7 months ago | | | 0 | 0.0000012657332 | |
| 13244894 | 7 months ago | | | 0 | 0.0000010486437 | |
| 9504831 | 10 months ago | | | 0 | 6.3218700e-7 | |
| 5991925 | a year ago | | | 0 | 0.0000053402560 | |
| 5770658 | a year ago | | | 0 | 0.000000016090105080 | |
| 5443921 | a year ago | | | 0 | 0.000000011724782617 | |
| 5443696 | a year ago | | | 0 | 0.000000040509746617 | |
| 5406637 | a year ago | | | 0 | 0.000000022196797568 | |
| 5274926 | a year ago | | | 0 | 0.000000039975074241 | |
| 5020803 | a year ago | | | 0 | 0.0000024849320 |
ABI
ABI objects
Getter at block 22985095
ADMIN_ROLE() view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR() view returns (bytes32)
0x63801ba8a82f2ac44d2f801079c052b976611965fa4e1b328cb576227a752f6d
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)
75
gauge() view returns (address)
0xcf4032ef702229edb1f578ce72229e5220da1bf1
getSlopeInterceptForLpDiscount() view returns (int256 slope, int256 intercept)
(slope=-30240, intercept=2419200)
isPaused() view returns (bool)
false
lockDurationForMaxLpDiscount() view returns (uint256)
1814400
lockDurationForMinLpDiscount() view returns (uint256)
604800
maxLPDiscount() view returns (uint256)
20
minLPDiscount() view returns (uint256)
60
name() view returns (string)
Option to buy SMOOTH
pair() view returns (address)
0x1186e8e7328acf84f149be30ea4d3415192a2087
paymentToken() view returns (address)
0x4200000000000000000000000000000000000006
router() view returns (address)
0xe11b93b61f6291d35c5a2bea0a9ff169080160cf
symbol() view returns (string)
oSMOOTH
teamFee() view returns (uint256)
5
totalSupply() view returns (uint256)
26031664799151552862212593
treasury() view returns (address)
0x56be76bd656813fd5ac5a65ebdbe28a1fd56deb3
twapPoints() view returns (uint256)
4
underlyingToken() view returns (address)
0x356bdb09c6d095464a3b009c64920a8bda629060
veDiscount() view returns (uint256)
20
vmFee() view returns (uint256)
5
vmTreasury() view returns (address)
0x56be76bd656813fd5ac5a65ebdbe28a1fd56deb3
voter() view returns (address)
0xab9b68c9e53c94d7c0949fb909e80e4a29f9134a
votingEscrow() view returns (address)
0x0000000000000000000000000000000000000000
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()