Vaulta

efxtokenswap

Contract

The data structures defined by this contract.

  • Table row type of bookkeeper

    {
      "name": "bookkeeper",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in cleartx

    {
      "name": "cleartx",
      "base": "",
      "fields": [
        {
          "name": "txid",
          "type": "checksum256"
        }
      ]
    }
  • Table row type of config

    {
      "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"
        }
      ]
    }
  • Table row type of global

    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "swap_total",
          "type": "uint64"
        },
        {
          "name": "last_limit_reset",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in init

    {
      "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"
        }
      ]
    }
  • Action parameter in issue

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "txid",
          "type": "checksum256"
        }
      ]
    }
  • Action parameter in mkbookkeeper

    {
      "name": "mkbookkeeper",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Table row type of nep5

    {
      "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"
        }
      ]
    }
  • Action parameter in posttx

    {
      "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"
        }
      ]
    }
  • Action parameter in rmbookkeeper

    {
      "name": "rmbookkeeper",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in update

    {
      "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"
        }
      ]
    }