{"action":"created","issue":{"url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/392","repository_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go","labels_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/392/comments","events_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/392/events","html_url":"https://github.com/OpenBazaar/openbazaar-go/pull/392","id":210646920,"number":392,"title":"Variant refactor","user":{"login":"cpacia","id":4504708,"avatar_url":"https://avatars3.githubusercontent.com/u/4504708?v=3","gravatar_id":"","url":"https://api.github.com/users/cpacia","html_url":"https://github.com/cpacia","followers_url":"https://api.github.com/users/cpacia/followers","following_url":"https://api.github.com/users/cpacia/following{/other_user}","gists_url":"https://api.github.com/users/cpacia/gists{/gist_id}","starred_url":"https://api.github.com/users/cpacia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpacia/subscriptions","organizations_url":"https://api.github.com/users/cpacia/orgs","repos_url":"https://api.github.com/users/cpacia/repos","events_url":"https://api.github.com/users/cpacia/events{/privacy}","received_events_url":"https://api.github.com/users/cpacia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-28T00:05:54Z","updated_at":"2017-03-02T14:15:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/pulls/392","html_url":"https://github.com/OpenBazaar/openbazaar-go/pull/392","diff_url":"https://github.com/OpenBazaar/openbazaar-go/pull/392.diff","patch_url":"https://github.com/OpenBazaar/openbazaar-go/pull/392.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/comments/283663979","html_url":"https://github.com/OpenBazaar/openbazaar-go/pull/392#issuecomment-283663979","issue_url":"https://api.github.com/repos/OpenBazaar/openbazaar-go/issues/392","id":283663979,"user":{"login":"cpacia","id":4504708,"avatar_url":"https://avatars3.githubusercontent.com/u/4504708?v=3","gravatar_id":"","url":"https://api.github.com/users/cpacia","html_url":"https://github.com/cpacia","followers_url":"https://api.github.com/users/cpacia/followers","following_url":"https://api.github.com/users/cpacia/following{/other_user}","gists_url":"https://api.github.com/users/cpacia/gists{/gist_id}","starred_url":"https://api.github.com/users/cpacia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpacia/subscriptions","organizations_url":"https://api.github.com/users/cpacia/orgs","repos_url":"https://api.github.com/users/cpacia/repos","events_url":"https://api.github.com/users/cpacia/events{/privacy}","received_events_url":"https://api.github.com/users/cpacia/received_events","type":"User","site_admin":false},"created_at":"2017-03-02T14:15:05Z","updated_at":"2017-03-02T14:15:05Z","body":"> Why use surchage instead of absolute prices? surchage shapes the thinking to a specific pricing scheme. Surchages can be the pricing metaphor openbazaar-desktop adopts without imposing it to the protocol.\r\n\r\nIt's added (or subtracted) from the base price of the listing. It would be weird if it was the total because then the base price of the item would not be used for anything. \r\n\r\n> Is it a percentage surcharge? Is it a absolute surcharge?\r\nAbsolute value\r\n\r\n> How are rounding errors handled? If percentage surcharges are used, rounding issues are a can of worms.\r\n\r\nEverything is converted into satoshis when calculating the total price. This is the same as it was before, just with a different schema. "}}
{"actor":{"display_login":"cpacia"}}