AgentNftV2
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "AgentNftV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "AgentNftV2"
ABI
ABI objects
Getter at block 22744113 totalSupply() view returns (uint256)
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)
Read-only
balanceOf(address owner) view returns (uint256)
coreTypes(uint8) view returns (string)
getAllServices(uint256 virtualId) view returns (uint256[])
getApproved(uint256 tokenId) view returns (address)
getPastValidatorScore(uint256 virtualId, address validator, uint256 timepoint) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getVotes(uint256 virtualId, address validator) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForAll(address owner, address operator) view returns (bool)
isBlacklisted(uint256 virtualId) view returns (bool)
isValidator(uint256 virtualId, address account) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
stakingTokenToVirtualId(address stakingToken) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenURI(uint256 tokenId) view returns (string)
totalProposals(uint256 virtualId) view returns (uint256)
totalStaked(uint256 virtualId) view returns (uint256)
totalUptimeScore(uint256 virtualId) view returns (uint256)
validatorAt(uint256 virtualId, uint256 index) view returns (address)
validatorCount(uint256 virtualId) view returns (uint256)
validatorScore(uint256 virtualId, address validator) view returns (uint256)
virtualInfo(uint256 virtualId) view returns (struct IAgentNftVirtualInfo)
virtualInfos(uint256) view returns (address dao, address token, address founder, address tba)
virtualLP(uint256 virtualId) view returns (struct IAgentNftVirtualLP)
virtualLPs(uint256) view returns (address pool, address veToken)
State-modifying
Events addCoreType(string label)
addValidator(uint256 virtualId, address validator)
approve(address to, uint256 tokenId)
grantRole(bytes32 role, address account)
initialize(address defaultAdmin)
migrateScoreFunctions()
migrateVirtual(uint256 virtualId, address dao, address token, address pool, address veToken)
mint(uint256 virtualId, address to, string newTokenURI, address theDAO, address founder, uint8[] coreTypes, address pool, address token) returns (uint256)
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
setApprovalForAll(address operator, bool approved)
setBlacklist(uint256 virtualId, bool value)
setContributionService(address contributionNft_, address serviceNft_)
setCoreTypes(uint256 virtualId, uint8[] coreTypes)
setDAO(uint256 virtualId, address newDAO)
setEloCalculator(address eloCalculator)
setTBA(uint256 virtualId, address tba)
setTokenURI(uint256 virtualId, string newTokenURI)
transferFrom(address from, address to, uint256 tokenId)
AgentBlacklisted(uint256 indexed virtualId, bool value)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
CoresUpdated(uint256 virtualId, uint8[] coreTypes)
Initialized(uint64 version)
MetadataUpdate(uint256 _tokenId)
NewCoreType(uint8 coreType, string label)
NewValidator(uint256 virtualId, address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
constructor()
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
ERC721IncorrectOwner(address sender, uint256 tokenId, address owner)
ERC721InsufficientApproval(address operator, uint256 tokenId)
ERC721InvalidApprover(address approver)
ERC721InvalidOperator(address operator)
ERC721InvalidOwner(address owner)
ERC721InvalidReceiver(address receiver)
ERC721InvalidSender(address sender)
ERC721NonexistentToken(uint256 tokenId)
InvalidInitialization()
NotInitializing()