{"action":"created","issue":{"url":"https://api.github.com/repos/cryptonomex/graphene/issues/664","repository_url":"https://api.github.com/repos/cryptonomex/graphene","labels_url":"https://api.github.com/repos/cryptonomex/graphene/issues/664/labels{/name}","comments_url":"https://api.github.com/repos/cryptonomex/graphene/issues/664/comments","events_url":"https://api.github.com/repos/cryptonomex/graphene/issues/664/events","html_url":"https://github.com/cryptonomex/graphene/issues/664","id":182249719,"number":664,"title":"Process to Reset a SmartCoin after a Blackswan Event","user":{"login":"iPerky","id":5755993,"avatar_url":"https://avatars.githubusercontent.com/u/5755993?v=3","gravatar_id":"","url":"https://api.github.com/users/iPerky","html_url":"https://github.com/iPerky","followers_url":"https://api.github.com/users/iPerky/followers","following_url":"https://api.github.com/users/iPerky/following{/other_user}","gists_url":"https://api.github.com/users/iPerky/gists{/gist_id}","starred_url":"https://api.github.com/users/iPerky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iPerky/subscriptions","organizations_url":"https://api.github.com/users/iPerky/orgs","repos_url":"https://api.github.com/users/iPerky/repos","events_url":"https://api.github.com/users/iPerky/events{/privacy}","received_events_url":"https://api.github.com/users/iPerky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-11T12:23:11Z","updated_at":"2016-10-30T00:29:33Z","closed_at":null,"body":"Is there a formal process to reset a SmartCoin after a blackswan event and divide the underlying collateral between the remaining SmartCoin holders?\r\n\r\nI was under the impression that collateral would go into a settlement pool which holders can use to settle their remaining SmartCoins after this type of event.  \r\n\r\nALTCAP.X has blackswaned and has five holders who I would like to make whole by returning the underlying bitBTC collateral."},"comment":{"url":"https://api.github.com/repos/cryptonomex/graphene/issues/comments/257124171","html_url":"https://github.com/cryptonomex/graphene/issues/664#issuecomment-257124171","issue_url":"https://api.github.com/repos/cryptonomex/graphene/issues/664","id":257124171,"user":{"login":"abitmore","id":9946777,"avatar_url":"https://avatars.githubusercontent.com/u/9946777?v=3","gravatar_id":"","url":"https://api.github.com/users/abitmore","html_url":"https://github.com/abitmore","followers_url":"https://api.github.com/users/abitmore/followers","following_url":"https://api.github.com/users/abitmore/following{/other_user}","gists_url":"https://api.github.com/users/abitmore/gists{/gist_id}","starred_url":"https://api.github.com/users/abitmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abitmore/subscriptions","organizations_url":"https://api.github.com/users/abitmore/orgs","repos_url":"https://api.github.com/users/abitmore/repos","events_url":"https://api.github.com/users/abitmore/events{/privacy}","received_events_url":"https://api.github.com/users/abitmore/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T00:29:33Z","updated_at":"2016-10-30T00:29:33Z","body":">FEED_LIFETIME shouldn't matter, because after a black swan settlement doesn't happen at the feed price but at the (fixed) settlement_price. That is a bug that needs fixing. Should be allowed here but isn't: https://github.com/cryptonomex/graphene/blob/master/libraries/chain/asset_evaluator.cpp#L439\r\n\r\nThe code \r\n```\r\n   else if( bitasset.current_feed.settlement_price.is_null() )\r\n      FC_THROW_EXCEPTION(insufficient_feeds, \"Cannot force settle with no price feed.\");\r\n```\r\nperhaps should be \r\n```\r\n   else if( bitasset.current_feed.settlement_price.is_null() || bitasset.has_settlement())\r\n      FC_THROW_EXCEPTION(insufficient_feeds, \"Cannot force settle with no price feed.\");\r\n```\r\nso an asset not in black swain state shouldn't be forced settled if no enough price feed provided.\r\n\r\nThoughts?"}}
{"actor":{"display_login":"abitmore"}}