{
"rpc": "https://<network>.infura.io",
"keys": ["put-your-priv-key-here"]
}
| { | |
| "genesis_time": "2019-05-22T15:22:02.099215Z", | |
| "chain_id": "euler-5-dev", | |
| "consensus_params": { | |
| "block": { | |
| "max_bytes": "22020096", | |
| "max_gas": "-1", | |
| "time_iota_ms": "1000" | |
| }, | |
| "evidence": { |
| const { | |
| Codec, | |
| FieldOptions, | |
| TypeFactory, | |
| Utils, | |
| Types, | |
| WireTypes, | |
| } = require('../index'); | |
| let StdTx = TypeFactory.create('StdTx', [{ |
| const { | |
| Codec, | |
| FieldOptions, | |
| TypeFactory, | |
| Utils, | |
| Types, | |
| WireTypes, | |
| } = require('../index'); | |
| let StdTx = TypeFactory.create('StdTx', [{ |
| // ___________________________________________________ | |
| ch := make(chan int64, 100000) | |
| var wg sync.WaitGroup | |
| var lock1 sync.Mutex | |
| var lock2 sync.Mutex | |
| wg.Add(int(cidsCount)) | |
| // the worker's function | |
| f := func(i int64) { |
Cyber Unicorn Task
35 GCYB (~4 ETH)
| pragma solidity ^0.6.0; | |
| import { IERC20 } from "github.com/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol"; | |
| library CTHelpers { | |
| /// @dev Constructs a condition ID from an oracle, a question ID, and the outcome slot count for the question. | |
| /// @param oracle The account assigned to report the result for the prepared condition. | |
| /// @param questionId An identifier for the question to be answered by the oracle. | |
| /// @param outcomeSlotCount The number of outcome slots which should be used for this condition. Must not exceed 256. | |
| function getConditionId(address oracle, bytes32 questionId, uint outcomeSlotCount) internal pure returns (bytes32) { |
| # Palkeoramix decompiler. | |
| def storage: | |
| owner is addr at storage 0 | |
| stor1 is array of struct at storage 1 | |
| stor2 is array of struct at storage 2 | |
| ownerOf is mapping of struct at storage 3 | |
| balanceOf is mapping of uint256 at storage 4 | |
| approved is mapping of addr at storage 5 | |
| stor6 is mapping of uint8 at storage 6 |
| nodes: | |
| - id: webcam | |
| custom: | |
| source: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/opencv_stream.py | |
| outputs: | |
| - image | |
| - id: idefics2 | |
| operator: | |
| python: https://huggingface.co/datasets/dora-rs/dora-idefics2/raw/main/operators/idefics2_op.py | |
| inputs: |