AgentInference

Verified contract

Implementation

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

No balances found for "AgentInference"

No transactions found for "AgentInference"


Functions
Getter at block 22034224
ADMIN_ROLE(view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
agentNft(view returns (address)
0x0000000000000000000000000000000000000000
token(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
inferenceCount(uint256 agentIdview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
grantRole(bytes32 roleaddress account
initialize(address defaultAdmin_address token_address agentNft_
prompt(bytes32 promptHashuint256[] agentIdsuint256[] amountsuint8[][] coreIds
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
Events
Initialized(uint64 version
Prompt(address indexed senderbytes32 promptHashuint256 agentIduint256 costuint8[] coreIds
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
InvalidInitialization(
NotInitializing(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token