Files
xrpl-dev-portal/docs/img/serialization-amount.svg

282 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN'
'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
<svg fill-opacity="1" xmlns:xlink="http://www.w3.org/1999/xlink" color-rendering="auto" color-interpolation="auto" text-rendering="auto" stroke="black" stroke-linecap="square" width="900" stroke-miterlimit="10" shape-rendering="auto" stroke-opacity="1" fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" viewBox="0 0 900 620" height="620" xmlns="http://www.w3.org/2000/svg" font-family="'Dialog'" font-style="normal" stroke-linejoin="miter" font-size="12px" stroke-dashoffset="0" image-rendering="auto"
><!--Generated by the Batik Graphics2D SVG Generator--><defs id="genericDefs"
/><g
><defs id="defs1"
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath1"
><path d="M0 0 L2147483647 0 L2147483647 2147483647 L0 2147483647 L0 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath2"
><path d="M0 0 L0 50 L620 50 L620 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath3"
><path d="M0 0 L0 30 L240 30 L240 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath4"
><path d="M0 0 L0 50 L850 50 L850 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath5"
><path d="M0 0 L0 30 L160 30 L160 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath6"
><path d="M0 0 L0 30 L540 30 L540 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath7"
><path d="M0 0 L0 60 L160 60 L160 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath8"
><path d="M0 0 L0 30 L260 30 L260 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath9"
><path d="M0 0 L0 30 L20 30 L20 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath10"
><path d="M0 0 L0 30 L130 30 L130 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath11"
><path d="M0 0 L0 30 L150 30 L150 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath12"
><path d="M0 0 L0 30 L180 30 L180 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath13"
><path d="M0 0 L0 30 L220 30 L220 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath14"
><path d="M0 0 L0 40 L300 40 L300 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath15"
><path d="M0 0 L0 30 L200 30 L200 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath16"
><path d="M0 0 L0 30 L190 30 L190 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath17"
><path d="M0 0 L0 90 L50 90 L50 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath18"
><path d="M0 0 L0 60 L50 60 L50 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath19"
><path d="M0 0 L0 230 L40 230 L40 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath20"
><path d="M0 0 L0 230 L460 230 L460 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath21"
><path d="M0 0 L0 50 L40 50 L40 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath22"
><path d="M0 0 L0 70 L60 70 L60 0 Z"
/></clipPath
></defs
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(30,500)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="618.5" height="48.5" y="0.5" clip-path="url(#clipPath2)" stroke="none"
/></g
><g transform="translate(30,500)"
><rect fill="none" x="0.5" width="618.5" height="48.5" y="0.5" clip-path="url(#clipPath2)"
/></g
><g font-family="sans-serif" font-size="14px" transform="translate(90,470)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath3)" stroke="none"
>Standard Currency Code Format</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(30,260)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="848.5" height="48.5" y="0.5" clip-path="url(#clipPath4)" stroke="none"
/></g
><g transform="translate(30,260)"
><rect fill="none" x="0.5" width="848.5" height="48.5" y="0.5" clip-path="url(#clipPath4)"
/></g
><g font-family="sans-serif" font-size="14px" transform="translate(30,230)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath3)" stroke="none"
>Token Amount Format</text
></g
><g font-family="sans-serif" font-size="14px" transform="translate(30,20)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath5)" stroke="none"
>XRP Amount Format</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(30,50)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="618.5" height="48.5" y="0.5" clip-path="url(#clipPath2)" stroke="none"
/></g
><g transform="translate(30,50)"
><rect fill="none" x="0.5" width="618.5" height="48.5" y="0.5" clip-path="url(#clipPath2)"
/></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(100,60)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="538.5" height="28.5" y="0.5" clip-path="url(#clipPath6)" stroke="none"
/></g
><g transform="translate(100,60)"
><rect fill="none" x="0.5" width="538.5" height="28.5" y="0.5" clip-path="url(#clipPath6)"
/><text x="191" font-size="14px" y="18.1094" clip-path="url(#clipPath6)" font-family="sans-serif" stroke="none" xml:space="preserve"
>integer drops (62 bits)</text
></g
><g font-family="sans-serif" font-size="14px" transform="translate(80,140)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath7)" stroke="none"
>"Not XRP" bit</text
><text x="5" xml:space="preserve" y="34.2188" clip-path="url(#clipPath7)" stroke="none"
>(0=XRP, 1=not XRP)</text
></g
><g font-family="sans-serif" font-size="14px" transform="translate(100,110)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath8)" stroke="none"
>Sign bit (always 1 for positive)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(70,60)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)" stroke="none"
/></g
><g transform="translate(70,60)"
><rect fill="none" x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)"
/><text x="5" font-size="14px" y="18.1094" clip-path="url(#clipPath9)" font-family="sans-serif" stroke="none" xml:space="preserve"
>1</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(40,60)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)" stroke="none"
/></g
><g transform="translate(40,60)"
><rect fill="none" x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)"
/><text x="5" font-size="14px" y="18.1094" clip-path="url(#clipPath9)" font-family="sans-serif" stroke="none" xml:space="preserve"
>0</text
></g
><g font-family="sans-serif" font-size="14px" transform="translate(330,550)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath10)" stroke="none"
>3 chars of ASCII</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(300,510)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="148.5" height="28.5" y="0.5" clip-path="url(#clipPath11)" stroke="none"
/></g
><g transform="translate(300,510)"
><rect fill="none" x="0.5" width="148.5" height="28.5" y="0.5" clip-path="url(#clipPath11)"
/><text x="12" font-size="14px" y="18.1094" clip-path="url(#clipPath11)" font-family="sans-serif" stroke="none" xml:space="preserve"
>ISO code (24 bits)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(460,510)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="178.5" height="28.5" y="0.5" clip-path="url(#clipPath12)" stroke="none"
/></g
><g transform="translate(460,510)"
><rect fill="none" x="0.5" width="178.5" height="28.5" y="0.5" clip-path="url(#clipPath12)"
/><text x="25" font-size="14px" y="18.1094" clip-path="url(#clipPath12)" font-family="sans-serif" stroke="none" xml:space="preserve"
>Reserved (40 bits)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(70,510)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="218.5" height="28.5" y="0.5" clip-path="url(#clipPath13)" stroke="none"
/></g
><g transform="translate(70,510)"
><rect fill="none" x="0.5" width="218.5" height="28.5" y="0.5" clip-path="url(#clipPath13)"
/><text x="45" font-size="14px" y="18.1094" clip-path="url(#clipPath13)" font-family="sans-serif" stroke="none" xml:space="preserve"
>Reserved (88 bits)</text
></g
><g font-family="sans-serif" font-size="14px" transform="translate(80,560)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath14)" stroke="none"
>Type code (8 bits)</text
><text x="5" xml:space="preserve" y="34.2188" clip-path="url(#clipPath14)" stroke="none"
>0x00 for ISO 4217/pseudo-ISO currency</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(40,510)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)" stroke="none"
/></g
><g transform="translate(40,510)"
><rect fill="none" x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)"
/><text x="1" font-size="14px" y="18.1094" clip-path="url(#clipPath9)" font-family="sans-serif" stroke="none" xml:space="preserve"
>00</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(670,270)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="198.5" height="28.5" y="0.5" clip-path="url(#clipPath15)" stroke="none"
/></g
><g transform="translate(670,270)"
><rect fill="none" x="0.5" width="198.5" height="28.5" y="0.5" clip-path="url(#clipPath15)"
/><text x="5" font-size="14px" y="18.1094" clip-path="url(#clipPath15)" font-family="sans-serif" stroke="none" xml:space="preserve"
>issuer AccountID (160 bits)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(460,270)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="198.5" height="28.5" y="0.5" clip-path="url(#clipPath15)" stroke="none"
/></g
><g transform="translate(460,270)"
><rect fill="none" x="0.5" width="198.5" height="28.5" y="0.5" clip-path="url(#clipPath15)"
/><text x="14" font-size="14px" y="18.1094" clip-path="url(#clipPath15)" font-family="sans-serif" stroke="none" xml:space="preserve"
>currency code (160 bits)</text
></g
><g font-family="sans-serif" font-size="14px" transform="translate(80,350)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath7)" stroke="none"
>"Not XRP" bit</text
><text x="5" xml:space="preserve" y="34.2188" clip-path="url(#clipPath7)" stroke="none"
>(0=XRP, 1=not XRP)</text
></g
><g font-family="sans-serif" font-size="14px" transform="translate(100,320)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath8)" stroke="none"
>Sign bit (0=negative, 1=positive)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(260,270)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="188.5" height="28.5" y="0.5" clip-path="url(#clipPath16)" stroke="none"
/></g
><g transform="translate(260,270)"
><rect fill="none" x="0.5" width="188.5" height="28.5" y="0.5" clip-path="url(#clipPath16)"
/><text x="5" font-size="14px" y="18.1094" clip-path="url(#clipPath16)" font-family="sans-serif" stroke="none" xml:space="preserve"
>significant digits (54 bits)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(100,270)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="148.5" height="28.5" y="0.5" clip-path="url(#clipPath11)" stroke="none"
/></g
><g transform="translate(100,270)"
><rect fill="none" x="0.5" width="148.5" height="28.5" y="0.5" clip-path="url(#clipPath11)"
/><text x="14" font-size="14px" y="18.1094" clip-path="url(#clipPath11)" font-family="sans-serif" stroke="none" xml:space="preserve"
>exponent (8 bits)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(70,270)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)" stroke="none"
/></g
><g transform="translate(70,270)"
><rect fill="none" x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)"
/></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(40,270)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)" stroke="none"
/></g
><g transform="translate(40,270)"
><rect fill="none" x="0.5" width="18.5" height="28.5" y="0.5" clip-path="url(#clipPath9)"
/><text x="5" font-size="14px" y="18.1094" clip-path="url(#clipPath9)" font-family="sans-serif" stroke="none" xml:space="preserve"
>1</text
></g
><g transform="translate(40,80)"
><path fill="none" d="M10.5 11.5 L10.5 70.5" clip-path="url(#clipPath17)"
/><path fill="none" d="M10.5 70.5 L30.5 70.5" clip-path="url(#clipPath17)"
/><path fill="white" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath17)" stroke="none"
/><path fill="none" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath17)"
/></g
><g transform="translate(70,80)"
><path fill="none" d="M10.5 11.5 L10.5 40.5" clip-path="url(#clipPath18)"
/><path fill="none" d="M10.5 40.5 L30.5 40.5" clip-path="url(#clipPath18)"
/><path fill="white" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath18)" stroke="none"
/><path fill="none" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath18)"
/></g
><g stroke-dasharray="1,2" stroke-miterlimit="5" transform="translate(640,290)" stroke-linecap="butt"
><path fill="none" d="M10.5 210.5 L20.5 10.5" clip-path="url(#clipPath19)"
/></g
><g stroke-dasharray="1,2" stroke-miterlimit="5" transform="translate(20,290)" stroke-linecap="butt"
><path fill="none" d="M10.5 210.5 L440.5 10.5" clip-path="url(#clipPath20)"
/></g
><g transform="translate(310,530)"
><path fill="none" d="M10.5 11.5 L10.5 30.5" clip-path="url(#clipPath21)"
/><path fill="none" d="M10.5 30.5 L20.5 30.5" clip-path="url(#clipPath21)"
/><path fill="white" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath21)" stroke="none"
/><path fill="none" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath21)"
/></g
><g transform="translate(40,520)"
><path fill="none" d="M10.5 11.5 L10.5 50.5" clip-path="url(#clipPath22)"
/><path fill="none" d="M10.5 50.5 L40.5 50.5" clip-path="url(#clipPath22)"
/><path fill="white" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath22)" stroke="none"
/><path fill="none" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath22)"
/></g
><g transform="translate(40,290)"
><path fill="none" d="M10.5 11.5 L10.5 70.5" clip-path="url(#clipPath17)"
/><path fill="none" d="M10.5 70.5 L30.5 70.5" clip-path="url(#clipPath17)"
/><path fill="white" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath17)" stroke="none"
/><path fill="none" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath17)"
/></g
><g transform="translate(70,290)"
><path fill="none" d="M10.5 11.5 L10.5 40.5" clip-path="url(#clipPath18)"
/><path fill="none" d="M10.5 40.5 L30.5 40.5" clip-path="url(#clipPath18)"
/><path fill="white" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath18)" stroke="none"
/><path fill="none" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath18)"
/></g
></g
></svg
>