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
# FOR ETHER -> | |
web3.eth.getTransactionCount(this.address).then(txCount => { | |
const txData = { | |
nonce: web3.utils.toHex(txCount), | |
gasLimit: web3.utils.toHex(100000), | |
gasPrice: web3.utils.toHex( YOUR_GAS_PRICE), // 10-15 gwei should be ok | |
to: this.toAddress, | |
from: this.address, |
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
{ | |
"config" : { | |
"chainId" : 4444, | |
"muirglacierblock" : 0, | |
"ibft2" : { | |
"blockperiodseconds" : 3, | |
"epochlength" : 30000, | |
"requesttimeoutseconds" : 4 | |
} | |
}, |
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
// File: @openzeppelin/contracts/GSN/Context.sol | |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.7.5; | |
/* | |
* @dev Provides information about the current execution context, including the | |
* sender of the transaction and its data. While these are generally available | |
* via msg.sender and msg.data, they should not be accessed in such a direct |
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
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | |
<meta | |
name="description" | |
content="The Future of Grenfell Tower - A vote by the community, for the community" | |
/> | |
<meta name="author" content="LWRA" /> | |
<title>The Future of Grenfell Tower</title> | |
<!-- Open Graph tags for Facebook --> | |
<meta |
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.5.16; | |
interface IBEP20 { | |
function totalSupply() external view returns (uint256); | |
function decimals() external view returns (uint8); | |
function symbol() external view returns (string memory); | |
function name() external view returns (string memory); | |
function getOwner() external view returns (address); | |
function balanceOf(address account) external view returns (uint256); | |
function transfer(address recipient, uint256 amount) external returns (bool); | |
function allowance(address _owner, address spender) external view returns (uint256); |
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
// hardhat.config.js | |
require("dotenv/config") | |
require("@nomiclabs/hardhat-etherscan") | |
require("@nomiclabs/hardhat-solhint") | |
// require("@nomiclabs/hardhat-solpp") | |
require("@tenderly/hardhat-tenderly") | |
require("@nomiclabs/hardhat-waffle") | |
require("hardhat-abi-exporter") | |
require("hardhat-deploy") | |
require("hardhat-deploy-ethers") |
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
[ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, |
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
//AND Token Binance Smart Chain: 0x19F4e6D283F91BD2C6209F6E54bDC22B0897b5fd | |
//USDA Token Binance Smart Chain: 0x0BCb308E5D5340aFf8f5A06436377159022244aA | |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/* | |
* @dev Provides information about the current execution context, including the | |
* sender of the transaction and its data. While these are generally available | |
* via msg.sender and msg.data, they should not be accessed in such a direct | |
* manner, since when dealing with meta-transactions the account sending and |
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 com.classicharmony.testme2; | |
import android.util.Base64; | |
import android.util.Log; | |
import java.io.UnsupportedEncodingException; | |
import java.security.GeneralSecurityException; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; |
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
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=1r/s; | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
client_max_body_size 5M; |
NewerOlder