{
    "name": "bid first",
    "gasSchedule": "dummy",
    "steps": [
        {
            "step": "externalSteps",
            "path": "auction_single_token_egld.scen.json"
        },
        {
            "step": "scCall",
            "id": "bid-first",
            "tx": {
                "from": "address:user1",
                "to": "sc:marketplace_contract",
                "egldValue": "100",
                "function": "bid",
                "arguments": [
                    "1",
                    "2"
                ],
                "gasLimit": "0x100000",
                "gasPrice": "0x00"
            },
            "expect": {
                "out": [],
                "status": "0",
                "message": "",
                "gas": "*",
                "refund": "*"
            }
        },
        {
            "step": "checkState",
            "accounts": {
                "address:creator": {
                    "nonce": "1",
                    "balance": "1000",
                    "esdt": {
                        "str:marketToken": "1000"
                    },
                    "storage": {}
                },
                "address:user1": {
                    "nonce": "1",
                    "balance": "900",
                    "esdt": {
                        "str:marketToken": "1000"
                    },
                    "storage": {}
                },
                "address:user2": {
                    "nonce": "0",
                    "balance": "1000",
                    "esdt": {
                        "str:marketToken": "1000"
                    },
                    "storage": {}
                },
                "sc:ownership_contract": {
                    "nonce": "0",
                    "balance": "0",
                    "storage": {
                        "str:tokenTypeCreator|biguint:1": "address:creator",
                        "str:isFungible|biguint:1": "false",
                        "str:tokenTypeUri|biguint:1": "str:https://token-cdn-domain/{id}.json",
                        "str:lastValidTokenIdForType|biguint:1": "5",
                        "str:balanceOf|address:creator|str:.mapped|biguint:1": "4",
                        "str:balanceOf|sc:marketplace_contract|str:.mapped|biguint:1": "1",
                        "str:lastValidTypeId": "1",
                        "str:tokenOwner|biguint:1|biguint:1": "address:creator",
                        "str:tokenOwner|biguint:1|biguint:2": "sc:marketplace_contract",
                        "str:tokenOwner|biguint:1|biguint:3": "address:creator",
                        "str:tokenOwner|biguint:1|biguint:4": "address:creator",
                        "str:tokenOwner|biguint:1|biguint:5": "address:creator",
                        "str:balanceOf|address:creator|str:.node_links|u32:1": "u32:0|u32:0",
                        "str:balanceOf|address:creator|str:.value|u32:1": "1",
                        "str:balanceOf|address:creator|str:.node_id|biguint:1": "1",
                        "str:balanceOf|address:creator|str:.info": "u32:1|u32:1|u32:1|u32:1",
                        "str:balanceOf|sc:marketplace_contract|str:.node_links|u32:1": "u32:0|u32:0",
                        "str:balanceOf|sc:marketplace_contract|str:.value|u32:1": "1",
                        "str:balanceOf|sc:marketplace_contract|str:.node_id|biguint:1": "1",
                        "str:balanceOf|sc:marketplace_contract|str:.info": "u32:1|u32:1|u32:1|u32:1"
                    },
                    "code": "mxsc:../../erc1155/output/erc1155.mxsc.json"
                },
                "sc:marketplace_contract": {
                    "nonce": "0",
                    "balance": "100",
                    "storage": {
                        "str:tokenOwnershipContractAddress": "sc:ownership_contract",
                        "str:percentageCut": "10",
                        "str:auctionForToken|biguint:1|biguint:2": "u32:4|str:EGLD|biguint:100|u32:2|u16:500|u64:1000|address:creator|biguint:100|address:user1"
                    },
                    "code": "mxsc:../output/erc1155-marketplace.mxsc.json"
                }
            }
        }
    ]
}
