TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 8,354 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xbed0…891d
Balances ($12,360.51)
Native
Value
$12,360.51
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 3.704646 | $3,336.49 |
$12,360.51 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21245402 | 7 hours ago | | | 0 | 0.0010145275 | |
| 21245389 | 7 hours ago | | | 0 | 0.00095195101 | |
| 21239091 | a day ago | | | 0 | 0.0010154728 | |
| 21239077 | a day ago | | | 0 | 0.00093584126 | |
| 21233157 | 2 days ago | | | 0 | 0.00097850415 | |
| 21232600 | 2 days ago | | | 0 | 0.00060439832 | |
| 21232415 | 2 days ago | | | 0 | 0.00089527709 | |
| 21228965 | 3 days ago | | | 0 | 0.00074045262 | |
| 21228513 | 3 days ago | | | 0 | 0.00064873115 | |
| 21228457 | 3 days ago | | | 0 | 0.00074659746 |
ABI
ABI objects
Getter at block 21247448
callbackFunctionSelector() view returns (bytes4)
0xb0347814
financialAdmin() view returns (address)
0x0000000000000000000000000000000000000000
gasPrice() view returns (uint256)
21258112449
numberOfModels() view returns (uint256)
5
opml() view returns (address)
0xbed0575b7c380ada1494bd0602da9a0dc738891d
owner() view returns (address)
0xf5aeb5a4b35be7af7dbfdb765f99bcf479c917bd
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()
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
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)
constructor(address _logic, address initialOwner, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidAdmin(address admin)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
ProxyDeniedAdminAccess()