Verified contractExactMIT
BitereumTalk
Address0xfce8cff4df4ca2002b5bbdedfd70e7e8a2aa26c2
- Balance
0 ETH
- Transactions
114
- Compiler
solc 0.8.37
- Same code
Only this contract
Details
- Compiler
- solc 0.8.37+commit.f401782d
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- osaka
- Via IR
- yes
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,004,769
- Creation transaction
- 0x93b0b8d5f2…7a731bf816
Read64
- BONUS_BPS() → (uint256)
- BPS_DENOM() → (uint256)
- COMMENT_COOLDOWN() → (uint256)
- COMMENT_MIN_SCORE() → (uint256)
- CURATOR_BPS() → (uint256)
- DOWNVOTE_MIN_REP() → (uint256)
- EARLY_VOTER_CAP() → (uint256)
- EMISSION_DAYS() → (uint256)
- MAX_BIO() → (uint256)
- MAX_CLAIM_BATCH() → (uint256)
- MAX_PAGE() → (uint256)
- MAX_SYNC() → (uint256)
- MAX_TITLE() → (uint256)
- MAX_USERNAME() → (uint256)
- MINING_BPS() → (uint256)
- MIN_USERNAME() → (uint256)
- POST_COOLDOWN() → (uint256)
- RISING_THRESHOLD() → (uint256)
- VIRAL_MULTIPLIER() → (uint256)
- VIRAL_THRESHOLD() → (uint256)
- bonusCarry() → (uint256)
- bte() → (address)
- categories(uint256) → (string,string,string,address,uint32,uint64,bool)
- categoryBySlug(bytes32) → (uint256)
- categoryCount() → (uint256)
- claimed(uint256,address) → (bool)
- commentCount() → (uint256)
- commentVotes(uint256,address) → (int8)
- comments(uint256) → (address,uint64,uint64,uint64,int32,uint32,uint32,int32,int32,bool,string)
- curatorCarry() → (uint256)
- currentEpoch() → (uint256)
- dailyEmission() → (uint256)
- earlyVoter(uint256,uint256) → (address)
- earlyVoterCount(uint256) → (uint8)
- emissionActive() → (bool)
- epochBonusPool(uint256) → (uint256)
- epochCuratorPool(uint256) → (uint256)
- epochMiningPool(uint256) → (uint256)
- firstViralAuthor(uint256) → (address)
- firstViralPost(uint256) → (uint256)
- isEarlyVoter(uint256,address) → (bool)
- jackpot() → (uint256,uint256)
- lastCommentAt(address) → (uint256)
- lastPostAt(address) → (uint256)
- lastSyncedEpoch() → (uint256)
- listCommentIds(uint256,uint256,uint256) → (uint256[])
- listPostIds(uint256,uint256) → (uint256[],uint256)
- miningCarry() → (uint256)
- pendingClaim(address,uint256) → (uint256)
- postCommentAt(uint256,uint256) → (uint256)
- postCommentCount(uint256) → (uint256)
- postCount() → (uint256)
- postVotes(uint256,address) → (int8)
- posts(uint256) → (address,uint64,uint64,int32,uint32,uint32,uint32,int32,int32,bool,bool,string,bytes32,string)
- profileCount() → (uint256)
- profiles(address) → (string,string,uint64,int32,bool)
- reserves() → (uint256)
- startTime() → (uint256)
- totalAllocation() → (uint256)
- totalCuratorWeight(uint256) → (uint256)
- totalMiningWeight(uint256) → (uint256)
- userCuratorWeight(uint256,address) → (uint256)
- userMiningWeight(uint256,address) → (uint256)
- usernameOwner(bytes32) → (address)
Write10
- claim(uint256) → (uint256)
- claimMany(uint256[]) → (uint256)
- createCategory(string,string,string) → (uint256)
- createComment(uint256,uint256,string) → (uint256)
- createPost(uint256,string,bytes32,string) → (uint256)
- createProfile(string,string)
- fund(uint256)
- syncEpochs(uint256)
- updateBio(string)
- vote(uint8,uint256,int8)
Events10
- CategoryCreated(uint256,string,address)
- Claimed(address,uint256,uint256)
- CommentCreated(uint256,uint256,address,uint256)
- EpochSynced(uint256,uint256,uint256,uint256)
- Funded(address,uint256)
- PostCreated(uint256,address,uint256,bytes32)
- ProfileCreated(address,string)
- ProfileUpdated(address,string)
- Viral(uint256,address,uint256,int32)
- Voted(address,uint8,uint256,int8,int32)
Errors31
- AllocationNotDivisible()
- AlreadyClaimed()
- AlreadyRegistered()
- BioTooLong()
- BodyHashEmpty()
- CannotVoteOwn()
- CategoryExists()
- CommentNotFound()
- CooldownActive()
- EmissionOver()
- EmptyBody()
- EmptyTitle()
- EpochNotFinished()
- EpochNotSynced()
- InvalidAmount()
- InvalidCategory()
- InvalidStartTime()
- InvalidUsername()
- InvalidVote()
- NameTooLong()
- NotRegistered()
- PageTooLarge()
- ParentMismatch()
- PostNotFound()
- ReentrancyGuardReentrantCall()
- ReputationTooLow()
- TitleTooLong()
- TransferFailed()
- UsernameTaken()
- ZeroAddress()
- ZeroClaim()
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_bte",
"type": "address",
"internalType": "address"
},
{
"name": "_startTime",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_totalAllocation",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "AllocationNotDivisible",
"type": "error",
"inputs": []
},
{
"name": "AlreadyClaimed",
"type": "error",
"inputs": []
},
{
"name": "AlreadyRegistered",
"type": "error",
"inputs": []
},
{
"name": "BioTooLong",
"type": "error",
"inputs": []
},
{
"name": "BodyHashEmpty",
"type": "error",
"inputs": []
},
{
"name": "CannotVoteOwn",
"type": "error",
"inputs": []
},
{
"name": "CategoryExists",
"type": "error",
"inputs": []
},
{
"name": "CommentNotFound",
"type": "error",
"inputs": []
},
{
"name": "CooldownActive",
"type": "error",
"inputs": []
},
{
"name": "EmissionOver",
"type": "error",
"inputs": []
},
{
"name": "EmptyBody",
"type": "error",
"inputs": []
},
{
"name": "EmptyTitle",
"type": "error",
"inputs": []
},
{
"name": "EpochNotFinished",
"type": "error",
"inputs": []
},
{
"name": "EpochNotSynced",
"type": "error",
"inputs": []
},
{
"name": "InvalidAmount",
"type": "error",
"inputs": []
},
{
"name": "InvalidCategory",
"type": "error",
"inputs": []
},
{
"name": "InvalidStartTime",
"type": "error",
"inputs": []
},
{
"name": "InvalidUsername",
"type": "error",
"inputs": []
},
{
"name": "InvalidVote",
"type": "error",
"inputs": []
},
{
"name": "NameTooLong",
"type": "error",
"inputs": []
},
{
"name": "NotRegistered",
"type": "error",
"inputs": []
},
{
"name": "PageTooLarge",
"type": "error",
"inputs": []
},
{
"name": "ParentMismatch",
"type": "error",
"inputs": []
},
{
"name": "PostNotFound",
"type": "error",
"inputs": []
},
{
"name": "ReentrancyGuardReentrantCall",
"type": "error",
"inputs": []
},
{
"name": "ReputationTooLow",
"type": "error",
"inputs": []
},
{
"name": "TitleTooLong",
"type": "error",
"inputs": []
},
{
"name": "TransferFailed",
"type": "error",
"inputs": []
},
{
"name": "UsernameTaken",
"type": "error",
"inputs": []
},
{
"name": "ZeroAddress",
"type": "error",
"inputs": []
},
{
"name": "ZeroClaim",
"type": "error",
"inputs": []
},
{
"name": "CategoryCreated",
"type": "event",
"inputs": [
{
"name": "id",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "slug",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "creator",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "Claimed",
"type": "event",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "epoch",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "CommentCreated",
"type": "event",
"inputs": [
{
"name": "id",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "postId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "author",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "parentId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "EpochSynced",
"type": "event",
"inputs": [
{
"name": "epoch",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "miningPool",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "bonusPool",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "curatorPool",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "Funded",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "PostCreated",
"type": "event",
"inputs": [
{
"name": "id",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "author",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "categoryId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "contentHash",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "ProfileCreated",
"type": "event",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "username",
"type": "string",
"indexed": false,
"internalType": "string"
}
],
"anonymous": false
},
{
"name": "ProfileUpdated",
"type": "event",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "bio",
"type": "string",
"indexed": false,
"internalType": "string"
}
],
"anonymous": false
},
{
"name": "Viral",
"type": "event",
"inputs": [
{
"name": "postId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "author",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "epoch",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "score",
"type": "int32",
"indexed": false,
"internalType": "int32"
}
],
"anonymous": false
},
{
"name": "Voted",
"type": "event",
"inputs": [
{
"name": "user",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "targetType",
"type": "uint8",
"indexed": false,
"internalType": "uint8"
},
{
"name": "targetId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "value",
"type": "int8",
"indexed": false,
"internalType": "int8"
},
{
"name": "newScore",
"type": "int32",
"indexed": false,
"internalType": "int32"
}
],
"anonymous": false
},
{
"name": "BONUS_BPS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "BPS_DENOM",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "COMMENT_COOLDOWN",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "COMMENT_MIN_SCORE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "CURATOR_BPS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "DOWNVOTE_MIN_REP",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "EARLY_VOTER_CAP",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "EMISSION_DAYS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MAX_BIO",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MAX_CLAIM_BATCH",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MAX_PAGE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MAX_SYNC",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MAX_TITLE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MAX_USERNAME",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MINING_BPS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "MIN_USERNAME",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "POST_COOLDOWN",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "RISING_THRESHOLD",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "VIRAL_MULTIPLIER",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "VIRAL_THRESHOLD",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "bonusCarry",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "bte",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IERC20"
}
],
"stateMutability": "view"
},
{
"name": "categories",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "slug",
"type": "string",
"internalType": "string"
},
{
"name": "name",
"type": "string",
"internalType": "string"
},
{
"name": "description",
"type": "string",
"internalType": "string"
},
{
"name": "creator",
"type": "address",
"internalType": "address"
},
{
"name": "postCount",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "createdAt",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "exists",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "categoryBySlug",
"type": "function",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "categoryCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "claim",
"type": "function",
"inputs": [
{
"name": "epoch",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "claimMany",
"type": "function",
"inputs": [
{
"name": "epochs",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [
{
"name": "total",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "claimed",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "commentCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "commentVotes",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "int8",
"internalType": "int8"
}
],
"stateMutability": "view"
},
{
"name": "comments",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "author",
"type": "address",
"internalType": "address"
},
{
"name": "postId",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "parentId",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "createdAt",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "score",
"type": "int32",
"internalType": "int32"
},
{
"name": "upvotes",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "downvotes",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "countedWeight",
"type": "int32",
"internalType": "int32"
},
{
"name": "weightEpoch",
"type": "int32",
"internalType": "int32"
},
{
"name": "exists",
"type": "bool",
"internalType": "bool"
},
{
"name": "ipfsHash",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "createCategory",
"type": "function",
"inputs": [
{
"name": "slug",
"type": "string",
"internalType": "string"
},
{
"name": "name",
"type": "string",
"internalType": "string"
},
{
"name": "description",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "id",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "createComment",
"type": "function",
"inputs": [
{
"name": "postId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "parentId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "ipfsHash",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "id",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "createPost",
"type": "function",
"inputs": [
{
"name": "categoryId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "title",
"type": "string",
"internalType": "string"
},
{
"name": "contentHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "ipfsHash",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "id",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "createProfile",
"type": "function",
"inputs": [
{
"name": "username",
"type": "string",
"internalType": "string"
},
{
"name": "bio",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "curatorCarry",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "currentEpoch",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "dailyEmission",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "earlyVoter",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "earlyVoterCount",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"stateMutability": "view"
},
{
"name": "emissionActive",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "epochBonusPool",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "epochCuratorPool",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "epochMiningPool",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "firstViralAuthor",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "firstViralPost",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "fund",
"type": "function",
"inputs": [
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "isEarlyVoter",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "jackpot",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "bonus",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "curator",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "lastCommentAt",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "lastPostAt",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "lastSyncedEpoch",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "listCommentIds",
"type": "function",
"inputs": [
{
"name": "postId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "offset",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "count",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "ids",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"stateMutability": "view"
},
{
"name": "listPostIds",
"type": "function",
"inputs": [
{
"name": "cursor",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "count",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "ids",
"type": "uint256[]",
"internalType": "uint256[]"
},
{
"name": "nextCursor",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "miningCarry",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "pendingClaim",
"type": "function",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
},
{
"name": "epoch",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "postCommentAt",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "postCommentCount",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "postCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "postVotes",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "int8",
"internalType": "int8"
}
],
"stateMutability": "view"
},
{
"name": "posts",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "author",
"type": "address",
"internalType": "address"
},
{
"name": "categoryId",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "createdAt",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "score",
"type": "int32",
"internalType": "int32"
},
{
"name": "upvotes",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "downvotes",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "commentCount",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "countedWeight",
"type": "int32",
"internalType": "int32"
},
{
"name": "weightEpoch",
"type": "int32",
"internalType": "int32"
},
{
"name": "viral",
"type": "bool",
"internalType": "bool"
},
{
"name": "exists",
"type": "bool",
"internalType": "bool"
},
{
"name": "title",
"type": "string",
"internalType": "string"
},
{
"name": "contentHash",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "ipfsHash",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"name": "profileCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "profiles",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "username",
"type": "string",
"internalType": "string"
},
{
"name": "bio",
"type": "string",
"internalType": "string"
},
{
"name": "createdAt",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "reputation",
"type": "int32",
"internalType": "int32"
},
{
"name": "exists",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "reserves",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "startTime",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "syncEpochs",
"type": "function",
"inputs": [
{
"name": "limit",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "totalAllocation",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "totalCuratorWeight",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "totalMiningWeight",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "updateBio",
"type": "function",
"inputs": [
{
"name": "bio",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "userCuratorWeight",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "userMiningWeight",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "usernameOwner",
"type": "function",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "vote",
"type": "function",
"inputs": [
{
"name": "targetType",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "targetId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "value",
"type": "int8",
"internalType": "int8"
}
],
"outputs": [],
"stateMutability": "nonpayable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.