Skip to content

Bid restructure

Ghost User requested to merge dmitriy/bid_restructure into master

Related MR auction-frontend!157 (diffs)

Closes #107 (closed)

{
   ...

    "initialBids": {
        "a1f44e85-96ec-4898-9c42-86cb42f5beb1": {
            "owner": "auction_token",
            "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb1",
            "amount": 1.0,
            "datePublished": "2019-12-05T14:59:12.937000Z"
        },
        "a1f44e85-96ec-5598-9c42-86cb42f5beb2": {
            "owner": "auction_token",
            "id": "a1f44e85-96ec-5598-9c42-86cb42f5beb2",
            "amount": 2.0,
            "datePublished": "2019-12-05T14:59:12.937000Z"
        },
        "a1f44e85-96ec-4898-9c42-86cb42f5beb3": {
            "owner": "auction_token",
            "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb3",
            "amount": 2.0,
            "datePublished": "2019-12-04T14:59:12.937000Z"
        }
    },
    "bids": {
        "a1f44e85-96ec-4898-9c42-86cb42f5beb3": {
            "owner": "auction_token",
            "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb3",
            "amount": 2.0,
            "datePublished": "2019-12-04T14:59:12.937000Z"
        },
        "a1f44e85-96ec-5598-9c42-86cb42f5beb2": {
            "owner": "auction_token",
            "id": "a1f44e85-96ec-5598-9c42-86cb42f5beb2",
            "amount": 14.43,
            "datePublished": "2020-06-23T00:14:39.583000Z"
        },
        "a1f44e85-96ec-4898-9c42-86cb42f5beb1": {
            "owner": "auction_token",
            "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb1",
            "amount": 17.03,
            "datePublished": "2020-06-23T00:14:39.583000Z"
        }
    },
    "bidsInfo": {
        "a1f44e85-96ec-4898-9c42-86cb42f5beb1": {
            "owner": "auction_token",
            "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb1",
            "bidders": [
                {
                    "identifier": {
                        "legalName": {
                            "uk_UA": "Учасник 2",
                            "en_US": "Bidder 2"
                        }
                    }
                }
            ]
        },
        "a1f44e85-96ec-5598-9c42-86cb42f5beb2": {
            "owner": "auction_token",
            "id": "a1f44e85-96ec-5598-9c42-86cb42f5beb2",
            "bidders": [
                {
                    "identifier": {
                        "legalName": {
                            "uk_UA": "Учасник 3",
                            "en_US": "Bidder 3"
                        }
                    }
                }
            ]
        },
        "a1f44e85-96ec-4898-9c42-86cb42f5beb3": {
            "owner": "auction_token",
            "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb3",
            "bidders": [
                {
                    "identifier": {
                        "legalName": {
                            "uk_UA": "Учасник 1",
                            "en_US": "Bidder 1"
                        }
                    }
                }
            ]
        }
    },
    "bidsHistory": [
        [
            {
                "owner": "auction_token",
                "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb1",
                "amount": 17.03,
                "datePublished": "2020-06-23T00:14:39.583000Z"
            },
            {
                "owner": "auction_token",
                "id": "a1f44e85-96ec-5598-9c42-86cb42f5beb2",
                "amount": 2.0,
                "datePublished": "2019-12-05T14:59:12.937000Z"
            },
            {
                "owner": "auction_token",
                "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb3",
                "amount": 2.0,
                "datePublished": "2019-12-04T14:59:12.937000Z"
            }
        ],
        [
            {
                "owner": "auction_token",
                "id": "a1f44e85-96ec-5598-9c42-86cb42f5beb2",
                "amount": 14.43,
                "datePublished": "2020-06-23T00:14:39.583000Z"
            },
            {
                "owner": "auction_token",
                "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb3",
                "amount": 2.0,
                "datePublished": "2019-12-04T14:59:12.937000Z"
            },
            {
                "owner": "auction_token",
                "id": "a1f44e85-96ec-4898-9c42-86cb42f5beb1",
                "amount": 17.03,
                "datePublished": "2020-06-23T00:14:39.583000Z"
            }
        ]
    ],
    "currency": "eurocent",
    
    ...
}
Edited by Ghost User

Merge request reports