SegmentManagement

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x474901c8 at 16962341
Slot
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
-
variable spans 1 additional slot
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots

No balances found for "SegmentManagement"

No transactions found for "SegmentManagement"


Functions
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 tokenIduint8 segmentsToOpenbool discountedview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isAdmin(address userview returns (bool)
isValidUser(address accountview returns (bool)
marketAt(uint256 indexview returns (address)
marketSupported(address marketview returns (bool)
quoteLiquidityForLock(address marketuint8 tokenTypeview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
vaultsByMarket(addressview returns (address)
State-modifying
activateSegmentWithProof(uint256 tokenIdaddress accountuint256 noncebytes32[] proofaddress market
activateSegments(uint256 tokenIduint8 segmentsaddress market
grantRole(bytes32 roleaddress account
initialize(address vault_address manager_address pauser_
lockLiquidity(uint256 tokenIdaddress market
mint(address[] markets
mint(address[] marketsuint8 tokenTypeuint256[] proofIds
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setMerkleRoot(bytes32 root
setPause(bool newState
unlockLiquidity(uint256 tokenId
updateVaultImplementation(address implementation
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
ActivatedSegments(uint256 indexed tokenIduint8 segment
AdminChanged(address previousAdminaddress newAdmin
AirdropMerkleRootChanged(bytes32 oldRootbytes32 newRoot
BeaconUpgraded(address indexed beacon
Discounted(bytes32 leafbytes32 root
Initialized(uint8 version
Locked(uint256 indexed tokenIdaddress marketuint256 assetsuint256 shares
MarketAdded(address marketaddress instanceaddress implementation
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokenCompleted(uint256 indexed tokenIdaddress indexed user
Unlocked(uint256 indexed tokenIdaddress marketuint256 assetsuint256 sharesaddress indexed receiver
Unpaused(address account
Upgraded(address indexed implementation
Constructor
constructor(address gnft_address comptroller_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyFullyActivated(
Auth(
BlacklistedUser(address account
DiscountUsed(
ExceedingMaxSegments(
FailedLiquidityCheck(
InvalidMarket(
InvalidProof(
InvalidSegmentsNumber(
InvalidTokenOwnership(uint256 tokenId
MarketForLockNotSpecified(
MintingRequirementsNotMet(
NotSupported(
OracleFailed(
TokenAlreadyLocked(
WrongImplementation(
ZeroAddress(