OpenSocialId
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
8 additional
variables
Balances ($0.00)
No balances found for "OpenSocialId"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "OpenSocialId"
ABI
ABI objects
Getter at block 23791594
baseUri() view returns (string)
bitsHub() view returns (address)
0x0000000000000000000000000000000000000000
getNextTokenId() view returns (uint256)
0
isTransferEnabled() view returns (bool)
false
isWhitelistingMode() view returns (bool)
false
maxNftPerAddress() view returns (uint256)
1
name() view returns (string)
nextOwnerToExplicitlySet() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
relayer() view returns (address)
0x0000000000000000000000000000000000000000
rewardHub() view returns (address)
0x0000000000000000000000000000000000000000
subscribeHub() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
totalSupply() view returns (uint256)
0
Read-only
balanceOf(address owner) view returns (uint256)
followers(bytes32, uint256) view returns (bytes32)
followersMap(bytes32, bytes32) view returns (uint256)
followings(bytes32, uint256) view returns (bytes32)
followingsMap(bytes32, bytes32) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
getFollowers(uint256 _tokenId) view returns (struct OpenSocialIdUserInfo[], address[], uint256[])
getFollowings(uint256 _tokenId) view returns (struct OpenSocialIdUserInfo[], address[], uint256[])
getReferredUsers(uint256 _tokenId) view returns (struct OpenSocialIdUserInfo[], address[], uint256[])
getSubscribe(uint256 _fromTokenId, uint256 _toTokenId) view returns (uint256)
getSubscribedByUsers(uint256 _tokenId) view returns (struct OpenSocialIdUserInfo[], address[], uint256[])
getSubscribers(uint256 _tokenId) view returns (struct OpenSocialIdUserInfo[], address[], uint256[])
isApproved(uint256 _tokenId, address _operator) view returns (bool)
isApprovedForAll(address owner, address operator) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenByIndex(uint256 index) view returns (uint256)
tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)
tokenURI(uint256 tokenId) view returns (string)
userIndexById(bytes32) view returns (uint256)
users(uint256) view returns (bytes32 id, string name, string banner, string icon, string social, uint256 following, uint256 followers, uint256 createdAt, uint256 updatedAt)
whitelists(address) view returns (bool)
State-modifying
Events addBitsVolume(uint256 _amount, uint256 _tokenId)
approve(address to, uint256 tokenId)
claimOwnership()
createBits(uint256 _tokenId)
createBitsByRelayer(address _sender, uint256 _tokenId)
follow(bytes32 _sourceId, bytes32 _targetId)
followByRelayer(address _sender, bytes32 _sourceId, bytes32 _targetId)
initialize(string _name, string _symbol)
mint(bytes32 id, string name, string banner, string icon, string social, bytes32 referred) returns (uint256)
mintByRelayer(address _sender, bytes32 id, string name, string banner, string icon, string social, bytes32 referred) returns (uint256)
removeWhitelistAddresses(address[] _addrs)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes _data)
setApprovalForAll(address operator, bool approved)
setBaseUrl(string _baseUrl)
setVariables(uint256 _maxNftCount, bool _isTransferEnabled, address _rewardHub, address _subscribeHub, address _bitsHub, address _relayer)
setWhitelistAddresses(address[] _addrs)
setWhitelistMode(bool _mode)
subscribe(bytes32 _sourceId, bytes32 _targetId, uint256 _subscribeLength)
subscribeByRelayer(address _sender, bytes32 _sourceId, bytes32 _targetId, uint256 _subscribeLength)
transferFrom(address from, address to, uint256 tokenId)
transferOwnership(address _newOwner)
unfollow(bytes32 _sourceId, bytes32 _targetId)
unfollowByRelayer(address _sender, bytes32 _sourceId, bytes32 _targetId)
updateUserInfo(uint256 _tokenId, bytes32 id, string name, string banner, string icon, string social)
updateUserInfoByRelayer(address _sender, uint256 _tokenId, bytes32 id, string name, string banner, string icon, string social)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
LogOwnerShipTransferInitiated(address indexed previousOwner, address indexed newOwner)
LogOwnerShipTransferred(address indexed previousOwner, address indexed newOwner)
Minted(uint256 tokenId, address minter)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.