diff --git a/config/default/chain/params/nft_binary b/config/default/chain/params/nft_binary new file mode 100644 index 000000000..06276f27f --- /dev/null +++ b/config/default/chain/params/nft_binary @@ -0,0 +1 @@ +mmx17cm0cl9ssmfwrp2f5jpcq670n80kuzmqe4fl9xtxpxngw392hhcqg8kdyn diff --git a/config/default/chain/params/offer_binary b/config/default/chain/params/offer_binary index f62d32cd5..18ac18e06 100644 --- a/config/default/chain/params/offer_binary +++ b/config/default/chain/params/offer_binary @@ -1 +1 @@ -mmx1mahaygvnkvm85hmzedmzyklwdxcztf2y7snuk3zrqqtseucacyds7gqmeq +mmx1tzrf2tfev2cpfqpet794jqamr2ndr0k0zg3wpfrur3t7edwrs7psrtrrls diff --git a/config/default/chain/params/plot_binary b/config/default/chain/params/plot_binary index 5ab08a600..0b7f6b3a3 100644 --- a/config/default/chain/params/plot_binary +++ b/config/default/chain/params/plot_binary @@ -1 +1 @@ -mmx1jj8tzd62arxkujefdmrtefhv7ts4q7zj3nu35v7punrv60662emsrn46jc +mmx186auas8nn3t6yk27ljfr6p9ne97pr4mwakc7vw05wgcdlgsvdtkq078xxn diff --git a/config/default/chain/params/plot_nft_binary b/config/default/chain/params/plot_nft_binary index d0587ea26..9788b3fb9 100644 --- a/config/default/chain/params/plot_nft_binary +++ b/config/default/chain/params/plot_nft_binary @@ -1 +1 @@ -mmx150n2tqzz60d4fau0mqc23ekpv89z4z37gryn6enqqvjpwndmgjfscyz5hq +mmx1fqpn92eh29yt0t33fw60a0ng2l9w0jf7k9zsyldzj3wq9qyu45jql3ht0n diff --git a/config/default/chain/params/swap_binary b/config/default/chain/params/swap_binary index eeb9fd751..a012d83ec 100644 --- a/config/default/chain/params/swap_binary +++ b/config/default/chain/params/swap_binary @@ -1 +1 @@ -mmx1gpu8spcn0kwv63ymds8xawfslcwrgh4jsvzr3p64rcq5cf5uf0lszexlms +mmx1scnftzlskvvp44qsafkh8gdf2aj639myexlca6xl34qcfl3jxgxqzsttmm diff --git a/config/default/chain/params/template_binary b/config/default/chain/params/template_binary new file mode 100644 index 000000000..9ac9bf607 --- /dev/null +++ b/config/default/chain/params/template_binary @@ -0,0 +1 @@ +mmx1wz0fyh3acx04tnkkjcl96yk6veee356erp60dktja3ep60vuvphs8dwpgv diff --git a/config/default/chain/params/token_binary b/config/default/chain/params/token_binary index 3de1b24b6..0a8cca756 100644 --- a/config/default/chain/params/token_binary +++ b/config/default/chain/params/token_binary @@ -1 +1 @@ -mmx1af3nmx8zefduyqexz8z5v6qz2ks96znd89jxjk0jwtu9sqvvgmzqw7u6xt +mmx1228s3r5p97m70t66p4839jef4dg6sekt005l20vp2ad9vrqq60yshrww3x diff --git a/data/tx_nft_binary.dat b/data/tx_nft_binary.dat new file mode 100644 index 000000000..43cdf819c Binary files /dev/null and b/data/tx_nft_binary.dat differ diff --git a/data/tx_offer_binary.dat b/data/tx_offer_binary.dat index 5427601de..5f1cc7233 100644 Binary files a/data/tx_offer_binary.dat and b/data/tx_offer_binary.dat differ diff --git a/data/tx_plot_binary.dat b/data/tx_plot_binary.dat index a961e10b9..000929d8f 100644 Binary files a/data/tx_plot_binary.dat and b/data/tx_plot_binary.dat differ diff --git a/data/tx_plot_nft_binary.dat b/data/tx_plot_nft_binary.dat index 0459b0b5d..184a98854 100644 Binary files a/data/tx_plot_nft_binary.dat and b/data/tx_plot_nft_binary.dat differ diff --git a/data/tx_swap_binary.dat b/data/tx_swap_binary.dat index 61ab0fc76..a6aa57ed7 100644 Binary files a/data/tx_swap_binary.dat and b/data/tx_swap_binary.dat differ diff --git a/data/tx_template_binary.dat b/data/tx_template_binary.dat new file mode 100644 index 000000000..984ac7f3f Binary files /dev/null and b/data/tx_template_binary.dat differ diff --git a/data/tx_token_binary.dat b/data/tx_token_binary.dat index 5629d06b0..367515113 100644 Binary files a/data/tx_token_binary.dat and b/data/tx_token_binary.dat differ diff --git a/scripts/genesis_setup.sh b/scripts/genesis_setup.sh index 1286cdd12..dfd227e2d 100755 --- a/scripts/genesis_setup.sh +++ b/scripts/genesis_setup.sh @@ -1,7 +1,13 @@ #!/bin/bash +set -e + ./build/tools/mmx_compile -n $1 -f src/contract/swap.js -t -o data/tx_swap_binary.dat > config/default/chain/params/swap_binary ./build/tools/mmx_compile -n $1 -f src/contract/offer.js -t -o data/tx_offer_binary.dat > config/default/chain/params/offer_binary ./build/tools/mmx_compile -n $1 -f src/contract/token.js -t -o data/tx_token_binary.dat > config/default/chain/params/token_binary ./build/tools/mmx_compile -n $1 -f src/contract/virtual_plot.js -t -o data/tx_plot_binary.dat > config/default/chain/params/plot_binary ./build/tools/mmx_compile -n $1 -f src/contract/plot_nft.js -t -o data/tx_plot_nft_binary.dat > config/default/chain/params/plot_nft_binary +./build/tools/mmx_compile -n $1 -f src/contract/nft.js -t -o data/tx_nft_binary.dat > config/default/chain/params/nft_binary +./build/tools/mmx_compile -n $1 -f src/contract/template.js -t -o data/tx_template_binary.dat > config/default/chain/params/template_binary + +echo OK