Vaulta

wdcswap11111

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "cancle",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    },
    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "to",
          "type": "name"
        }
      ]
    },
    {
      "name": "clearram",
      "base": "",
      "fields": []
    },
    {
      "name": "deposit",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "mid",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "globals",
      "base": "",
      "fields": [
        {
          "name": "market_id",
          "type": "uint64"
        },
        {
          "name": "reward_weight_total",
          "type": "float64"
        },
        {
          "name": "protocol_fee",
          "type": "float64"
        }
      ]
    },
    {
      "name": "liquidity",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "token",
          "type": "uint128"
        },
        {
          "name": "last_reward_update",
          "type": "time_point_sec"
        },
        {
          "name": "user_reward_per_token_paid",
          "type": "uint128"
        },
        {
          "name": "rewards",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "market",
      "base": "",
      "fields": [
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "contract0",
          "type": "name"
        },
        {
          "name": "contract1",
          "type": "name"
        },
        {
          "name": "sym0",
          "type": "symbol"
        },
        {
          "name": "sym1",
          "type": "symbol"
        },
        {
          "name": "reserve0",
          "type": "asset"
        },
        {
          "name": "reserve1",
          "type": "asset"
        },
        {
          "name": "liquidity_token",
          "type": "uint128"
        },
        {
          "name": "reward_weight",
          "type": "float64"
        },
        {
          "name": "price0_last",
          "type": "float64"
        },
        {
          "name": "price1_last",
          "type": "float64"
        },
        {
          "name": "last_reward_update",
          "type": "time_point_sec"
        },
        {
          "name": "reward_rate",
          "type": "uint64"
        },
        {
          "name": "reward_per_token_stored",
          "type": "uint128"
        }
      ]
    },
    {
      "name": "newmarket",
      "base": "",
      "fields": [
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "contract0",
          "type": "name"
        },
        {
          "name": "contract1",
          "type": "name"
        },
        {
          "name": "sym0",
          "type": "symbol"
        },
        {
          "name": "sym1",
          "type": "symbol"
        }
      ]
    },
    {
      "name": "order",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "quantity0",
          "type": "asset"
        },
        {
          "name": "quantity1",
          "type": "asset"
        }
      ]
    },
    {
      "name": "rmmarket",
      "base": "",
      "fields": [
        {
          "name": "mid",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "setswapfee",
      "base": "",
      "fields": [
        {
          "name": "fee",
          "type": "float64"
        }
      ]
    },
    {
      "name": "setweight",
      "base": "",
      "fields": [
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "weight",
          "type": "float64"
        }
      ]
    },
    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "mid",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "uint64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "cancle",
      "type": "cancle",
      "ricardian_contract": ""
    },
    {
      "name": "claim",
      "type": "claim",
      "ricardian_contract": ""
    },
    {
      "name": "clearram",
      "type": "clearram",
      "ricardian_contract": ""
    },
    {
      "name": "deposit",
      "type": "deposit",
      "ricardian_contract": ""
    },
    {
      "name": "newmarket",
      "type": "newmarket",
      "ricardian_contract": ""
    },
    {
      "name": "rmmarket",
      "type": "rmmarket",
      "ricardian_contract": ""
    },
    {
      "name": "setswapfee",
      "type": "setswapfee",
      "ricardian_contract": ""
    },
    {
      "name": "setweight",
      "type": "setweight",
      "ricardian_contract": ""
    },
    {
      "name": "withdraw",
      "type": "withdraw",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "globals",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "globals"
    },
    {
      "name": "liquidity",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "liquidity"
    },
    {
      "name": "markets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "market"
    },
    {
      "name": "orders",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "order"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}