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

196 lines
12 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="1100" stroke-miterlimit="10" shape-rendering="auto" stroke-opacity="1" fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" viewBox="30 10 1100 340" height="340" 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 80 L260 80 L260 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath3"
><path d="M0 0 L0 30 L270 30 L270 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath4"
><path d="M0 0 L0 30 L250 30 L250 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath5"
><path d="M0 0 L0 30 L210 30 L210 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath6"
><path d="M0 0 L0 30 L40 30 L40 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath7"
><path d="M0 0 L0 40 L270 40 L270 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath8"
><path d="M0 0 L0 50 L620 50 L620 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath9"
><path d="M0 0 L0 30 L240 30 L240 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath10"
><path d="M0 0 L0 50 L1050 50 L1050 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath11"
><path d="M0 0 L0 30 L160 30 L160 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath12"
><path d="M0 0 L0 30 L280 30 L280 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath13"
><path d="M0 0 L0 30 L310 30 L310 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath14"
><path d="M0 0 L0 70 L60 70 L60 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath15"
><path d="M0 0 L0 70 L250 70 L250 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath16"
><path d="M0 0 L0 160 L30 160 L30 0 Z"
/></clipPath
><clipPath clipPathUnits="userSpaceOnUse" id="clipPath17"
><path d="M0 0 L0 160 L400 160 L400 0 Z"
/></clipPath
></defs
><g fill="rgb(255,255,0)" fill-opacity="0.4902" transform="translate(170,210)" stroke-opacity="0.4902" stroke="rgb(255,255,0)"
><path d="M0.5 0.5 L248.5 0.5 L259 12.5 L259 79 L0.5 79 Z" stroke="none" clip-path="url(#clipPath2)"
/></g
><g transform="translate(170,210)"
><path fill="none" d="M0.5 0.5 L248.5 0.5 L259 12.5 L259 79 L0.5 79 Z" clip-path="url(#clipPath2)"
/><path fill="none" d="M248.5 0.5 L248.5 12.5 L259 12.5" clip-path="url(#clipPath2)"
/><text x="5" font-size="14px" y="18.1094" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none" font-weight="bold" xml:space="preserve"
>Note:</text
><text x="5" font-size="14px" y="34.2188" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none" xml:space="preserve"
>Unlike in Object and Array fields,</text
><text x="5" font-size="14px" y="50.3281" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none" xml:space="preserve"
>the nested STIssue types here do</text
><text x="5" font-size="14px" y="66.4375" clip-path="url(#clipPath2)" font-family="sans-serif" stroke="none" xml:space="preserve"
>not begin with a Field ID.</text
></g
><g font-family="sans-serif" font-size="14px" transform="translate(810,290)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath3)" stroke="none"
>Omitted if the currency code is all 0's</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(840,70)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="248.5" height="28.5" y="0.5" clip-path="url(#clipPath4)" stroke="none"
/></g
><g transform="translate(840,70)"
><rect fill="none" x="0.5" width="248.5" height="28.5" y="0.5" clip-path="url(#clipPath4)"
/><text x="57" font-size="14px" y="18.1094" clip-path="url(#clipPath4)" font-family="sans-serif" stroke="none" xml:space="preserve"
>Issuing Chain Issue</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(620,70)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="208.5" height="28.5" y="0.5" clip-path="url(#clipPath5)" stroke="none"
/></g
><g transform="translate(620,70)"
><rect fill="none" x="0.5" width="208.5" height="28.5" y="0.5" clip-path="url(#clipPath5)"
/><text x="5" font-size="14px" y="18.1094" clip-path="url(#clipPath5)" font-family="sans-serif" stroke="none" xml:space="preserve"
>Issuing chain door (160 bits)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(580,70)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="38.5" height="28.5" y="0.5" clip-path="url(#clipPath6)" stroke="none"
/></g
><g transform="translate(580,70)"
><rect fill="none" x="0.5" width="38.5" height="28.5" y="0.5" clip-path="url(#clipPath6)"
/><text x="2" font-size="14px" y="18.1094" clip-path="url(#clipPath6)" font-family="sans-serif" stroke="none" xml:space="preserve"
>0x14</text
></g
><g font-family="sans-serif" font-size="14px" transform="translate(100,120)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath7)" stroke="none"
>Door account length prefixes (8 bits)</text
><text x="5" xml:space="preserve" y="34.2188" clip-path="url(#clipPath7)" stroke="none"
>Always 0x14</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(60,70)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="38.5" height="28.5" y="0.5" clip-path="url(#clipPath6)" stroke="none"
/></g
><g transform="translate(60,70)"
><rect fill="none" x="0.5" width="38.5" height="28.5" y="0.5" clip-path="url(#clipPath6)"
/><text x="2" font-size="14px" y="18.1094" clip-path="url(#clipPath6)" font-family="sans-serif" stroke="none" xml:space="preserve"
>0x14</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(320,70)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="248.5" height="28.5" y="0.5" clip-path="url(#clipPath4)" stroke="none"
/></g
><g transform="translate(320,70)"
><rect fill="none" x="0.5" width="248.5" height="28.5" y="0.5" clip-path="url(#clipPath4)"
/><text x="55" font-size="14px" y="18.1094" clip-path="url(#clipPath4)" font-family="sans-serif" stroke="none" xml:space="preserve"
>Locking Chain Issue</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(100,70)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="208.5" height="28.5" y="0.5" clip-path="url(#clipPath5)" stroke="none"
/></g
><g transform="translate(100,70)"
><rect fill="none" x="0.5" width="208.5" height="28.5" y="0.5" clip-path="url(#clipPath5)"
/><text x="2" font-size="14px" y="18.1094" clip-path="url(#clipPath5)" font-family="sans-serif" stroke="none" xml:space="preserve"
>Locking chain door (160 bits)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(470,230)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="618.5" height="48.5" y="0.5" clip-path="url(#clipPath8)" stroke="none"
/></g
><g transform="translate(470,230)"
><rect fill="none" x="0.5" width="618.5" height="48.5" y="0.5" clip-path="url(#clipPath8)"
/></g
><g font-family="sans-serif" font-size="14px" transform="translate(580,200)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath9)" stroke="none"
>STIssue Format</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(50,60)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="1048.5" height="48.5" y="0.5" clip-path="url(#clipPath10)" stroke="none"
/></g
><g transform="translate(50,60)"
><rect fill="none" x="0.5" width="1048.5" height="48.5" y="0.5" clip-path="url(#clipPath10)"
/></g
><g font-family="sans-serif" font-size="14px" transform="translate(50,30)"
><text x="5" xml:space="preserve" y="18.1094" clip-path="url(#clipPath11)" stroke="none"
>XChainBridge Format</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(480,240)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="278.5" height="28.5" y="0.5" clip-path="url(#clipPath12)" stroke="none"
/></g
><g transform="translate(480,240)"
><rect fill="none" x="0.5" width="278.5" height="28.5" y="0.5" clip-path="url(#clipPath12)"
/><text x="53" font-size="14px" y="18.1094" clip-path="url(#clipPath12)" font-family="sans-serif" stroke="none" xml:space="preserve"
>Currency code (160 bits)</text
></g
><g fill="rgb(255,255,255)" fill-opacity="0" transform="translate(770,240)" stroke-opacity="0" stroke="rgb(255,255,255)"
><rect x="0.5" width="308.5" height="28.5" y="0.5" clip-path="url(#clipPath13)" stroke="none"
/></g
><g stroke-dasharray="8,5" stroke-miterlimit="5" transform="translate(770,240)" stroke-linecap="butt"
><rect fill="none" x="0.5" width="308.5" height="28.5" y="0.5" clip-path="url(#clipPath13)"
/><text x="59" font-size="14px" y="18.1094" clip-path="url(#clipPath13)" font-family="sans-serif" stroke="none" xml:space="preserve"
>Issuer AccountID (160 bits)</text
></g
><g transform="translate(770,260)"
><path fill="none" d="M10.5 11.5 L10.5 50.5" clip-path="url(#clipPath14)"
/><path fill="none" d="M10.5 50.5 L40.5 50.5" clip-path="url(#clipPath14)"
/><path fill="white" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath14)" stroke="none"
/><path fill="none" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath14)"
/></g
><g transform="translate(360,90)"
><path fill="none" d="M230.5 11.5 L230.5 50.5" clip-path="url(#clipPath15)"
/><path fill="none" d="M230.5 50.5 L10.5 50.5" clip-path="url(#clipPath15)"
/><path fill="white" d="M224 22.2583 L230.5 11 L237 22.2583 Z" clip-path="url(#clipPath15)" stroke="none"
/><path fill="none" d="M224 22.2583 L230.5 11 L237 22.2583 Z" clip-path="url(#clipPath15)"
/></g
><g transform="translate(60,90)"
><path fill="none" d="M10.5 11.5 L10.5 50.5" clip-path="url(#clipPath14)"
/><path fill="none" d="M10.5 50.5 L40.5 50.5" clip-path="url(#clipPath14)"
/><path fill="white" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath14)" stroke="none"
/><path fill="none" d="M4 22.2583 L10.5 11 L17 22.2583 Z" clip-path="url(#clipPath14)"
/></g
><g stroke-dasharray="1,2" stroke-miterlimit="5" transform="translate(1080,90)" stroke-linecap="butt"
><path fill="none" d="M10.5 140.5 L10.5 10.5" clip-path="url(#clipPath16)"
/></g
><g stroke-dasharray="1,2" stroke-miterlimit="5" transform="translate(460,90)" stroke-linecap="butt"
><path fill="none" d="M10.5 140.5 L380.5 10.5" clip-path="url(#clipPath17)"
/></g
></g
></svg
>