SegmentManagement
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
24
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
0x0000…0000
-
variable spans 1 additional slot
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "SegmentManagement"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SegmentManagement"
ABI
ABI objects
Getter at block 21161461
BLACKLISTED_ROLE() view returns (bytes32)
0x21702c8af46127c7fa207f89d0b0a8441bb32959a0ac7df790e9ab1a25c98926
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE() view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
PAUSER_ROLE() view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
TONPOUND_COMPTROLLER() view returns (address)
0x1775286cbe9db126a95abf52c58a3214fca26803
TPI() view returns (address)
0x5cb17273bfe227bd791ceee31c9d5db6289f2797
allMarkets() view returns (address[])
[]
gNFT() view returns (address)
0x2e86fa4440d93b1bffea5ca673314ef54216d0a8
marketsLength() view returns (uint256)
0
paused() view returns (bool)
false
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
vaultImplementation() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getActivationPrice(uint256 tokenId, uint8 segmentsToOpen, bool discounted) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isAdmin(address user) view returns (bool)
isValidUser(address account) view returns (bool)
marketAt(uint256 index) view returns (address)
marketSupported(address market) view returns (bool)
quoteLiquidityForLock(address market, uint8 tokenType) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
vaultsByMarket(address) view returns (address)
State-modifying
Events activateSegmentWithProof(uint256 tokenId, address account, uint256 nonce, bytes32[] proof, address market)
activateSegments(uint256 tokenId, uint8 segments, address market)
grantRole(bytes32 role, address account)
initialize(address vault_, address manager_, address pauser_)
lockLiquidity(uint256 tokenId, address market)
mint(address[] markets)
mint(address[] markets, uint8 tokenType, uint256[] proofIds)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setMerkleRoot(bytes32 root)
setPause(bool newState)
unlockLiquidity(uint256 tokenId)
updateVaultImplementation(address implementation)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
ActivatedSegments(uint256 indexed tokenId, uint8 segment)
AdminChanged(address previousAdmin, address newAdmin)
AirdropMerkleRootChanged(bytes32 oldRoot, bytes32 newRoot)
BeaconUpgraded(address indexed beacon)
Discounted(bytes32 leaf, bytes32 root)
Initialized(uint8 version)
Locked(uint256 indexed tokenId, address market, uint256 assets, uint256 shares)
MarketAdded(address market, address instance, address implementation)
Paused(address account)
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)
TokenCompleted(uint256 indexed tokenId, address indexed user)
Unlocked(uint256 indexed tokenId, address market, uint256 assets, uint256 shares, address indexed receiver)
Unpaused(address account)
Upgraded(address indexed implementation)
constructor(address gnft_, address comptroller_)
This contract contains no fallback and receive objects.
AlreadyFullyActivated()
Auth()
BlacklistedUser(address account)
DiscountUsed()
ExceedingMaxSegments()
FailedLiquidityCheck()
InvalidMarket()
InvalidProof()
InvalidSegmentsNumber()
InvalidTokenOwnership(uint256 tokenId)
MarketForLockNotSpecified()
MintingRequirementsNotMet()
NotSupported()
OracleFailed()
TokenAlreadyLocked()
WrongImplementation()
ZeroAddress()