Ojo
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
13
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 "Ojo"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Ojo"
ABI
ABI objects
Getter at block 21285262
assetLimit() view returns (uint16)
0
contractId() pure returns (bytes32)
0x331724e08ee8dc248abb9e1f19f077d67e0b8ef54c0a4d6851c8bf5bbc139d96
gasReceiver() view returns (address)
0x2d5d7d31f671f86c782533cc367f14109a082712
gateway() view returns (address)
0x4f4495243837681061c4743b74b3eedf548d56a5
implementation() view returns (address implementation_)
0x0000000000000000000000000000000000000000
ojoAddress() view returns (string)
ojoChain() view returns (string)
owner() view returns (address owner_)
0x0000000000000000000000000000000000000001
pendingOwner() view returns (address owner_)
0x0000000000000000000000000000000000000000
resolveWindow() view returns (uint256)
0
Read-only
getExpressExecutor(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash) view returns (address expressExecutor)
getExpressExecutorWithToken(bytes32 commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, string symbol, uint256 amount) view returns (address expressExecutor)
getPrice(bytes32 baseAssetName, bytes32 quoteAssetName) view returns (struct OjoTypesPrice)
getPriceData(bytes32 assetName) view returns (struct OjoTypesPriceData)
getPriceDataBulk(bytes32[] assetNames) view returns (struct OjoTypesPriceData[] _priceData)
priceData(bytes32) view returns (bytes32 assetName, uint256 price, uint256 resolveTime, struct OjoTypesMedianData medianData)
State-modifying
Events acceptOwnership()
callContractMethodWithOjoPriceData(bytes32[] assetNames, address contractAddress, bytes4 commandSelector, bytes commandParams) payable
callContractMethodWithOjoPriceDataAndToken(bytes32[] assetNames, address contractAddress, bytes4 commandSelector, bytes commandParams, string symbol, uint256 amount) payable
execute(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload)
executeWithToken(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload, string tokenSymbol, uint256 amount)
expressExecute(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload) payable
expressExecuteWithToken(bytes32 commandId, string sourceChain, string sourceAddress, bytes payload, string symbol, uint256 amount) payable
proposeOwnership(address newOwner)
setup(bytes data)
transferOwnership(address newOwner)
updateAssetLimit(uint8 assetLimit_)
updateOjoAddress(string ojoAddress_)
updateOjoChain(string ojoChain_)
updateResolveWindow(uint256 resolveWindow_)
upgrade(address newImplementation, bytes32 newImplementationCodeHash, bytes params)
ExpressExecuted(bytes32 indexed commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, address indexed expressExecutor)
ExpressExecutedWithToken(bytes32 indexed commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, string symbol, uint256 indexed amount, address indexed expressExecutor)
ExpressExecutionFulfilled(bytes32 indexed commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, address indexed expressExecutor)
ExpressExecutionWithTokenFulfilled(bytes32 indexed commandId, string sourceChain, string sourceAddress, bytes32 payloadHash, string symbol, uint256 indexed amount, address indexed expressExecutor)
OwnershipTransferStarted(address indexed newOwner)
OwnershipTransferred(address indexed newOwner)
PriceDataPosted(uint256 indexed timestamp)
Upgraded(address indexed newImplementation)
constructor(address gateway_, address gasReceiver_)
This contract contains no fallback and receive objects.
AlreadyExecuted()
AlreadyInitialized()
ExpressExecutorAlreadySet()
InsufficientValue()
InvalidAddress()
InvalidCodeHash()
InvalidImplementation()
InvalidOwner()
InvalidOwnerAddress()
NotApprovedByGateway()
NotOwner()
NotProxy()
SetupFailed()
TokenTransferFailed()