Skip to content

Instantly share code, notes, and snippets.

@chessai
Created September 29, 2023 21:57
Show Gist options
  • Save chessai/87ef8dfbca36a90a7b19d0f34abcac1f to your computer and use it in GitHub Desktop.
Save chessai/87ef8dfbca36a90a7b19d0f34abcac1f to your computer and use it in GitHub Desktop.
[2023-09-29 21:56:24.778851539 UTC][Info][] opened sqlitedb for ChainId 3 in directory "mainnet01-compacted-0/0/sqlite/"
[2023-09-29 21:56:24.778987316 UTC][Info][] opening sqlitedb named mainnet01-compacted-0/0/sqlite/pact-v1-chain-3.sqlite
[2023-09-29 21:56:24.784637025 UTC][Info][cwtool:TxSimulator] initSchema: SYS:KeySets
[2023-09-29 21:56:24.784746482 UTC][Info][cwtool:TxSimulator] initSchema: SYS:Modules
[2023-09-29 21:56:24.784771543 UTC][Info][cwtool:TxSimulator] initSchema: SYS:Namespaces
[2023-09-29 21:56:24.784797018 UTC][Info][cwtool:TxSimulator] initSchema: SYS:Pacts
[2023-09-29 21:56:24.88234711 UTC][Debug][cwtool:TxSimulator] execBlock: initCache: fromList [(4087798,Leaf 3996716793562646493 (L (ModuleName {_mnName = "coin", _mnNamespace = Nothing}) (Just (ModuleHash {_mhHash = "rE7DU8jlQL9x_MPYuniZJf5ICBTAEHAIFQCB4blofP4"}))))]
[2023-09-29 21:56:24.884832405 UTC][Debug][cwtool:TxSimulator] successful coinbase of 1.00891200 to "k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3": "Im9UWmw0UDRqUm0zWGtxb0tISkw3Vk5VOG43b0NZVXViZmRVNlM5Zm5CTFki"
[2023-09-29 21:56:24.88487832 UTC][Debug][cwtool:TxSimulator] runCoinbase result: {"gas":0,"result":{"status":"success","data":"Write succeeded"},"reqKey":"Im9UWmw0UDRqUm0zWGtxb0tISkw3Vk5VOG43b0NZVXViZmRVNlM5Zm5CTFki","logs":[{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3"]}},"balance":551.283342012453},"$v":1},"key":"k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3","table":"coin_coin-table"}],"events":[{"params":["","k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3",1.008912],"name":"TRANSFER","module":{"namespace":null,"name":"coin"},"moduleHash":"rE7DU8jlQL9x_MPYuniZJf5ICBTAEHAIFQCB4blofP4"}],"metaData":null,"continuation":null,"txId":4779137}
[2023-09-29 21:56:24.886099325 UTC][Debug][cwtool:TxSimulator] applyExec: new pact added: (PactId "1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08tYnV5Z2Fz",0,Nothing,Nothing): "1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08"
[2023-09-29 21:56:24.999799796 UTC][Info][cwtool:TxSimulator] {"action":"applyCmd","param":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08","weight":2027,"time":114846}
[2023-09-29 21:56:24.999889325 UTC][Debug][cwtool:TxSimulator] applyPactCmd result: {"gas":2027,"result":{"status":"success","data":[{"amount":586.115669844155,"token":"kdlaunch.token"},{"amount":5.82271439,"token":"coin"}]},"reqKey":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08","logs":[{"value":{"executed":null,"pactId":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08tYnV5Z2Fz","stepHasRollback":false,"step":0,"yield":null,"continuation":{"args":["k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3",{"pred":"keys-all","keys":["e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3"]},7.0e-4],"def":"coin.fund-tx"},"stepCount":2},"key":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08tYnV5Z2Fz","table":"SYS:Pacts"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d"]}},"balance":11.42726008102},"$v":1},"key":"k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","table":"coin_coin-table"},{"value":{"guard":{"args":["coin:kdlaunch.token",{"refSpec":[{"namespace":null,"name":"fungible-v2"}],"refInfo":{"d":[50,0,0],"c":"(free.exchange.create-pair coin kdlaunch.token \"\")"},"refName":{"namespace":null,"name":"coin"}}],"fun":"free.exchange.enforce-private-reserve"},"balance":1021.01423876088},"key":"KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","table":"coin_coin-table"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d"]}},"balance":17.24997447102},"$v":1},"key":"k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","table":"coin_coin-table"},{"value":{"leg1":{"reserve":{"decimal":"103053.299731457944"},"token":{"refSpec":[{"namespace":null,"name":"fungible-v2"}],"refInfo":{"d":[50,0,0],"c":"(free.exchange.create-pair coin kdlaunch.token \"\")"},"refName":{"namespace":"kdlaunch","name":"token"}}},"guard":{"args":[],"fun":"free.exchange.enforce-null"},"account":"KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","leg0":{"reserve":1021.01423876088,"token":{"refSpec":[{"namespace":null,"name":"fungible-v2"}],"refInfo":{"d":[50,0,0],"c":"(free.exchange.create-pair coin kdlaunch.token \"\")"},"refName":{"namespace":null,"name":"coin"}}}},"key":"coin:kdlaunch.token","table":"free.exchange_pairs"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d"]}},"balance":8752.001963025109},"$v":1},"key":"k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","table":"kdlaunch.token_token-table"},{"value":{"guard":{"args":["coin:kdlaunch.token",{"refSpec":[{"namespace":null,"name":"fungible-v2"}],"refInfo":{"d":[50,0,0],"c":"(free.exchange.create-pair coin kdlaunch.token \"\")"},"refName":{"namespace":"kdlaunch","name":"token"}}],"fun":"free.exchange.enforce-private-reserve"},"balance":{"decimal":"103053.299731457944"}},"key":"KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","table":"kdlaunch.token_token-table"},{"value":null,"key":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08tYnV5Z2Fz","table":"SYS:Pacts"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d"]}},"balance":17.25047177102},"$v":1},"key":"k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","table":"coin_coin-table"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3"]}},"balance":551.283544712453},"$v":1},"key":"k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3","table":"coin_coin-table"}],"events":[{"params":["k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3",2.027e-4],"name":"TRANSFER","module":{"namespace":null,"name":"coin"},"moduleHash":"rE7DU8jlQL9x_MPYuniZJf5ICBTAEHAIFQCB4blofP4"},{"params":["k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8",586.115669844155],"name":"TRANSFER","module":{"namespace":"kdlaunch","name":"token"},"moduleHash":"LCTZDSr_tgfuux0OEhstAluW3ehEYgpycvZMb_yrn7w"},{"params":["KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d",5.82271439],"name":"TRANSFER","module":{"namespace":null,"name":"coin"},"moduleHash":"rE7DU8jlQL9x_MPYuniZJf5ICBTAEHAIFQCB4blofP4"},{"params":["coin:kdlaunch.token",1021.01423876088,{"decimal":"103053.299731457944"}],"name":"UPDATE","module":{"namespace":"free","name":"exchange"},"moduleHash":"iV5axgHo0li2ge9kGL4PV5uYxdF7BDax9OPiN0pCMgs"},{"params":["KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d",586.115669844155,{"refSpec":[{"namespace":null,"name":"fungible-xchain-v1"},{"namespace":null,"name":"fungible-v2"}],"refName":{"namespace":"kdlaunch","name":"token"}}, [truncated]
[2023-09-29 21:56:25.000187751 UTC][Info][cwtool:TxSimulator] {"action":"applyPactCmds","param":[],"weight":2027,"time":115239}
[2023-09-29 21:56:25.000470939 UTC][Info][] {"action":"execBlock","param":[],"weight":1,"time":119635}
[2023-09-29 21:55:58.023758162 UTC][Info][] opened sqlitedb for ChainId 3 in directory "mainnet01-compacted-0/0/sqlite/"
[2023-09-29 21:55:58.023888924 UTC][Info][] opening sqlitedb named mainnet01-compacted-0/0/sqlite/pact-v1-chain-3.sqlite
[2023-09-29 21:55:58.027870451 UTC][Info][cwtool:TxSimulator] initSchema: SYS:KeySets
[2023-09-29 21:55:58.028006973 UTC][Info][cwtool:TxSimulator] initSchema: SYS:Modules
[2023-09-29 21:55:58.028038167 UTC][Info][cwtool:TxSimulator] initSchema: SYS:Namespaces
[2023-09-29 21:55:58.028063025 UTC][Info][cwtool:TxSimulator] initSchema: SYS:Pacts
[2023-09-29 21:55:58.099217695 UTC][Debug][cwtool:TxSimulator] execBlock: initCache: fromList [(4087798,Leaf 3996716793562646493 (L (ModuleName {_mnName = "coin", _mnNamespace = Nothing}) (Just (ModuleHash {_mhHash = "rE7DU8jlQL9x_MPYuniZJf5ICBTAEHAIFQCB4blofP4"}))))]
[2023-09-29 21:55:58.101220067 UTC][Debug][cwtool:TxSimulator] successful coinbase of 1.00891200 to "k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3": "Im9UWmw0UDRqUm0zWGtxb0tISkw3Vk5VOG43b0NZVXViZmRVNlM5Zm5CTFki"
[2023-09-29 21:55:58.101262064 UTC][Debug][cwtool:TxSimulator] runCoinbase result: {"gas":0,"result":{"status":"success","data":"Write succeeded"},"reqKey":"Im9UWmw0UDRqUm0zWGtxb0tISkw3Vk5VOG43b0NZVXViZmRVNlM5Zm5CTFki","logs":[{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3"]}},"balance":551.283342012453},"$v":1},"key":"k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3","table":"coin_coin-table"}],"events":[{"params":["","k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3",1.008912],"name":"TRANSFER","module":{"namespace":null,"name":"coin"},"moduleHash":"rE7DU8jlQL9x_MPYuniZJf5ICBTAEHAIFQCB4blofP4"}],"metaData":null,"continuation":null,"txId":4779137}
[2023-09-29 21:55:58.103464299 UTC][Debug][cwtool:TxSimulator] applyExec: new pact added: (PactId "1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08tYnV5Z2Fz",0,Nothing,Nothing): "1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08"
[2023-09-29 21:55:58.213083146 UTC][Info][cwtool:TxSimulator] {"action":"applyCmd","param":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08","weight":2027,"time":110622}
[2023-09-29 21:55:58.213165085 UTC][Debug][cwtool:TxSimulator] applyPactCmd result: {"gas":2027,"result":{"status":"success","data":[{"amount":586.115669844155,"token":"kdlaunch.token"},{"amount":5.82271439,"token":"coin"}]},"reqKey":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08","logs":[{"value":{"executed":null,"pactId":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08tYnV5Z2Fz","stepHasRollback":false,"step":0,"yield":null,"continuation":{"args":["k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3",{"pred":"keys-all","keys":["e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3"]},7.0e-4],"def":"coin.fund-tx"},"stepCount":2},"key":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08tYnV5Z2Fz","table":"SYS:Pacts"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d"]}},"balance":11.42726008102},"$v":1},"key":"k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","table":"coin_coin-table"},{"value":{"guard":{"args":["coin:kdlaunch.token",{"refSpec":[{"namespace":null,"name":"fungible-v2"}],"refInfo":{"d":[50,0,0],"c":"(free.exchange.create-pair coin kdlaunch.token \"\")"},"refName":{"namespace":null,"name":"coin"}}],"fun":"free.exchange.enforce-private-reserve"},"balance":1021.01423876088},"key":"KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","table":"coin_coin-table"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d"]}},"balance":17.24997447102},"$v":1},"key":"k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","table":"coin_coin-table"},{"value":{"leg1":{"reserve":{"decimal":"103053.299731457944"},"token":{"refSpec":[{"namespace":null,"name":"fungible-v2"}],"refName":{"namespace":"kdlaunch","name":"token"}}},"guard":{"args":[],"fun":"free.exchange.enforce-null"},"account":"KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","leg0":{"reserve":1021.01423876088,"token":{"refSpec":[{"namespace":null,"name":"fungible-v2"}],"refName":{"namespace":null,"name":"coin"}}}},"key":"coin:kdlaunch.token","table":"free.exchange_pairs"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d"]}},"balance":8752.001963025109},"$v":1},"key":"k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","table":"kdlaunch.token_token-table"},{"value":{"guard":{"args":["coin:kdlaunch.token",{"refSpec":[{"namespace":null,"name":"fungible-v2"}],"refName":{"namespace":"kdlaunch","name":"token"}}],"fun":"free.exchange.enforce-private-reserve"},"balance":{"decimal":"103053.299731457944"}},"key":"KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","table":"kdlaunch.token_token-table"},{"value":null,"key":"1m_sHDhLZ5-PbD7QB_X8UBi2FhrPNcZDS7ppBLVVD08tYnV5Z2Fz","table":"SYS:Pacts"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d"]}},"balance":17.25047177102},"$v":1},"key":"k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","table":"coin_coin-table"},{"value":{"$d":{"guard":{"$t":"g","$v":{"pred":"keys-all","keys":["e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3"]}},"balance":551.283544712453},"$v":1},"key":"k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3","table":"coin_coin-table"}],"events":[{"params":["k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","k:e7f7130f359fb1f8c87873bf858a0e9cbc3c1059f62ae715ec72e760b055e9f3",2.027e-4],"name":"TRANSFER","module":{"namespace":null,"name":"coin"},"moduleHash":"rE7DU8jlQL9x_MPYuniZJf5ICBTAEHAIFQCB4blofP4"},{"params":["k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d","KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8",586.115669844155],"name":"TRANSFER","module":{"namespace":"kdlaunch","name":"token"},"moduleHash":"LCTZDSr_tgfuux0OEhstAluW3ehEYgpycvZMb_yrn7w"},{"params":["KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d",5.82271439],"name":"TRANSFER","module":{"namespace":null,"name":"coin"},"moduleHash":"rE7DU8jlQL9x_MPYuniZJf5ICBTAEHAIFQCB4blofP4"},{"params":["coin:kdlaunch.token",1021.01423876088,{"decimal":"103053.299731457944"}],"name":"UPDATE","module":{"namespace":"free","name":"exchange"},"moduleHash":"iV5axgHo0li2ge9kGL4PV5uYxdF7BDax9OPiN0pCMgs"},{"params":["KEzkcNbqf0yDSzPuMi81Gq0ceBe4BuzY1B7Z0PszhY8","k:13daba43de52334287d3bbd13ea31a3fc850af5b808b9e7283a2fcb2c3993b9d",586.115669844155,{"refSpec":[{"namespace":null,"name":"fungible-xchain-v1"},{"namespace":null,"name":"fungible-v2"}],"refName":{"namespace":"kdlaunch","name":"token"}},5.82271439,{"refSpec":[{"namespace":null,"name":"fungible-xchain-v1"},{"namespace":null,"name":"fungible-v2"}],"refName":{"namespace":null,"name":"coin"}}],"name":"SWAP","module":{"namespace":"free","name":"exchange"},"moduleHash":"iV5axgHo0li2ge9kGL4P [truncated]
[2023-09-29 21:55:58.213460614 UTC][Info][cwtool:TxSimulator] {"action":"applyPactCmds","param":[],"weight":2027,"time":111006}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment