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