Skip to content

Instantly share code, notes, and snippets.

@decanus
Created March 11, 2020 23:03
Show Gist options
  • Save decanus/4ee687c070562e09550b3ddf5bf12931 to your computer and use it in GitHub Desktop.
Save decanus/4ee687c070562e09550b3ddf5bf12931 to your computer and use it in GitHub Desktop.
(platformvm.Genesis) {
Accounts: ([]platformvm.Account) (len=1 cap=1) {
(platformvm.Account) {
Address: (ids.ShortID) 6Y3kysjF9jnHnYkdS9yGAuoHyae2eNmeV,
Nonce: (uint64) 0,
Balance: (uint64) 20000000000000
}
},
Validators: (*platformvm.EventHeap)(0xc00011b220)({
SortByStartTime: (bool) false,
Txs: ([]platformvm.TimedTx) (len=5 cap=5) {
(*platformvm.addDefaultSubnetValidatorTx)(0xc00014c180)({
UnsignedAddDefaultSubnetValidatorTx: (platformvm.UnsignedAddDefaultSubnetValidatorTx) {
DurationValidator: (platformvm.DurationValidator) {
Validator: (platformvm.Validator) {
NodeID: (ids.ShortID) MFrZFVCXPv5iCn6M9K6XduxGTYp891xXZ,
Wght: (uint64) 20000000000000
},
Start: (uint64) 1572566400,
End: (uint64) 1604102400
},
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
Destination: (ids.ShortID) 6Y3kysjF9jnHnYkdS9yGAuoHyae2eNmeV,
Shares: (uint32) 0
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
senderID: (ids.ShortID) nil,
bytes: ([]uint8) <nil>
}),
(*platformvm.addDefaultSubnetValidatorTx)(0xc00014c300)({
UnsignedAddDefaultSubnetValidatorTx: (platformvm.UnsignedAddDefaultSubnetValidatorTx) {
DurationValidator: (platformvm.DurationValidator) {
Validator: (platformvm.Validator) {
NodeID: (ids.ShortID) GWPcbFJZFfZreETSoWjPimr846mXEKCtu,
Wght: (uint64) 20000000000000
},
Start: (uint64) 1572566400,
End: (uint64) 1604102400
},
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
Destination: (ids.ShortID) 6Y3kysjF9jnHnYkdS9yGAuoHyae2eNmeV,
Shares: (uint32) 0
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
senderID: (ids.ShortID) nil,
bytes: ([]uint8) <nil>
}),
(*platformvm.addDefaultSubnetValidatorTx)(0xc00014c480)({
UnsignedAddDefaultSubnetValidatorTx: (platformvm.UnsignedAddDefaultSubnetValidatorTx) {
DurationValidator: (platformvm.DurationValidator) {
Validator: (platformvm.Validator) {
NodeID: (ids.ShortID) NFBbbJ4qCmNaCzeW7sxErhvWqvEQMnYcN,
Wght: (uint64) 20000000000000
},
Start: (uint64) 1572566400,
End: (uint64) 1604102400
},
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
Destination: (ids.ShortID) 6Y3kysjF9jnHnYkdS9yGAuoHyae2eNmeV,
Shares: (uint32) 0
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
senderID: (ids.ShortID) nil,
bytes: ([]uint8) <nil>
}),
(*platformvm.addDefaultSubnetValidatorTx)(0xc00014c600)({
UnsignedAddDefaultSubnetValidatorTx: (platformvm.UnsignedAddDefaultSubnetValidatorTx) {
DurationValidator: (platformvm.DurationValidator) {
Validator: (platformvm.Validator) {
NodeID: (ids.ShortID) 7Xhw2mDxuDS44j42TCB6U5579esbSt3Lg,
Wght: (uint64) 20000000000000
},
Start: (uint64) 1572566400,
End: (uint64) 1604102400
},
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
Destination: (ids.ShortID) 6Y3kysjF9jnHnYkdS9yGAuoHyae2eNmeV,
Shares: (uint32) 0
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
senderID: (ids.ShortID) nil,
bytes: ([]uint8) <nil>
}),
(*platformvm.addDefaultSubnetValidatorTx)(0xc00014c780)({
UnsignedAddDefaultSubnetValidatorTx: (platformvm.UnsignedAddDefaultSubnetValidatorTx) {
DurationValidator: (platformvm.DurationValidator) {
Validator: (platformvm.Validator) {
NodeID: (ids.ShortID) P7oB2McjBGgW2NXXWVYjV8JEDFoW9xDE5,
Wght: (uint64) 20000000000000
},
Start: (uint64) 1572566400,
End: (uint64) 1604102400
},
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
Destination: (ids.ShortID) 6Y3kysjF9jnHnYkdS9yGAuoHyae2eNmeV,
Shares: (uint32) 0
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
senderID: (ids.ShortID) nil,
bytes: ([]uint8) <nil>
})
}
}),
Chains: ([]*platformvm.CreateChainTx) (len=5 cap=5) {
(*platformvm.CreateChainTx)(0xc0001641c0)({
UnsignedCreateChainTx: (platformvm.UnsignedCreateChainTx) {
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
ChainName: (string) (len=3) "AVM",
VMID: (ids.ID) jvYyfQTxGMJLuGWa55kdP2p2zSUYsQ5Raupu4TW34ZAUBAbtq,
FxIDs: ([]ids.ID) (len=1 cap=1) {
(ids.ID) spdxUxVJQbX85MGxMHbKw1sHxMnSqJ3QBzDyDYEP3h6TLuxqQ
},
GenesisData: ([]uint8) (len=124 cap=124) {
00000000 00 00 00 01 00 03 41 56 41 00 00 00 00 00 00 00 |......AVA.......|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 03 41 56 41 00 03 41 56 41 09 |.......AVA..AVA.|
00000040 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 04 |................|
00000050 00 9f df 42 f6 e4 80 00 00 00 00 00 00 00 00 00 |...B............|
00000060 00 00 00 01 00 00 00 01 3c b7 d3 84 2e 8c ee 6a |........<......j|
00000070 0e bd 09 f1 fe 88 4f 68 61 e1 b2 9c |......Oha...|
}
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
key: (crypto.PublicKey) <nil>,
bytes: ([]uint8) <nil>
}),
(*platformvm.CreateChainTx)(0xc000164380)({
UnsignedCreateChainTx: (platformvm.UnsignedCreateChainTx) {
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
ChainName: (string) (len=8) "Athereum",
VMID: (ids.ID) mgj786NP7uDwBCcq6YwThhaN8FLyybkCa4zBWTQbNgmK6k9A6,
FxIDs: ([]ids.ID) {
},
GenesisData: ([]uint8) (len=713 cap=713) {
00000000 7b 22 63 6f 6e 66 69 67 22 3a 7b 22 63 68 61 69 |{"config":{"chai|
00000010 6e 49 64 22 3a 34 33 31 31 30 2c 22 68 6f 6d 65 |nId":43110,"home|
00000020 73 74 65 61 64 42 6c 6f 63 6b 22 3a 30 2c 22 64 |steadBlock":0,"d|
00000030 61 6f 46 6f 72 6b 42 6c 6f 63 6b 22 3a 30 2c 22 |aoForkBlock":0,"|
00000040 64 61 6f 46 6f 72 6b 53 75 70 70 6f 72 74 22 3a |daoForkSupport":|
00000050 74 72 75 65 2c 22 65 69 70 31 35 30 42 6c 6f 63 |true,"eip150Bloc|
00000060 6b 22 3a 30 2c 22 65 69 70 31 35 30 48 61 73 68 |k":0,"eip150Hash|
00000070 22 3a 22 30 78 32 30 38 36 37 39 39 61 65 65 62 |":"0x2086799aeeb|
00000080 65 61 65 31 33 35 63 32 34 36 63 36 35 30 32 31 |eae135c246c65021|
00000090 63 38 32 62 34 65 31 35 61 32 63 34 35 31 33 34 |c82b4e15a2c45134|
000000a0 30 39 39 33 61 61 63 66 64 32 37 35 31 38 38 36 |0993aacfd2751886|
000000b0 35 31 34 66 30 22 2c 22 65 69 70 31 35 35 42 6c |514f0","eip155Bl|
000000c0 6f 63 6b 22 3a 30 2c 22 65 69 70 31 35 38 42 6c |ock":0,"eip158Bl|
000000d0 6f 63 6b 22 3a 30 2c 22 62 79 7a 61 6e 74 69 75 |ock":0,"byzantiu|
000000e0 6d 42 6c 6f 63 6b 22 3a 30 2c 22 63 6f 6e 73 74 |mBlock":0,"const|
000000f0 61 6e 74 69 6e 6f 70 6c 65 42 6c 6f 63 6b 22 3a |antinopleBlock":|
00000100 30 2c 22 70 65 74 65 72 73 62 75 72 67 42 6c 6f |0,"petersburgBlo|
00000110 63 6b 22 3a 30 7d 2c 22 6e 6f 6e 63 65 22 3a 22 |ck":0},"nonce":"|
00000120 30 78 30 22 2c 22 74 69 6d 65 73 74 61 6d 70 22 |0x0","timestamp"|
00000130 3a 22 30 78 30 22 2c 22 65 78 74 72 61 44 61 74 |:"0x0","extraDat|
00000140 61 22 3a 22 30 78 30 30 22 2c 22 67 61 73 4c 69 |a":"0x00","gasLi|
00000150 6d 69 74 22 3a 22 30 78 35 66 35 65 31 30 30 22 |mit":"0x5f5e100"|
00000160 2c 22 64 69 66 66 69 63 75 6c 74 79 22 3a 22 30 |,"difficulty":"0|
00000170 78 30 22 2c 22 6d 69 78 48 61 73 68 22 3a 22 30 |x0","mixHash":"0|
00000180 78 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |x000000000000000|
00000190 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000|
000001a0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000|
000001b0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000|
000001c0 30 22 2c 22 63 6f 69 6e 62 61 73 65 22 3a 22 30 |0","coinbase":"0|
000001d0 78 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |x000000000000000|
000001e0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000|
000001f0 30 30 30 30 30 30 30 30 30 22 2c 22 61 6c 6c 6f |000000000","allo|
00000200 63 22 3a 7b 22 37 35 31 61 30 62 39 36 65 31 30 |c":{"751a0b96e10|
00000210 34 32 62 65 65 37 38 39 34 35 32 65 63 62 32 30 |42bee789452ecb20|
00000220 32 35 33 66 62 61 34 30 64 62 65 38 35 22 3a 7b |253fba40dbe85":{|
00000230 22 62 61 6c 61 6e 63 65 22 3a 22 30 78 33 33 62 |"balance":"0x33b|
00000240 32 65 33 63 39 66 64 30 38 30 34 30 30 30 30 30 |2e3c9fd080400000|
00000250 30 30 30 30 22 7d 7d 2c 22 6e 75 6d 62 65 72 22 |0000"}},"number"|
00000260 3a 22 30 78 30 22 2c 22 67 61 73 55 73 65 64 22 |:"0x0","gasUsed"|
00000270 3a 22 30 78 30 22 2c 22 70 61 72 65 6e 74 48 61 |:"0x0","parentHa|
00000280 73 68 22 3a 22 30 78 30 30 30 30 30 30 30 30 30 |sh":"0x000000000|
00000290 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000|
000002a0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000|
000002b0 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000|
000002c0 30 30 30 30 30 30 30 22 7d |0000000"}|
}
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
key: (crypto.PublicKey) <nil>,
bytes: ([]uint8) <nil>
}),
(*platformvm.CreateChainTx)(0xc000164540)({
UnsignedCreateChainTx: (platformvm.UnsignedCreateChainTx) {
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
ChainName: (string) (len=19) "Simple DAG Payments",
VMID: (ids.ID) sqjdyTKUSrQs1YmKDTUbdUhdstSdtRTGRbUn8sqK8B6pkZkz1,
FxIDs: ([]ids.ID) {
},
GenesisData: ([]uint8) (len=96 cap=96) {
00000000 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 |................|
00000030 00 00 12 30 9c e5 40 00 00 00 00 00 00 00 00 00 |...0..@.........|
00000040 00 00 00 01 00 00 00 01 3c b7 d3 84 2e 8c ee 6a |........<......j|
00000050 0e bd 09 f1 fe 88 4f 68 61 e1 b2 9c 00 00 00 00 |......Oha.......|
}
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
key: (crypto.PublicKey) <nil>,
bytes: ([]uint8) <nil>
}),
(*platformvm.CreateChainTx)(0xc000164700)({
UnsignedCreateChainTx: (platformvm.UnsignedCreateChainTx) {
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
ChainName: (string) (len=21) "Simple Chain Payments",
VMID: (ids.ID) sqjchUjzDqDfBPGjfQq2tXW1UCwZTyvzAWHsNzF2cb1eVHt6w,
FxIDs: ([]ids.ID) {
},
GenesisData: ([]uint8) (len=40 cap=40) {
00000000 00 00 00 01 3c b7 d3 84 2e 8c ee 6a 0e bd 09 f1 |....<......j....|
00000010 fe 88 4f 68 61 e1 b2 9c 00 00 00 00 00 00 00 00 |..Oha...........|
00000020 00 00 12 30 9c e5 40 00 |...0..@.|
}
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
key: (crypto.PublicKey) <nil>,
bytes: ([]uint8) <nil>
}),
(*platformvm.CreateChainTx)(0xc0001648c0)({
UnsignedCreateChainTx: (platformvm.UnsignedCreateChainTx) {
NetworkID: (uint32) 12345,
Nonce: (uint64) 0,
ChainName: (string) (len=23) "Simple Timestamp Server",
VMID: (ids.ID) tGas3T58KzdjLHhBDMnH2TvrddhqTji5iZAMZ3RXs2NLpSnhH,
FxIDs: ([]ids.ID) {
},
GenesisData: ([]uint8) {
}
},
Sig: ([65]uint8) (len=65 cap=65) {
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 |.|
},
vm: (*platformvm.VM)(<nil>),
id: (ids.ID) nil,
key: (crypto.PublicKey) <nil>,
bytes: ([]uint8) <nil>
})
},
Timestamp: (uint64) 1572566400
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment