UNPKG

@vechain/vebetterdao-contracts

Version:

Vebetter DAO smart contracts, including their addresses, ABIs, and interfaces.

1,910 lines (1,909 loc) 41.5 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IX2EarnApps", "sourceName": "contracts/interfaces/IX2EarnApps.sol", "abi": [ { "inputs": [ { "internalType": "address", "name": "creator", "type": "address" } ], "name": "CreatorNFTAlreadyUsed", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "timepoint", "type": "uint256" }, { "internalType": "uint48", "name": "clock", "type": "uint48" } ], "name": "ERC5805FutureLookup", "type": "error" }, { "inputs": [], "name": "ERC6372InconsistentClock", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "NodeManagementXAppAlreadyIncluded", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "creator", "type": "address" } ], "name": "X2EarnAlreadyCreator", "type": "error" }, { "inputs": [], "name": "X2EarnAlreadyEndorser", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "X2EarnAppAlreadyEndorsed", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "X2EarnAppAlreadyExists", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "X2EarnAppBlacklisted", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "addr", "type": "address" } ], "name": "X2EarnInvalidAddress", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "percentage", "type": "uint256" } ], "name": "X2EarnInvalidAllocationPercentage", "type": "error" }, { "inputs": [], "name": "X2EarnInvalidStartIndex", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "X2EarnMaxCreatorsReached", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "X2EarnMaxManagersReached", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "X2EarnMaxModeratorsReached", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "X2EarnMaxRewardDistributorsReached", "type": "error" }, { "inputs": [], "name": "X2EarnNodeCooldownActive", "type": "error" }, { "inputs": [], "name": "X2EarnNonEndorser", "type": "error" }, { "inputs": [], "name": "X2EarnNonNodeHolder", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "X2EarnNonexistentApp", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "creator", "type": "address" } ], "name": "X2EarnNonexistentCreator", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "moderator", "type": "address" } ], "name": "X2EarnNonexistentModerator", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "distributorAddress", "type": "address" } ], "name": "X2EarnNonexistentRewardDistributor", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" } ], "name": "X2EarnUnauthorizedUser", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "creator", "type": "address" } ], "name": "X2EarnUnverifiedCreator", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "addr", "type": "address" }, { "indexed": false, "internalType": "string", "name": "name", "type": "string" }, { "indexed": false, "internalType": "bool", "name": "appAvailableForAllocationVoting", "type": "bool" } ], "name": "AppAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "oldAdmin", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" } ], "name": "AppAdminUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "nodeId", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "endorsed", "type": "bool" } ], "name": "AppEndorsed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "bool", "name": "endorsed", "type": "bool" } ], "name": "AppEndorsementStatusUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "string", "name": "oldMetadataURI", "type": "string" }, { "indexed": false, "internalType": "string", "name": "newMetadataURI", "type": "string" } ], "name": "AppMetadataURIUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "uint48", "name": "startBlock", "type": "uint48" }, { "indexed": false, "internalType": "uint48", "name": "endBlock", "type": "uint48" } ], "name": "AppUnendorsedGracePeriodStarted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "string", "name": "oldBaseURI", "type": "string" }, { "indexed": false, "internalType": "string", "name": "newBaseURI", "type": "string" } ], "name": "BaseURIUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "bool", "name": "isBlacklisted", "type": "bool" } ], "name": "BlacklistUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "oldCooldownPeriod", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newCooldownPeriod", "type": "uint256" } ], "name": "CooldownPeriodUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "creatorAddress", "type": "address" } ], "name": "CreatorAddedToApp", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "creator", "type": "address" } ], "name": "CreatorRemovedFromApp", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "oldThreshold", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newThreshold", "type": "uint256" } ], "name": "EndorsementScoreThresholdUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "oldGracePeriod", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newGracePeriod", "type": "uint256" } ], "name": "GracePeriodUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "moderator", "type": "address" } ], "name": "ModeratorAddedToApp", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "moderator", "type": "address" } ], "name": "ModeratorRemovedFromApp", "type": "event" }, { "anonymous": false, "inputs": [ { "components": [ { "internalType": "uint256", "name": "strength", "type": "uint256" }, { "internalType": "uint256", "name": "thunder", "type": "uint256" }, { "internalType": "uint256", "name": "mjolnir", "type": "uint256" }, { "internalType": "uint256", "name": "veThorX", "type": "uint256" }, { "internalType": "uint256", "name": "strengthX", "type": "uint256" }, { "internalType": "uint256", "name": "thunderX", "type": "uint256" }, { "internalType": "uint256", "name": "mjolnirX", "type": "uint256" } ], "indexed": true, "internalType": "struct VechainNodesDataTypes.NodeStrengthScores", "name": "nodeStrengthScores", "type": "tuple" } ], "name": "NodeStrengthScoresUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "distributorAddress", "type": "address" } ], "name": "RewardDistributorAddedToApp", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "distributorAddress", "type": "address" } ], "name": "RewardDistributorRemovedFromApp", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "oldPercentage", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newPercentage", "type": "uint256" } ], "name": "TeamAllocationPercentageUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "oldTeamWalletAddress", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newTeamWalletAddress", "type": "address" } ], "name": "TeamWalletAddressUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "indexed": false, "internalType": "bool", "name": "isAvailable", "type": "bool" } ], "name": "VotingEligibilityUpdated", "type": "event" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "moderator", "type": "address" } ], "name": "addAppModerator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "creator", "type": "address" } ], "name": "addCreator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "distributorAddress", "type": "address" } ], "name": "addRewardDistributor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "allEligibleApps", "outputs": [ { "internalType": "bytes32[]", "name": "", "type": "bytes32[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "app", "outputs": [ { "components": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "internalType": "address", "name": "teamWalletAddress", "type": "address" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "metadataURI", "type": "string" }, { "internalType": "uint256", "name": "createdAtTimestamp", "type": "uint256" }, { "internalType": "bool", "name": "appAvailableForAllocationVoting", "type": "bool" } ], "internalType": "struct X2EarnAppsDataTypes.AppWithDetailsReturnType", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "appAdmin", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "appCreators", "outputs": [ { "internalType": "address[]", "name": "", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "appExists", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "apps", "outputs": [ { "components": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "internalType": "address", "name": "teamWalletAddress", "type": "address" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "metadataURI", "type": "string" }, { "internalType": "uint256", "name": "createdAtTimestamp", "type": "uint256" }, { "internalType": "bool", "name": "appAvailableForAllocationVoting", "type": "bool" } ], "internalType": "struct X2EarnAppsDataTypes.AppWithDetailsReturnType[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "appsCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseURI", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "nodeId", "type": "uint256" } ], "name": "checkCooldown", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "checkEndorsement", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "cooldownPeriod", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "creator", "type": "address" } ], "name": "creatorApps", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "enableRewardsPoolForNewApp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "endorsementScoreThreshold", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "getEndorsers", "outputs": [ { "internalType": "address[]", "name": "", "type": "address[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "nodeId", "type": "uint256" } ], "name": "getNodeEndorsementScore", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "startIndex", "type": "uint256" }, { "internalType": "uint256", "name": "count", "type": "uint256" } ], "name": "getPaginatedApps", "outputs": [ { "components": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint256", "name": "createdAtTimestamp", "type": "uint256" } ], "internalType": "struct X2EarnAppsDataTypes.App[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "getScore", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" } ], "name": "getUsersEndorsementScore", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getXAllocationVotingGovernor", "outputs": [ { "internalType": "contract IXAllocationVotingGovernor", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "gracePeriod", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "name", "type": "string" } ], "name": "hashAppName", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "isAppAdmin", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "isAppCreator", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "isAppUnendorsed", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "isBlacklisted", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "creator", "type": "address" } ], "name": "isCreatorOfAnyApp", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "uint256", "name": "timepoint", "type": "uint256" } ], "name": "isEligible", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "distributorAddress", "type": "address" } ], "name": "isRewardDistributor", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "enum VechainNodesDataTypes.NodeStrengthLevel", "name": "nodeLevel", "type": "uint8" } ], "name": "nodeLevelEndorsementScore", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "nodeId", "type": "uint256" } ], "name": "nodeToEndorsedApp", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "creator", "type": "address" } ], "name": "removeAppCreator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "moderator", "type": "address" } ], "name": "removeAppModerator", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_appId", "type": "bytes32" }, { "internalType": "uint256", "name": "_nodeId", "type": "uint256" } ], "name": "removeNodeEndorsement", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "distributorAddress", "type": "address" } ], "name": "removeRewardDistributor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_appId", "type": "bytes32" } ], "name": "removeXAppSubmission", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "admin", "type": "address" } ], "name": "setAppAdmin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "uint256", "name": "percentage", "type": "uint256" } ], "name": "setTeamAllocationPercentage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "_appId", "type": "bytes32" }, { "internalType": "bool", "name": "_isEligible", "type": "bool" } ], "name": "setVotingEligibility", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "x2EarnCreatorContract", "type": "address" } ], "name": "setX2EarnCreatorContract", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_x2EarnRewardsPoolContract", "type": "address" } ], "name": "setX2EarnRewardsPoolContract", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_xAllocationVotingGovernor", "type": "address" } ], "name": "setXAllocationVotingGovernor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_teamWalletAddress", "type": "address" }, { "internalType": "address", "name": "_admin", "type": "address" }, { "internalType": "string", "name": "_appName", "type": "string" }, { "internalType": "string", "name": "_appMetadataURI", "type": "string" } ], "name": "submitApp", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "teamAllocationPercentage", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" } ], "name": "teamWalletAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "unendorsedAppIds", "outputs": [ { "internalType": "bytes32[]", "name": "", "type": "bytes32[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "unendorsedApps", "outputs": [ { "components": [ { "internalType": "bytes32", "name": "id", "type": "bytes32" }, { "internalType": "address", "name": "teamWalletAddress", "type": "address" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "metadataURI", "type": "string" }, { "internalType": "uint256", "name": "createdAtTimestamp", "type": "uint256" }, { "internalType": "bool", "name": "appAvailableForAllocationVoting", "type": "bool" } ], "internalType": "struct X2EarnAppsDataTypes.AppWithDetailsReturnType[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "string", "name": "metadataURI", "type": "string" } ], "name": "updateAppMetadata", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_newCooldownPeriod", "type": "uint256" } ], "name": "updateCooldownPeriod", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_scoreThreshold", "type": "uint256" } ], "name": "updateEndorsementScoreThreshold", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint48", "name": "_newGracePeriod", "type": "uint48" } ], "name": "updateGracePeriod", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint256", "name": "strength", "type": "uint256" }, { "internalType": "uint256", "name": "thunder", "type": "uint256" }, { "internalType": "uint256", "name": "mjolnir", "type": "uint256" }, { "internalType": "uint256", "name": "veThorX", "type": "uint256" }, { "internalType": "uint256", "name": "strengthX", "type": "uint256" }, { "internalType": "uint256", "name": "thunderX", "type": "uint256" }, { "internalType": "uint256", "name": "mjolnirX", "type": "uint256" } ], "internalType": "struct VechainNodesDataTypes.NodeStrengthScores", "name": "_nodeStrengthScores", "type": "tuple" } ], "name": "updateNodeEndorsementScores", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "appId", "type": "bytes32" }, { "internalType": "address", "name": "newTeamWalletAddress", "type": "address" } ], "name": "updateTeamWalletAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "x2EarnCreatorContract", "outputs": [ { "internalType": "contract IX2EarnCreator", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "x2EarnRewardsPoolContract", "outputs": [ { "internalType": "contract IX2EarnRewardsPool", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }