- BASE36_ALPHABET
For simplicity we redefine it, as the default uses lowercase
- prepare(iban)
ISO13616 reordering and letter translation NOTE: we assume input is uppercase only based off code from iban.js
- mod9710(input)
Calculate ISO7064 mod 97-10 NOTE: assumes all numeric input string
- fromAddress(address, nonstd) ⇒
string
Convert Ethereum address to ICAP
- fromAsset(asset, print) ⇒
string
Convert asset into ICAP
- toAddress(iban) ⇒
string
- toAsset(iban) ⇒
object
Convert an ICAP into an asset
For simplicity we redefine it, as the default uses lowercase
ISO13616 reordering and letter translation NOTE: we assume input is uppercase only based off code from iban.js
Kind: global function
Param | Type |
---|---|
iban | string |
move front to the back
Kind: inner property of prepare
Calculate ISO7064 mod 97-10 NOTE: assumes all numeric input string
Kind: global function
Param | Type |
---|---|
input | any |
Convert Ethereum address to ICAP
Kind: global function
Param | Type | Description |
---|---|---|
address | string |
Address as a hex string |
nonstd | bool |
Accept address which will result in non-standard IBAN |
Convert asset into ICAP
Kind: global function
Param | Type | Description |
---|---|---|
asset | Object |
Asset object, must contain the fields asset, institution and client |
string |
Kind: global function
Param | Type | Description |
---|---|---|
iban | string |
IBAN/ICAP, must have an address encoded |
Convert an ICAP into an asset
Kind: global function
Param | Type |
---|---|
iban | string |