Market Smart Contract

in #steem-engine4 years ago

{"id":"ssc-mainnet1","json":{"contractName":"contract","contractAction":"update","contractPayload":{"name":"market","params":"","code":"Y29uc3QgU1RFRU1fUEVHR0VEX1NZTUJPTD0iU1RFRU1QIixTVEVFTV9QRUdHRURfU1lNQk9MX1BSRVNJQ0lPTj04LENPTlRSQUNUX05BTUU9Im1hcmtldCIsZ2V0TWV0cmljPWFzeW5jIHN5bWJvbD0+e2xldCBtZXRyaWM9YXdhaXQgYXBpLmRiLmZpbmRPbmUoIm1ldHJpY3MiLHtzeW1ib2w6c3ltYm9sfSk7aWYobnVsbD09PW1ldHJpYyl7bWV0cmljPXt9LG1ldHJpYy5zeW1ib2w9c3ltYm9sLG1ldHJpYy52b2x1bWU9IjAiLG1ldHJpYy52b2x1bWVFeHBpcmF0aW9uPTAsbWV0cmljLmxhc3RQcmljZT0iMCIsbWV0cmljLmxvd2VzdEFzaz0iMCIsbWV0cmljLmhpZ2hlc3RCaWQ9IjAiLG1ldHJpYy5sYXN0RGF5UHJpY2U9IjAiLG1ldHJpYy5sYXN0RGF5UHJpY2VFeHBpcmF0aW9uPTAsbWV0cmljLnByaWNlQ2hhbmdlU3RlZW09IjAiLG1ldHJpYy5wcmljZUNoYW5nZVBlcmNlbnQ9IjAiO3JldHVybiBhd2FpdCBhcGkuZGIuaW5zZXJ0KCJtZXRyaWNzIixtZXRyaWMpfXJldHVybiBtZXRyaWN9LHVwZGF0ZVZvbHVtZU1ldHJpYz1hc3luYyhzeW1ib2wscXVhbnRpdHksYWRkPSEwKT0+e2NvbnN0IGJsb2NrRGF0ZT1uZXcgRGF0ZShhcGkuc3RlZW1CbG9ja1RpbWVzdGFtcCsiLjAwMFoiKSx0aW1lc3RhbXBTZWM9YmxvY2tEYXRlLmdldFRpbWUoKS8xZTMsbWV0cmljPWF3YWl0IGdldE1ldHJpYyhzeW1ib2wpOyEwPT09YWRkPyhtZXRyaWMudm9sdW1lRXhwaXJhdGlvbjx0aW1lc3RhbXBTZWMm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