-
Notifications
You must be signed in to change notification settings - Fork 1
/
genesis.json
96 lines (96 loc) · 22.4 KB
/
genesis.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"config": {
"chainid": 1522,
"berlinBlock": 0,
"qbft": {
"epochlength": 28800,
"blockperiodseconds": 3,
"requesttimeoutseconds": 9,
"validatorcontractaddress": "0x0000000000000000000000000000000000007777",
"blockreward": "5000000000000000000"
},
"transitions": {
"qbft": [
{
"block": 10512000,
"blockreward": "78125000000000000"
},
{
"block": 21024000,
"blockreward": "1220703125000000"
},
{
"block": 31536000,
"blockreward": "19073486328125"
},
{
"block": 42048000,
"blockreward": "298023223876"
},
{
"block": 52560000,
"blockreward": "4656612873"
},
{
"block": 63072000,
"blockreward": "72759576"
},
{
"block": 73584000,
"blockreward": "1136868"
},
{
"block": 84096000,
"blockreward": "17763"
},
{
"block": 94608000,
"blockreward": "277"
},
{
"block": 105120000,
"blockreward": "0"
}
]
}
},
"nonce": "0x0",
"timestamp": "0x0",
"extraData": "0xe5a00000000000000000000000000000000000000000000000000000000000000000c0c080c0",
"gasLimit": "0x01C9C380",
"difficulty": "0x1",
"mixHash": "0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365",
"alloc": {
"0x0000000000000000000000000000000000007777": {
"comment": "validator smart contract",
"balance": "0",
"code": "0x<Contract Code>",
"storage": {
<Storage Object>
}
},
"0x0000000000000000000000000000000000008888": {
"comment": "Account Ingress smart contract",
"balance": "0",
"code": "608060405234801561001057600080fd5b506004361061009e5760003560e01c8063936421d511610066578063936421d51461014b578063a43e04d81461017b578063de8fa431146101ab578063e001f841146101c9578063fe9fbb80146101f95761009e565b80630d2020dd146100a357806310d9042e146100d357806311601306146100f15780631e7c27cb1461010f5780638aa104351461012d575b600080fd5b6100bd60048036038101906100b89190610b9f565b610229565b6040516100ca9190610d86565b60405180910390f35b6100db6102ab565b6040516100e89190610e34565b60405180910390f35b6100f9610303565b6040516101069190610e71565b60405180910390f35b610117610309565b6040516101249190610e71565b60405180910390f35b61013561030f565b6040516101429190610f0c565b60405180910390f35b61016560048036038101906101609190610ac3565b610319565b6040516101729190610e56565b60405180910390f35b61019560048036038101906101909190610b9f565b610439565b6040516101a29190610e56565b60405180910390f35b6101b36106ae565b6040516101c09190610f0c565b60405180910390f35b6101e360048036038101906101de9190610bcc565b6106bb565b6040516101f09190610e56565b60405180910390f35b610213600480360381019061020e9190610a96565b6108b2565b6040516102209190610e56565b60405180910390f35b60008060001b8211610270576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161026790610eec565b60405180910390fd5b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b606060038054806020026020016040519081016040528092919081815260200182805480156102f957602002820191906000526020600020905b8154815260200190600101908083116102e5575b5050505050905090565b60005481565b60015481565b6000600554905090565b60008073ffffffffffffffffffffffffffffffffffffffff1661033d600054610229565b73ffffffffffffffffffffffffffffffffffffffff161415610362576001905061042e565b600260008054815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663936421d5898989898989896040518863ffffffff1660e01b81526004016103db9796959493929190610da1565b60206040518083038186803b1580156103f357600080fd5b505afa158015610407573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042b9190610b72565b90505b979650505050505050565b60008060001b8211610480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047790610eec565b60405180910390fd5b6000600380549050116104c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104bf90610eac565b60405180910390fd5b6104d1336108b2565b610510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050790610e8c565b60405180910390fd5b60006004600084815260200190815260200160002054905060008111801561053d57506003805490508111155b156106a35760038054905081146105cb576000600360016003805490506105649190610f82565b8154811061057557610574611075565b5b906000526020600020015490508060036001846105929190610f82565b815481106105a3576105a2611075565b5b9060005260206000200181905550816004600083815260200190815260200160002081905550505b60038054806105dd576105dc611046565b5b600190038181906000526020600020016000905590556000600460008581526020019081526020016000208190555060006002600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe3d908a1f6d2467f8e7c8198f30125843211345eedb763beb4cdfb7fe728a5af600084604051610691929190610e0b565b60405180910390a160019150506106a9565b60009150505b919050565b6000600380549050905090565b60008060001b8311610702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f990610eec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076990610ecc565b60405180910390fd5b61077b336108b2565b6107ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b190610e8c565b60405180910390fd5b60006004600085815260200190815260200160002054141561081d57600383908060018154018082558091505060019003906000526020600020016000909190919091505560038054905060046000858152602001908152602001600020819055505b816002600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe3d908a1f6d2467f8e7c8198f30125843211345eedb763beb4cdfb7fe728a5af82846040516108a0929190610e0b565b60405180910390a16001905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff1660026000600154815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561092657600190506109e7565b60026000600154815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fe9fbb80836040518263ffffffff1660e01b81526004016109949190610d86565b60206040518083038186803b1580156109ac57600080fd5b505afa1580156109c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e49190610b72565b90505b919050565b6000813590506109fb8161120a565b92915050565b600081519050610a1081611221565b92915050565b600081359050610a2581611238565b92915050565b60008083601f840112610a4157610a406110a9565b5b8235905067ffffffffffffffff811115610a5e57610a5d6110a4565b5b602083019150836001820283011115610a7a57610a796110ae565b5b9250929050565b600081359050610a908161124f565b92915050565b600060208284031215610aac57610aab6110b8565b5b6000610aba848285016109ec565b91505092915050565b600080600080600080600060c0888a031215610ae257610ae16110b8565b5b6000610af08a828b016109ec565b9750506020610b018a828b016109ec565b9650506040610b128a828b01610a81565b9550506060610b238a828b01610a81565b9450506080610b348a828b01610a81565b93505060a088013567ffffffffffffffff811115610b5557610b546110b3565b5b610b618a828b01610a2b565b925092505092959891949750929550565b600060208284031215610b8857610b876110b8565b5b6000610b9684828501610a01565b91505092915050565b600060208284031215610bb557610bb46110b8565b5b6000610bc384828501610a16565b91505092915050565b60008060408385031215610be357610be26110b8565b5b6000610bf185828601610a16565b9250506020610c02858286016109ec565b9150509250929050565b6000610c188383610ca0565b60208301905092915050565b610c2d81610fb6565b82525050565b6000610c3e82610f37565b610c488185610f4f565b9350610c5383610f27565b8060005b83811015610c84578151610c6b8882610c0c565b9750610c7683610f42565b925050600181019050610c57565b5085935050505092915050565b610c9a81610fc8565b82525050565b610ca981610fd4565b82525050565b610cb881610fd4565b82525050565b6000610cca8385610f60565b9350610cd7838584611008565b610ce0836110bd565b840190509392505050565b6000610cf8602b83610f71565b9150610d03826110ce565b604082019050919050565b6000610d1b604783610f71565b9150610d268261111d565b606082019050919050565b6000610d3e602283610f71565b9150610d4982611192565b604082019050919050565b6000610d61602083610f71565b9150610d6c826111e1565b602082019050919050565b610d8081610ffe565b82525050565b6000602082019050610d9b6000830184610c24565b92915050565b600060c082019050610db6600083018a610c24565b610dc36020830189610c24565b610dd06040830188610d77565b610ddd6060830187610d77565b610dea6080830186610d77565b81810360a0830152610dfd818486610cbe565b905098975050505050505050565b6000604082019050610e206000830185610c24565b610e2d6020830184610caf565b9392505050565b60006020820190508181036000830152610e4e8184610c33565b905092915050565b6000602082019050610e6b6000830184610c91565b92915050565b6000602082019050610e866000830184610caf565b92915050565b60006020820190508181036000830152610ea581610ceb565b9050919050565b60006020820190508181036000830152610ec581610d0e565b9050919050565b60006020820190508181036000830152610ee581610d31565b9050919050565b60006020820190508181036000830152610f0581610d54565b9050919050565b6000602082019050610f216000830184610d77565b92915050565b6000819050602082019050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b6000610f8d82610ffe565b9150610f9883610ffe565b925082821015610fab57610faa611017565b5b828203905092915050565b6000610fc182610fde565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e6f7420617574686f72697a656420746f2075706461746520636f6e7472616360008201527f742072656769737472792e000000000000000000000000000000000000000000602082015250565b7f4d7573742068617665206174206c65617374206f6e652072656769737465726560008201527f6420636f6e747261637420746f20657865637574652064656c657465206f706560208201527f726174696f6e2e00000000000000000000000000000000000000000000000000604082015250565b7f436f6e74726163742061646472657373206d757374206e6f74206265207a657260008201527f6f2e000000000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206e616d65206d757374206e6f7420626520656d7074792e600082015250565b61121381610fb6565b811461121e57600080fd5b50565b61122a81610fc8565b811461123557600080fd5b50565b61124181610fd4565b811461124c57600080fd5b50565b61125881610ffe565b811461126357600080fd5b5056fea26469706673582212209933a8d2a4e89358f7f936f63751257eb46380fec7a571ece7511217f002aa4b64736f6c63430008060033",
"storage": {
"0x0000000000000000000000000000000000000000000000000000000000000000": "0x72756c6573000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000001": "0x61646d696e697374726174696f6e000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000005": "0x3d14b8"
}
},
"0x0000000000000000000000000000000000009999": {
"comment": "Node Ingress smart contract",
"balance": "0",
"code": "608060405234801561001057600080fd5b50600436106100a95760003560e01c80634dc3fefc116100715780634dc3fefc146101685780638aa1043514610184578063a43e04d8146101a2578063de8fa431146101d2578063e001f841146101f0578063fe9fbb8014610220576100a9565b80630d2020dd146100ae57806310d9042e146100de57806311601306146100fc5780631e7c27cb1461011a57806345a59e5b14610138575b600080fd5b6100c860048036038101906100c39190610c2f565b610250565b6040516100d59190610edd565b60405180910390f35b6100e66102d2565b6040516100f39190610f21565b60405180910390f35b61010461032a565b6040516101119190610f5e565b60405180910390f35b610122610330565b60405161012f9190610f5e565b60405180910390f35b610152600480360381019061014d9190610c9c565b610336565b60405161015f9190610f43565b60405180910390f35b610182600480360381019061017d9190610bd5565b610450565b005b61018c61052c565b6040516101999190611062565b60405180910390f35b6101bc60048036038101906101b79190610c2f565b610536565b6040516101c99190610f43565b60405180910390f35b6101da6107ab565b6040516101e79190611062565b60405180910390f35b61020a60048036038101906102059190610c5c565b6107b8565b6040516102179190610f43565b60405180910390f35b61023a60048036038101906102359190610ba8565b6109af565b6040516102479190610f43565b60405180910390f35b60008060001b8211610297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028e90611042565b60405180910390fd5b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6060600380548060200260200160405190810160405280929190818152602001828054801561032057602002820191906000526020600020905b81548152602001906001019080831161030c575b5050505050905090565b60005481565b60015481565b60008073ffffffffffffffffffffffffffffffffffffffff1661035a600054610250565b73ffffffffffffffffffffffffffffffffffffffff16141561037f5760009050610447565b600260008054815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166345a59e5b87878787876040518663ffffffff1660e01b81526004016103f4959493929190610f79565b60206040518083038186803b15801561040c57600080fd5b505afa158015610420573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104449190610c02565b90505b95945050505050565b3373ffffffffffffffffffffffffffffffffffffffff16600260008054815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146104f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e990610fc2565b60405180910390fd5b7f66120f934b66d52127e448f8e94c2460ea62821335e0dd18e89ed38a4a09b413816040516105219190610f43565b60405180910390a150565b6000600554905090565b60008060001b821161057d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057490611042565b60405180910390fd5b6000600380549050116105c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105bc90611002565b60405180910390fd5b6105ce336109af565b61060d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060490610fe2565b60405180910390fd5b60006004600084815260200190815260200160002054905060008111801561063a57506003805490508111155b156107a05760038054905081146106c85760006003600160038054905061066191906110c7565b81548110610672576106716111c8565b5b9060005260206000200154905080600360018461068f91906110c7565b815481106106a05761069f6111c8565b5b9060005260206000200181905550816004600083815260200190815260200160002081905550505b60038054806106da576106d9611199565b5b600190038181906000526020600020016000905590556000600460008581526020019081526020016000208190555060006002600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe3d908a1f6d2467f8e7c8198f30125843211345eedb763beb4cdfb7fe728a5af60008460405161078e929190610ef8565b60405180910390a160019150506107a6565b60009150505b919050565b6000600380549050905090565b60008060001b83116107ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f690611042565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561086f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086690611022565b60405180910390fd5b610878336109af565b6108b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ae90610fe2565b60405180910390fd5b60006004600085815260200190815260200160002054141561091a57600383908060018154018082558091505060019003906000526020600020016000909190919091505560038054905060046000858152602001908152602001600020819055505b816002600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fe3d908a1f6d2467f8e7c8198f30125843211345eedb763beb4cdfb7fe728a5af828460405161099d929190610ef8565b60405180910390a16001905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff1660026000600154815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a235760019050610ae4565b60026000600154815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fe9fbb80836040518263ffffffff1660e01b8152600401610a919190610edd565b60206040518083038186803b158015610aa957600080fd5b505afa158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae19190610c02565b90505b919050565b600081359050610af8816113ac565b92915050565b600081359050610b0d816113c3565b92915050565b600081519050610b22816113c3565b92915050565b600081359050610b37816113da565b92915050565b60008083601f840112610b5357610b526111fc565b5b8235905067ffffffffffffffff811115610b7057610b6f6111f7565b5b602083019150836001820283011115610b8c57610b8b611201565b5b9250929050565b600081359050610ba2816113f1565b92915050565b600060208284031215610bbe57610bbd61120b565b5b6000610bcc84828501610ae9565b91505092915050565b600060208284031215610beb57610bea61120b565b5b6000610bf984828501610afe565b91505092915050565b600060208284031215610c1857610c1761120b565b5b6000610c2684828501610b13565b91505092915050565b600060208284031215610c4557610c4461120b565b5b6000610c5384828501610b28565b91505092915050565b60008060408385031215610c7357610c7261120b565b5b6000610c8185828601610b28565b9250506020610c9285828601610ae9565b9150509250929050565b600080600080600060608688031215610cb857610cb761120b565b5b600086013567ffffffffffffffff811115610cd657610cd5611206565b5b610ce288828901610b3d565b9550955050602086013567ffffffffffffffff811115610d0557610d04611206565b5b610d1188828901610b3d565b93509350506040610d2488828901610b93565b9150509295509295909350565b6000610d3d8383610dc5565b60208301905092915050565b610d52816110fb565b82525050565b6000610d638261108d565b610d6d81856110a5565b9350610d788361107d565b8060005b83811015610da9578151610d908882610d31565b9750610d9b83611098565b925050600181019050610d7c565b5085935050505092915050565b610dbf8161110d565b82525050565b610dce81611119565b82525050565b610ddd81611119565b82525050565b6000610def83856110b6565b9350610dfc83858461115b565b610e0583611210565b840190509392505050565b6000610e1d6033836110b6565b9150610e2882611221565b604082019050919050565b6000610e40602b836110b6565b9150610e4b82611270565b604082019050919050565b6000610e636047836110b6565b9150610e6e826112bf565b606082019050919050565b6000610e866022836110b6565b9150610e9182611334565b604082019050919050565b6000610ea96020836110b6565b9150610eb482611383565b602082019050919050565b610ec881611123565b82525050565b610ed781611151565b82525050565b6000602082019050610ef26000830184610d49565b92915050565b6000604082019050610f0d6000830185610d49565b610f1a6020830184610dd4565b9392505050565b60006020820190508181036000830152610f3b8184610d58565b905092915050565b6000602082019050610f586000830184610db6565b92915050565b6000602082019050610f736000830184610dd4565b92915050565b60006060820190508181036000830152610f94818789610de3565b90508181036020830152610fa9818587610de3565b9050610fb86040830184610ebf565b9695505050505050565b60006020820190508181036000830152610fdb81610e10565b9050919050565b60006020820190508181036000830152610ffb81610e33565b9050919050565b6000602082019050818103600083015261101b81610e56565b9050919050565b6000602082019050818103600083015261103b81610e79565b9050919050565b6000602082019050818103600083015261105b81610e9c565b9050919050565b60006020820190506110776000830184610ece565b92915050565b6000819050602082019050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006110d282611151565b91506110dd83611151565b9250828210156110f0576110ef61116a565b5b828203905092915050565b600061110682611131565b9050919050565b60008115159050919050565b6000819050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f6e6c792052756c657320636f6e74726163742063616e20747269676765722060008201527f52756c6573206368616e6765206576656e747300000000000000000000000000602082015250565b7f4e6f7420617574686f72697a656420746f2075706461746520636f6e7472616360008201527f742072656769737472792e000000000000000000000000000000000000000000602082015250565b7f4d7573742068617665206174206c65617374206f6e652072656769737465726560008201527f6420636f6e747261637420746f20657865637574652064656c657465206f706560208201527f726174696f6e2e00000000000000000000000000000000000000000000000000604082015250565b7f436f6e74726163742061646472657373206d757374206e6f74206265207a657260008201527f6f2e000000000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206e616d65206d757374206e6f7420626520656d7074792e600082015250565b6113b5816110fb565b81146113c057600080fd5b50565b6113cc8161110d565b81146113d757600080fd5b50565b6113e381611119565b81146113ee57600080fd5b50565b6113fa81611123565b811461140557600080fd5b5056fea2646970667358221220cdd0743aab05b185d51ced6bfc8bfb7e506d0952a9177f2bb0b3e4da97d35bc164736f6c63430008060033",
"storage": {
"0x0000000000000000000000000000000000000000000000000000000000000000": "0x72756c6573000000000000000000000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000001": "0x61646d696e697374726174696f6e000000000000000000000000000000000000",
"0x0000000000000000000000000000000000000000000000000000000000000005": "0x3d14b8"
}
}
},
"number": "0x0",
"gasUsed": "0x0",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
}