Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. {
  2. "name": "OraclePOA",
  3. "engine": {
  4. "authorityRound": {
  5. "params": {
  6. "stepDuration": "5",
  7. "validators" : {
  8. "list": [
  9. "0x0038ba71301213d9508ce44fd25272d83b1c5dae",
  10. "0x002e9ac8fef5ab0d0591488860562438ab154bd4"
  11. ]
  12. }
  13. }
  14. }
  15. },
  16. "params": {
  17. "gasLimitBoundDivisor": "0x400",
  18. "maximumExtraDataSize": "0x20",
  19. "minGasLimit": "0x1388",
  20. "networkID" : "0x2323",
  21. "maxCodeSize": "0x6000",
  22. "eip155Transition": 0,
  23. "validateChainIdTransition": 0,
  24. "eip140Transition": 0,
  25. "eip211Transition": 0,
  26. "eip214Transition": 0,
  27. "eip658Transition": 0
  28. },
  29. "genesis": {
  30. "seal": {
  31. "authorityRound": {
  32. "step": "0x0",
  33. "signature": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
  34. }
  35. },
  36. "difficulty": "0x100000",
  37. "gasLimit": "0x1000000"
  38. },
  39. "accounts": {
  40. "0x0000000000000000000000000000000000000001": { "balance": "1", "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } },
  41. "0x0000000000000000000000000000000000000002": { "balance": "1", "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } },
  42. "0x0000000000000000000000000000000000000003": { "balance": "1", "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } },
  43. "0x0000000000000000000000000000000000000004": { "balance": "1", "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } },
  44. "0x00d695cd9b0ff4edc8ce55b493aec495b597e235": { "balance": "10000000000000000000000" },
  45. "0x001ca0bb54fcc1d736ccd820f14316dedaafd772": { "balance": "10000000000000000000000" }
  46. }
  47. }
  48.  
  49. [parity]
  50. chain = "oracle-spec.json"
  51. base_path = "/myOracle/parity0"
  52. [network]
  53. port = 30300
  54. [rpc]
  55. port = 8540
  56. apis = ["web3", "eth", "net", "personal", "parity", "parity_set", "traces", "rpc", "parity_accounts"]
  57. [websockets]
  58. port = 8450
  59. [account]
  60. password = ["authNode0.pwds"]
  61. [mining]
  62. engine_signer = "0x0038ba71301213d9508ce44fd25272d83b1c5dae"
  63. reseal_on_txs = "none"
  64. usd_per_tx = "0"
  65.  
  66. pragma solidity 0.5.7;
  67. contract Sample{
  68. //address of owner
  69. address payable owner;
  70.  
  71. //whoever deploys contract is the owner
  72. constructor() public{
  73. owner = msg.sender;
  74. }
  75.  
  76. function doSomething() external payable {
  77. int i = 10 + 10;
  78. i++;
  79. }
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement