Skip to content

Instantly share code, notes, and snippets.

@j-mueller
Last active October 29, 2019 09:37
Show Gist options
  • Save j-mueller/43232b729120e5c45e900fa9016bcb36 to your computer and use it in GitHub Desktop.
Save j-mueller/43232b729120e5c45e900fa9016bcb36 to your computer and use it in GitHub Desktop.
Sample event log
Events for W2:
• {contribute: (PubKey {getPubKey = fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025},Value {getValue = Map {unMap = [(,Map {unMap = [(,10)]})]}})}
• {tx: WriteTxSuccess: TxIdOf {getTxId = 380fbc4c5efc421c4c6759c1cd07910cc83451f6adbbd1b08341a2679a55f34b}}
• {address: ( 9f0318d20018a8181e18e018fe18ac18e818fb1884185e185e18c9185018a618f918ad18d81837091824184f187b1881131846185413189f184118a4ff
, Tx TxId: 9f18380f18bc184c185e18fc1842181c184c1867185918c118cd0718910c18c81834185118f618ad18bb18d118b01883184118a21867189a185518f3184bff:
{inputs: TxInOf {txInRef = TxOutRefOf {txOutRefId = TxIdOf {getTxId = 60ea4aabc8bee7b68555c4655e3a0e76f734b8f8725a13158157f6c97eafe284}, txOutRefIdx = 8}, txInType = ConsumePublicKeyAddress (PubKey {getPubKey = fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025})}
outputs: PayToPubKey: PubKey: fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025, PayToScript: "\252Q\205\142b\CAN\161\163\141\164~\208\STX0\240X\b\SYN\237\DC3\186\&3\ETX\172]\235\145\NAKH\144\128%"
forge: Value {getValue = Map {unMap = []}}
fee: Lovelace {getLovelace = 0}
signatures: PubKey: fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025
validity range: Interval {ivFrom = LowerBound (Finite (Slot {getSlot = 1})) True, ivTo = UpperBound (Finite (Slot {getSlot = 20})) True}} )}
• {address: ( 9f183818e6185e1892185318e918b8189e18d41862186818a31891185d186c1853184218d718df1832186b183b0d182e18f5189618c1187e18d21852183718ffff
, Tx TxId: 9f18380f18bc184c185e18fc1842181c184c1867185918c118cd0718910c18c81834185118f618ad18bb18d118b01883184118a21867189a185518f3184bff:
{inputs: TxInOf {txInRef = TxOutRefOf {txOutRefId = TxIdOf {getTxId = 60ea4aabc8bee7b68555c4655e3a0e76f734b8f8725a13158157f6c97eafe284}, txOutRefIdx = 8}, txInType = ConsumePublicKeyAddress (PubKey {getPubKey = fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025})}
outputs: PayToPubKey: PubKey: fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025, PayToScript: "\252Q\205\142b\CAN\161\163\141\164~\208\STX0\240X\b\SYN\237\DC3\186\&3\ETX\172]\235\145\NAKH\144\128%"
forge: Value {getValue = Map {unMap = []}}
fee: Lovelace {getLovelace = 0}
signatures: PubKey: fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025
validity range: Interval {ivFrom = LowerBound (Finite (Slot {getSlot = 1})) True, ivTo = UpperBound (Finite (Slot {getSlot = 20})) True}} )}
• {address: ( 9f183818e6185e1892185318e918b8189e18d41862186818a31891185d186c1853184218d718df1832186b183b0d182e18f5189618c1187e18d21852183718ffff
, Tx TxId: 9f186c1868185018b018d1186f189218c4186018bc18c6182e18fd18921848185018d6182b18d4187718a718301835186618d7184d18de184518b5183b1890189bff:
{inputs: TxInOf {txInRef = TxOutRefOf {txOutRefId = TxIdOf {getTxId = 60ea4aabc8bee7b68555c4655e3a0e76f734b8f8725a13158157f6c97eafe284}, txOutRefIdx = 7}, txInType = ConsumePublicKeyAddress (PubKey {getPubKey = f81fb54a825fced95eb033afcd64314075abfb0abd20a970892503436f34b863})}
outputs: PayToPubKey: PubKey: f81fb54a825fced95eb033afcd64314075abfb0abd20a970892503436f34b863, PayToScript: "\248\US\181J\130_\206\217^\176\&3\175\205d1@u\171\251\n\189 \169p\137%\ETXCo4\184c"
forge: Value {getValue = Map {unMap = []}}
fee: Lovelace {getLovelace = 0}
signatures: PubKey: f81fb54a825fced95eb033afcd64314075abfb0abd20a970892503436f34b863
validity range: Interval {ivFrom = LowerBound (Finite (Slot {getSlot = 1})) True, ivTo = UpperBound (Finite (Slot {getSlot = 20})) True}} )}
• {address: ( 9f185a18eb18c314182118e718af181b18db1847183218670918c2187f183f18d91838181b0018b018ac18a1182718b818dc18cd185f1885182518a51838ff
, Tx TxId: 9f186c1868185018b018d1186f189218c4186018bc18c6182e18fd18921848185018d6182b18d4187718a718301835186618d7184d18de184518b5183b1890189bff:
{inputs: TxInOf {txInRef = TxOutRefOf {txOutRefId = TxIdOf {getTxId = 60ea4aabc8bee7b68555c4655e3a0e76f734b8f8725a13158157f6c97eafe284}, txOutRefIdx = 7}, txInType = ConsumePublicKeyAddress (PubKey {getPubKey = f81fb54a825fced95eb033afcd64314075abfb0abd20a970892503436f34b863})}
outputs: PayToPubKey: PubKey: f81fb54a825fced95eb033afcd64314075abfb0abd20a970892503436f34b863, PayToScript: "\248\US\181J\130_\206\217^\176\&3\175\205d1@u\171\251\n\189 \169p\137%\ETXCo4\184c"
forge: Value {getValue = Map {unMap = []}}
fee: Lovelace {getLovelace = 0}
signatures: PubKey: f81fb54a825fced95eb033afcd64314075abfb0abd20a970892503436f34b863
validity range: Interval {ivFrom = LowerBound (Finite (Slot {getSlot = 1})) True, ivTo = UpperBound (Finite (Slot {getSlot = 20})) True}} )}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment