wallet-kit / test / vectors / currency.json
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
{
  "_doc": "The currency-id grammar and the reserved neutral unit. Verdicts only — every row is a claim about the RULE (\"<bankerIdPub>.<CODE>\", CODE ^[A-Z]{3,8}$, ~.GAZ parses but is never payable), independent of how it is implemented.",
  "rows": [
    {
      "cur": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc.LEI",
      "parse": {
        "banker": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc",
        "code": "LEI"
      },
      "payable": true,
      "why": "the ordinary case"
    },
    {
      "cur": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc.RONALDO",
      "parse": {
        "banker": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc",
        "code": "RONALDO"
      },
      "payable": true,
      "why": "seven letters, inside 3..8"
    },
    {
      "cur": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc.RONALDOS",
      "parse": {
        "banker": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc",
        "code": "RONALDOS"
      },
      "payable": true,
      "why": "eight letters, the ceiling"
    },
    {
      "cur": "~.GAZ",
      "parse": {
        "banker": "~",
        "code": "GAZ"
      },
      "payable": false,
      "why": "reserved: a denomination for pricing, and `~` is not base64url so no key can spell it"
    },
    {
      "cur": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc.RONALDOSS",
      "parse": null,
      "payable": false,
      "why": "nine letters"
    },
    {
      "cur": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc.LE",
      "parse": null,
      "payable": false,
      "why": "two letters"
    },
    {
      "cur": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc.lei",
      "parse": null,
      "payable": false,
      "why": "lowercase"
    },
    {
      "cur": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc.LE1",
      "parse": null,
      "payable": false,
      "why": "a digit in the code"
    },
    {
      "cur": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hzc.LEI.RON",
      "parse": null,
      "payable": false,
      "why": "two dots"
    },
    {
      "cur": "LEI",
      "parse": null,
      "payable": false,
      "why": "no banker"
    },
    {
      "cur": "0EqyMnQrtKs6E2i9RhXk5tAiSrcaAWuvhSCjMsl3hz.LEI",
      "parse": null,
      "payable": false,
      "why": "42-character banker"
    },
    {
      "cur": "~.LEI",
      "parse": null,
      "payable": false,
      "why": "the `~` banker exists only for GAZ"
    },
    {
      "cur": "~.GAZZ",
      "parse": null,
      "payable": false,
      "why": "not the reserved literal"
    },
    {
      "cur": "",
      "parse": null,
      "payable": false,
      "why": "empty"
    }
  ]
}

static mirror of HEAD · about · clone: git clone https://git.ardegazu.ro/wallet-kit.git