Trex Protocol Profile

Verified contract

Proxy

Active on Base with 28 txns
Deployed by via 0x80588794 at 15395255
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
--
0x691bc4175c3599f886c09a90da3d954443a588b1862d5d4bae2591c1573e50a2
0x670825a32950db819845efb50cd6abe623b3ecf25b33c52a20f07362d9480956
0xbb75af48d1f987c36ffddf360e16acf8458bf5b65296b3fe68b7e60e768ecbd8
0x49f3693346ddc3eb67db38d1471e3bc80619414c6178014ba81ccd3635a7e82d
0x1e83f7f9f998167434fdc9f8ac46f470db42bf8b642220086f0d393ce002e78f
0xd7afef1088c8028fc1570b2c983c098520e14ddff1b703f64519493152188681
0xc492a2cda9b84da305861eabbea29db2043104a2327ec420a8d1fcb9dc61565b
0xff22be9faf1e378fd1330b870eb00178ae47958daa600d4b5d45fede6dea21ed
0x6bb3c6d68a400e2cabb5e06eec54044665b267fe2f411a8e62303b306c05c111
0x9fb236fa9966181cc48ea393dae4bd942df954ad9be7c997f60267110aaf65d1

Functions
Getter at block 23120057
getAdmin(view returns (address)
0x93727498f170f1a585093b4b6c3dbe0db056a7c4
 
getAllRouters(view returns (struct IRouterRouter[] registered)
getPendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
getPendingAdminTimestamp(view returns (uint96)
0
Read-only
_getRouterForFunction(bytes4 _selectorview returns (address)
getAllFunctionsOfRouter(address _routerAddressview returns (bytes4[] registered)
getRouterForFunction(bytes4 _selectorview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
getCommunityMemberLevel(uint256 communityIdaddress accountview returns (uint256)
getCommunityRole(uint256 communityIdaddress accountview returns (uint256)
getFollowSBTURI(uint256 profileIduint256 tokenIdview returns (string)
getJoinNFTURI(uint256 communityIduint256 tokenIdview returns (string)
hasCommunityRole(uint256 communityIduint256 roleaddress accountview returns (bool)
isCommunityBlock(uint256 communityIdaddress accountview returns (bool)
isFollow(uint256 profileIdaddress addrview returns (bool)
isJoin(uint256 communityIdaddress addrview returns (bool)
State-modifying
acceptAdminRole(
addRouter(struct IRouterRouter _router
changeAdmin(address _newAdmin
multicall(bytes[] datareturns (bytes[] results)
removeRouter(bytes4 selectorstring functionSignature
revokePendingAdmin(
updateRouter(struct IRouterRouter _router
batchFollow(struct OspDataTypesBatchFollowData varspayable returns (uint256[])
batchJoin(struct OspDataTypesBatchJoinData varspayable returns (uint256[])
emitFollowSBTTransferEvent(uint256 profileIduint256 followSBTIdaddress fromaddress to
emitJoinNFTAccountBlockedEvent(uint256 communityIdaddress senderaddress accountbool isBlock
emitJoinNFTAccountLevelChangedEvent(uint256 communityIdaddress senderuint256 tokenIdaddress accountuint256 level
emitJoinNFTRoleChangedEvent(uint256 communityIdaddress senderaddress accountuint256 role
emitJoinNFTTransferEvent(uint256 communityIduint256 joinNFTIdaddress fromaddress to
follow(struct OspDataTypesFollowData varspayable returns (uint256)
join(struct OspDataTypesJoinData varspayable returns (uint256)
Events
AdminChanged(address previousAdminaddress newAdmin
ChangeAdminStarted(address pendingAdminuint256 pendingAdminTimestamp
PendingAdminRevoked(address pendingAdmin
RouterAdded(bytes4 indexed functionSelectoraddress indexed routerAddress
RouterRemoved(bytes4 indexed functionSelectoraddress indexed routerAddress
RouterSet(bytes4 indexed functionSelectorstring indexed functionSignatureaddress indexed routerAddress
RouterUpdated(bytes4 indexed functionSelectoraddress indexed oldRouterAddressaddress indexed newRouterAddress
BatchFollowed(address indexed followeruint256 followerProfileIduint256[] profileIdsbytes[] followConditionDatasuint256[] tokenIdsbytes ctxuint256 timestamp
BatchJoined(address indexed joineruint256 joinerProfileIduint256[] communityIdsbytes[] joinConditionDatasuint256[] tokenIdsbytes ctxuint256 timestamp
FollowSBTDeployed(uint256 indexed profileIdaddress indexed followSBTuint256 timestamp
FollowSBTTransferred(uint256 indexed profileIduint256 indexed followSBTIdaddress fromaddress touint256 timestamp
Followed(address indexed followeruint256 indexed followerProfileIduint256 profileIdbytes followConditionDatauint256 tokenIdbytes ctxuint256 timestamp
JoinNFTAccountBlocked(uint256 indexed communityIdaddress indexed senderaddress indexed accountbool isBlockuint256 timestamp
JoinNFTAccountLevelChanged(uint256 indexed communityIduint256 indexed tokenIdaddress indexed senderaddress accountaddress communityJoinNFTuint256 leveluint256 timestamp
JoinNFTRoleChanged(uint256 indexed communityIdaddress indexed senderaddress indexed accountuint256 roleuint256 timestamp
JoinNFTTransferred(uint256 indexed communityIduint256 indexed joinNFTIdaddress fromaddress touint256 timestamp
Joined(address indexed joineruint256 joinerProfileIduint256 communityIdbytes joinConditionDatauint256 tokenIdbytes ctxuint256 timestamp
Constructor
constructor(address admin_
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
FailedInnerCall(
ArrayMismatch(
InvalidCommunityId(
InvalidProfileId(
InvalidValue(
NotFollowSBT(
NotHasProfile(
NotJoinNFT(
Paused(
TokenDoesNotExist(