{"id":"ssc-mainnet-hive","json":{"contractName":"contract","contractAction":"update","contractPayload":{"name":"market","params":"","code":"Y29uc3QgSElWRV9QRUdHRURfU1lNQk9MPSJTV0FQLkhJVkUiLEhJVkVfUEVHR0VEX1NZTUJPTF9QUkVTSUNJT049OCxDT05UUkFDVF9OQU1FPSJtYXJrZXQiLEFDQ09VTlRfQkxBQ0tMSVNUPXtzdW5zZXRqZXN1czoxLHdhaXRpbmdmb3Jsb3ZlOjF9LGdldE1ldHJpYz1hc3luYyBzeW1ib2w9PntsZXQgbWV0cmljPWF3YWl0IGFwaS5kYi5maW5kT25lKCJtZXRyaWNzIix7c3ltYm9sOnN5bWJvbH0pO2lmKG51bGw9PT1tZXRyaWMpe21ldHJpYz17fSxtZXRyaWMuc3ltYm9sPXN5bWJvbCxtZXRyaWMudm9sdW1lPSIwIixtZXRyaWMudm9sdW1lRXhwaXJhdGlvbj0wLG1ldHJpYy5sYXN0UHJpY2U9IjAiLG1ldHJpYy5sb3dlc3RBc2s9IjAiLG1ldHJpYy5oaWdoZXN0QmlkPSIwIixtZXRyaWMubGFzdERheVByaWNlPSIwIixtZXRyaWMubGFzdERheVByaWNlRXhwaXJhdGlvbj0wLG1ldHJpYy5wcmljZUNoYW5nZUhpdmU9IjAiLG1ldHJpYy5wcmljZUNoYW5nZVBlcmNlbnQ9IjAiO3JldHVybiBhd2FpdCBhcGkuZGIuaW5zZXJ0KCJtZXRyaWNzIixtZXRyaWMpfXJldHVybiBtZXRyaWN9LHVwZGF0ZVZvbHVtZU1ldHJpYz1hc3luYyhzeW1ib2wscXVhbnRpdHksYWRkPSEwKT0+e2NvbnN0IGJsb2NrRGF0ZT1uZXcgRGF0ZShhcGkuaGl2ZUJsb2NrVGltZXN0YW1wKyIuMDAwWiIpLHRpbWVzdGFtcFNlYz1ibG9ja0RhdGUuZ2V0VGltZSgpLzFlMyxtZXRyaWM9YXdhaXQgZ2V0TWV0cmljKHN5bWJvbCk7ITA9PT1hZGQ/KG1ldHJpYy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