Hi, 你好
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import '@openzeppelin/contracts/access/Ownable.sol'; | |
import '@openzeppelin/contracts/utils/math/SafeMath.sol'; | |
contract Fundraiser is Ownable { | |
using SafeMath for 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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
import "@openzeppelin/[email protected]/token/ERC20/ERC20.sol"; | |
import "@openzeppelin/[email protected]/token/ERC20/extensions/draft-ERC20Permit.sol"; | |
contract MyToken is ERC20, ERC20Permit { | |
constructor() ERC20("MyToken", "MTK") ERC20Permit("MyToken") {} | |
function mint(address to, uint256 value) external { |
Open Zeppelin provides security products to build, automate, and operate decentralized applications and has a full suite of battle-tested and audited smart-contracts for the EVM including:
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
/** This example code is designed to quickly deploy an example contract using Remix. | |
* If you have never used Remix, try our example walkthrough: https://docs.chain.link/docs/example-walkthrough | |
* You will need testnet ETH and LINK. | |
* - Ropsten ETH faucet: https://faucet.ropsten.be/ | |
* - Ropsten LINK faucet: https://ropsten.chain.link/ | |
*/ | |
pragma solidity ^0.6.0; | |
import "https://raw.githubusercontent.com/smartcontractkit/chainlink/develop/evm-contracts/src/v0.6/ChainlinkClient.sol"; |
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": 1, | |
"name": "王銘德", | |
"amount": 345.33, | |
"Remark": "Pays on time" | |
}, | |
{ | |
"id": 2, | |
"name": "Sam \"Mad Dog\" Smith", |
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_total": true, "resource_id": "8ff027dc-2da2-42e8-85de-78ac3faf470e", "fields": [{"info": {"notes": "", "label": "\u6e2c\u7ad9\u540d\u7a31"}, "type": "text", "id": "SiteName"}, {"info": {"notes": "", "label": "\u7e23\u5e02"}, "type": "text", "id": "County"}, {"info": {"notes": "", "label": "\u7a7a\u6c23\u54c1\u8cea\u6307\u6a19"}, "type": "text", "id": "AQI"}, {"info": {"notes": "", "label": "\u7a7a\u6c23\u6c61\u67d3\u6307\u6a19\u7269"}, "type": "text", "id": "Pollutant"}, {"info": {"notes": "", "label": "\u72c0\u614b"}, "type": "text", "id": "Status"}, {"info": {"notes": "", "label": "\u4e8c\u6c27\u5316\u786b(ppb)"}, "type": "text", "id": "SO2"}, {"info": {"notes": "", "label": "\u4e00\u6c27\u5316\u78b3(ppm)"}, "type": "text", "id": "CO"}, {"info": {"notes": "", "label": "\u4e00\u6c27\u5316\u78b38\u5c0f\u6642\u79fb\u52d5\u5e73\u5747(ppm)"}, "type": "text", "id": "CO_8hr"}, {"info": {"notes": "", "label": "\u81ed\u6c27(ppb)"}, "type": "text", "id": "O3"}, {"info": {"notes": "", "label": "\u81ed\u6c278 |
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
--- | |
- hosts: gluster | |
become: true | |
vars: | |
gluster_mount_dir: /mnt/g1 | |
gluster_brick_dir: /bricks/brick1 | |
gluster_brick_name: g1 | |
tasks: | |
- name: Install parted |
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
Aardvark | |
Aardwolf | |
African Buffalo | |
African Elephant | |
African Leopard | |
Albatross | |
Alligator | |
Alpaca | |
Alpaca | |
American Buffalo (bison) |
Dr. Mark B Lundeberg, 2018 Feb 15
bitcoincash:qqy9myvyt7qffgye5a2mn2vn8ry95qm6asy40ptgx2
This security advisory notes a vulnerability in the common construction of cross-chain smart contracts (contracts between distinct cryptocurrencies) through hash locking. I focus on the primary use case in [atomic
NewerOlder