WAX

market.tibs

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "auction",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "token_contract_account",
          "type": "name"
        },
        {
          "name": "initial_price",
          "type": "asset"
        },
        {
          "name": "expiration_time",
          "type": "uint32"
        },
        {
          "name": "highest_bid",
          "type": "bid"
        }
      ]
    },
    {
      "name": "bid",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "price",
          "type": "asset"
        }
      ]
    },
    {
      "name": "bid_auction",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "auction_id",
          "type": "uint64"
        },
        {
          "name": "bidder",
          "type": "name"
        },
        {
          "name": "price",
          "type": "asset"
        }
      ]
    },
    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "offer_counter",
          "type": "uint64"
        },
        {
          "name": "auction_counter",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "create_auction",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "token_contract_account",
          "type": "name"
        },
        {
          "name": "initial_price",
          "type": "asset"
        },
        {
          "name": "duration",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "create_offer",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "price_options",
          "type": "pair_name_asset[]"
        },
        {
          "name": "asset_ids",
          "type": "uint64[]"
        },
        {
          "name": "opening_time",
          "type": "uint32"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "auto_remove",
          "type": "bool"
        }
      ]
    },
    {
      "name": "offer",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "uint64"
        },
        {
          "name": "price_options",
          "type": "pair_name_asset[]"
        },
        {
          "name": "asset_ids",
          "type": "uint64[]"
        },
        {
          "name": "opening_time",
          "type": "uint32"
        },
        {
          "name": "expiration_time",
          "type": "uint32"
        },
        {
          "name": "auto_remove",
          "type": "bool"
        }
      ]
    },
    {
      "name": "pair_name_asset",
      "base": "",
      "fields": [
        {
          "name": "first",
          "type": "name"
        },
        {
          "name": "second",
          "type": "asset"
        }
      ]
    },
    {
      "name": "remove_auction",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "remove_offer",
      "base": "",
      "fields": [
        {
          "name": "author_account",
          "type": "name"
        },
        {
          "name": "collection_id",
          "type": "uint64"
        },
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "bidauct",
      "type": "bid_auction",
      "ricardian_contract": ""
    },
    {
      "name": "createauct",
      "type": "create_auction",
      "ricardian_contract": ""
    },
    {
      "name": "createoffer",
      "type": "create_offer",
      "ricardian_contract": ""
    },
    {
      "name": "removeauct",
      "type": "remove_auction",
      "ricardian_contract": ""
    },
    {
      "name": "removeoffer",
      "type": "remove_offer",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "auctions",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "auction"
    },
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config"
    },
    {
      "name": "offers",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "offer"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}