ckb-rich-node RPC base on ckb-rpc and ckb-indexer-rpc.
Both RPCs are JSON-RPC protocol, more information can refer to ckb-rich-node.
pragma solidity ^0.4.25; | |
contract Donation { | |
uint fundLimit = 1 ether; | |
address owner; | |
event fundMoved(address _to, uint _amount); | |
modifier onlyowner { if (msg.sender == owner) _; } | |
address[] _giver; | |
uint[] _values; |
Verifying my Blockstack ID is secured with the address 126aVHrFrwL6Y9jFBnTugnYt9Fb82yG5be https://explorer.blockstack.org/address/126aVHrFrwL6Y9jFBnTugnYt9Fb82yG5be |
yarn run v1.17.3 | |
$ ./scripts/start-worker.sh watcher affirmation-request-watcher | |
[1568900257870] INFO (watcher-native-erc-affirmation-request): Connected to redis | |
[1568900257888] DEBUG (watcher-native-erc-affirmation-request): Last Processed block obtained | |
fromRedis: "13596650" | |
fromConfig: "13588055" | |
[1568900257909] INFO (watcher-native-erc-affirmation-request): Connected to amqp Broker | |
[1568900258891] DEBUG (watcher-native-erc-affirmation-request): Getting block number | |
module: "web3" | |
[1568900258894] DEBUG (watcher-native-erc-affirmation-request): Getting required block confirmations |
ckb-rich-node RPC base on ckb-rpc and ckb-indexer-rpc.
Both RPCs are JSON-RPC protocol, more information can refer to ckb-rich-node.
abstract class Dough { | |
} | |
class ThinDough extends Dough { | |
} | |
class ThickDough extends Dough { | |
} |
// File: contracts/zeppelin/upgradable/Initializable.sol | |
pragma solidity >=0.4.24 <0.6.0; | |
/** | |
* @title Initializable | |
* | |
* @dev Helper contract to support initializer functions. To use it, replace |
/** | |
*Submitted for verification at Etherscan.io on 2017-12-12 | |
*/ | |
// Copyright (C) 2015, 2016, 2017 Dapphub | |
// This program is free software: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, either version 3 of the License, or | |
// (at your option) any later version. |
pragma solidity ^0.4.18; | |
contract D { | |
uint public realN; | |
address public realSender; | |
function delegatecallSetN(address _e, uint _n) public { | |
_e.delegatecall(bytes4(keccak256("setN(uint256)")), _n); // D's storage is set, E is not modified | |
} | |
} |