Upgrade to Pro — share decks privately, control downloads, hide ads and more …

KyberNetwork-DEX-research2-at-Neutrino-2018-11-12.pdf

 KyberNetwork-DEX-research2-at-Neutrino-2018-11-12.pdf

Tomokazu Kozuma

November 12, 2018
Tweet

More Decks by Tomokazu Kozuma

Other Decks in Technology

Transcript

  1. Kyber Networkͷ࢓૊Έͱ Ginco࿈ܞ D E X r e s e

    a r c h # 2 @ N e u t r i n o T O M O K A Z U K O Z U M A 2 0 1 8 / 1 1 / 1 2 / M O N
  2. ࣗݾ঺հ ౦ژ޻ۀେֶେֶӃଔۀޙɺαΠόʔΤʔδΣϯτͰεϚϗήʔϜͷ αʔόɺΠϯϑϥશൠΛ୲౰ɻ Ծ૝௨՟ʹ͍ٕͭͯज़ϒϩάΛॻ͍ͯΔ͏ͪʹ຅಄͠ɺຊ৬ͱͯ͠஫ ྗ͢ΔͨΊʹ(JODPʹೖࣾɻ(JODPͰ͸όοΫΤϯυΛ୲౰ɻ Tomokazu Kozuma @Tomokazu106 ©2018 Ginco,

    Inc. IUUQTUPNPLB[VLP[VNBDPN
  3. ©2018 Ginco, Inc.

  4. ֓ཁ ©2018 Ginco, Inc. ,ZCFS/FUXPSL֓ཁ ,ZCFS/FUXPSLͱ(JODPͷ࿈ܞ ,ZCFS/FUXPSLͷ3FTFSWFͷ࢓૊Έ 3FTFSWFͷߏங

  5. 1. KyberNetworkͷ֓ཁ

  6. ©2018 Ginco, Inc. ,ZCFS/FUXPSLͱ͸ &5) &3$ ,/$ 0.( &3$ &3$

    εϚʔτίϯτϥΫτͰτϥετϨεʹऔҾ͕Ͱ͖Δ
  7. ©2018 Ginco, Inc.

  8. ©2018 Ginco, Inc. ,ZCFS/FUXPSLͷ֓ཁ  ෼ࢄܕͷྲྀಈੑωοτϫʔΫ Ϣʔβ͸ަ׵ʹख਺ྉ͕͍Βͳ͍ ,ZCFS/FUXPSL͸3FTFSWFӡӦऀ͔Β,/$ͱ͠ ͯख਺ྉΛ΋Β͏ ຊ࣭͸%&9Ͱ͸ͳ͘5PLFOͷྲྀಈੑΛ্͛ΔͨΊ

    ͷ࢓૊ΈΛఏڙ͍ͯ͠Δ #F5PLFOɿϔοδϑΝϯυ &BTXBQɿ%&9ʢݸਓ։ൃऀʣ ,ZCFS/FUXPSLΛ࢖ͬͨαʔϏε
  9. ©2018 Ginco, Inc.

  10. ©2018 Ginco, Inc. ୅දతͳίϯτϥΫͷछྨ ɾ,ZCFS/FUXPSL ɹ,ZCFSͷೖΓޱɺϢʔβͷUY͸͜͜ʹૹ৴ ɾ&YQFDUFE3BUF ɹ,ZCFS3FTFSWFͷத͔ΒҰ൪͍͍SBUFΛऔಘ ɾ,ZCFS3FTFSWF ɹϢʔβͷࢿ࢈Λ༬͚͍ͯΔίϯτϥΫτ

    ɾ$POWFSTJPO3BUF ɹަ׵ϨʔτΛઃఆ͢ΔίϯτϥΫτ
  11. 2. KyberNetworkͱGincoͷ࿈ܞ

  12. ΢ΥϨοτͷछྨ ©2018 Ginco, Inc. ɾαʔόܕ ࣗ෼Ͱൿີ伴Λ؅ཧͰ͖ͳ͍ औҾॴɺ#MPDLDIBJOJOGPɺ.POBQQZ ɾΫϥΠΞϯτܕ ࣗ෼Ͱൿີ伴Λ؅ཧͰ͖Δ (JODPɺ#SFBEɺ&MFDUSVN

  13. Ϣʔβ໨ઢ ©2018 Ginco, Inc. ϝϦοτ σϝϦοτ αʔόܕ ؅ཧͷख͕ؒল͚Δ ϋοΧʔ͔ΒૂΘΕ΍͍͢ ΫϥΠΞϯτܕ

    ࢿ࢈Λࣗ෼Ͱ؅ཧͰ͖Δ ։ൃݩʹѱҙ͕ ͋Δͱ౪·ΕΔ
  14. ©2018 Ginco, Inc. IUUQTDSZQUPTMBUFDPNGBLFFPTXBMMFUGPVOETUFBMJOHVTFSGVOET

  15. ©2018 Ginco, Inc. ΢ΥϨοτʹඞཁͳػೳ ɾૹۚɺड͚औΓ ॺ໊ɺΞυϨεੜ੒ ɾ࢒ߴ ΞυϨεผͷ࢒ߴ؅ཧ #BMBODF ɾऔҾཤྺ

    ཤྺͷऔಘͱ؅ཧ 5SBOTBDUJPOɺ"EESFTT
  16. ©2018 Ginco, Inc. औಘ͢Δσʔλ ɾ#BMBODF ΞυϨεʹඥ͍ͮͨ࢒ߴ ɾ5SBOTBDUJPO "MJDFˠ#PCʹ&5)ૹͬͨͱ͍͏σʔλ ɾ"EESFTT ΞυϨε͸ۜߦͷޱ࠲൪߸ͱಉ͡Α͏ͳσʔλ

    1FOEJOH5YɿϒϩοΫʹऔΓࠐ·ΕΔલ 4VDDFTT5YɿϒϩοΫʹऔΓࠐ·Εͨ΋ͷ
  17. ©2018 Ginco, Inc.

  18. ©2018 Ginco, Inc. 1FOEJOH5Yͷऔಘํ๏ ,VCFSOFUFT $MPVE 1VC4VC dXPSLFS 8FCTPDLFU 1FOEJOH5Y

    Ϣʔβ৘ใΛ෇Ճ
  19. ©2018 Ginco, Inc. 4VDDFTT5Yͷऔಘํ๏ ,VCFSOFUFT $MPVE 1VC4VC dXPSLFS 8FCTPDLFU #MPDL

    Ϣʔβ৘ใΛ෇Ճ 5Y
  20. ©2018 Ginco, Inc. ,VCFSOFUFT $MPVE 1VC4VC όοΫΤϯυશମߏ੒ ॺ໊ࡁΈ5Y ཤྺऔಘ dXPSLFS

  21. ©2018 Ginco, Inc. ݄͔Β(JODPͰ%&9͕࢖͑ΔΑ͏ʹͳΓ·ͨ͠ ೔ຊ͔Β͸࢖͑·ͤΜ͕ʂʂ

  22. ©2018 Ginco, Inc. ,ZCFS/FUXPSLͱ͸ &5) &3$ ,/$ 0.( &3$ &3$

    εϚʔτίϯτϥΫτͰτϥετϨεʹऔҾ͕Ͱ͖Δ
  23. ©2018 Ginco, Inc. ,ZCFS/FUXPSLͷॲཧॱ 3BUFΛऔಘ &5),/$ɺ,/$0.( &YQFDUFE3BUFTPMͷHFU&YQFDUFE3BUF  ͔Βऔಘ ަ׵Λ࣮ߦ

    ,ZCFS/FUXPSLTPMͷUSBEF  Ͱަ׵
  24. ©2018 Ginco, Inc. 3BUFͷऔಘ ,ZCFS/FUXPSL &YQFDUFE3BUF HFU&YQFDUFE3BUF  ᶃ 3BUF,/$&5)

    ᶅ ᶄ HFU&YQFDUFE3BUF  ᶆ 3BUF,/$&5)
  25. ©2018 Ginco, Inc. ަ׵&5)UP&3$ &5) ᶃ USBEF  ᶄ ᶅ

    ,/$ ,ZCFS/FUXPSL ,ZCFS3FTFSWF
  26. ©2018 Ginco, Inc. ަ׵&3$UP&3$ ,/$$POUSBDU BQQSPWF  ࢿۚͷૹۚݖݶΛ,ZCFS/FUXPSLʹҕৡ ,ZCFS/FUXPSL ,ZCFS3FTFSWF

    ,/$ USBEF  0.( ᶃ ᶄ ᶅ
  27. ©2018 Ginco, Inc. *OUFSOBM5Yʹ͍ͭͯ $POUSBDU" $POUSBDU# $POUSBDU$ ᶃ ᶄ ᶅ

    ɾᶄɺᶅ͕*OUFSOBM5Y
  28. 5SBOTBDUJPOͷσʔλߏ଄ ©2018 Ginco, Inc. { "from": "0x10d0c14d27b05a791a9f582eb8e744d9f35bf78f", "gas": "0x397fc", "gasUsed":

    "0x30c71", "input": "", "output": "0x00000000000000000000000000000000000000000000000007fa76a26ecab6ed", "time": "484.180989ms", "to": "0x818e6fecd516ecc3849daf6845e3ec868087b755", "type": "CALL", "value": "0x38d7ea4c68000" "calls": [ { "from": "0x818e6fecd516ecc3849daf6845e3ec868087b755", "gas": "0x37b29", "gasUsed": "0x309", "input": "0x70a0823100000000000000000000000010d0c14d27b05a791a9f582eb8e744d9f35bf78f", "output": "0x00000000000000000000000000000000000000000000000007ed93c4222e61c9", "to": "0xdd974d5c2e2928dea5f71b9825b8b646686bd200", "type": "CALL", "value": "0x0" }, { "calls": [{...}, {…}, {...}, {...}, {...}, {...}, {...}], "from": "0x818e6fecd516ecc3849daf6845e3ec868087b755", "gas": "0x354af", "gasUsed": "0x2b6e3", "input": "", "output": "0x00000000000000000000000000000000000000000000000007fa76a26ecab6ed", "to": "0x91a502c678605fbce581eae053319747482276b9", "type": "CALL", "value": "0x38d7ea4c68000" } ] }
  29. ©2018 Ginco, Inc. *OUFSOBM5YΛऔಘ͢Δઃఆ ɾᶃͷτϥϯβΫγϣϯͷதʹ ɹᶄʙᶅ͕*OUFSOBM5Yͱͯ͠ه࿥͞ΕΔ ɾHFUIͷઃఆΛTZODGVMMʹ͢Δ ɾϒϩοΫҎ্લͷ*OUFSOBM5YΛऔಘ͢Δʹ͸ ɹHFUIͷઃఆΛHDNPEFBSDIJWFʹ͢Δ ɾ*OUFSOBM5YΛऔಘ͢Δʹ͸5SBDFϝιουΛ࢖͏

    ɹUSBDF$IBJO  ɺUSBDF5SBOTBDUJPO 
  30. ©2018 Ginco, Inc. ,ZCFS/FUXPSL࿈ܞͰେมͩͬͨ͜ͱ ɾUSBDF$IBJO͔Βऔಘͨ͠*OUFSOBM5YͷऔΓࠐΈ ɾHFUIͷӡ༻

  31. 3. KyberNetworkͷReserveͷ࢓૊Έ

  32. ©2018 Ginco, Inc. 3FTFSWFͱ͸  3FTFSWFʹ&5) &3$Λ༬͚Δ͜ͱͰ
 ަ׵࣌ͷεϓϨουͰརӹΛಘΒΕΔ .BJOOFUͰ͸,ZCFSͷঝೝ͕ඞཁ ༬͚͍ͯΔࢿ࢈ͷަ׵Ϩʔτͱೖग़ۚ͸ࣗ༝ʹ

    ؅ཧͰ͖Δ ઃఆͷมߋ͸τϥϯβΫγϣϯΛൃߦͯ͠มߋ
  33. ©2018 Ginco, Inc. 3BUFͷऔಘ ,ZCFS/FUXPSL &YQFDUFE3BUF HFU&YQFDUFE3BUF  ᶃ 3BUF,/$&5)

    ᶅ ᶄ HFU&YQFDUFE3BUF  ᶆ 3BUF,/$&5) ᶄ HFU&YQFDUFE3BUF  શ3FTFSWFʹ ໰͍߹Θ͍ͤͯΔ
  34. ©2018 Ginco, Inc. ίʔυͷҰ෦঺հ

  35. ©2018 Ginco, Inc. ަ׵Ϩʔτͷมߋ $POWFSTJPO3BUFTPMίϯτϥΫτʹରͯ͠ τϥϯβΫγϣϯΛൃߦ͢Δ͜ͱͰมߋ ɾTFU#BTF3BUF  ɹ5PLFOมߋ༻ ɾTFU$PNQBDU%BUB

     ɹෳ਺5PLFOҰׅมߋ༻ ɾTFU2UZ4UFQ'VODUJPO  ɹަ׵ྔʹ߹Θͤͯ3BUFΛઃఆͰ͖Δ
  36. 4. Reserveͷߏங

  37. ©2018 Ginco, Inc. 3FTFSWFʹඞཁͳ΋ͷ 4PMJEJUZWʢ5SVGGMFWʣ /PEFKTW ɾඞਢίϯτϥΫτ ɾ४උ ,ZCFS3FTFSWF $POWFSTJPO3BUF

  38. ©2018 Ginco, Inc. ϦϙδτϦ IUUQTHJUIVCDPN,ZCFS/FUXPSLTNBSUDPOUSBDUT

  39. ©2018 Ginco, Inc. ࣮ࡍʹίϯτϥΫτΛσϓϩΠ͠·͢ IUUQTEFWFMPQFSLZCFSOFUXPSLEPDT3FTFSWFT(VJEF ˞ৄࡉ͸Լه