Vaulta

efxtokenswap

Contract

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "bookkeeper",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    },
    {
      "name": "cleartx",
      "base": "",
      "fields": [
        {
          "name": "txid",
          "type": "checksum256"
        }
      ]
    },
    {
      "name": "config",
      "base": "",
      "fields": [
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol_code"
        },
        {
          "name": "tx_max_age",
          "type": "uint32"
        },
        {
          "name": "min_tx_value",
          "type": "uint64"
        },
        {
          "name": "max_tx_value",
          "type": "uint64"
        },
        {
          "name": "global_swap_limit",
          "type": "uint64"
        },
        {
          "name": "limit_reset_time_sec",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "swap_total",
          "type": "uint64"
        },
        {
          "name": "last_limit_reset",
          "type": "time_point_sec"
        }
      ]
    },
    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol_code"
        },
        {
          "name": "tx_max_age",
          "type": "uint32"
        },
        {
          "name": "min_tx_value",
          "type": "uint64"
        },
        {
          "name": "max_tx_value",
          "type": "uint64"
        },
        {
          "name": "global_swap_limit",
          "type": "uint64"
        },
        {
          "name": "limit_reset_time_sec",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "txid",
          "type": "checksum256"
        }
      ]
    },
    {
      "name": "mkbookkeeper",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    },
    {
      "name": "nep5",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "txid",
          "type": "checksum256"
        },
        {
          "name": "txtime",
          "type": "time_point_sec"
        },
        {
          "name": "value",
          "type": "int64"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "issued",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "posttx",
      "base": "",
      "fields": [
        {
          "name": "bookkeeper",
          "type": "name"
        },
        {
          "name": "rawtx",
          "type": "bytes"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "asset_hash",
          "type": "checksum160"
        },
        {
          "name": "value",
          "type": "int64"
        }
      ]
    },
    {
      "name": "rmbookkeeper",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    },
    {
      "name": "update",
      "base": "",
      "fields": [
        {
          "name": "tx_max_age",
          "type": "uint32"
        },
        {
          "name": "min_tx_value",
          "type": "uint64"
        },
        {
          "name": "max_tx_value",
          "type": "uint64"
        },
        {
          "name": "global_swap_limit",
          "type": "uint64"
        },
        {
          "name": "limit_reset_time_sec",
          "type": "uint32"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "cleartx",
      "type": "cleartx",
      "ricardian_contract": ""
    },
    {
      "name": "init",
      "type": "init",
      "ricardian_contract": ""
    },
    {
      "name": "issue",
      "type": "issue",
      "ricardian_contract": ""
    },
    {
      "name": "mkbookkeeper",
      "type": "mkbookkeeper",
      "ricardian_contract": ""
    },
    {
      "name": "posttx",
      "type": "posttx",
      "ricardian_contract": ""
    },
    {
      "name": "rmbookkeeper",
      "type": "rmbookkeeper",
      "ricardian_contract": ""
    },
    {
      "name": "update",
      "type": "update",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "bookkeeper",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "bookkeeper"
    },
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "config"
    },
    {
      "name": "global",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "global"
    },
    {
      "name": "nep5",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "nep5"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}