AgentNftV2

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xb8cdf7f5 at 19369412
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "AgentNftV2"

No transactions found for "AgentNftV2"


Functions
Getter at block 22723109
ADMIN_ROLE(view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
VALIDATOR_ADMIN_ROLE(view returns (bytes32)
0xfa3e63d5771fd4999b619dee634be9dbb03c309738cc2adaadd49c4f5595adb0
getContributionNft(view returns (address)
0x0000000000000000000000000000000000000000
getEloCalculator(view returns (address)
0x0000000000000000000000000000000000000000
getServiceNft(view returns (address)
0x0000000000000000000000000000000000000000
name(view returns (string)
nextVirtualId(view returns (uint256)
0
symbol(view returns (string)
 
totalSupply(view returns (uint256)
Read-only
balanceOf(address ownerview returns (uint256)
coreTypes(uint8view returns (string)
getAllServices(uint256 virtualIdview returns (uint256[])
getApproved(uint256 tokenIdview returns (address)
getPastValidatorScore(uint256 virtualIdaddress validatoruint256 timepointview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getVotes(uint256 virtualIdaddress validatorview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
isBlacklisted(uint256 virtualIdview returns (bool)
isValidator(uint256 virtualIdaddress accountview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
stakingTokenToVirtualId(address stakingTokenview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 tokenIdview returns (string)
totalProposals(uint256 virtualIdview returns (uint256)
totalStaked(uint256 virtualIdview returns (uint256)
totalUptimeScore(uint256 virtualIdview returns (uint256)
validatorAt(uint256 virtualIduint256 indexview returns (address)
validatorCount(uint256 virtualIdview returns (uint256)
validatorScore(uint256 virtualIdaddress validatorview returns (uint256)
virtualInfo(uint256 virtualIdview returns (struct IAgentNftVirtualInfo)
virtualInfos(uint256view returns (address daoaddress tokenaddress founderaddress tba)
virtualLP(uint256 virtualIdview returns (struct IAgentNftVirtualLP)
virtualLPs(uint256view returns (address pooladdress veToken)
State-modifying
addCoreType(string label
addValidator(uint256 virtualIdaddress validator
approve(address touint256 tokenId
grantRole(bytes32 roleaddress account
initialize(address defaultAdmin
migrateScoreFunctions(
migrateVirtual(uint256 virtualIdaddress daoaddress tokenaddress pooladdress veToken
mint(uint256 virtualIdaddress tostring newTokenURIaddress theDAOaddress founderuint8[] coreTypesaddress pooladdress tokenreturns (uint256)
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
setApprovalForAll(address operatorbool approved
setBlacklist(uint256 virtualIdbool value
setContributionService(address contributionNft_address serviceNft_
setCoreTypes(uint256 virtualIduint8[] coreTypes
setDAO(uint256 virtualIdaddress newDAO
setEloCalculator(address eloCalculator
setTBA(uint256 virtualIdaddress tba
setTokenURI(uint256 virtualIdstring newTokenURI
transferFrom(address fromaddress touint256 tokenId
Events
AgentBlacklisted(uint256 indexed virtualIdbool value
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BatchMetadataUpdate(uint256 _fromTokenIduint256 _toTokenId
CoresUpdated(uint256 virtualIduint8[] coreTypes
Initialized(uint64 version
MetadataUpdate(uint256 _tokenId
NewCoreType(uint8 coreTypestring label
NewValidator(uint256 virtualIdaddress account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
ERC721IncorrectOwner(address senderuint256 tokenIdaddress owner
ERC721InsufficientApproval(address operatoruint256 tokenId
ERC721InvalidApprover(address approver
ERC721InvalidOperator(address operator
ERC721InvalidOwner(address owner
ERC721InvalidReceiver(address receiver
ERC721InvalidSender(address sender
ERC721NonexistentToken(uint256 tokenId
InvalidInitialization(
NotInitializing(