This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 0, | |
"jsonrpc": "2.0", | |
"result": { | |
"status": true, | |
"gasUsed": "0x560f3", | |
"cumulativeGasUsed": "0x560f3", | |
"blockNumber": "0xf629e2", | |
"type": "0x0", | |
"logsBloom": "0x00000000000000000000000000000000000000400000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000008000000200000000000000000000000000500000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000001000000000400000000000000000000000000000080000000000000000400000000020000000000000100000000000000000", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated from Solidity.g4 by ANTLR 4.9.3 | |
# encoding: utf-8 | |
# CC: André Storhaug; https://github.com/andstor/solidity-universal-parser mwah! | |
from antlr4 import * | |
from io import StringIO | |
import sys | |
if sys.version_info[1] > 5: | |
from typing import TextIO | |
else: | |
from typing.io import TextIO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/hex" | |
"fmt" | |
"github.com/ava-labs/avalanchego/utils/crypto" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.6.2; | |
@import "https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4626.md"; | |
contract RevenueDistributionToken is ERC20, ERC20Burnable, ERC20Mintable, ERC20Pausable { | |
string public constant name = "RevenueDistributionToken"; | |
string public constant symbol = "RDT"; | |
uint8 public constant decimals = 18; | |
uint256 public constant totalSupply = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool CBlockIndexWorkComparator::operator()(const CBlockIndex *pa, const CBlockIndex *pb) const { | |
// First sort by most total work, ... | |
if (pa->nChainWork > pb->nChainWork) return false; | |
if (pa->nChainWork < pb->nChainWork) return true; | |
// ... then by earliest time received, ... | |
if (pa->nSequenceId < pb->nSequenceId) return false; | |
if (pa->nSequenceId > pb->nSequenceId) return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <chainparams.h> | |
#include <chainparamsseeds.h> | |
#include <consensus/merkle.h> | |
#include <tinyformat.h> | |
#include <util/system.h> | |
#include <util/strencodings.h> | |
#include <versionbitsinfo.h> | |
#include <assert.h> |