TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 8,354 txns
Deployed by via 0x41bb568f at 19489985
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $12,360.51
0xbb05d90695d29d1e7a128b66364662ce27e327779605b0d086635099f78a2ed8
0xc5914234c04f5a0357691fb72ed45fc114f76b0166c4596a2bc4d8dc335ed5f1
0x250d4179a5fe2f763d6a1f53fb1821985d034104ef197d5302b4a45f7af06c12
0x1bffdce1a76be281412cc552deab33926c87da2ad622b39f56005e03f77c3d9f
0x5a35d7a409bb7cbf94b905096589af5f90a942f8b254e5267564e1f60ef3105b
0x3664c9ec1398d24db913cd3de50db0a36775d7bdfa3c18e8039f0ecb076a4358
0x5c7a2c8fe20eef67fae5aa2aa26fd66bac2ad22b8260213f6199541cb9a52767
0xc1d6328559774faa1296b8d3e02b91cab7640c91c0e65a58cb77239302cbabf1
0xbdb26520ce1ab7bd8dfd6e2234c4fb55e654002ff01b073ea583fcb23d433dce
0xe04e25c529de57faf2ff5a41f2be5373bc18d83259b5969c3a01ff21c3c6751f

Functions
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(addressview returns (bool)
estimateFee(uint256 modelIduint256 gasLimitview returns (uint256)
estimateFeeBatch(uint256 modelIduint256 gasLimituint256 batchSizeview returns (uint256)
getModel(uint256 modelIdview returns (struct AIOracleModelData)
getOutputHash(uint256 requestIdview returns (bytes32)
isFinalized(uint256 requestIdview returns (bool)
modelIDs(uint256view returns (uint256)
outputOfRequest(uint256view returns (bytes)
requests(uint256view returns (address accountuint256 requestIduint256 modelIdbytes inputaddress callbackContractuint64 gasLimitbytes callbackData)
whitelist(addressview returns (bool)
State-modifying
addToBlacklist(address _address
addToWhitelist(address _address
claimModelRevenue(uint256 modelId
confirm(uint256 requestIdbytes32 outputHash
invokeCallback(uint256 requestIdbytes output
removeFromBlacklist(address _address
removeFromWhitelist(address _address
removeModel(uint256 modelId
requestBatchInference(uint256 batchSizeuint256 modelIdbytes inputaddress callbackContractuint64 gasLimitbytes callbackDatauint8 inputDAuint8 outputDApayable returns (uint256)
requestCallback(uint256 modelIdbytes inputaddress callbackContractuint64 gasLimitbytes callbackDatapayable returns (uint256)
requestCallback(uint256 modelIdbytes inputaddress callbackContractuint64 gasLimitbytes callbackDatauint8 inputDAuint8 outputDApayable returns (uint256)
resetGasPrice(
resetModelIDs(
setFinancialAdmin(address _admin
setModelFee(uint256 modelIduint256 _fee
setModelReceiver(uint256 modelIdaddress receiver
setModelReceiverPercentage(uint256 modelIduint256 receiverPercentage
setOpml(address newOpml
transferOwnership(address newOwner
updateModel(uint256 modelIdbytes32 modelHashbytes32 programHashuint256 feeaddress receiveruint256 receiverPercentage
updateResult(uint256 requestIdbytes output
uploadModel(uint256 modelIdbytes32 modelHashbytes32 programHashuint256 feeaddress receiveruint256 receiverPercentage
withdraw(
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
AICallbackRequest(address indexed accountuint256 indexed requestIduint256 modelIdbytes inputaddress callbackContractuint64 gasLimitbytes callbackData
AICallbackRequest(address indexed accountuint256 indexed requestIduint256 modelIdbytes inputaddress callbackContractuint64 gasLimitbytes callbackDatauint8 inputDAuint8 outputDAuint256 batchSize
AICallbackResult(address indexed accountuint256 indexed requestIdaddress invokerbytes output
Constructor
constructor(address _logicaddress initialOwnerbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidAdmin(address admin
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
ProxyDeniedAdminAccess(