Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

vana

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vana - npm Package Compare versions

Comparing version
0.43.0
to
0.44.0
+1210
vana/contracts/ComputeEngine.json
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AccessControlBadConfirmation",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "bytes32",
"name": "neededRole",
"type": "bytes32"
}
],
"name": "AccessControlUnauthorizedAccount",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "target",
"type": "address"
}
],
"name": "AddressEmptyCode",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "AddressInsufficientBalance",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "ERC1967InvalidImplementation",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967NonPayable",
"type": "error"
},
{
"inputs": [],
"name": "EnforcedPause",
"type": "error"
},
{
"inputs": [],
"name": "ExpectedPause",
"type": "error"
},
{
"inputs": [],
"name": "FailedInnerCall",
"type": "error"
},
{
"inputs": [],
"name": "FailedToAssignTee",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "computeInstructionId",
"type": "uint256"
}
],
"name": "InstructionNotFound",
"type": "error"
},
{
"inputs": [],
"name": "InsufficientBalance",
"type": "error"
},
{
"inputs": [],
"name": "InvalidAmount",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [
{
"internalType": "enum IComputeEngine.JobStatus",
"name": "currentStatus",
"type": "uint8"
},
{
"internalType": "enum IComputeEngine.JobStatus",
"name": "newStatus",
"type": "uint8"
}
],
"name": "InvalidStatusTransition",
"type": "error"
},
{
"inputs": [],
"name": "InvalidVanaAmount",
"type": "error"
},
{
"inputs": [],
"name": "JobAlreadyDoneOrCanceled",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "JobNotFound",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "JobNotSubmitted",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"inputs": [],
"name": "NotJobOwner",
"type": "error"
},
{
"inputs": [],
"name": "NotLongRunningJob",
"type": "error"
},
{
"inputs": [],
"name": "NotQueryEngine",
"type": "error"
},
{
"inputs": [],
"name": "NotTee",
"type": "error"
},
{
"inputs": [],
"name": "ReentrancyGuardReentrantCall",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "SafeERC20FailedOperation",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "TeeAlreadyAssigned",
"type": "error"
},
{
"inputs": [],
"name": "TeePoolNotFound",
"type": "error"
},
{
"inputs": [],
"name": "UUPSUnauthorizedCallContext",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "slot",
"type": "bytes32"
}
],
"name": "UUPSUnsupportedProxiableUUID",
"type": "error"
},
{
"inputs": [],
"name": "UnauthorizedPaymentRequestor",
"type": "error"
},
{
"inputs": [],
"name": "ZeroTeeAddress",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Deposit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "JobCanceled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "ownerAddress",
"type": "address"
}
],
"name": "JobRegistered",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "enum IComputeEngine.JobStatus",
"name": "status",
"type": "uint8"
},
{
"indexed": false,
"internalType": "string",
"name": "statusMessage",
"type": "string"
}
],
"name": "JobStatusUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Paused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "PaymentExecuted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "previousAdminRole",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "newAdminRole",
"type": "bytes32"
}
],
"name": "RoleAdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleRevoked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "reason",
"type": "bytes"
}
],
"name": "TeeAssignmentFailed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "teePoolAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "teeAddress",
"type": "address"
}
],
"name": "TeeAssignmentSucceeded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Unpaused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "Withdraw",
"type": "event"
},
{
"inputs": [],
"name": "DEDICATED_TIMEOUT",
"outputs": [
{
"internalType": "uint80",
"name": "",
"type": "uint80"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "DEFAULT_ADMIN_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MAINTAINER_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "UPGRADE_INTERFACE_VERSION",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "VANA",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "cancelJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "computeEngineTreasury",
"outputs": [
{
"internalType": "contract IDataAccessTreasury",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "deposit",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "metadata",
"type": "bytes"
}
],
"name": "executePaymentRequest",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
}
],
"name": "getRoleAdmin",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "hasRole",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "address",
"name": "initQueryEngine",
"type": "address"
},
{
"internalType": "contract IComputeEngineTeePoolFactory",
"name": "initTeePoolFactory",
"type": "address"
},
{
"internalType": "contract DataAccessTreasuryFactoryBeacon",
"name": "initDataAccessTreasuryFactory",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "instructionRegistry",
"outputs": [
{
"internalType": "contract IComputeInstructionRegistry",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "jobs",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "uint80",
"name": "maxTimeout",
"type": "uint80"
},
{
"internalType": "bool",
"name": "gpuRequired",
"type": "bool"
},
{
"internalType": "enum IComputeEngine.JobStatus",
"name": "status",
"type": "uint8"
},
{
"internalType": "address",
"name": "teeAddress",
"type": "address"
},
{
"internalType": "uint32",
"name": "computeInstructionId",
"type": "uint32"
},
{
"internalType": "uint48",
"name": "addedTimestamp",
"type": "uint48"
},
{
"internalType": "string",
"name": "statusMessage",
"type": "string"
},
{
"internalType": "address",
"name": "teePoolAddress",
"type": "address"
}
],
"internalType": "struct IComputeEngine.Job",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "jobsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "pause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "paused",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "queryEngine",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "callerConfirmation",
"type": "address"
}
],
"name": "renounceRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
}
],
"name": "resubmitJob",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"internalType": "address",
"name": "teeAddress",
"type": "address"
}
],
"name": "resubmitJobWithTee",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "revokeRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint80",
"name": "maxTimeout",
"type": "uint80"
},
{
"internalType": "bool",
"name": "gpuRequired",
"type": "bool"
},
{
"internalType": "uint256",
"name": "computeInstructionId",
"type": "uint256"
}
],
"name": "submitJob",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "maxTimeout",
"type": "uint256"
},
{
"internalType": "bool",
"name": "gpuRequired",
"type": "bool"
},
{
"internalType": "uint256",
"name": "computeInstructionId",
"type": "uint256"
},
{
"internalType": "address",
"name": "teeAddress",
"type": "address"
}
],
"name": "submitJobWithTee",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "teePoolFactory",
"outputs": [
{
"internalType": "contract IComputeEngineTeePoolFactory",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "unpause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IDataAccessTreasury",
"name": "newComputeEngineTreasuryAddress",
"type": "address"
}
],
"name": "updateComputeEngineTreasury",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IComputeInstructionRegistry",
"name": "newInstructionRegistry",
"type": "address"
}
],
"name": "updateInstructionRegistry",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"internalType": "enum IComputeEngine.JobStatus",
"name": "status",
"type": "uint8"
},
{
"internalType": "string",
"name": "statusMessage",
"type": "string"
}
],
"name": "updateJobStatus",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newQueryEngineAddress",
"type": "address"
}
],
"name": "updateQueryEngine",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IComputeEngineTeePoolFactory",
"name": "newTeePoolFactory",
"type": "address"
}
],
"name": "updateTeePoolFactory",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "version",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "withdraw",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AccessControlBadConfirmation",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "bytes32",
"name": "neededRole",
"type": "bytes32"
}
],
"name": "AccessControlUnauthorizedAccount",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "target",
"type": "address"
}
],
"name": "AddressEmptyCode",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
}
],
"name": "DlpNotFound",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "ERC1967InvalidImplementation",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967NonPayable",
"type": "error"
},
{
"inputs": [],
"name": "EnforcedPause",
"type": "error"
},
{
"inputs": [],
"name": "ExpectedPause",
"type": "error"
},
{
"inputs": [],
"name": "FailedInnerCall",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotDlpOwner",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"inputs": [],
"name": "UUPSUnauthorizedCallContext",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "slot",
"type": "bytes32"
}
],
"name": "UUPSUnsupportedProxiableUUID",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "computeInstructionId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "string",
"name": "computeInstructionUrl",
"type": "string"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "computeInstructionHash",
"type": "bytes32"
}
],
"name": "ComputeInstructionAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "computeInstructionId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "ComputeInstructionUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Paused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "previousAdminRole",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "newAdminRole",
"type": "bytes32"
}
],
"name": "RoleAdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleRevoked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Unpaused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "DEFAULT_ADMIN_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MAINTAINER_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "UPGRADE_INTERFACE_VERSION",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "hash",
"type": "bytes32"
},
{
"internalType": "string",
"name": "url",
"type": "string"
}
],
"name": "addComputeInstruction",
"outputs": [
{
"internalType": "uint256",
"name": "computeInstructionId",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "dlpRootCore",
"outputs": [
{
"internalType": "contract IDLPRootCoreReadOnly",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
}
],
"name": "getRoleAdmin",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "hasRole",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "address",
"name": "dlpRootCoreAddress",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "instructionId",
"type": "uint256"
}
],
"name": "instructions",
"outputs": [
{
"components": [
{
"internalType": "bytes32",
"name": "hash",
"type": "bytes32"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "string",
"name": "url",
"type": "string"
}
],
"internalType": "struct IComputeInstructionRegistry.ComputeInstructionInfo",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "instructionsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "instructionId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
}
],
"name": "isApproved",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "pause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "paused",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "callerConfirmation",
"type": "address"
}
],
"name": "renounceRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "revokeRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "unpause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "instructionId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "updateComputeInstruction",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "dlpRootCoreAddress",
"type": "address"
}
],
"name": "updateDlpRootCore",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "version",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
}
]
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AccessControlBadConfirmation",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "bytes32",
"name": "neededRole",
"type": "bytes32"
}
],
"name": "AccessControlUnauthorizedAccount",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "target",
"type": "address"
}
],
"name": "AddressEmptyCode",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "ERC1967InvalidImplementation",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967NonPayable",
"type": "error"
},
{
"inputs": [],
"name": "EnforcedPause",
"type": "error"
},
{
"inputs": [],
"name": "ExpectedPause",
"type": "error"
},
{
"inputs": [],
"name": "FailedInnerCall",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotDlpOwner",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"inputs": [],
"name": "UUPSUnauthorizedCallContext",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "slot",
"type": "bytes32"
}
],
"name": "UUPSUnsupportedProxiableUUID",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Paused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "schemaDefinitionUrl",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "refinementInstructionUrl",
"type": "string"
}
],
"name": "RefinerAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "previousAdminRole",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "newAdminRole",
"type": "bytes32"
}
],
"name": "RoleAdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleRevoked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Unpaused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "DEFAULT_ADMIN_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MAINTAINER_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "UPGRADE_INTERFACE_VERSION",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "schemaDefinitionUrl",
"type": "string"
},
{
"internalType": "string",
"name": "refinementInstructionUrl",
"type": "string"
},
{
"internalType": "string",
"name": "publicKey",
"type": "string"
}
],
"name": "addRefiner",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "dlpRootCore",
"outputs": [
{
"internalType": "contract IDLPRegistry",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
}
],
"name": "getRoleAdmin",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "hasRole",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "address",
"name": "dlpRootCoreAddress",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "pause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "paused",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
}
],
"name": "refiners",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "schemaDefinitionUrl",
"type": "string"
},
{
"internalType": "string",
"name": "refinementInstructionUrl",
"type": "string"
},
{
"internalType": "string",
"name": "publicKey",
"type": "string"
}
],
"internalType": "struct IDataRefinerRegistry.Refiner",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "refinersCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "callerConfirmation",
"type": "address"
}
],
"name": "renounceRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "revokeRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "unpause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "dlpRootCoreAddress",
"type": "address"
}
],
"name": "updateDlpRootCore",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "version",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
}
]
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "AccessControlBadConfirmation",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "bytes32",
"name": "neededRole",
"type": "bytes32"
}
],
"name": "AccessControlUnauthorizedAccount",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "target",
"type": "address"
}
],
"name": "AddressEmptyCode",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "AddressInsufficientBalance",
"type": "error"
},
{
"inputs": [],
"name": "ColumnNameUnexpected",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "ERC1967InvalidImplementation",
"type": "error"
},
{
"inputs": [],
"name": "ERC1967NonPayable",
"type": "error"
},
{
"inputs": [],
"name": "EnforcedPause",
"type": "error"
},
{
"inputs": [],
"name": "ExpectedPause",
"type": "error"
},
{
"inputs": [],
"name": "FailedInnerCall",
"type": "error"
},
{
"inputs": [],
"name": "InvalidDlpPaymentPercentage",
"type": "error"
},
{
"inputs": [],
"name": "InvalidDlpTreasuryAddress",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitialization",
"type": "error"
},
{
"inputs": [],
"name": "NotDlpOwner",
"type": "error"
},
{
"inputs": [],
"name": "NotInitializing",
"type": "error"
},
{
"inputs": [],
"name": "NotRefinerOwner",
"type": "error"
},
{
"inputs": [],
"name": "PaymentNotReceived",
"type": "error"
},
{
"inputs": [],
"name": "PermissionNotFound",
"type": "error"
},
{
"inputs": [],
"name": "ReentrancyGuardReentrantCall",
"type": "error"
},
{
"inputs": [],
"name": "RefinerNotFound",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "SafeERC20FailedOperation",
"type": "error"
},
{
"inputs": [],
"name": "UUPSUnauthorizedCallContext",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "slot",
"type": "bytes32"
}
],
"name": "UUPSUnsupportedProxiableUUID",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "dlpTreasuryAddress",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "DlpPaymentClaimed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Paused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "token",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "metadata",
"type": "bytes"
}
],
"name": "PaymentReceived",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "permissionId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "grantee",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "tableName",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "columnName",
"type": "string"
},
{
"indexed": false,
"internalType": "uint256",
"name": "price",
"type": "uint256"
}
],
"name": "PermissionAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "permissionId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "PermissionApprovalUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "previousAdminRole",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "newAdminRole",
"type": "bytes32"
}
],
"name": "RoleAdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleRevoked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Unpaused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"inputs": [],
"name": "DEFAULT_ADMIN_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MAINTAINER_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "ONE_HUNDRED_PERCENT",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "QUERY_ENGINE_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "UPGRADE_INTERFACE_VERSION",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "VANA",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
},
{
"internalType": "string",
"name": "tableName",
"type": "string"
},
{
"internalType": "string",
"name": "columnName",
"type": "string"
},
{
"internalType": "uint256",
"name": "price",
"type": "uint256"
}
],
"name": "addGenericPermission",
"outputs": [
{
"internalType": "uint256",
"name": "permissionId",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "grantee",
"type": "address"
},
{
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
},
{
"internalType": "string",
"name": "tableName",
"type": "string"
},
{
"internalType": "string",
"name": "columnName",
"type": "string"
},
{
"internalType": "uint256",
"name": "price",
"type": "uint256"
}
],
"name": "addPermission",
"outputs": [
{
"internalType": "uint256",
"name": "permissionId",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "claimDlpPayment",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "computeEngine",
"outputs": [
{
"internalType": "contract IComputeEngine",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "dlpPaymentPercentage",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
},
{
"internalType": "address",
"name": "grantee",
"type": "address"
}
],
"name": "getPermissions",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "permissionId",
"type": "uint256"
},
{
"internalType": "address",
"name": "grantee",
"type": "address"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
},
{
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
},
{
"internalType": "string",
"name": "tableName",
"type": "string"
},
{
"internalType": "string",
"name": "columnName",
"type": "string"
},
{
"internalType": "uint256",
"name": "price",
"type": "uint256"
}
],
"internalType": "struct IQueryEngine.PermissionInfo[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
}
],
"name": "getRoleAdmin",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "hasRole",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "address",
"name": "refinerRegistryAddress",
"type": "address"
},
{
"internalType": "address",
"name": "dataAccessTreasuryFactory",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "pause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "paused",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "permissionId",
"type": "uint256"
}
],
"name": "permissions",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "grantee",
"type": "address"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
},
{
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
},
{
"internalType": "string",
"name": "tableName",
"type": "string"
},
{
"internalType": "string",
"name": "columnName",
"type": "string"
},
{
"internalType": "uint256",
"name": "price",
"type": "uint256"
}
],
"internalType": "struct IQueryEngine.Permission",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "permissionsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "proxiableUUID",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "queryEngineTreasury",
"outputs": [
{
"internalType": "contract IDataAccessTreasury",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "refinerRegistry",
"outputs": [
{
"internalType": "contract IDataRefinerRegistry",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "callerConfirmation",
"type": "address"
}
],
"name": "renounceRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "metadata",
"type": "bytes"
}
],
"name": "requestPayment",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "jobId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
}
],
"name": "requestPaymentInVana",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "revokeRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "unpause",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "computeEngineAddress",
"type": "address"
}
],
"name": "updateComputeEngine",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_dlpPaymentPercentage",
"type": "uint256"
}
],
"name": "updateDlpPaymentPercentage",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "permissionId",
"type": "uint256"
},
{
"internalType": "bool",
"name": "approved",
"type": "bool"
}
],
"name": "updatePermissionApproval",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "contract IDataAccessTreasury",
"name": "_queryEngineTreasury",
"type": "address"
}
],
"name": "updateQueryEngineTreasury",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "refinerRegistryAddress",
"type": "address"
}
],
"name": "updateRefinerRegistry",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_vanaTreasury",
"type": "address"
}
],
"name": "updateVanaTreasury",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "vanaTreasury",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "version",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
+1
-1
Metadata-Version: 2.3
Name: vana
Version: 0.43.0
Version: 0.44.0
Summary:

@@ -5,0 +5,0 @@ Author: Tim Nunamaker

[tool.poetry]
name = "vana"
version = "0.43.0"
version = "0.44.0"
description = ""

@@ -5,0 +5,0 @@ authors = ["Tim Nunamaker <tim@vana.com>", "Volodymyr Isai <volod@vana.com>", "Kahtaf Alam <kahtaf@vana.com>"]

@@ -18,3 +18,3 @@ # The MIT License (MIT)

__version__ = "0.43.0"
__version__ = "0.44.0"

@@ -21,0 +21,0 @@ import rich

@@ -38,2 +38,22 @@ import argparse

help="""The address for the DLP Root Contract.""")
parser.add_argument(
"--" + prefix_str + "client.compute_engine_contract_address",
default=os.getenv("COMPUTE_ENGINE_CONTRACT_ADDRESS") or None,
type=str,
help="""The address for the Compute Engine Contract.""")
parser.add_argument(
"--" + prefix_str + "client.query_engine_contract_address",
default=os.getenv("QUERY_ENGINE_CONTRACT_ADDRESS") or None,
type=str,
help="""The address for the Query Engine Contract.""")
parser.add_argument(
"--" + prefix_str + "client.compute_instruction_registry_contract_address",
default=os.getenv("COMPUTE_INSTRUCTION_REGISTRY_CONTRACT_ADDRESS") or None,
type=str,
help="""The address for the Compute Instruction Registry Contract.""")
parser.add_argument(
"--" + prefix_str + "client.data_refiner_registry_contract_address",
default=os.getenv("DATA_REFINER_REGISTRY_CONTRACT_ADDRESS") or None,
type=str,
help="""The address for the Data Refiner Registry Contract.""")
except argparse.ArgumentError:

@@ -81,2 +101,16 @@ # re-parsing arguments.

data_refiner_registry_contract_path = os.path.join(
os.path.dirname(__file__),
"contracts/DataRefinerRegistry.json"
)
with open(data_refiner_registry_contract_path) as f:
data_refiner_address = contracts[self.network]["DataRefinerRegistry"]
if hasattr(self.config, 'client') and self.config.client is not None:
data_refiner_address = self.config.client.data_refiner_registry_contract_address or data_refiner_address
self.data_refiner_contract = self.chain_manager.web3.eth.contract(
address=data_refiner_address,
abi=json.load(f)
)
# Data Registry

@@ -121,2 +155,28 @@

def add_refinement_with_permission(self, file_id: int, refiner_id: int, url: str, account: str, key: str):
"""
Add a refinement to the Data Registry contract.
:param file_id: File ID in the Data Registry contract to add a refinement to
:param refiner_id: Refiner ID from the Data Refiner Registry, where refinement instructions are stored
:param url: URL where encrypted refinement is uploaded
:param account: Address of the account to grant permission to the refinement
:param key: The encrypted encryption key that only the account can decrypt
:return: Transaction hex, Transaction receipt
"""
add_refinement_with_permission_fn = self.data_registry_contract.functions.addRefinementWithPermission(file_id, refiner_id, url, account, key)
return self.chain_manager.send_transaction(add_refinement_with_permission_fn, self.wallet.hotkey)
# Data Refiner Registry
def get_refiner(self, refiner_id: int):
"""
Get the refiner information for a given refiner ID
:param refiner_id: Refiner ID from the Data Refiner Registry
:return: Refiner information
"""
get_refiner_fn = self.data_refiner_contract.functions.refiners(refiner_id)
refiner = self.chain_manager.read_contract_fn(get_refiner_fn)
keys = ["dlp_id", "owner", "name", "schema_definition_url", "refinement_instruction_url", "public_key"]
return dict(zip(keys, refiner))
# TEE Pool Contract

@@ -123,0 +183,0 @@

@@ -6,2 +6,6 @@ contracts = {

"RootNetworkContract": "0xff14346dF2B8Fd0c95BF34f1c92e49417b508AD5",
"DataRefinerRegistry": "0xF82248a6674F416fDe17E09841A703bE8720fF99",
"ComputeInstructionRegistry": "0x2b0D1F150fA064e54935C62811aDde8bd9a5a0ec",
"ComputeEngine": "0x959C44c02c5ac8e3066319102b2Fc2412E15B6a8",
"QueryEngine": "0xe8BB204AC13bE9f01519C0027EdC0EB371C86c0a",
},

@@ -12,2 +16,6 @@ "islander": {

"RootNetworkContract": "0xff14346dF2B8Fd0c95BF34f1c92e49417b508AD5",
"DataRefinerRegistry": "0xF82248a6674F416fDe17E09841A703bE8720fF99",
"ComputeInstructionRegistry": "0x2b0D1F150fA064e54935C62811aDde8bd9a5a0ec",
"ComputeEngine": "0x959C44c02c5ac8e3066319102b2Fc2412E15B6a8",
"QueryEngine": "0xe8BB204AC13bE9f01519C0027EdC0EB371C86c0a",
},

@@ -18,2 +26,6 @@ "maya": {

"RootNetworkContract": "0xf408A064d640b620219F510963646Ed2bD5606BB",
"DataRefinerRegistry": "0xF82248a6674F416fDe17E09841A703bE8720fF99",
"ComputeInstructionRegistry": "0x2b0D1F150fA064e54935C62811aDde8bd9a5a0ec",
"ComputeEngine": "0x959C44c02c5ac8e3066319102b2Fc2412E15B6a8",
"QueryEngine": "0xe8BB204AC13bE9f01519C0027EdC0EB371C86c0a",
},

@@ -24,2 +36,6 @@ "satori": {

"RootNetworkContract": "0xf408A064d640b620219F510963646Ed2bD5606BB",
"DataRefinerRegistry": "0xF82248a6674F416fDe17E09841A703bE8720fF99",
"ComputeInstructionRegistry": "0x2b0D1F150fA064e54935C62811aDde8bd9a5a0ec",
"ComputeEngine": "0x959C44c02c5ac8e3066319102b2Fc2412E15B6a8",
"QueryEngine": "0xe8BB204AC13bE9f01519C0027EdC0EB371C86c0a",
},

@@ -30,3 +46,7 @@ "moksha": {

"RootNetworkContract": "0xff14346dF2B8Fd0c95BF34f1c92e49417b508AD5",
"DataRefinerRegistry": "0xF82248a6674F416fDe17E09841A703bE8720fF99",
"ComputeInstructionRegistry": "0x2b0D1F150fA064e54935C62811aDde8bd9a5a0ec",
"ComputeEngine": "0x959C44c02c5ac8e3066319102b2Fc2412E15B6a8",
"QueryEngine": "0xe8BB204AC13bE9f01519C0027EdC0EB371C86c0a",
},
}

@@ -72,2 +72,7 @@ [

"inputs": [],
"name": "FileNotFound",
"type": "error"
},
{
"inputs": [],
"name": "FileUrlAlreadyUsed",

@@ -83,2 +88,12 @@ "type": "error"

"inputs": [],
"name": "InvalidUrl",
"type": "error"
},
{
"inputs": [],
"name": "NoPermission",
"type": "error"
},
{
"inputs": [],
"name": "NotFileOwner",

@@ -94,2 +109,7 @@ "type": "error"

"inputs": [],
"name": "RefinementAlreadyAdded",
"type": "error"
},
{
"inputs": [],
"name": "UUPSUnauthorizedCallContext",

@@ -190,5 +210,29 @@ "type": "error"

"indexed": true,
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "proofIndex",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "score",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "proofUrl",
"type": "string"
}

@@ -204,2 +248,27 @@ ],

"indexed": true,
"internalType": "uint256",
"name": "fileId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "url",
"type": "string"
}
],
"name": "RefinementAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",

@@ -329,2 +398,15 @@ "name": "role",

"inputs": [],
"name": "REFINEMENT_SERVICE_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "UPGRADE_INTERFACE_VERSION",

@@ -484,7 +566,40 @@ "outputs": [

{
"internalType": "uint256",
"name": "fileId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
},
{
"internalType": "string",
"name": "url",
"type": "string"
},
{
"internalType": "address",
"name": "account",
"type": "address"
},
{
"internalType": "string",
"name": "key",
"type": "string"
}
],
"name": "addRefinementWithPermission",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "url",
"type": "string"
}
],
"name": "fileIdByUrl",

@@ -594,4 +709,28 @@ "outputs": [

"type": "uint256"
},
{
"internalType": "uint256",
"name": "refinerId",
"type": "uint256"
}
],
"name": "fileRefinements",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "fileId",
"type": "uint256"
}
],
"name": "files",

@@ -832,2 +971,20 @@ "outputs": [

{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "adminRole",
"type": "bytes32"
}
],
"name": "setRoleAdmin",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",

@@ -913,2 +1070,2 @@ "name": "interfaceId",

}
]
]

@@ -45,7 +45,2 @@ [

{
"inputs": [],
"name": "DLpAddressCannotBeChanged",
"type": "error"
},
{
"inputs": [

@@ -73,7 +68,2 @@ {

"inputs": [],
"name": "EpochDlpScoreAlreadySaved",
"type": "error"
},
{
"inputs": [],
"name": "EpochNotEnded",

@@ -114,3 +104,3 @@ "type": "error"

"inputs": [],
"name": "InvalidName",
"name": "InvalidParam",
"type": "error"

@@ -120,3 +110,3 @@ },

"inputs": [],
"name": "InvalidParam",
"name": "InvalidStakeAmount",
"type": "error"

@@ -126,3 +116,3 @@ },

"inputs": [],
"name": "InvalidStakeAmount",
"name": "InvalidStakersPercentage",
"type": "error"

@@ -132,3 +122,3 @@ },

"inputs": [],
"name": "InvalidStakersPercentage",
"name": "LastEpochMustBeFinalised",
"type": "error"

@@ -138,3 +128,3 @@ },

"inputs": [],
"name": "NotDlpOwner",
"name": "NotCallableAnymore",
"type": "error"

@@ -163,15 +153,4 @@ },

{
"inputs": [
{
"internalType": "uint8",
"name": "bits",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "SafeCastOverflowedUintDowncast",
"inputs": [],
"name": "StakeActionPaused",
"type": "error"

@@ -224,9 +203,9 @@ },

{
"indexed": true,
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "DlpBecameEligible",
"name": "Initialized",
"type": "event"

@@ -238,22 +217,9 @@ },

{
"indexed": true,
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
}
],
"name": "DlpDeregistered",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newDlpEligibilityThreshold",
"name": "newMinStakeAmount",
"type": "uint256"
}
],
"name": "DlpEligibilityThresholdUpdated",
"name": "MinStakeAmountUpdated",
"type": "event"

@@ -265,57 +231,9 @@ },

{
"indexed": true,
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "dlpAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "ownerAddress",
"name": "account",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "treasuryAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "stakersPercentage",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "iconUrl",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "website",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "metadata",
"type": "string"
}
],
"name": "DlpRegistered",
"name": "Paused",
"type": "event"

@@ -329,7 +247,7 @@ },

"internalType": "uint256",
"name": "newDlpSubEligibilityThreshold",
"name": "newRewardClaimDelay",
"type": "uint256"
}
],
"name": "DlpSubEligibilityThresholdUpdated",
"name": "RewardClaimDelayUpdated",
"type": "event"

@@ -343,27 +261,9 @@ },

"internalType": "uint256",
"name": "dlpId",
"name": "stakeId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "dlpAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "treasuryAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "stakersPercentage",
"name": "amount",
"type": "uint256"

@@ -373,39 +273,8 @@ },

"indexed": false,
"internalType": "string",
"name": "name",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "iconUrl",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "website",
"type": "string"
},
{
"indexed": false,
"internalType": "string",
"name": "metadata",
"type": "string"
}
],
"name": "DlpUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newEligibleDlpsLimit",
"name": "entityId",
"type": "uint256"
}
],
"name": "EligibleDlpsLimitUpdated",
"name": "RewardMigratedToVanaPool",
"type": "event"

@@ -417,171 +286,3 @@ },

{
"indexed": false,
"internalType": "uint256",
"name": "epochId",
"type": "uint256"
}
],
"name": "EpochCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "epochId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "totalStakesScore",
"type": "uint256"
}
],
"name": "EpochDlpScoreSaved",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newEpochDlpsLimit",
"type": "uint256"
}
],
"name": "EpochDlpsLimitUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newEpochRewardAmount",
"type": "uint256"
}
],
"name": "EpochRewardAmountUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newEpochSize",
"type": "uint256"
}
],
"name": "EpochSizeUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint64",
"name": "version",
"type": "uint64"
}
],
"name": "Initialized",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newMaxDlpStakersPercentage",
"type": "uint256"
}
],
"name": "MaxDlpStakersPercentageUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newMinDlpRegistrationStake",
"type": "uint256"
}
],
"name": "MinDlpRegistrationStakeUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newMinDlpStakersPercentage",
"type": "uint256"
}
],
"name": "MinDlpStakersPercentageUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newMinStakeAmount",
"type": "uint256"
}
],
"name": "MinStakeAmountUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "Paused",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newRewardClaimDelay",
"type": "uint256"
}
],
"name": "RewardClaimDelayUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",

@@ -707,2 +408,89 @@ "name": "role",

"internalType": "uint256",
"name": "oldStakeId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newStakeId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "newDlpId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newAmount",
"type": "uint256"
}
],
"name": "StakeMigrated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "stakeId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "entityId",
"type": "uint256"
}
],
"name": "StakeMigratedToVanaPool",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "stakeId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "uint256",
"name": "epochId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bool",
"name": "isFinal",
"type": "bool"
}
],
"name": "StakeRewardClaimed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "newStakeWithdrawalDelay",

@@ -782,8 +570,8 @@ "type": "uint256"

"inputs": [],
"name": "MANAGER_ROLE",
"name": "NEW_MULTIPLIER_EPOCH",
"outputs": [
{
"internalType": "bytes32",
"internalType": "uint256",
"name": "",
"type": "bytes32"
"type": "uint256"
}

@@ -811,38 +599,2 @@ ],

"internalType": "uint256",
"name": "start",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "end",
"type": "uint256"
}
],
"name": "addDlpDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "start",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "end",
"type": "uint256"
}
],
"name": "addStakesDetails",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "stakeId",

@@ -937,25 +689,5 @@ "type": "uint256"

{
"inputs": [],
"name": "createEpochs",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "blockNumber",
"type": "uint256"
}
],
"name": "createEpochsUntilBlockNumber",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "dlpId",

@@ -971,15 +703,2 @@ "type": "uint256"

{
"inputs": [],
"name": "daySize",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [

@@ -990,308 +709,24 @@ {

"type": "uint256"
}
],
"name": "deregisterDlp",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "dlpEligibilityThreshold",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "epochId",
"type": "uint256"
}
],
"name": "dlpEpochs",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "stakeAmount",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isTopDlp",
"type": "bool"
},
{
"internalType": "uint256",
"name": "rewardAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stakersPercentage",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalStakesScore",
"type": "uint256"
},
{
"internalType": "bool",
"name": "rewardClaimed",
"type": "bool"
}
],
"internalType": "struct IDLPRoot.DlpEpochInfo",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "dlpAddress",
"name": "stakeOwner",
"type": "address"
}
],
"name": "dlpIds",
"outputs": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
}
],
"stateMutability": "view",
"name": "createStakeOnBehalf",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "dlpName",
"type": "string"
}
],
"name": "dlpNameToId",
"outputs": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "dlpSubEligibilityThreshold",
"name": "dlpRootCore",
"outputs": [
{
"internalType": "uint256",
"internalType": "contract IDLPRootCore",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
}
],
"name": "dlps",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "address",
"name": "dlpAddress",
"type": "address"
},
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "address",
"name": "treasuryAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "stakersPercentage",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stakersPercentageEpoch",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "iconUrl",
"type": "string"
},
{
"internalType": "string",
"name": "website",
"type": "string"
},
{
"internalType": "string",
"name": "metadata",
"type": "string"
},
{
"internalType": "enum IDLPRoot.DlpStatus",
"name": "status",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "registrationBlockNumber",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stakeAmount",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "epochIds",
"type": "uint256[]"
}
],
"internalType": "struct IDLPRoot.DlpInfo",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "dlpAddress",
"type": "address"
}
],
"name": "dlpsByAddress",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "address",
"name": "dlpAddress",
"type": "address"
},
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "address",
"name": "treasuryAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "stakersPercentage",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stakersPercentageEpoch",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "iconUrl",
"type": "string"
},
{
"internalType": "string",
"name": "website",
"type": "string"
},
{
"internalType": "string",
"name": "metadata",
"type": "string"
},
{
"internalType": "enum IDLPRoot.DlpStatus",
"name": "status",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "registrationBlockNumber",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stakeAmount",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "epochIds",
"type": "uint256[]"
}
],
"internalType": "struct IDLPRoot.DlpInfo",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",

@@ -1301,100 +736,9 @@ "type": "function"

{
"inputs": [
{
"internalType": "string",
"name": "dlpName",
"type": "string"
}
],
"name": "dlpsByName",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "address",
"name": "dlpAddress",
"type": "address"
},
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "address",
"name": "treasuryAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "stakersPercentage",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stakersPercentageEpoch",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "iconUrl",
"type": "string"
},
{
"internalType": "string",
"name": "website",
"type": "string"
},
{
"internalType": "string",
"name": "metadata",
"type": "string"
},
{
"internalType": "enum IDLPRoot.DlpStatus",
"name": "status",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "registrationBlockNumber",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "stakeAmount",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "epochIds",
"type": "uint256[]"
}
],
"internalType": "struct IDLPRoot.DlpInfo",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "dlpsCount",
"name": "dlpRootEpoch",
"outputs": [
{
"internalType": "uint256",
"internalType": "contract IDLPRootEpoch",
"name": "",
"type": "uint256"
"type": "address"
}

@@ -1407,8 +751,8 @@ ],

"inputs": [],
"name": "eligibleDlpsLimit",
"name": "dlpRootMetrics",
"outputs": [
{
"internalType": "uint256",
"internalType": "contract IDLPRootMetrics",
"name": "",
"type": "uint256"
"type": "address"
}

@@ -1420,28 +764,9 @@ ],

{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "eligibleDlpsListAt",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "eligibleDlpsListCount",
"name": "dlpRootRewardsTreasury",
"outputs": [
{
"internalType": "uint256",
"internalType": "contract IDLPRootTreasury",
"name": "",
"type": "uint256"
"type": "address"
}

@@ -1454,8 +779,8 @@ ],

"inputs": [],
"name": "eligibleDlpsListValues",
"name": "dlpRootStakesTreasury",
"outputs": [
{
"internalType": "uint256[]",
"internalType": "contract IDLPRootTreasury",
"name": "",
"type": "uint256[]"
"type": "address"
}

@@ -1467,138 +792,4 @@ ],

{
"inputs": [],
"name": "epochDlpsLimit",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "epochRewardAmount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "epochSize",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "epochId",
"type": "uint256"
}
],
"name": "epochs",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "startBlock",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "endBlock",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "reward",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isFinalised",
"type": "bool"
},
{
"internalType": "uint256[]",
"name": "dlpIds",
"type": "uint256[]"
}
],
"internalType": "struct IDLPRoot.EpochInfo",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "epochsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "dlpIds",
"type": "uint256[]"
}
],
"name": "estimatedDlpRewardPercentages",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "APY",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "EPY",
"type": "uint256"
}
],
"internalType": "struct IDLPRoot.DlpRewardApy[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",

@@ -1666,2 +857,15 @@ "name": "role",

"internalType": "address",
"name": "ownerAddress",
"type": "address"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "forwarder",

@@ -1683,51 +887,40 @@ "type": "address"

{
"inputs": [],
"name": "maxDlpStakersPercentage",
"outputs": [
"inputs": [
{
"internalType": "uint256",
"name": "",
"name": "stakeId",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "minDlpRegistrationStake",
"outputs": [
},
{
"internalType": "uint256",
"name": "",
"name": "entityId",
"type": "uint256"
}
],
"stateMutability": "view",
"name": "migrateRewardToVanaPool",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "minDlpStakersPercentage",
"outputs": [
"inputs": [
{
"internalType": "uint256",
"name": "",
"name": "stakeId",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "minStakeAmount",
"outputs": [
},
{
"internalType": "uint256",
"name": "",
"name": "newDlpId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "newAmount",
"type": "uint256"
}
],
"stateMutability": "view",
"name": "migrateStake",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"

@@ -1739,3 +932,3 @@ },

"internalType": "uint256",
"name": "epochId",
"name": "stakeId",
"type": "uint256"

@@ -1745,8 +938,16 @@ },

"internalType": "uint256",
"name": "startBlock",
"name": "entityId",
"type": "uint256"
},
}
],
"name": "migrateStakeAndRewardToVanaPool",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "endBlock",
"name": "stakeId",
"type": "uint256"

@@ -1756,7 +957,7 @@ },

"internalType": "uint256",
"name": "rewardAmount",
"name": "entityId",
"type": "uint256"
}
],
"name": "overrideEpoch",
"name": "migrateStakeToVanaPool",
"outputs": [],

@@ -1767,29 +968,12 @@ "stateMutability": "nonpayable",

{
"inputs": [
"inputs": [],
"name": "minStakeAmount",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "epochId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalStakesScore",
"type": "uint256"
}
],
"internalType": "struct IDLPRoot.EpochDlpsTotalStakesScore",
"name": "stakeScore",
"type": "tuple"
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "overrideEpochDlpsTotalStakesScore",
"outputs": [],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"

@@ -1833,57 +1017,2 @@ },

{
"components": [
{
"internalType": "address",
"name": "dlpAddress",
"type": "address"
},
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "address payable",
"name": "treasuryAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "stakersPercentage",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "iconUrl",
"type": "string"
},
{
"internalType": "string",
"name": "website",
"type": "string"
},
{
"internalType": "string",
"name": "metadata",
"type": "string"
}
],
"internalType": "struct IDLPRoot.DlpRegistration",
"name": "registrationInfo",
"type": "tuple"
}
],
"name": "registerDlp",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",

@@ -1938,27 +1067,21 @@ "name": "role",

{
"components": [
{
"internalType": "uint256",
"name": "epochId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalStakesScore",
"type": "uint256"
}
],
"internalType": "struct IDLPRoot.EpochDlpsTotalStakesScore[]",
"name": "stakeScore",
"type": "tuple[]"
"internalType": "uint256",
"name": "stakeId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "epochId",
"type": "uint256"
}
],
"name": "saveEpochDlpsTotalStakesScore",
"outputs": [],
"stateMutability": "nonpayable",
"name": "stakeClaimedAmounts",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"

@@ -1979,3 +1102,3 @@ },

],
"name": "stakeClaimedAmounts",
"name": "stakeEpochReward",
"outputs": [

@@ -2278,15 +1401,9 @@ {

{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"inputs": [],
"name": "stakingLastBlockNumber",
"outputs": [
{
"internalType": "bool",
"internalType": "uint256",
"name": "",
"type": "bool"
"type": "uint256"
}

@@ -2300,13 +1417,13 @@ ],

{
"internalType": "uint256",
"name": "numberOfDlps",
"type": "uint256"
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "topDlpIds",
"name": "supportsInterface",
"outputs": [
{
"internalType": "uint256[]",
"internalType": "bool",
"name": "",
"type": "uint256[]"
"type": "bool"
}

@@ -2340,55 +1457,8 @@ ],

{
"internalType": "uint256",
"name": "dlpId",
"type": "uint256"
},
{
"components": [
{
"internalType": "address",
"name": "dlpAddress",
"type": "address"
},
{
"internalType": "address",
"name": "ownerAddress",
"type": "address"
},
{
"internalType": "address payable",
"name": "treasuryAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "stakersPercentage",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "iconUrl",
"type": "string"
},
{
"internalType": "string",
"name": "website",
"type": "string"
},
{
"internalType": "string",
"name": "metadata",
"type": "string"
}
],
"internalType": "struct IDLPRoot.DlpRegistration",
"name": "dlpUpdateInfo",
"type": "tuple"
"internalType": "address",
"name": "newDlpRootCoreAddress",
"type": "address"
}
],
"name": "updateDlp",
"name": "updateDlpRootCore",
"outputs": [],

@@ -2401,8 +1471,8 @@ "stateMutability": "nonpayable",

{
"internalType": "uint256",
"name": "newDlpEligibilityThreshold",
"type": "uint256"
"internalType": "address",
"name": "newDlpRootEpochAddress",
"type": "address"
}
],
"name": "updateDlpEligibilityThreshold",
"name": "updateDlpRootEpoch",
"outputs": [],

@@ -2415,8 +1485,8 @@ "stateMutability": "nonpayable",

{
"internalType": "uint256",
"name": "newDlpSubEligibilityThreshold",
"type": "uint256"
"internalType": "address",
"name": "newDlpRootMetricsAddress",
"type": "address"
}
],
"name": "updateDlpSubEligibilityThreshold",
"name": "updateDlpRootMetrics",
"outputs": [],

@@ -2429,8 +1499,8 @@ "stateMutability": "nonpayable",

{
"internalType": "uint256",
"name": "newEligibleDlpsLimit",
"type": "uint256"
"internalType": "address",
"name": "newDlpRootRewardsTreasuryAddress",
"type": "address"
}
],
"name": "updateEligibleDlpsLimit",
"name": "updateDlpRootRewardsTreasury",
"outputs": [],

@@ -2443,8 +1513,8 @@ "stateMutability": "nonpayable",

{
"internalType": "uint256",
"name": "newEpochDlpsLimit",
"type": "uint256"
"internalType": "address",
"name": "newDlpRootStakesTreasuryAddress",
"type": "address"
}
],
"name": "updateEpochDlpsLimit",
"name": "updateDlpRootStakesTreasury",
"outputs": [],

@@ -2458,7 +1528,7 @@ "stateMutability": "nonpayable",

"internalType": "uint256",
"name": "newEpochRewardAmount",
"name": "newMinStakeAmount",
"type": "uint256"
}
],
"name": "updateEpochRewardAmount",
"name": "updateMinStakeAmount",
"outputs": [],

@@ -2472,7 +1542,7 @@ "stateMutability": "nonpayable",

"internalType": "uint256",
"name": "newEpochSize",
"name": "newRewardClaimDelay",
"type": "uint256"
}
],
"name": "updateEpochSize",
"name": "updateRewardClaimDelay",
"outputs": [],

@@ -2486,7 +1556,7 @@ "stateMutability": "nonpayable",

"internalType": "uint256",
"name": "newMaxDlpStakersPercentage",
"name": "newStakingLastBlockNumber",
"type": "uint256"
}
],
"name": "updateMaxDlpStakersPercentage",
"name": "updateStakeLastBlockNumber",
"outputs": [],

@@ -2500,7 +1570,7 @@ "stateMutability": "nonpayable",

"internalType": "uint256",
"name": "newMinDlpRegistrationStake",
"name": "newStakeWithdrawalDelay",
"type": "uint256"
}
],
"name": "updateMinDlpRegistrationStake",
"name": "updateStakeWithdrawalDelay",
"outputs": [],

@@ -2513,8 +1583,8 @@ "stateMutability": "nonpayable",

{
"internalType": "uint256",
"name": "newMinDlpStakersPercentage",
"type": "uint256"
"internalType": "address",
"name": "trustedForwarderAddress",
"type": "address"
}
],
"name": "updateMinDlpStakersPercentage",
"name": "updateTrustedForwarder",
"outputs": [],

@@ -2527,47 +1597,8 @@ "stateMutability": "nonpayable",

{
"internalType": "uint256",
"name": "newMinStakeAmount",
"type": "uint256"
}
],
"name": "updateMinStakeAmount",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newRewardClaimDelay",
"type": "uint256"
}
],
"name": "updateRewardClaimDelay",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newStakeWithdrawalDelay",
"type": "uint256"
}
],
"name": "updateStakeWithdrawalDelay",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "trustedForwarderAddress",
"name": "newVanaPoolStakingAddress",
"type": "address"
}
],
"name": "updateTrustedForwarder",
"name": "updateVanaPoolStaking",
"outputs": [],

@@ -2597,2 +1628,15 @@ "stateMutability": "nonpayable",

"inputs": [],
"name": "vanaPoolStaking",
"outputs": [
{
"internalType": "contract IVanaPoolStaking",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "version",

@@ -2626,2 +1670,2 @@ "outputs": [

}
]
]

@@ -1283,2 +1283,2 @@ [

}
]
]