AIOracle
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
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 "AIOracle"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "AIOracle"
ABI
ABI objects
Getter at block 21157933
callbackFunctionSelector() view returns (bytes4)
0xb0347814
financialAdmin() view returns (address)
0x0000000000000000000000000000000000000000
gasPrice() view returns (uint256)
0
numberOfModels() view returns (uint256)
0
opml() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
server() view returns (address)
0xf5aeb5a4b35be7af7dbfdb765f99bcf479c917bd
Read-only
blacklist(address) view returns (bool)
estimateFee(uint256 modelId, uint256 gasLimit) view returns (uint256)
estimateFeeBatch(uint256 modelId, uint256 gasLimit, uint256 batchSize) view returns (uint256)
getModel(uint256 modelId) view returns (struct AIOracleModelData)
getOutputHash(uint256 requestId) view returns (bytes32)
isFinalized(uint256 requestId) view returns (bool)
modelIDs(uint256) view returns (uint256)
outputOfRequest(uint256) view returns (bytes)
requests(uint256) view returns (address account, uint256 requestId, uint256 modelId, bytes input, address callbackContract, uint64 gasLimit, bytes callbackData)
whitelist(address) view returns (bool)
State-modifying
Events addToBlacklist(address _address)
addToWhitelist(address _address)
claimModelRevenue(uint256 modelId)
confirm(uint256 requestId, bytes32 outputHash)
invokeCallback(uint256 requestId, bytes output)
removeFromBlacklist(address _address)
removeFromWhitelist(address _address)
removeModel(uint256 modelId)
requestBatchInference(uint256 batchSize, uint256 modelId, bytes input, address callbackContract, uint64 gasLimit, bytes callbackData, uint8 inputDA, uint8 outputDA) payable returns (uint256)
requestCallback(uint256 modelId, bytes input, address callbackContract, uint64 gasLimit, bytes callbackData) payable returns (uint256)
requestCallback(uint256 modelId, bytes input, address callbackContract, uint64 gasLimit, bytes callbackData, uint8 inputDA, uint8 outputDA) payable returns (uint256)
resetGasPrice()
resetModelIDs()
setFinancialAdmin(address _admin)
setModelFee(uint256 modelId, uint256 _fee)
setModelReceiver(uint256 modelId, address receiver)
setModelReceiverPercentage(uint256 modelId, uint256 receiverPercentage)
setOpml(address newOpml)
transferOwnership(address newOwner)
updateModel(uint256 modelId, bytes32 modelHash, bytes32 programHash, uint256 fee, address receiver, uint256 receiverPercentage)
updateResult(uint256 requestId, bytes output)
uploadModel(uint256 modelId, bytes32 modelHash, bytes32 programHash, uint256 fee, address receiver, uint256 receiverPercentage)
withdraw()
AICallbackRequest(address indexed account, uint256 indexed requestId, uint256 modelId, bytes input, address callbackContract, uint64 gasLimit, bytes callbackData)
AICallbackRequest(address indexed account, uint256 indexed requestId, uint256 modelId, bytes input, address callbackContract, uint64 gasLimit, bytes callbackData, uint8 inputDA, uint8 outputDA, uint256 batchSize)
AICallbackResult(address indexed account, uint256 indexed requestId, address invoker, bytes output)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.