{
    "name": "first bidder",
    "gasSchedule": "dummy",
    "steps": [
        {
            "step": "externalSteps",
            "path": "create_and_auction_gen_zero_kitty.scen.json"
        },
        {
            "step": "setState",
            "accounts": {
                "address:bidder1": {
                    "nonce": "0",
                    "balance": "1,000,000"
                }
            }
        },
        {
            "step": "scCall",
            "id": "tx-first-bid",
            "tx": {
                "from": "address:bidder1",
                "to": "sc:kitty_auction_contract",
                "egldValue": "200",
                "function": "bid",
                "arguments": [
                    "1"
                ],
                "gasLimit": "100,000,000",
                "gasPrice": "0"
            },
            "expect": {
                "out": [],
                "status": "0",
                "message": "",
                "gas": "*",
                "refund": "*"
            }
        },
        {
            "step": "checkState",
            "accounts": {
                "address:my_address": {
                    "nonce": "4",
                    "balance": "1,000,000",
                    "storage": {}
                },
                "address:bidder1": {
                    "nonce": "1",
                    "balance": "999,800",
                    "storage": {}
                },
                "sc:kitty_ownership_contract": {
                    "nonce": "0",
                    "balance": "0",
                    "storage": {
                        "str:kittyAuctionContractAddress": "sc:kitty_auction_contract",
                        "str:totalKitties": "2",
                        "str:kitty|u32:0": "u8:0|u8:0|u8:0|u8:0|u8:0|u8:0|u8:0|u64:0|u64:0|u32:0|u32:0|u32:0|u16:0|u16:0",
                        "str:kitty|u32:1": "u8:1|u8:2|u8:3|u8:4|u8:5|u8:6|u8:7|u64:123456|u64:0|u32:0|u32:0|u32:0|u16:0|u16:0",
                        "str:nrOwnedKitties|sc:kitty_auction_contract": "1",
                        "str:owner|u32:1": "sc:kitty_auction_contract"
                    },
                    "code": "mxsc:../../kitty-ownership/output/kitty-ownership.mxsc.json"
                },
                "sc:kitty_auction_contract": {
                    "nonce": "0",
                    "balance": "200",
                    "storage": {
                        "str:kittyOwnershipContractAddress": "sc:kitty_ownership_contract",
                        "str:genZeroKittyStartingPrice": "100",
                        "str:genZeroKittyEndingPrice": "500",
                        "str:genZeroKittyAuctionDuration": "100,000",
                        "str:auction|u32:1": "u8:0|u32:1|u8:100|u32:2|u16:500|u64:223456|sc:kitty_auction_contract|u32:1|u8:200|address:bidder1"
                    },
                    "code": "mxsc:../output/kitty-auction.mxsc.json"
                }
            }
        }
    ]
}
