@hiero-ledger/sdk 2.73.1 → 2.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/umd.js +279 -96
  2. package/dist/umd.min.js +3 -3
  3. package/lib/MirrorNode.cjs +46 -0
  4. package/lib/MirrorNode.d.ts +16 -0
  5. package/lib/MirrorNode.js +1 -1
  6. package/lib/MirrorNode.js.map +1 -1
  7. package/lib/account/AccountAllowanceApproveTransaction.cjs +11 -5
  8. package/lib/account/AccountAllowanceApproveTransaction.d.ts +4 -5
  9. package/lib/account/AccountAllowanceApproveTransaction.js +1 -1
  10. package/lib/account/AccountAllowanceApproveTransaction.js.map +1 -1
  11. package/lib/account/AccountId.cjs +4 -4
  12. package/lib/account/AccountId.js +1 -1
  13. package/lib/account/AccountId.js.map +1 -1
  14. package/lib/account/TokenAllowance.cjs +4 -2
  15. package/lib/account/TokenAllowance.d.ts +4 -2
  16. package/lib/account/TokenAllowance.js +1 -1
  17. package/lib/account/TokenAllowance.js.map +1 -1
  18. package/lib/account/TokenTransferMap.cjs +7 -2
  19. package/lib/account/TokenTransferMap.d.ts +6 -2
  20. package/lib/account/TokenTransferMap.js +1 -1
  21. package/lib/account/TokenTransferMap.js.map +1 -1
  22. package/lib/client/Client.cjs +20 -3
  23. package/lib/client/Client.d.ts +17 -3
  24. package/lib/client/Client.js +1 -1
  25. package/lib/client/Client.js.map +1 -1
  26. package/lib/client/MirrorNetwork.cjs +16 -0
  27. package/lib/client/MirrorNetwork.d.ts +7 -0
  28. package/lib/client/MirrorNetwork.js +1 -1
  29. package/lib/client/MirrorNetwork.js.map +1 -1
  30. package/lib/client/addressbooks/mainnet.cjs +1 -1
  31. package/lib/client/addressbooks/mainnet.d.ts +1 -1
  32. package/lib/client/addressbooks/mainnet.js +1 -1
  33. package/lib/client/addressbooks/mainnet.js.map +1 -1
  34. package/lib/client/addressbooks/previewnet.cjs +1 -1
  35. package/lib/client/addressbooks/previewnet.d.ts +1 -1
  36. package/lib/client/addressbooks/previewnet.js +1 -1
  37. package/lib/client/addressbooks/previewnet.js.map +1 -1
  38. package/lib/client/addressbooks/testnet.cjs +1 -1
  39. package/lib/client/addressbooks/testnet.d.ts +1 -1
  40. package/lib/client/addressbooks/testnet.js +1 -1
  41. package/lib/client/addressbooks/testnet.js.map +1 -1
  42. package/lib/constants/ClientConstants.cjs +4 -1
  43. package/lib/constants/ClientConstants.d.ts +2 -0
  44. package/lib/constants/ClientConstants.js +1 -1
  45. package/lib/constants/ClientConstants.js.map +1 -1
  46. package/lib/contract/ContractId.cjs +2 -5
  47. package/lib/contract/ContractId.js +1 -1
  48. package/lib/contract/ContractId.js.map +1 -1
  49. package/lib/query/MirrorNodeContractQuery.cjs +16 -9
  50. package/lib/query/MirrorNodeContractQuery.js +1 -1
  51. package/lib/query/MirrorNodeContractQuery.js.map +1 -1
  52. package/lib/token/AbstractTokenTransferTransaction.cjs +12 -8
  53. package/lib/token/AbstractTokenTransferTransaction.d.ts +14 -11
  54. package/lib/token/AbstractTokenTransferTransaction.js +1 -1
  55. package/lib/token/AbstractTokenTransferTransaction.js.map +1 -1
  56. package/lib/token/AssessedCustomFee.cjs +8 -4
  57. package/lib/token/AssessedCustomFee.d.ts +8 -5
  58. package/lib/token/AssessedCustomFee.js +1 -1
  59. package/lib/token/AssessedCustomFee.js.map +1 -1
  60. package/lib/token/CustomFixedFee.cjs +8 -4
  61. package/lib/token/CustomFixedFee.d.ts +8 -5
  62. package/lib/token/CustomFixedFee.js +1 -1
  63. package/lib/token/CustomFixedFee.js.map +1 -1
  64. package/lib/token/PendingAirdropRecord.cjs +7 -2
  65. package/lib/token/PendingAirdropRecord.d.ts +6 -2
  66. package/lib/token/PendingAirdropRecord.js +1 -1
  67. package/lib/token/PendingAirdropRecord.js.map +1 -1
  68. package/lib/token/TokenAirdropTransaction.cjs +2 -1
  69. package/lib/token/TokenAirdropTransaction.d.ts +4 -2
  70. package/lib/token/TokenAirdropTransaction.js.map +1 -1
  71. package/lib/token/TokenBurnTransaction.cjs +5 -3
  72. package/lib/token/TokenBurnTransaction.d.ts +6 -4
  73. package/lib/token/TokenBurnTransaction.js +1 -1
  74. package/lib/token/TokenBurnTransaction.js.map +1 -1
  75. package/lib/token/TokenCreateTransaction.cjs +7 -6
  76. package/lib/token/TokenCreateTransaction.d.ts +8 -8
  77. package/lib/token/TokenCreateTransaction.js +1 -1
  78. package/lib/token/TokenCreateTransaction.js.map +1 -1
  79. package/lib/token/TokenMintTransaction.cjs +5 -4
  80. package/lib/token/TokenMintTransaction.d.ts +6 -5
  81. package/lib/token/TokenMintTransaction.js +1 -1
  82. package/lib/token/TokenMintTransaction.js.map +1 -1
  83. package/lib/token/TokenTransfer.cjs +3 -2
  84. package/lib/token/TokenTransfer.d.ts +2 -2
  85. package/lib/token/TokenTransfer.js +1 -1
  86. package/lib/token/TokenTransfer.js.map +1 -1
  87. package/lib/token/TokenWipeTransaction.cjs +5 -3
  88. package/lib/token/TokenWipeTransaction.d.ts +6 -4
  89. package/lib/token/TokenWipeTransaction.js +1 -1
  90. package/lib/token/TokenWipeTransaction.js.map +1 -1
  91. package/lib/transaction/Transaction.cjs +54 -0
  92. package/lib/transaction/Transaction.d.ts +10 -0
  93. package/lib/transaction/Transaction.js +1 -1
  94. package/lib/transaction/Transaction.js.map +1 -1
  95. package/lib/util.cjs +25 -0
  96. package/lib/util.d.ts +8 -0
  97. package/lib/util.js +1 -1
  98. package/lib/util.js.map +1 -1
  99. package/lib/version.js +1 -1
  100. package/package.json +12 -8
  101. package/src/MirrorNode.js +49 -0
  102. package/src/account/AccountAllowanceApproveTransaction.js +11 -11
  103. package/src/account/AccountId.js +6 -10
  104. package/src/account/TokenAllowance.js +5 -2
  105. package/src/account/TokenTransferMap.js +7 -2
  106. package/src/client/Client.js +20 -3
  107. package/src/client/MirrorNetwork.js +18 -0
  108. package/src/client/addressbooks/mainnet.js +1 -1
  109. package/src/client/addressbooks/previewnet.js +1 -1
  110. package/src/client/addressbooks/testnet.js +1 -1
  111. package/src/constants/ClientConstants.js +3 -0
  112. package/src/contract/ContractId.js +2 -10
  113. package/src/query/MirrorNodeContractQuery.js +17 -19
  114. package/src/token/AbstractTokenTransferTransaction.js +12 -8
  115. package/src/token/AssessedCustomFee.js +8 -5
  116. package/src/token/CustomFixedFee.js +8 -5
  117. package/src/token/PendingAirdropRecord.js +7 -2
  118. package/src/token/TokenAirdropTransaction.js +2 -1
  119. package/src/token/TokenBurnTransaction.js +5 -3
  120. package/src/token/TokenCreateTransaction.js +7 -9
  121. package/src/token/TokenMintTransaction.js +5 -4
  122. package/src/token/TokenTransfer.js +3 -2
  123. package/src/token/TokenWipeTransaction.js +5 -3
  124. package/src/transaction/Transaction.js +63 -0
  125. package/src/util.js +26 -0
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.addressBook = void 0;
7
- const addressBook = exports.addressBook = "0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039663166386131323163326664366337366664353038643365343239663063363462636234346338326137303537333535326161646361643037313536396537323139353866356135643039663935383766666166636662653533343161326630313134616361653334366566336339303231336433343336656262323766343335306339393063356338633366386531653336373037626330386434323536303832336533663234653039613033616430393535613530393830313936323964643034623237623235316463653035356633646463623061343164363666303934316230623837636466653334393864343630333861623564663036663632613561646530383539383537336138386338663538363064633134393261366531383634383561396231333235306536643137623830636433396335633831393130396537336361373332646232336566386261613737366563383563653030393162656362326564656662616135656433653564626662643166383835613466613838316166336631343461386135363538353335333364383933393335393230383662326431643336326534356266653166623435363833616261366336343039373961643662343638373731383437323663366562643538623265616538356337636665336662616265663566366363656438353030333462333834373230366332643637386333363138373630323662386433353165303032616635653066666536663562316632393566646332663436396361613264323338316561306234386361393837636332633865363335653862313963653565313732613933373631613864343930613961343531386437323535383830613134643737623762613737343839326239326134306262383133363265333466633664353137386439623330313132393334323035636237376662396132383234323733393435363461383535346561343732383661343766383632333965373563393437383963653938633939383434373832343632393434663631333136376437623530323033303130303031280032060800100018033a60613137316533626138333437363734376165623265326163346430653131356361616162393138323033623064666531636465616234343334333866633238396162633862613861366166663833646235663162333334303436646138386338420a0a04321284d310a48803420a0a04225e6a3d10a38803420a0a04321284d310a38803420a0a04225e6a3d10a488034a056e6f64653150808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063353537616635373966613833353031626538393962323839303737363562666466636435326162343332623031393561316631656364383666633030616236633535303962306664643937656464336362356365613536613239356633313261626235353038333164626639363366343530313138623466636336653232636634363736323030636539636338656466626266353538646336396630323432363461643764336461623233626564323133336332373465363933343438393135356462313038376639303337303930356336343138356136323131646337343266623961363930396438323138363934376232373734363364666233666630616364343765666631326561643166363937326566326331323033373933633435653737353735626534666131313063376534306661386462396336313837643131336634373034303134313739303731616266353962653764326230646538326465343231356463323535303662316339633236653439313734303163393937353036653337376536626630336236383837323765373934306661643639633565306461336364356362643262653737373335306165613264306434376539376134343863383462653663653133346436346265653039383563323931363266346331653536376363613933643036613363316265386162636533356235353766623737663466653637316136366465633739303735366430653838313831363566326261636161383931616165376163373433376663373137356236656236646562373437323337383735316262366266396230653134383366393636386539666462643536303463333962313464396532626564656563383436613938306437303464313731653762613462376663643161333064393435636131326634376133323564393339386161313866393730363630353464346431356663383939346532646562653733653932373164353438363833663631656134346662323530373165333531386137386564336562333765373161303639316632363730323033303130303031280132060800100018043a60373430396465633265343934623632376565343963363962323934626531636561656263613366646361663336373839653838666337643562306565663535363166353262383264333531393161333963326662656436303237323637313636420a0a0423ed773710a38803420a0a0403d4060d10a38803420a0a0423ed773710a48803420a0a0403d4060d10a488034a056e6f64653250808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039626134353762373333303566303461393163633436623162393635633465383431373531616263386231343135613062616466643166333263323438323338366132323732356562376563373464656132316535303631376436343865613561633339333734316162303162386566623332313233396238643466646231646662656239653366333961613436353830646430343564313863613434643030326333376464623532376363653464646333326266633733343139363731663463613434363461336632613834666338356337316163663065356138393632366466363961383134373465643136353239663830316138616661393765343335633465303461393634613335373532373238383834336535386630613035636635313533656534353037623263363862336437666235346165366139356139353963383761313266363330653935633762316233633336393565383538363632343137393236643736633136393833666166363132323530333837343539303765396366313364363763326163643530336361343531633835393333616334313138616363323739383031636239363833343939303331343563656432373632396464303839313633313730393335383761373763323230356366613532353433623533633362366561313562383465336432633330633165643735326134363333633336623235623938393365613032616435363265623962373836386233623466343766346132356533353630363439363261633762323565353832393434663030643330373938613236326639323134643863356537346430613833373663633264366261363465313866356534613430616661633632353036326432636132336364323830303730383332316433383334333134663065353834343835393233323637336133326537306165306437313165333130353831626364623134653837313334363934633665303933306634366233376239366434396136343537333934373333316537653530376439653536646535653631343666326630323033303130303031280232060800100018053a60396231343136353834613461333830626238366136633764373230376438616564646263336236336561333035393938323535626365383335316261346235646361353263393238326135346136626564363064653633636530336161613234420a0a0423f51bc110a38803420a0a043414125610a38803420a0a0423f51bc110a48803420a0a043414125610a488034a056e6f64653350808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063343263636163356662633639316662626562646138376666643165373562646364383932323439346366343466646263636565343937383835323163333738626637376462303933346563306432313833643763353164623636663836346331316162376465316163336334636664633166303933613264366633376532623334636265346338313331663936383361643432383738633833643335353463363435616131363762636662303634613833646334356335623131353834393966396439323538376666663761626364356632323163643831353035343834313330303066613665353635393038396231646664363537363665613738656165646663613662343534353566643861623539383464626533356535373935643263363335656137393734643433653865616534666562666665343932653730376234386231623066633634383161653965303964333931333330303962376432363430326536653532653565393162326233383064383866306265376662346233303365373032313937383530353761613934636539323463343932366539313635363932383665383662336261363531636132613061363364663466363930376665666533343833643933623463653164346430336337313432313131333735623263326335316434656238333965333761663533306232636264366635306434636233366532373933373137306439636464616330616365326363323462383034623061323733353163663833306237363532356532366466623964626634396130353636323461373638363234393465373236336430643730636562616539353239343365353538343266356361643133666366363061326536646366376131643533336633613562623534656332313931386337366535323562613239313436363735383331653137653336633631666538353439383832386430396237363230313534313262326535323738343962616563316366666337376465346332393463353530383131653539386666323464613135613334353639646430323033303130303031280332060800100018063a60363438363638356234653665306362393633343732633031666539393933316664396534633434383837626138333432336165376665656432326436343834383463663861336263356363636136613337333837626639366433383637323830420a0a043646c02110a38803420a0a042253707410a38803420a0a043646c02110a48803420a0a042253707410a488034a056e6f64653450808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039303266303439306139623766356432636431633064393663366136393930663537336235663065623562646262613339363631656630323330393234313933343436363939363961363861346337303731643332393939306662313739326539303031636235353938656137316332643636373638323433323065653463616266316464333537616537663261646265646331623162306139643935363233373739623463346337623437633437383761313665653731383863373231373137373632346139323634616233396334316637666630623435613839626461343063346164303763346435393664356630396437303536626362356133356634346639356135396332363665303938393264636265343661643531663264326233653939316138663636353865316632636239346337373365623434633434653839326431653535633130373666313630383331396565363537653430663139323936373534336162343261623232323338366431373538366532353337343864616264303235653530623530616536303530373230653233396436346565366662343530376330363134646434626537616664623133333038393066663361366531373635323763333131366166313239613961633565333336643966363031653731323761366437643832306164326639303264616339623234383636386131626162303864313033343265613639613730393731333266663731323063633634666364653738343063363536626131373332626139356539633336373531313735653465633364383461376530643238383432623431626262626436663238653436633361363633336531383237393635633535383230643530646165326230343635636330643432653139356239643135333265363232356562393938643661343930373961386131636434643031373564653363383766393736313438343762336362623137616133346265383230623762336164393861633366616566393933613637373839373437383263306334616533666162626363343330323033303130303031280432060800100018073a60333965393039393135613835323830333031353461366337373039353063376234373737626134303133353763306536313837363534323135636332306161636364643865356666323965396334643935636634313031666136386265343563420a0a04225ea00410a48803420a0a0436b0c76d10a38803420a0a04225ea00410a38803420a0a0436b0c76d10a488034a056e6f64653550808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039316437646666663738663465666265353839303435306335626339653335333462666661646164393366623761666231356263376263663637643364336234313362643939393430646438323536346164613034616232653465646630613163306238666237653161383039326539313338653936306265326363363862356239376635376432383163353837326539376134373966633834383336333136306533383633623537623333653438363962313835616365356533366264343361653566613637386339656236366631663430313437383638323662326638666137653030363066343430356330613866396461373230356666343638336132343366613066333135663161666262346134643134306430323233346534343733666239326663623338663365623238633630636637636266623634653036396331383038366534646436313933383932306165306664376331393365366531303465363562383137656439333938653233323233376664663038333232633963656330396434303939323732613763303135643232623464636339363966366561316635313839303231303564663630303932623535613431623466333262393537623537643834653562323233393035653836393839353137333365613966326532343631656330643635323265653831366435383530666163666562343132636666396239393934336138376463306430343634343763653933623937653136643733623936623432363339363266383166636639343538653537353737633738306136663136313561613761313233323637333865323639626237333166383965383931363232653537376561353434323062663063613436626536666334663731636632363831616330323532616138383565313362653637326364323834353930343237646364313337636633313136323565386265653362303866646361616634363562333837636537636233333831366632633134613662393961633764373334333138636663353962376564393339626166656638373930323033303130303031280532060800100018083a60613434383734613761613162333737343161303731616461616537386662313532623639366431633538643864656662653164383233303435333261306330313965653936636331396437353638363537386433396131653663333161316565420a0a04239b319310a48803420a0a04226a66da10a48803420a0a04239b319310a38803420a0a04226a66da10a388034a056e6f64653650808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063366531386338666266346364346562313034353432636232306161616132353264393566303532663130383664353831633434616437333762663636373663306333663738396166353236356238616662373962353039313264613834653061666366373534376362316666663038643035323730313765623664633563646638336235313936396434343333366136333837636437306239346266346339626166323032393834306535663466383633643730383166306661383165303836336164656462386238396135646163326262353532643665376239666261323232616332386335373037353533386663393537393932393432643334316661323837366536623530376539636537656435373265386366646135646566613336346664663864386532333832396134636362623437386631316565653362333261623835653037323935316335643934323031313566626133323730373334393466343362356636626562663834313532653335366537623136626137363462376133623532636232373334363430313633626531343635653664316661346336653666363636383461363335633961353536616137313030646265363435646638663463343233616534356130386362333562346263313837383836653232393962356330323130613566626133623934343966343833656639346564393232653165393863313133626531363662383963373335383232343331333564343432333036616265356137316237373031386666333335643664643739353432363937623136383233386239363732376664313333396235663832613362366135393764393736303337616532353036343536633862333465396662663362633332343130343431633462666338656261353835393732353465666562666161373838303961356338383534373239613562613738656365313966633834303764643838393461366263373834343033376438373863616365366331353263326538396538613634623036386136633233376530393939336265383036383930323033303130303031280632060800100018093a60363938333261373361333630326538643166626535616435386431633236333761316236373264373165653837616631306462363438656239316166623232383235336231663437653537643364346134346666353437623333393461613232420a0a042285c5e610a38803420a0a04340efccf10a38803420a0a042285c5e610a48803420a0a04340efccf10a488034a056e6f64653750808092b7afe8f74f";
7
+ const addressBook = exports.addressBook = "0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039663166386131323163326664366337366664353038643365343239663063363462636234346338326137303537333535326161646361643037313536396537323139353866356135643039663935383766666166636662653533343161326630313134616361653334366566336339303231336433343336656262323766343335306339393063356338633366386531653336373037626330386434323536303832336533663234653039613033616430393535613530393830313936323964643034623237623235316463653035356633646463623061343164363666303934316230623837636466653334393864343630333861623564663036663632613561646530383539383537336138386338663538363064633134393261366531383634383561396231333235306536643137623830636433396335633831393130396537336361373332646232336566386261613737366563383563653030393162656362326564656662616135656433653564626662643166383835613466613838316166336631343461386135363538353335333364383933393335393230383662326431643336326534356266653166623435363833616261366336343039373961643662343638373731383437323663366562643538623265616538356337636665336662616265663566366363656438353030333462333834373230366332643637386333363138373630323662386433353165303032616635653066666536663562316632393566646332663436396361613264323338316561306234386361393837636332633865363335653862313963653565313732613933373631613864343930613961343531386437323535383830613134643737623762613737343839326239326134306262383133363265333466633664353137386439623330313132393334323035636237376662396132383234323733393435363461383535346561343732383661343766383632333965373563393437383963653938633939383434373832343632393434663631333136376437623530323033303130303031280032060800100018033a60613137316533626138333437363734376165623265326163346430653131356361616162393138323033623064666531636465616234343334333866633238396162633862613861366166663833646235663162333334303436646138386338420a0a04225e6a3d10a38803420a0a04321284d310a38803420a0a04225e6a3d10a48803420a0a04321284d310a488034a056e6f64653150808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063353537616635373966613833353031626538393962323839303737363562666466636435326162343332623031393561316631656364383666633030616236633535303962306664643937656464336362356365613536613239356633313261626235353038333164626639363366343530313138623466636336653232636634363736323030636539636338656466626266353538646336396630323432363461643764336461623233626564323133336332373465363933343438393135356462313038376639303337303930356336343138356136323131646337343266623961363930396438323138363934376232373734363364666233666630616364343765666631326561643166363937326566326331323033373933633435653737353735626534666131313063376534306661386462396336313837643131336634373034303134313739303731616266353962653764326230646538326465343231356463323535303662316339633236653439313734303163393937353036653337376536626630336236383837323765373934306661643639633565306461336364356362643262653737373335306165613264306434376539376134343863383462653663653133346436346265653039383563323931363266346331653536376363613933643036613363316265386162636533356235353766623737663466653637316136366465633739303735366430653838313831363566326261636161383931616165376163373433376663373137356236656236646562373437323337383735316262366266396230653134383366393636386539666462643536303463333962313464396532626564656563383436613938306437303464313731653762613462376663643161333064393435636131326634376133323564393339386161313866393730363630353464346431356663383939346532646562653733653932373164353438363833663631656134346662323530373165333531386137386564336562333765373161303639316632363730323033303130303031280132060800100018043a60373430396465633265343934623632376565343963363962323934626531636561656263613366646361663336373839653838666337643562306565663535363166353262383264333531393161333963326662656436303237323637313636420a0a0423ed773710a38803420a0a0403d4060d10a38803420a0a0423ed773710a48803420a0a0403d4060d10a488034a056e6f64653250808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039626134353762373333303566303461393163633436623162393635633465383431373531616263386231343135613062616466643166333263323438323338366132323732356562376563373464656132316535303631376436343865613561633339333734316162303162386566623332313233396238643466646231646662656239653366333961613436353830646430343564313863613434643030326333376464623532376363653464646333326266633733343139363731663463613434363461336632613834666338356337316163663065356138393632366466363961383134373465643136353239663830316138616661393765343335633465303461393634613335373532373238383834336535386630613035636635313533656534353037623263363862336437666235346165366139356139353963383761313266363330653935633762316233633336393565383538363632343137393236643736633136393833666166363132323530333837343539303765396366313364363763326163643530336361343531633835393333616334313138616363323739383031636239363833343939303331343563656432373632396464303839313633313730393335383761373763323230356366613532353433623533633362366561313562383465336432633330633165643735326134363333633336623235623938393365613032616435363265623962373836386233623466343766346132356533353630363439363261633762323565353832393434663030643330373938613236326639323134643863356537346430613833373663633264366261363465313866356534613430616661633632353036326432636132336364323830303730383332316433383334333134663065353834343835393233323637336133326537306165306437313165333130353831626364623134653837313334363934633665303933306634366233376239366434396136343537333934373333316537653530376439653536646535653631343666326630323033303130303031280232060800100018053a60396231343136353834613461333830626238366136633764373230376438616564646263336236336561333035393938323535626365383335316261346235646361353263393238326135346136626564363064653633636530336161613234420a0a0423f51bc110a38803420a0a043414125610a48803420a0a0423f51bc110a48803420a0a043414125610a388034a056e6f64653350808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063343263636163356662633639316662626562646138376666643165373562646364383932323439346366343466646263636565343937383835323163333738626637376462303933346563306432313833643763353164623636663836346331316162376465316163336334636664633166303933613264366633376532623334636265346338313331663936383361643432383738633833643335353463363435616131363762636662303634613833646334356335623131353834393966396439323538376666663761626364356632323163643831353035343834313330303066613665353635393038396231646664363537363665613738656165646663613662343534353566643861623539383464626533356535373935643263363335656137393734643433653865616534666562666665343932653730376234386231623066633634383161653965303964333931333330303962376432363430326536653532653565393162326233383064383866306265376662346233303365373032313937383530353761613934636539323463343932366539313635363932383665383662336261363531636132613061363364663466363930376665666533343833643933623463653164346430336337313432313131333735623263326335316434656238333965333761663533306232636264366635306434636233366532373933373137306439636464616330616365326363323462383034623061323733353163663833306237363532356532366466623964626634396130353636323461373638363234393465373236336430643730636562616539353239343365353538343266356361643133666366363061326536646366376131643533336633613562623534656332313931386337366535323562613239313436363735383331653137653336633631666538353439383832386430396237363230313534313262326535323738343962616563316366666337376465346332393463353530383131653539386666323464613135613334353639646430323033303130303031280332060800100018063a60363438363638356234653665306362393633343732633031666539393933316664396534633434383837626138333432336165376665656432326436343834383463663861336263356363636136613337333837626639366433383637323830420a0a043646c02110a38803420a0a042253707410a38803420a0a043646c02110a48803420a0a042253707410a488034a056e6f64653450808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039303266303439306139623766356432636431633064393663366136393930663537336235663065623562646262613339363631656630323330393234313933343436363939363961363861346337303731643332393939306662313739326539303031636235353938656137316332643636373638323433323065653463616266316464333537616537663261646265646331623162306139643935363233373739623463346337623437633437383761313665653731383863373231373137373632346139323634616233396334316637666630623435613839626461343063346164303763346435393664356630396437303536626362356133356634346639356135396332363665303938393264636265343661643531663264326233653939316138663636353865316632636239346337373365623434633434653839326431653535633130373666313630383331396565363537653430663139323936373534336162343261623232323338366431373538366532353337343864616264303235653530623530616536303530373230653233396436346565366662343530376330363134646434626537616664623133333038393066663361366531373635323763333131366166313239613961633565333336643966363031653731323761366437643832306164326639303264616339623234383636386131626162303864313033343265613639613730393731333266663731323063633634666364653738343063363536626131373332626139356539633336373531313735653465633364383461376530643238383432623431626262626436663238653436633361363633336531383237393635633535383230643530646165326230343635636330643432653139356239643135333265363232356562393938643661343930373961386131636434643031373564653363383766393736313438343762336362623137616133346265383230623762336164393861633366616566393933613637373839373437383263306334616533666162626363343330323033303130303031280432060800100018073a60333965393039393135613835323830333031353461366337373039353063376234373737626134303133353763306536313837363534323135636332306161636364643865356666323965396334643935636634313031666136386265343563420a0a04225ea00410a48803420a0a0436b0c76d10a38803420a0a04225ea00410a38803420a0a0436b0c76d10a488034a056e6f64653550808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039316437646666663738663465666265353839303435306335626339653335333462666661646164393366623761666231356263376263663637643364336234313362643939393430646438323536346164613034616232653465646630613163306238666237653161383039326539313338653936306265326363363862356239376635376432383163353837326539376134373966633834383336333136306533383633623537623333653438363962313835616365356533366264343361653566613637386339656236366631663430313437383638323662326638666137653030363066343430356330613866396461373230356666343638336132343366613066333135663161666262346134643134306430323233346534343733666239326663623338663365623238633630636637636266623634653036396331383038366534646436313933383932306165306664376331393365366531303465363562383137656439333938653233323233376664663038333232633963656330396434303939323732613763303135643232623464636339363966366561316635313839303231303564663630303932623535613431623466333262393537623537643834653562323233393035653836393839353137333365613966326532343631656330643635323265653831366435383530666163666562343132636666396239393934336138376463306430343634343763653933623937653136643733623936623432363339363266383166636639343538653537353737633738306136663136313561613761313233323637333865323639626237333166383965383931363232653537376561353434323062663063613436626536666334663731636632363831616330323532616138383565313362653637326364323834353930343237646364313337636633313136323565386265653362303866646361616634363562333837636537636233333831366632633134613662393961633764373334333138636663353962376564393339626166656638373930323033303130303031280532060800100018083a60613434383734613761613162333737343161303731616461616537386662313532623639366431633538643864656662653164383233303435333261306330313965653936636331396437353638363537386433396131653663333161316565420a0a04239b319310a48803420a0a04226a66da10a38803420a0a04226a66da10a48803420a0a04239b319310a388034a056e6f64653650808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063366531386338666266346364346562313034353432636232306161616132353264393566303532663130383664353831633434616437333762663636373663306333663738396166353236356238616662373962353039313264613834653061666366373534376362316666663038643035323730313765623664633563646638336235313936396434343333366136333837636437306239346266346339626166323032393834306535663466383633643730383166306661383165303836336164656462386238396135646163326262353532643665376239666261323232616332386335373037353533386663393537393932393432643334316661323837366536623530376539636537656435373265386366646135646566613336346664663864386532333832396134636362623437386631316565653362333261623835653037323935316335643934323031313566626133323730373334393466343362356636626562663834313532653335366537623136626137363462376133623532636232373334363430313633626531343635653664316661346336653666363636383461363335633961353536616137313030646265363435646638663463343233616534356130386362333562346263313837383836653232393962356330323130613566626133623934343966343833656639346564393232653165393863313133626531363662383963373335383232343331333564343432333036616265356137316237373031386666333335643664643739353432363937623136383233386239363732376664313333396235663832613362366135393764393736303337616532353036343536633862333465396662663362633332343130343431633462666338656261353835393732353465666562666161373838303961356338383534373239613562613738656365313966633834303764643838393461366263373834343033376438373863616365366331353263326538396538613634623036386136633233376530393939336265383036383930323033303130303031280632060800100018093a60363938333261373361333630326538643166626535616435386431633236333761316236373264373165653837616631306462363438656239316166623232383235336231663437653537643364346134346666353437623333393461613232420a0a04340efccf10a38803420a0a042285c5e610a38803420a0a04340efccf10a48803420a0a042285c5e610a488034a056e6f64653750808092b7afe8f74f";
@@ -1 +1 @@
1
- export const addressBook: "0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039663166386131323163326664366337366664353038643365343239663063363462636234346338326137303537333535326161646361643037313536396537323139353866356135643039663935383766666166636662653533343161326630313134616361653334366566336339303231336433343336656262323766343335306339393063356338633366386531653336373037626330386434323536303832336533663234653039613033616430393535613530393830313936323964643034623237623235316463653035356633646463623061343164363666303934316230623837636466653334393864343630333861623564663036663632613561646530383539383537336138386338663538363064633134393261366531383634383561396231333235306536643137623830636433396335633831393130396537336361373332646232336566386261613737366563383563653030393162656362326564656662616135656433653564626662643166383835613466613838316166336631343461386135363538353335333364383933393335393230383662326431643336326534356266653166623435363833616261366336343039373961643662343638373731383437323663366562643538623265616538356337636665336662616265663566366363656438353030333462333834373230366332643637386333363138373630323662386433353165303032616635653066666536663562316632393566646332663436396361613264323338316561306234386361393837636332633865363335653862313963653565313732613933373631613864343930613961343531386437323535383830613134643737623762613737343839326239326134306262383133363265333466633664353137386439623330313132393334323035636237376662396132383234323733393435363461383535346561343732383661343766383632333965373563393437383963653938633939383434373832343632393434663631333136376437623530323033303130303031280032060800100018033a60613137316533626138333437363734376165623265326163346430653131356361616162393138323033623064666531636465616234343334333866633238396162633862613861366166663833646235663162333334303436646138386338420a0a04321284d310a48803420a0a04225e6a3d10a38803420a0a04321284d310a38803420a0a04225e6a3d10a488034a056e6f64653150808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063353537616635373966613833353031626538393962323839303737363562666466636435326162343332623031393561316631656364383666633030616236633535303962306664643937656464336362356365613536613239356633313261626235353038333164626639363366343530313138623466636336653232636634363736323030636539636338656466626266353538646336396630323432363461643764336461623233626564323133336332373465363933343438393135356462313038376639303337303930356336343138356136323131646337343266623961363930396438323138363934376232373734363364666233666630616364343765666631326561643166363937326566326331323033373933633435653737353735626534666131313063376534306661386462396336313837643131336634373034303134313739303731616266353962653764326230646538326465343231356463323535303662316339633236653439313734303163393937353036653337376536626630336236383837323765373934306661643639633565306461336364356362643262653737373335306165613264306434376539376134343863383462653663653133346436346265653039383563323931363266346331653536376363613933643036613363316265386162636533356235353766623737663466653637316136366465633739303735366430653838313831363566326261636161383931616165376163373433376663373137356236656236646562373437323337383735316262366266396230653134383366393636386539666462643536303463333962313464396532626564656563383436613938306437303464313731653762613462376663643161333064393435636131326634376133323564393339386161313866393730363630353464346431356663383939346532646562653733653932373164353438363833663631656134346662323530373165333531386137386564336562333765373161303639316632363730323033303130303031280132060800100018043a60373430396465633265343934623632376565343963363962323934626531636561656263613366646361663336373839653838666337643562306565663535363166353262383264333531393161333963326662656436303237323637313636420a0a0423ed773710a38803420a0a0403d4060d10a38803420a0a0423ed773710a48803420a0a0403d4060d10a488034a056e6f64653250808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039626134353762373333303566303461393163633436623162393635633465383431373531616263386231343135613062616466643166333263323438323338366132323732356562376563373464656132316535303631376436343865613561633339333734316162303162386566623332313233396238643466646231646662656239653366333961613436353830646430343564313863613434643030326333376464623532376363653464646333326266633733343139363731663463613434363461336632613834666338356337316163663065356138393632366466363961383134373465643136353239663830316138616661393765343335633465303461393634613335373532373238383834336535386630613035636635313533656534353037623263363862336437666235346165366139356139353963383761313266363330653935633762316233633336393565383538363632343137393236643736633136393833666166363132323530333837343539303765396366313364363763326163643530336361343531633835393333616334313138616363323739383031636239363833343939303331343563656432373632396464303839313633313730393335383761373763323230356366613532353433623533633362366561313562383465336432633330633165643735326134363333633336623235623938393365613032616435363265623962373836386233623466343766346132356533353630363439363261633762323565353832393434663030643330373938613236326639323134643863356537346430613833373663633264366261363465313866356534613430616661633632353036326432636132336364323830303730383332316433383334333134663065353834343835393233323637336133326537306165306437313165333130353831626364623134653837313334363934633665303933306634366233376239366434396136343537333934373333316537653530376439653536646535653631343666326630323033303130303031280232060800100018053a60396231343136353834613461333830626238366136633764373230376438616564646263336236336561333035393938323535626365383335316261346235646361353263393238326135346136626564363064653633636530336161613234420a0a0423f51bc110a38803420a0a043414125610a38803420a0a0423f51bc110a48803420a0a043414125610a488034a056e6f64653350808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063343263636163356662633639316662626562646138376666643165373562646364383932323439346366343466646263636565343937383835323163333738626637376462303933346563306432313833643763353164623636663836346331316162376465316163336334636664633166303933613264366633376532623334636265346338313331663936383361643432383738633833643335353463363435616131363762636662303634613833646334356335623131353834393966396439323538376666663761626364356632323163643831353035343834313330303066613665353635393038396231646664363537363665613738656165646663613662343534353566643861623539383464626533356535373935643263363335656137393734643433653865616534666562666665343932653730376234386231623066633634383161653965303964333931333330303962376432363430326536653532653565393162326233383064383866306265376662346233303365373032313937383530353761613934636539323463343932366539313635363932383665383662336261363531636132613061363364663466363930376665666533343833643933623463653164346430336337313432313131333735623263326335316434656238333965333761663533306232636264366635306434636233366532373933373137306439636464616330616365326363323462383034623061323733353163663833306237363532356532366466623964626634396130353636323461373638363234393465373236336430643730636562616539353239343365353538343266356361643133666366363061326536646366376131643533336633613562623534656332313931386337366535323562613239313436363735383331653137653336633631666538353439383832386430396237363230313534313262326535323738343962616563316366666337376465346332393463353530383131653539386666323464613135613334353639646430323033303130303031280332060800100018063a60363438363638356234653665306362393633343732633031666539393933316664396534633434383837626138333432336165376665656432326436343834383463663861336263356363636136613337333837626639366433383637323830420a0a043646c02110a38803420a0a042253707410a38803420a0a043646c02110a48803420a0a042253707410a488034a056e6f64653450808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039303266303439306139623766356432636431633064393663366136393930663537336235663065623562646262613339363631656630323330393234313933343436363939363961363861346337303731643332393939306662313739326539303031636235353938656137316332643636373638323433323065653463616266316464333537616537663261646265646331623162306139643935363233373739623463346337623437633437383761313665653731383863373231373137373632346139323634616233396334316637666630623435613839626461343063346164303763346435393664356630396437303536626362356133356634346639356135396332363665303938393264636265343661643531663264326233653939316138663636353865316632636239346337373365623434633434653839326431653535633130373666313630383331396565363537653430663139323936373534336162343261623232323338366431373538366532353337343864616264303235653530623530616536303530373230653233396436346565366662343530376330363134646434626537616664623133333038393066663361366531373635323763333131366166313239613961633565333336643966363031653731323761366437643832306164326639303264616339623234383636386131626162303864313033343265613639613730393731333266663731323063633634666364653738343063363536626131373332626139356539633336373531313735653465633364383461376530643238383432623431626262626436663238653436633361363633336531383237393635633535383230643530646165326230343635636330643432653139356239643135333265363232356562393938643661343930373961386131636434643031373564653363383766393736313438343762336362623137616133346265383230623762336164393861633366616566393933613637373839373437383263306334616533666162626363343330323033303130303031280432060800100018073a60333965393039393135613835323830333031353461366337373039353063376234373737626134303133353763306536313837363534323135636332306161636364643865356666323965396334643935636634313031666136386265343563420a0a04225ea00410a48803420a0a0436b0c76d10a38803420a0a04225ea00410a38803420a0a0436b0c76d10a488034a056e6f64653550808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039316437646666663738663465666265353839303435306335626339653335333462666661646164393366623761666231356263376263663637643364336234313362643939393430646438323536346164613034616232653465646630613163306238666237653161383039326539313338653936306265326363363862356239376635376432383163353837326539376134373966633834383336333136306533383633623537623333653438363962313835616365356533366264343361653566613637386339656236366631663430313437383638323662326638666137653030363066343430356330613866396461373230356666343638336132343366613066333135663161666262346134643134306430323233346534343733666239326663623338663365623238633630636637636266623634653036396331383038366534646436313933383932306165306664376331393365366531303465363562383137656439333938653233323233376664663038333232633963656330396434303939323732613763303135643232623464636339363966366561316635313839303231303564663630303932623535613431623466333262393537623537643834653562323233393035653836393839353137333365613966326532343631656330643635323265653831366435383530666163666562343132636666396239393934336138376463306430343634343763653933623937653136643733623936623432363339363266383166636639343538653537353737633738306136663136313561613761313233323637333865323639626237333166383965383931363232653537376561353434323062663063613436626536666334663731636632363831616330323532616138383565313362653637326364323834353930343237646364313337636633313136323565386265653362303866646361616634363562333837636537636233333831366632633134613662393961633764373334333138636663353962376564393339626166656638373930323033303130303031280532060800100018083a60613434383734613761613162333737343161303731616461616537386662313532623639366431633538643864656662653164383233303435333261306330313965653936636331396437353638363537386433396131653663333161316565420a0a04239b319310a48803420a0a04226a66da10a48803420a0a04239b319310a38803420a0a04226a66da10a388034a056e6f64653650808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063366531386338666266346364346562313034353432636232306161616132353264393566303532663130383664353831633434616437333762663636373663306333663738396166353236356238616662373962353039313264613834653061666366373534376362316666663038643035323730313765623664633563646638336235313936396434343333366136333837636437306239346266346339626166323032393834306535663466383633643730383166306661383165303836336164656462386238396135646163326262353532643665376239666261323232616332386335373037353533386663393537393932393432643334316661323837366536623530376539636537656435373265386366646135646566613336346664663864386532333832396134636362623437386631316565653362333261623835653037323935316335643934323031313566626133323730373334393466343362356636626562663834313532653335366537623136626137363462376133623532636232373334363430313633626531343635653664316661346336653666363636383461363335633961353536616137313030646265363435646638663463343233616534356130386362333562346263313837383836653232393962356330323130613566626133623934343966343833656639346564393232653165393863313133626531363662383963373335383232343331333564343432333036616265356137316237373031386666333335643664643739353432363937623136383233386239363732376664313333396235663832613362366135393764393736303337616532353036343536633862333465396662663362633332343130343431633462666338656261353835393732353465666562666161373838303961356338383534373239613562613738656365313966633834303764643838393461366263373834343033376438373863616365366331353263326538396538613634623036386136633233376530393939336265383036383930323033303130303031280632060800100018093a60363938333261373361333630326538643166626535616435386431633236333761316236373264373165653837616631306462363438656239316166623232383235336231663437653537643364346134346666353437623333393461613232420a0a042285c5e610a38803420a0a04340efccf10a38803420a0a042285c5e610a48803420a0a04340efccf10a488034a056e6f64653750808092b7afe8f74f";
1
+ export const addressBook: "0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039663166386131323163326664366337366664353038643365343239663063363462636234346338326137303537333535326161646361643037313536396537323139353866356135643039663935383766666166636662653533343161326630313134616361653334366566336339303231336433343336656262323766343335306339393063356338633366386531653336373037626330386434323536303832336533663234653039613033616430393535613530393830313936323964643034623237623235316463653035356633646463623061343164363666303934316230623837636466653334393864343630333861623564663036663632613561646530383539383537336138386338663538363064633134393261366531383634383561396231333235306536643137623830636433396335633831393130396537336361373332646232336566386261613737366563383563653030393162656362326564656662616135656433653564626662643166383835613466613838316166336631343461386135363538353335333364383933393335393230383662326431643336326534356266653166623435363833616261366336343039373961643662343638373731383437323663366562643538623265616538356337636665336662616265663566366363656438353030333462333834373230366332643637386333363138373630323662386433353165303032616635653066666536663562316632393566646332663436396361613264323338316561306234386361393837636332633865363335653862313963653565313732613933373631613864343930613961343531386437323535383830613134643737623762613737343839326239326134306262383133363265333466633664353137386439623330313132393334323035636237376662396132383234323733393435363461383535346561343732383661343766383632333965373563393437383963653938633939383434373832343632393434663631333136376437623530323033303130303031280032060800100018033a60613137316533626138333437363734376165623265326163346430653131356361616162393138323033623064666531636465616234343334333866633238396162633862613861366166663833646235663162333334303436646138386338420a0a04225e6a3d10a38803420a0a04321284d310a38803420a0a04225e6a3d10a48803420a0a04321284d310a488034a056e6f64653150808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063353537616635373966613833353031626538393962323839303737363562666466636435326162343332623031393561316631656364383666633030616236633535303962306664643937656464336362356365613536613239356633313261626235353038333164626639363366343530313138623466636336653232636634363736323030636539636338656466626266353538646336396630323432363461643764336461623233626564323133336332373465363933343438393135356462313038376639303337303930356336343138356136323131646337343266623961363930396438323138363934376232373734363364666233666630616364343765666631326561643166363937326566326331323033373933633435653737353735626534666131313063376534306661386462396336313837643131336634373034303134313739303731616266353962653764326230646538326465343231356463323535303662316339633236653439313734303163393937353036653337376536626630336236383837323765373934306661643639633565306461336364356362643262653737373335306165613264306434376539376134343863383462653663653133346436346265653039383563323931363266346331653536376363613933643036613363316265386162636533356235353766623737663466653637316136366465633739303735366430653838313831363566326261636161383931616165376163373433376663373137356236656236646562373437323337383735316262366266396230653134383366393636386539666462643536303463333962313464396532626564656563383436613938306437303464313731653762613462376663643161333064393435636131326634376133323564393339386161313866393730363630353464346431356663383939346532646562653733653932373164353438363833663631656134346662323530373165333531386137386564336562333765373161303639316632363730323033303130303031280132060800100018043a60373430396465633265343934623632376565343963363962323934626531636561656263613366646361663336373839653838666337643562306565663535363166353262383264333531393161333963326662656436303237323637313636420a0a0423ed773710a38803420a0a0403d4060d10a38803420a0a0423ed773710a48803420a0a0403d4060d10a488034a056e6f64653250808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039626134353762373333303566303461393163633436623162393635633465383431373531616263386231343135613062616466643166333263323438323338366132323732356562376563373464656132316535303631376436343865613561633339333734316162303162386566623332313233396238643466646231646662656239653366333961613436353830646430343564313863613434643030326333376464623532376363653464646333326266633733343139363731663463613434363461336632613834666338356337316163663065356138393632366466363961383134373465643136353239663830316138616661393765343335633465303461393634613335373532373238383834336535386630613035636635313533656534353037623263363862336437666235346165366139356139353963383761313266363330653935633762316233633336393565383538363632343137393236643736633136393833666166363132323530333837343539303765396366313364363763326163643530336361343531633835393333616334313138616363323739383031636239363833343939303331343563656432373632396464303839313633313730393335383761373763323230356366613532353433623533633362366561313562383465336432633330633165643735326134363333633336623235623938393365613032616435363265623962373836386233623466343766346132356533353630363439363261633762323565353832393434663030643330373938613236326639323134643863356537346430613833373663633264366261363465313866356534613430616661633632353036326432636132336364323830303730383332316433383334333134663065353834343835393233323637336133326537306165306437313165333130353831626364623134653837313334363934633665303933306634366233376239366434396136343537333934373333316537653530376439653536646535653631343666326630323033303130303031280232060800100018053a60396231343136353834613461333830626238366136633764373230376438616564646263336236336561333035393938323535626365383335316261346235646361353263393238326135346136626564363064653633636530336161613234420a0a0423f51bc110a38803420a0a043414125610a48803420a0a0423f51bc110a48803420a0a043414125610a388034a056e6f64653350808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063343263636163356662633639316662626562646138376666643165373562646364383932323439346366343466646263636565343937383835323163333738626637376462303933346563306432313833643763353164623636663836346331316162376465316163336334636664633166303933613264366633376532623334636265346338313331663936383361643432383738633833643335353463363435616131363762636662303634613833646334356335623131353834393966396439323538376666663761626364356632323163643831353035343834313330303066613665353635393038396231646664363537363665613738656165646663613662343534353566643861623539383464626533356535373935643263363335656137393734643433653865616534666562666665343932653730376234386231623066633634383161653965303964333931333330303962376432363430326536653532653565393162326233383064383866306265376662346233303365373032313937383530353761613934636539323463343932366539313635363932383665383662336261363531636132613061363364663466363930376665666533343833643933623463653164346430336337313432313131333735623263326335316434656238333965333761663533306232636264366635306434636233366532373933373137306439636464616330616365326363323462383034623061323733353163663833306237363532356532366466623964626634396130353636323461373638363234393465373236336430643730636562616539353239343365353538343266356361643133666366363061326536646366376131643533336633613562623534656332313931386337366535323562613239313436363735383331653137653336633631666538353439383832386430396237363230313534313262326535323738343962616563316366666337376465346332393463353530383131653539386666323464613135613334353639646430323033303130303031280332060800100018063a60363438363638356234653665306362393633343732633031666539393933316664396534633434383837626138333432336165376665656432326436343834383463663861336263356363636136613337333837626639366433383637323830420a0a043646c02110a38803420a0a042253707410a38803420a0a043646c02110a48803420a0a042253707410a488034a056e6f64653450808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039303266303439306139623766356432636431633064393663366136393930663537336235663065623562646262613339363631656630323330393234313933343436363939363961363861346337303731643332393939306662313739326539303031636235353938656137316332643636373638323433323065653463616266316464333537616537663261646265646331623162306139643935363233373739623463346337623437633437383761313665653731383863373231373137373632346139323634616233396334316637666630623435613839626461343063346164303763346435393664356630396437303536626362356133356634346639356135396332363665303938393264636265343661643531663264326233653939316138663636353865316632636239346337373365623434633434653839326431653535633130373666313630383331396565363537653430663139323936373534336162343261623232323338366431373538366532353337343864616264303235653530623530616536303530373230653233396436346565366662343530376330363134646434626537616664623133333038393066663361366531373635323763333131366166313239613961633565333336643966363031653731323761366437643832306164326639303264616339623234383636386131626162303864313033343265613639613730393731333266663731323063633634666364653738343063363536626131373332626139356539633336373531313735653465633364383461376530643238383432623431626262626436663238653436633361363633336531383237393635633535383230643530646165326230343635636330643432653139356239643135333265363232356562393938643661343930373961386131636434643031373564653363383766393736313438343762336362623137616133346265383230623762336164393861633366616566393933613637373839373437383263306334616533666162626363343330323033303130303031280432060800100018073a60333965393039393135613835323830333031353461366337373039353063376234373737626134303133353763306536313837363534323135636332306161636364643865356666323965396334643935636634313031666136386265343563420a0a04225ea00410a48803420a0a0436b0c76d10a38803420a0a04225ea00410a38803420a0a0436b0c76d10a488034a056e6f64653550808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039316437646666663738663465666265353839303435306335626339653335333462666661646164393366623761666231356263376263663637643364336234313362643939393430646438323536346164613034616232653465646630613163306238666237653161383039326539313338653936306265326363363862356239376635376432383163353837326539376134373966633834383336333136306533383633623537623333653438363962313835616365356533366264343361653566613637386339656236366631663430313437383638323662326638666137653030363066343430356330613866396461373230356666343638336132343366613066333135663161666262346134643134306430323233346534343733666239326663623338663365623238633630636637636266623634653036396331383038366534646436313933383932306165306664376331393365366531303465363562383137656439333938653233323233376664663038333232633963656330396434303939323732613763303135643232623464636339363966366561316635313839303231303564663630303932623535613431623466333262393537623537643834653562323233393035653836393839353137333365613966326532343631656330643635323265653831366435383530666163666562343132636666396239393934336138376463306430343634343763653933623937653136643733623936623432363339363266383166636639343538653537353737633738306136663136313561613761313233323637333865323639626237333166383965383931363232653537376561353434323062663063613436626536666334663731636632363831616330323532616138383565313362653637326364323834353930343237646364313337636633313136323565386265653362303866646361616634363562333837636537636233333831366632633134613662393961633764373334333138636663353962376564393339626166656638373930323033303130303031280532060800100018083a60613434383734613761613162333737343161303731616461616537386662313532623639366431633538643864656662653164383233303435333261306330313965653936636331396437353638363537386433396131653663333161316565420a0a04239b319310a48803420a0a04226a66da10a38803420a0a04226a66da10a48803420a0a04239b319310a388034a056e6f64653650808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063366531386338666266346364346562313034353432636232306161616132353264393566303532663130383664353831633434616437333762663636373663306333663738396166353236356238616662373962353039313264613834653061666366373534376362316666663038643035323730313765623664633563646638336235313936396434343333366136333837636437306239346266346339626166323032393834306535663466383633643730383166306661383165303836336164656462386238396135646163326262353532643665376239666261323232616332386335373037353533386663393537393932393432643334316661323837366536623530376539636537656435373265386366646135646566613336346664663864386532333832396134636362623437386631316565653362333261623835653037323935316335643934323031313566626133323730373334393466343362356636626562663834313532653335366537623136626137363462376133623532636232373334363430313633626531343635653664316661346336653666363636383461363335633961353536616137313030646265363435646638663463343233616534356130386362333562346263313837383836653232393962356330323130613566626133623934343966343833656639346564393232653165393863313133626531363662383963373335383232343331333564343432333036616265356137316237373031386666333335643664643739353432363937623136383233386239363732376664313333396235663832613362366135393764393736303337616532353036343536633862333465396662663362633332343130343431633462666338656261353835393732353465666562666161373838303961356338383534373239613562613738656365313966633834303764643838393461366263373834343033376438373863616365366331353263326538396538613634623036386136633233376530393939336265383036383930323033303130303031280632060800100018093a60363938333261373361333630326538643166626535616435386431633236333761316236373264373165653837616631306462363438656239316166623232383235336231663437653537643364346134346666353437623333393461613232420a0a04340efccf10a38803420a0a042285c5e610a38803420a0a04340efccf10a48803420a0a042285c5e610a488034a056e6f64653750808092b7afe8f74f";
@@ -1,2 +1,2 @@
1
- const a="0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039663166386131323163326664366337366664353038643365343239663063363462636234346338326137303537333535326161646361643037313536396537323139353866356135643039663935383766666166636662653533343161326630313134616361653334366566336339303231336433343336656262323766343335306339393063356338633366386531653336373037626330386434323536303832336533663234653039613033616430393535613530393830313936323964643034623237623235316463653035356633646463623061343164363666303934316230623837636466653334393864343630333861623564663036663632613561646530383539383537336138386338663538363064633134393261366531383634383561396231333235306536643137623830636433396335633831393130396537336361373332646232336566386261613737366563383563653030393162656362326564656662616135656433653564626662643166383835613466613838316166336631343461386135363538353335333364383933393335393230383662326431643336326534356266653166623435363833616261366336343039373961643662343638373731383437323663366562643538623265616538356337636665336662616265663566366363656438353030333462333834373230366332643637386333363138373630323662386433353165303032616635653066666536663562316632393566646332663436396361613264323338316561306234386361393837636332633865363335653862313963653565313732613933373631613864343930613961343531386437323535383830613134643737623762613737343839326239326134306262383133363265333466633664353137386439623330313132393334323035636237376662396132383234323733393435363461383535346561343732383661343766383632333965373563393437383963653938633939383434373832343632393434663631333136376437623530323033303130303031280032060800100018033a60613137316533626138333437363734376165623265326163346430653131356361616162393138323033623064666531636465616234343334333866633238396162633862613861366166663833646235663162333334303436646138386338420a0a04321284d310a48803420a0a04225e6a3d10a38803420a0a04321284d310a38803420a0a04225e6a3d10a488034a056e6f64653150808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063353537616635373966613833353031626538393962323839303737363562666466636435326162343332623031393561316631656364383666633030616236633535303962306664643937656464336362356365613536613239356633313261626235353038333164626639363366343530313138623466636336653232636634363736323030636539636338656466626266353538646336396630323432363461643764336461623233626564323133336332373465363933343438393135356462313038376639303337303930356336343138356136323131646337343266623961363930396438323138363934376232373734363364666233666630616364343765666631326561643166363937326566326331323033373933633435653737353735626534666131313063376534306661386462396336313837643131336634373034303134313739303731616266353962653764326230646538326465343231356463323535303662316339633236653439313734303163393937353036653337376536626630336236383837323765373934306661643639633565306461336364356362643262653737373335306165613264306434376539376134343863383462653663653133346436346265653039383563323931363266346331653536376363613933643036613363316265386162636533356235353766623737663466653637316136366465633739303735366430653838313831363566326261636161383931616165376163373433376663373137356236656236646562373437323337383735316262366266396230653134383366393636386539666462643536303463333962313464396532626564656563383436613938306437303464313731653762613462376663643161333064393435636131326634376133323564393339386161313866393730363630353464346431356663383939346532646562653733653932373164353438363833663631656134346662323530373165333531386137386564336562333765373161303639316632363730323033303130303031280132060800100018043a60373430396465633265343934623632376565343963363962323934626531636561656263613366646361663336373839653838666337643562306565663535363166353262383264333531393161333963326662656436303237323637313636420a0a0423ed773710a38803420a0a0403d4060d10a38803420a0a0423ed773710a48803420a0a0403d4060d10a488034a056e6f64653250808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039626134353762373333303566303461393163633436623162393635633465383431373531616263386231343135613062616466643166333263323438323338366132323732356562376563373464656132316535303631376436343865613561633339333734316162303162386566623332313233396238643466646231646662656239653366333961613436353830646430343564313863613434643030326333376464623532376363653464646333326266633733343139363731663463613434363461336632613834666338356337316163663065356138393632366466363961383134373465643136353239663830316138616661393765343335633465303461393634613335373532373238383834336535386630613035636635313533656534353037623263363862336437666235346165366139356139353963383761313266363330653935633762316233633336393565383538363632343137393236643736633136393833666166363132323530333837343539303765396366313364363763326163643530336361343531633835393333616334313138616363323739383031636239363833343939303331343563656432373632396464303839313633313730393335383761373763323230356366613532353433623533633362366561313562383465336432633330633165643735326134363333633336623235623938393365613032616435363265623962373836386233623466343766346132356533353630363439363261633762323565353832393434663030643330373938613236326639323134643863356537346430613833373663633264366261363465313866356534613430616661633632353036326432636132336364323830303730383332316433383334333134663065353834343835393233323637336133326537306165306437313165333130353831626364623134653837313334363934633665303933306634366233376239366434396136343537333934373333316537653530376439653536646535653631343666326630323033303130303031280232060800100018053a60396231343136353834613461333830626238366136633764373230376438616564646263336236336561333035393938323535626365383335316261346235646361353263393238326135346136626564363064653633636530336161613234420a0a0423f51bc110a38803420a0a043414125610a38803420a0a0423f51bc110a48803420a0a043414125610a488034a056e6f64653350808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063343263636163356662633639316662626562646138376666643165373562646364383932323439346366343466646263636565343937383835323163333738626637376462303933346563306432313833643763353164623636663836346331316162376465316163336334636664633166303933613264366633376532623334636265346338313331663936383361643432383738633833643335353463363435616131363762636662303634613833646334356335623131353834393966396439323538376666663761626364356632323163643831353035343834313330303066613665353635393038396231646664363537363665613738656165646663613662343534353566643861623539383464626533356535373935643263363335656137393734643433653865616534666562666665343932653730376234386231623066633634383161653965303964333931333330303962376432363430326536653532653565393162326233383064383866306265376662346233303365373032313937383530353761613934636539323463343932366539313635363932383665383662336261363531636132613061363364663466363930376665666533343833643933623463653164346430336337313432313131333735623263326335316434656238333965333761663533306232636264366635306434636233366532373933373137306439636464616330616365326363323462383034623061323733353163663833306237363532356532366466623964626634396130353636323461373638363234393465373236336430643730636562616539353239343365353538343266356361643133666366363061326536646366376131643533336633613562623534656332313931386337366535323562613239313436363735383331653137653336633631666538353439383832386430396237363230313534313262326535323738343962616563316366666337376465346332393463353530383131653539386666323464613135613334353639646430323033303130303031280332060800100018063a60363438363638356234653665306362393633343732633031666539393933316664396534633434383837626138333432336165376665656432326436343834383463663861336263356363636136613337333837626639366433383637323830420a0a043646c02110a38803420a0a042253707410a38803420a0a043646c02110a48803420a0a042253707410a488034a056e6f64653450808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039303266303439306139623766356432636431633064393663366136393930663537336235663065623562646262613339363631656630323330393234313933343436363939363961363861346337303731643332393939306662313739326539303031636235353938656137316332643636373638323433323065653463616266316464333537616537663261646265646331623162306139643935363233373739623463346337623437633437383761313665653731383863373231373137373632346139323634616233396334316637666630623435613839626461343063346164303763346435393664356630396437303536626362356133356634346639356135396332363665303938393264636265343661643531663264326233653939316138663636353865316632636239346337373365623434633434653839326431653535633130373666313630383331396565363537653430663139323936373534336162343261623232323338366431373538366532353337343864616264303235653530623530616536303530373230653233396436346565366662343530376330363134646434626537616664623133333038393066663361366531373635323763333131366166313239613961633565333336643966363031653731323761366437643832306164326639303264616339623234383636386131626162303864313033343265613639613730393731333266663731323063633634666364653738343063363536626131373332626139356539633336373531313735653465633364383461376530643238383432623431626262626436663238653436633361363633336531383237393635633535383230643530646165326230343635636330643432653139356239643135333265363232356562393938643661343930373961386131636434643031373564653363383766393736313438343762336362623137616133346265383230623762336164393861633366616566393933613637373839373437383263306334616533666162626363343330323033303130303031280432060800100018073a60333965393039393135613835323830333031353461366337373039353063376234373737626134303133353763306536313837363534323135636332306161636364643865356666323965396334643935636634313031666136386265343563420a0a04225ea00410a48803420a0a0436b0c76d10a38803420a0a04225ea00410a38803420a0a0436b0c76d10a488034a056e6f64653550808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039316437646666663738663465666265353839303435306335626339653335333462666661646164393366623761666231356263376263663637643364336234313362643939393430646438323536346164613034616232653465646630613163306238666237653161383039326539313338653936306265326363363862356239376635376432383163353837326539376134373966633834383336333136306533383633623537623333653438363962313835616365356533366264343361653566613637386339656236366631663430313437383638323662326638666137653030363066343430356330613866396461373230356666343638336132343366613066333135663161666262346134643134306430323233346534343733666239326663623338663365623238633630636637636266623634653036396331383038366534646436313933383932306165306664376331393365366531303465363562383137656439333938653233323233376664663038333232633963656330396434303939323732613763303135643232623464636339363966366561316635313839303231303564663630303932623535613431623466333262393537623537643834653562323233393035653836393839353137333365613966326532343631656330643635323265653831366435383530666163666562343132636666396239393934336138376463306430343634343763653933623937653136643733623936623432363339363266383166636639343538653537353737633738306136663136313561613761313233323637333865323639626237333166383965383931363232653537376561353434323062663063613436626536666334663731636632363831616330323532616138383565313362653637326364323834353930343237646364313337636633313136323565386265653362303866646361616634363562333837636537636233333831366632633134613662393961633764373334333138636663353962376564393339626166656638373930323033303130303031280532060800100018083a60613434383734613761613162333737343161303731616461616537386662313532623639366431633538643864656662653164383233303435333261306330313965653936636331396437353638363537386433396131653663333161316565420a0a04239b319310a48803420a0a04226a66da10a48803420a0a04239b319310a38803420a0a04226a66da10a388034a056e6f64653650808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063366531386338666266346364346562313034353432636232306161616132353264393566303532663130383664353831633434616437333762663636373663306333663738396166353236356238616662373962353039313264613834653061666366373534376362316666663038643035323730313765623664633563646638336235313936396434343333366136333837636437306239346266346339626166323032393834306535663466383633643730383166306661383165303836336164656462386238396135646163326262353532643665376239666261323232616332386335373037353533386663393537393932393432643334316661323837366536623530376539636537656435373265386366646135646566613336346664663864386532333832396134636362623437386631316565653362333261623835653037323935316335643934323031313566626133323730373334393466343362356636626562663834313532653335366537623136626137363462376133623532636232373334363430313633626531343635653664316661346336653666363636383461363335633961353536616137313030646265363435646638663463343233616534356130386362333562346263313837383836653232393962356330323130613566626133623934343966343833656639346564393232653165393863313133626531363662383963373335383232343331333564343432333036616265356137316237373031386666333335643664643739353432363937623136383233386239363732376664313333396235663832613362366135393764393736303337616532353036343536633862333465396662663362633332343130343431633462666338656261353835393732353465666562666161373838303961356338383534373239613562613738656365313966633834303764643838393461366263373834343033376438373863616365366331353263326538396538613634623036386136633233376530393939336265383036383930323033303130303031280632060800100018093a60363938333261373361333630326538643166626535616435386431633236333761316236373264373165653837616631306462363438656239316166623232383235336231663437653537643364346134346666353437623333393461613232420a0a042285c5e610a38803420a0a04340efccf10a38803420a0a042285c5e610a48803420a0a04340efccf10a488034a056e6f64653750808092b7afe8f74f";export{a as addressBook};
1
+ const a="0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039663166386131323163326664366337366664353038643365343239663063363462636234346338326137303537333535326161646361643037313536396537323139353866356135643039663935383766666166636662653533343161326630313134616361653334366566336339303231336433343336656262323766343335306339393063356338633366386531653336373037626330386434323536303832336533663234653039613033616430393535613530393830313936323964643034623237623235316463653035356633646463623061343164363666303934316230623837636466653334393864343630333861623564663036663632613561646530383539383537336138386338663538363064633134393261366531383634383561396231333235306536643137623830636433396335633831393130396537336361373332646232336566386261613737366563383563653030393162656362326564656662616135656433653564626662643166383835613466613838316166336631343461386135363538353335333364383933393335393230383662326431643336326534356266653166623435363833616261366336343039373961643662343638373731383437323663366562643538623265616538356337636665336662616265663566366363656438353030333462333834373230366332643637386333363138373630323662386433353165303032616635653066666536663562316632393566646332663436396361613264323338316561306234386361393837636332633865363335653862313963653565313732613933373631613864343930613961343531386437323535383830613134643737623762613737343839326239326134306262383133363265333466633664353137386439623330313132393334323035636237376662396132383234323733393435363461383535346561343732383661343766383632333965373563393437383963653938633939383434373832343632393434663631333136376437623530323033303130303031280032060800100018033a60613137316533626138333437363734376165623265326163346430653131356361616162393138323033623064666531636465616234343334333866633238396162633862613861366166663833646235663162333334303436646138386338420a0a04225e6a3d10a38803420a0a04321284d310a38803420a0a04225e6a3d10a48803420a0a04321284d310a488034a056e6f64653150808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063353537616635373966613833353031626538393962323839303737363562666466636435326162343332623031393561316631656364383666633030616236633535303962306664643937656464336362356365613536613239356633313261626235353038333164626639363366343530313138623466636336653232636634363736323030636539636338656466626266353538646336396630323432363461643764336461623233626564323133336332373465363933343438393135356462313038376639303337303930356336343138356136323131646337343266623961363930396438323138363934376232373734363364666233666630616364343765666631326561643166363937326566326331323033373933633435653737353735626534666131313063376534306661386462396336313837643131336634373034303134313739303731616266353962653764326230646538326465343231356463323535303662316339633236653439313734303163393937353036653337376536626630336236383837323765373934306661643639633565306461336364356362643262653737373335306165613264306434376539376134343863383462653663653133346436346265653039383563323931363266346331653536376363613933643036613363316265386162636533356235353766623737663466653637316136366465633739303735366430653838313831363566326261636161383931616165376163373433376663373137356236656236646562373437323337383735316262366266396230653134383366393636386539666462643536303463333962313464396532626564656563383436613938306437303464313731653762613462376663643161333064393435636131326634376133323564393339386161313866393730363630353464346431356663383939346532646562653733653932373164353438363833663631656134346662323530373165333531386137386564336562333765373161303639316632363730323033303130303031280132060800100018043a60373430396465633265343934623632376565343963363962323934626531636561656263613366646361663336373839653838666337643562306565663535363166353262383264333531393161333963326662656436303237323637313636420a0a0423ed773710a38803420a0a0403d4060d10a38803420a0a0423ed773710a48803420a0a0403d4060d10a488034a056e6f64653250808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039626134353762373333303566303461393163633436623162393635633465383431373531616263386231343135613062616466643166333263323438323338366132323732356562376563373464656132316535303631376436343865613561633339333734316162303162386566623332313233396238643466646231646662656239653366333961613436353830646430343564313863613434643030326333376464623532376363653464646333326266633733343139363731663463613434363461336632613834666338356337316163663065356138393632366466363961383134373465643136353239663830316138616661393765343335633465303461393634613335373532373238383834336535386630613035636635313533656534353037623263363862336437666235346165366139356139353963383761313266363330653935633762316233633336393565383538363632343137393236643736633136393833666166363132323530333837343539303765396366313364363763326163643530336361343531633835393333616334313138616363323739383031636239363833343939303331343563656432373632396464303839313633313730393335383761373763323230356366613532353433623533633362366561313562383465336432633330633165643735326134363333633336623235623938393365613032616435363265623962373836386233623466343766346132356533353630363439363261633762323565353832393434663030643330373938613236326639323134643863356537346430613833373663633264366261363465313866356534613430616661633632353036326432636132336364323830303730383332316433383334333134663065353834343835393233323637336133326537306165306437313165333130353831626364623134653837313334363934633665303933306634366233376239366434396136343537333934373333316537653530376439653536646535653631343666326630323033303130303031280232060800100018053a60396231343136353834613461333830626238366136633764373230376438616564646263336236336561333035393938323535626365383335316261346235646361353263393238326135346136626564363064653633636530336161613234420a0a0423f51bc110a38803420a0a043414125610a48803420a0a0423f51bc110a48803420a0a043414125610a388034a056e6f64653350808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063343263636163356662633639316662626562646138376666643165373562646364383932323439346366343466646263636565343937383835323163333738626637376462303933346563306432313833643763353164623636663836346331316162376465316163336334636664633166303933613264366633376532623334636265346338313331663936383361643432383738633833643335353463363435616131363762636662303634613833646334356335623131353834393966396439323538376666663761626364356632323163643831353035343834313330303066613665353635393038396231646664363537363665613738656165646663613662343534353566643861623539383464626533356535373935643263363335656137393734643433653865616534666562666665343932653730376234386231623066633634383161653965303964333931333330303962376432363430326536653532653565393162326233383064383866306265376662346233303365373032313937383530353761613934636539323463343932366539313635363932383665383662336261363531636132613061363364663466363930376665666533343833643933623463653164346430336337313432313131333735623263326335316434656238333965333761663533306232636264366635306434636233366532373933373137306439636464616330616365326363323462383034623061323733353163663833306237363532356532366466623964626634396130353636323461373638363234393465373236336430643730636562616539353239343365353538343266356361643133666366363061326536646366376131643533336633613562623534656332313931386337366535323562613239313436363735383331653137653336633631666538353439383832386430396237363230313534313262326535323738343962616563316366666337376465346332393463353530383131653539386666323464613135613334353639646430323033303130303031280332060800100018063a60363438363638356234653665306362393633343732633031666539393933316664396534633434383837626138333432336165376665656432326436343834383463663861336263356363636136613337333837626639366433383637323830420a0a043646c02110a38803420a0a042253707410a38803420a0a043646c02110a48803420a0a042253707410a488034a056e6f64653450808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039303266303439306139623766356432636431633064393663366136393930663537336235663065623562646262613339363631656630323330393234313933343436363939363961363861346337303731643332393939306662313739326539303031636235353938656137316332643636373638323433323065653463616266316464333537616537663261646265646331623162306139643935363233373739623463346337623437633437383761313665653731383863373231373137373632346139323634616233396334316637666630623435613839626461343063346164303763346435393664356630396437303536626362356133356634346639356135396332363665303938393264636265343661643531663264326233653939316138663636353865316632636239346337373365623434633434653839326431653535633130373666313630383331396565363537653430663139323936373534336162343261623232323338366431373538366532353337343864616264303235653530623530616536303530373230653233396436346565366662343530376330363134646434626537616664623133333038393066663361366531373635323763333131366166313239613961633565333336643966363031653731323761366437643832306164326639303264616339623234383636386131626162303864313033343265613639613730393731333266663731323063633634666364653738343063363536626131373332626139356539633336373531313735653465633364383461376530643238383432623431626262626436663238653436633361363633336531383237393635633535383230643530646165326230343635636330643432653139356239643135333265363232356562393938643661343930373961386131636434643031373564653363383766393736313438343762336362623137616133346265383230623762336164393861633366616566393933613637373839373437383263306334616533666162626363343330323033303130303031280432060800100018073a60333965393039393135613835323830333031353461366337373039353063376234373737626134303133353763306536313837363534323135636332306161636364643865356666323965396334643935636634313031666136386265343563420a0a04225ea00410a48803420a0a0436b0c76d10a38803420a0a04225ea00410a38803420a0a0436b0c76d10a488034a056e6f64653550808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039316437646666663738663465666265353839303435306335626339653335333462666661646164393366623761666231356263376263663637643364336234313362643939393430646438323536346164613034616232653465646630613163306238666237653161383039326539313338653936306265326363363862356239376635376432383163353837326539376134373966633834383336333136306533383633623537623333653438363962313835616365356533366264343361653566613637386339656236366631663430313437383638323662326638666137653030363066343430356330613866396461373230356666343638336132343366613066333135663161666262346134643134306430323233346534343733666239326663623338663365623238633630636637636266623634653036396331383038366534646436313933383932306165306664376331393365366531303465363562383137656439333938653233323233376664663038333232633963656330396434303939323732613763303135643232623464636339363966366561316635313839303231303564663630303932623535613431623466333262393537623537643834653562323233393035653836393839353137333365613966326532343631656330643635323265653831366435383530666163666562343132636666396239393934336138376463306430343634343763653933623937653136643733623936623432363339363266383166636639343538653537353737633738306136663136313561613761313233323637333865323639626237333166383965383931363232653537376561353434323062663063613436626536666334663731636632363831616330323532616138383565313362653637326364323834353930343237646364313337636633313136323565386265653362303866646361616634363562333837636537636233333831366632633134613662393961633764373334333138636663353962376564393339626166656638373930323033303130303031280532060800100018083a60613434383734613761613162333737343161303731616461616537386662313532623639366431633538643864656662653164383233303435333261306330313965653936636331396437353638363537386433396131653663333161316565420a0a04239b319310a48803420a0a04226a66da10a38803420a0a04226a66da10a48803420a0a04239b319310a388034a056e6f64653650808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063366531386338666266346364346562313034353432636232306161616132353264393566303532663130383664353831633434616437333762663636373663306333663738396166353236356238616662373962353039313264613834653061666366373534376362316666663038643035323730313765623664633563646638336235313936396434343333366136333837636437306239346266346339626166323032393834306535663466383633643730383166306661383165303836336164656462386238396135646163326262353532643665376239666261323232616332386335373037353533386663393537393932393432643334316661323837366536623530376539636537656435373265386366646135646566613336346664663864386532333832396134636362623437386631316565653362333261623835653037323935316335643934323031313566626133323730373334393466343362356636626562663834313532653335366537623136626137363462376133623532636232373334363430313633626531343635653664316661346336653666363636383461363335633961353536616137313030646265363435646638663463343233616534356130386362333562346263313837383836653232393962356330323130613566626133623934343966343833656639346564393232653165393863313133626531363662383963373335383232343331333564343432333036616265356137316237373031386666333335643664643739353432363937623136383233386239363732376664313333396235663832613362366135393764393736303337616532353036343536633862333465396662663362633332343130343431633462666338656261353835393732353465666562666161373838303961356338383534373239613562613738656365313966633834303764643838393461366263373834343033376438373863616365366331353263326538396538613634623036386136633233376530393939336265383036383930323033303130303031280632060800100018093a60363938333261373361333630326538643166626535616435386431633236333761316236373264373165653837616631306462363438656239316166623232383235336231663437653537643364346134346666353437623333393461613232420a0a04340efccf10a38803420a0a042285c5e610a38803420a0a04340efccf10a48803420a0a042285c5e610a488034a056e6f64653750808092b7afe8f74f";export{a as addressBook};
2
2
  //# sourceMappingURL=testnet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"testnet.js","sources":["../../../src/client/addressbooks/testnet.js"],"sourcesContent":["export const addressBook =\n \"0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039663166386131323163326664366337366664353038643365343239663063363462636234346338326137303537333535326161646361643037313536396537323139353866356135643039663935383766666166636662653533343161326630313134616361653334366566336339303231336433343336656262323766343335306339393063356338633366386531653336373037626330386434323536303832336533663234653039613033616430393535613530393830313936323964643034623237623235316463653035356633646463623061343164363666303934316230623837636466653334393864343630333861623564663036663632613561646530383539383537336138386338663538363064633134393261366531383634383561396231333235306536643137623830636433396335633831393130396537336361373332646232336566386261613737366563383563653030393162656362326564656662616135656433653564626662643166383835613466613838316166336631343461386135363538353335333364383933393335393230383662326431643336326534356266653166623435363833616261366336343039373961643662343638373731383437323663366562643538623265616538356337636665336662616265663566366363656438353030333462333834373230366332643637386333363138373630323662386433353165303032616635653066666536663562316632393566646332663436396361613264323338316561306234386361393837636332633865363335653862313963653565313732613933373631613864343930613961343531386437323535383830613134643737623762613737343839326239326134306262383133363265333466633664353137386439623330313132393334323035636237376662396132383234323733393435363461383535346561343732383661343766383632333965373563393437383963653938633939383434373832343632393434663631333136376437623530323033303130303031280032060800100018033a60613137316533626138333437363734376165623265326163346430653131356361616162393138323033623064666531636465616234343334333866633238396162633862613861366166663833646235663162333334303436646138386338420a0a04321284d310a48803420a0a04225e6a3d10a38803420a0a04321284d310a38803420a0a04225e6a3d10a488034a056e6f64653150808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063353537616635373966613833353031626538393962323839303737363562666466636435326162343332623031393561316631656364383666633030616236633535303962306664643937656464336362356365613536613239356633313261626235353038333164626639363366343530313138623466636336653232636634363736323030636539636338656466626266353538646336396630323432363461643764336461623233626564323133336332373465363933343438393135356462313038376639303337303930356336343138356136323131646337343266623961363930396438323138363934376232373734363364666233666630616364343765666631326561643166363937326566326331323033373933633435653737353735626534666131313063376534306661386462396336313837643131336634373034303134313739303731616266353962653764326230646538326465343231356463323535303662316339633236653439313734303163393937353036653337376536626630336236383837323765373934306661643639633565306461336364356362643262653737373335306165613264306434376539376134343863383462653663653133346436346265653039383563323931363266346331653536376363613933643036613363316265386162636533356235353766623737663466653637316136366465633739303735366430653838313831363566326261636161383931616165376163373433376663373137356236656236646562373437323337383735316262366266396230653134383366393636386539666462643536303463333962313464396532626564656563383436613938306437303464313731653762613462376663643161333064393435636131326634376133323564393339386161313866393730363630353464346431356663383939346532646562653733653932373164353438363833663631656134346662323530373165333531386137386564336562333765373161303639316632363730323033303130303031280132060800100018043a60373430396465633265343934623632376565343963363962323934626531636561656263613366646361663336373839653838666337643562306565663535363166353262383264333531393161333963326662656436303237323637313636420a0a0423ed773710a38803420a0a0403d4060d10a38803420a0a0423ed773710a48803420a0a0403d4060d10a488034a056e6f64653250808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039626134353762373333303566303461393163633436623162393635633465383431373531616263386231343135613062616466643166333263323438323338366132323732356562376563373464656132316535303631376436343865613561633339333734316162303162386566623332313233396238643466646231646662656239653366333961613436353830646430343564313863613434643030326333376464623532376363653464646333326266633733343139363731663463613434363461336632613834666338356337316163663065356138393632366466363961383134373465643136353239663830316138616661393765343335633465303461393634613335373532373238383834336535386630613035636635313533656534353037623263363862336437666235346165366139356139353963383761313266363330653935633762316233633336393565383538363632343137393236643736633136393833666166363132323530333837343539303765396366313364363763326163643530336361343531633835393333616334313138616363323739383031636239363833343939303331343563656432373632396464303839313633313730393335383761373763323230356366613532353433623533633362366561313562383465336432633330633165643735326134363333633336623235623938393365613032616435363265623962373836386233623466343766346132356533353630363439363261633762323565353832393434663030643330373938613236326639323134643863356537346430613833373663633264366261363465313866356534613430616661633632353036326432636132336364323830303730383332316433383334333134663065353834343835393233323637336133326537306165306437313165333130353831626364623134653837313334363934633665303933306634366233376239366434396136343537333934373333316537653530376439653536646535653631343666326630323033303130303031280232060800100018053a60396231343136353834613461333830626238366136633764373230376438616564646263336236336561333035393938323535626365383335316261346235646361353263393238326135346136626564363064653633636530336161613234420a0a0423f51bc110a38803420a0a043414125610a38803420a0a0423f51bc110a48803420a0a043414125610a488034a056e6f64653350808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063343263636163356662633639316662626562646138376666643165373562646364383932323439346366343466646263636565343937383835323163333738626637376462303933346563306432313833643763353164623636663836346331316162376465316163336334636664633166303933613264366633376532623334636265346338313331663936383361643432383738633833643335353463363435616131363762636662303634613833646334356335623131353834393966396439323538376666663761626364356632323163643831353035343834313330303066613665353635393038396231646664363537363665613738656165646663613662343534353566643861623539383464626533356535373935643263363335656137393734643433653865616534666562666665343932653730376234386231623066633634383161653965303964333931333330303962376432363430326536653532653565393162326233383064383866306265376662346233303365373032313937383530353761613934636539323463343932366539313635363932383665383662336261363531636132613061363364663466363930376665666533343833643933623463653164346430336337313432313131333735623263326335316434656238333965333761663533306232636264366635306434636233366532373933373137306439636464616330616365326363323462383034623061323733353163663833306237363532356532366466623964626634396130353636323461373638363234393465373236336430643730636562616539353239343365353538343266356361643133666366363061326536646366376131643533336633613562623534656332313931386337366535323562613239313436363735383331653137653336633631666538353439383832386430396237363230313534313262326535323738343962616563316366666337376465346332393463353530383131653539386666323464613135613334353639646430323033303130303031280332060800100018063a60363438363638356234653665306362393633343732633031666539393933316664396534633434383837626138333432336165376665656432326436343834383463663861336263356363636136613337333837626639366433383637323830420a0a043646c02110a38803420a0a042253707410a38803420a0a043646c02110a48803420a0a042253707410a488034a056e6f64653450808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039303266303439306139623766356432636431633064393663366136393930663537336235663065623562646262613339363631656630323330393234313933343436363939363961363861346337303731643332393939306662313739326539303031636235353938656137316332643636373638323433323065653463616266316464333537616537663261646265646331623162306139643935363233373739623463346337623437633437383761313665653731383863373231373137373632346139323634616233396334316637666630623435613839626461343063346164303763346435393664356630396437303536626362356133356634346639356135396332363665303938393264636265343661643531663264326233653939316138663636353865316632636239346337373365623434633434653839326431653535633130373666313630383331396565363537653430663139323936373534336162343261623232323338366431373538366532353337343864616264303235653530623530616536303530373230653233396436346565366662343530376330363134646434626537616664623133333038393066663361366531373635323763333131366166313239613961633565333336643966363031653731323761366437643832306164326639303264616339623234383636386131626162303864313033343265613639613730393731333266663731323063633634666364653738343063363536626131373332626139356539633336373531313735653465633364383461376530643238383432623431626262626436663238653436633361363633336531383237393635633535383230643530646165326230343635636330643432653139356239643135333265363232356562393938643661343930373961386131636434643031373564653363383766393736313438343762336362623137616133346265383230623762336164393861633366616566393933613637373839373437383263306334616533666162626363343330323033303130303031280432060800100018073a60333965393039393135613835323830333031353461366337373039353063376234373737626134303133353763306536313837363534323135636332306161636364643865356666323965396334643935636634313031666136386265343563420a0a04225ea00410a48803420a0a0436b0c76d10a38803420a0a04225ea00410a38803420a0a0436b0c76d10a488034a056e6f64653550808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039316437646666663738663465666265353839303435306335626339653335333462666661646164393366623761666231356263376263663637643364336234313362643939393430646438323536346164613034616232653465646630613163306238666237653161383039326539313338653936306265326363363862356239376635376432383163353837326539376134373966633834383336333136306533383633623537623333653438363962313835616365356533366264343361653566613637386339656236366631663430313437383638323662326638666137653030363066343430356330613866396461373230356666343638336132343366613066333135663161666262346134643134306430323233346534343733666239326663623338663365623238633630636637636266623634653036396331383038366534646436313933383932306165306664376331393365366531303465363562383137656439333938653233323233376664663038333232633963656330396434303939323732613763303135643232623464636339363966366561316635313839303231303564663630303932623535613431623466333262393537623537643834653562323233393035653836393839353137333365613966326532343631656330643635323265653831366435383530666163666562343132636666396239393934336138376463306430343634343763653933623937653136643733623936623432363339363266383166636639343538653537353737633738306136663136313561613761313233323637333865323639626237333166383965383931363232653537376561353434323062663063613436626536666334663731636632363831616330323532616138383565313362653637326364323834353930343237646364313337636633313136323565386265653362303866646361616634363562333837636537636233333831366632633134613662393961633764373334333138636663353962376564393339626166656638373930323033303130303031280532060800100018083a60613434383734613761613162333737343161303731616461616537386662313532623639366431633538643864656662653164383233303435333261306330313965653936636331396437353638363537386433396131653663333161316565420a0a04239b319310a48803420a0a04226a66da10a48803420a0a04239b319310a38803420a0a04226a66da10a388034a056e6f64653650808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063366531386338666266346364346562313034353432636232306161616132353264393566303532663130383664353831633434616437333762663636373663306333663738396166353236356238616662373962353039313264613834653061666366373534376362316666663038643035323730313765623664633563646638336235313936396434343333366136333837636437306239346266346339626166323032393834306535663466383633643730383166306661383165303836336164656462386238396135646163326262353532643665376239666261323232616332386335373037353533386663393537393932393432643334316661323837366536623530376539636537656435373265386366646135646566613336346664663864386532333832396134636362623437386631316565653362333261623835653037323935316335643934323031313566626133323730373334393466343362356636626562663834313532653335366537623136626137363462376133623532636232373334363430313633626531343635653664316661346336653666363636383461363335633961353536616137313030646265363435646638663463343233616534356130386362333562346263313837383836653232393962356330323130613566626133623934343966343833656639346564393232653165393863313133626531363662383963373335383232343331333564343432333036616265356137316237373031386666333335643664643739353432363937623136383233386239363732376664313333396235663832613362366135393764393736303337616532353036343536633862333465396662663362633332343130343431633462666338656261353835393732353465666562666161373838303961356338383534373239613562613738656365313966633834303764643838393461366263373834343033376438373863616365366331353263326538396538613634623036386136633233376530393939336265383036383930323033303130303031280632060800100018093a60363938333261373361333630326538643166626535616435386431633236333761316236373264373165653837616631306462363438656239316166623232383235336231663437653537643364346134346666353437623333393461613232420a0a042285c5e610a38803420a0a04340efccf10a38803420a0a042285c5e610a48803420a0a04340efccf10a488034a056e6f64653750808092b7afe8f74f\";\n"],"names":["addressBook"],"mappings":"AAAY,MAACA,EACT"}
1
+ {"version":3,"file":"testnet.js","sources":["../../../src/client/addressbooks/testnet.js"],"sourcesContent":["export const addressBook =\n \"0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039663166386131323163326664366337366664353038643365343239663063363462636234346338326137303537333535326161646361643037313536396537323139353866356135643039663935383766666166636662653533343161326630313134616361653334366566336339303231336433343336656262323766343335306339393063356338633366386531653336373037626330386434323536303832336533663234653039613033616430393535613530393830313936323964643034623237623235316463653035356633646463623061343164363666303934316230623837636466653334393864343630333861623564663036663632613561646530383539383537336138386338663538363064633134393261366531383634383561396231333235306536643137623830636433396335633831393130396537336361373332646232336566386261613737366563383563653030393162656362326564656662616135656433653564626662643166383835613466613838316166336631343461386135363538353335333364383933393335393230383662326431643336326534356266653166623435363833616261366336343039373961643662343638373731383437323663366562643538623265616538356337636665336662616265663566366363656438353030333462333834373230366332643637386333363138373630323662386433353165303032616635653066666536663562316632393566646332663436396361613264323338316561306234386361393837636332633865363335653862313963653565313732613933373631613864343930613961343531386437323535383830613134643737623762613737343839326239326134306262383133363265333466633664353137386439623330313132393334323035636237376662396132383234323733393435363461383535346561343732383661343766383632333965373563393437383963653938633939383434373832343632393434663631333136376437623530323033303130303031280032060800100018033a60613137316533626138333437363734376165623265326163346430653131356361616162393138323033623064666531636465616234343334333866633238396162633862613861366166663833646235663162333334303436646138386338420a0a04225e6a3d10a38803420a0a04321284d310a38803420a0a04225e6a3d10a48803420a0a04321284d310a488034a056e6f64653150808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063353537616635373966613833353031626538393962323839303737363562666466636435326162343332623031393561316631656364383666633030616236633535303962306664643937656464336362356365613536613239356633313261626235353038333164626639363366343530313138623466636336653232636634363736323030636539636338656466626266353538646336396630323432363461643764336461623233626564323133336332373465363933343438393135356462313038376639303337303930356336343138356136323131646337343266623961363930396438323138363934376232373734363364666233666630616364343765666631326561643166363937326566326331323033373933633435653737353735626534666131313063376534306661386462396336313837643131336634373034303134313739303731616266353962653764326230646538326465343231356463323535303662316339633236653439313734303163393937353036653337376536626630336236383837323765373934306661643639633565306461336364356362643262653737373335306165613264306434376539376134343863383462653663653133346436346265653039383563323931363266346331653536376363613933643036613363316265386162636533356235353766623737663466653637316136366465633739303735366430653838313831363566326261636161383931616165376163373433376663373137356236656236646562373437323337383735316262366266396230653134383366393636386539666462643536303463333962313464396532626564656563383436613938306437303464313731653762613462376663643161333064393435636131326634376133323564393339386161313866393730363630353464346431356663383939346532646562653733653932373164353438363833663631656134346662323530373165333531386137386564336562333765373161303639316632363730323033303130303031280132060800100018043a60373430396465633265343934623632376565343963363962323934626531636561656263613366646361663336373839653838666337643562306565663535363166353262383264333531393161333963326662656436303237323637313636420a0a0423ed773710a38803420a0a0403d4060d10a38803420a0a0423ed773710a48803420a0a0403d4060d10a488034a056e6f64653250808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039626134353762373333303566303461393163633436623162393635633465383431373531616263386231343135613062616466643166333263323438323338366132323732356562376563373464656132316535303631376436343865613561633339333734316162303162386566623332313233396238643466646231646662656239653366333961613436353830646430343564313863613434643030326333376464623532376363653464646333326266633733343139363731663463613434363461336632613834666338356337316163663065356138393632366466363961383134373465643136353239663830316138616661393765343335633465303461393634613335373532373238383834336535386630613035636635313533656534353037623263363862336437666235346165366139356139353963383761313266363330653935633762316233633336393565383538363632343137393236643736633136393833666166363132323530333837343539303765396366313364363763326163643530336361343531633835393333616334313138616363323739383031636239363833343939303331343563656432373632396464303839313633313730393335383761373763323230356366613532353433623533633362366561313562383465336432633330633165643735326134363333633336623235623938393365613032616435363265623962373836386233623466343766346132356533353630363439363261633762323565353832393434663030643330373938613236326639323134643863356537346430613833373663633264366261363465313866356534613430616661633632353036326432636132336364323830303730383332316433383334333134663065353834343835393233323637336133326537306165306437313165333130353831626364623134653837313334363934633665303933306634366233376239366434396136343537333934373333316537653530376439653536646535653631343666326630323033303130303031280232060800100018053a60396231343136353834613461333830626238366136633764373230376438616564646263336236336561333035393938323535626365383335316261346235646361353263393238326135346136626564363064653633636530336161613234420a0a0423f51bc110a38803420a0a043414125610a48803420a0a0423f51bc110a48803420a0a043414125610a388034a056e6f64653350808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063343263636163356662633639316662626562646138376666643165373562646364383932323439346366343466646263636565343937383835323163333738626637376462303933346563306432313833643763353164623636663836346331316162376465316163336334636664633166303933613264366633376532623334636265346338313331663936383361643432383738633833643335353463363435616131363762636662303634613833646334356335623131353834393966396439323538376666663761626364356632323163643831353035343834313330303066613665353635393038396231646664363537363665613738656165646663613662343534353566643861623539383464626533356535373935643263363335656137393734643433653865616534666562666665343932653730376234386231623066633634383161653965303964333931333330303962376432363430326536653532653565393162326233383064383866306265376662346233303365373032313937383530353761613934636539323463343932366539313635363932383665383662336261363531636132613061363364663466363930376665666533343833643933623463653164346430336337313432313131333735623263326335316434656238333965333761663533306232636264366635306434636233366532373933373137306439636464616330616365326363323462383034623061323733353163663833306237363532356532366466623964626634396130353636323461373638363234393465373236336430643730636562616539353239343365353538343266356361643133666366363061326536646366376131643533336633613562623534656332313931386337366535323562613239313436363735383331653137653336633631666538353439383832386430396237363230313534313262326535323738343962616563316366666337376465346332393463353530383131653539386666323464613135613334353639646430323033303130303031280332060800100018063a60363438363638356234653665306362393633343732633031666539393933316664396534633434383837626138333432336165376665656432326436343834383463663861336263356363636136613337333837626639366433383637323830420a0a043646c02110a38803420a0a042253707410a38803420a0a043646c02110a48803420a0a042253707410a488034a056e6f64653450808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039303266303439306139623766356432636431633064393663366136393930663537336235663065623562646262613339363631656630323330393234313933343436363939363961363861346337303731643332393939306662313739326539303031636235353938656137316332643636373638323433323065653463616266316464333537616537663261646265646331623162306139643935363233373739623463346337623437633437383761313665653731383863373231373137373632346139323634616233396334316637666630623435613839626461343063346164303763346435393664356630396437303536626362356133356634346639356135396332363665303938393264636265343661643531663264326233653939316138663636353865316632636239346337373365623434633434653839326431653535633130373666313630383331396565363537653430663139323936373534336162343261623232323338366431373538366532353337343864616264303235653530623530616536303530373230653233396436346565366662343530376330363134646434626537616664623133333038393066663361366531373635323763333131366166313239613961633565333336643966363031653731323761366437643832306164326639303264616339623234383636386131626162303864313033343265613639613730393731333266663731323063633634666364653738343063363536626131373332626139356539633336373531313735653465633364383461376530643238383432623431626262626436663238653436633361363633336531383237393635633535383230643530646165326230343635636330643432653139356239643135333265363232356562393938643661343930373961386131636434643031373564653363383766393736313438343762336362623137616133346265383230623762336164393861633366616566393933613637373839373437383263306334616533666162626363343330323033303130303031280432060800100018073a60333965393039393135613835323830333031353461366337373039353063376234373737626134303133353763306536313837363534323135636332306161636364643865356666323965396334643935636634313031666136386265343563420a0a04225ea00410a48803420a0a0436b0c76d10a38803420a0a04225ea00410a38803420a0a0436b0c76d10a488034a056e6f64653550808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303039316437646666663738663465666265353839303435306335626339653335333462666661646164393366623761666231356263376263663637643364336234313362643939393430646438323536346164613034616232653465646630613163306238666237653161383039326539313338653936306265326363363862356239376635376432383163353837326539376134373966633834383336333136306533383633623537623333653438363962313835616365356533366264343361653566613637386339656236366631663430313437383638323662326638666137653030363066343430356330613866396461373230356666343638336132343366613066333135663161666262346134643134306430323233346534343733666239326663623338663365623238633630636637636266623634653036396331383038366534646436313933383932306165306664376331393365366531303465363562383137656439333938653233323233376664663038333232633963656330396434303939323732613763303135643232623464636339363966366561316635313839303231303564663630303932623535613431623466333262393537623537643834653562323233393035653836393839353137333365613966326532343631656330643635323265653831366435383530666163666562343132636666396239393934336138376463306430343634343763653933623937653136643733623936623432363339363266383166636639343538653537353737633738306136663136313561613761313233323637333865323639626237333166383965383931363232653537376561353434323062663063613436626536666334663731636632363831616330323532616138383565313362653637326364323834353930343237646364313337636633313136323565386265653362303866646361616634363562333837636537636233333831366632633134613662393961633764373334333138636663353962376564393339626166656638373930323033303130303031280532060800100018083a60613434383734613761613162333737343161303731616461616537386662313532623639366431633538643864656662653164383233303435333261306330313965653936636331396437353638363537386433396131653663333161316565420a0a04239b319310a48803420a0a04226a66da10a38803420a0a04226a66da10a48803420a0a04239b319310a388034a056e6f64653650808092b7afe8f74f0afb0722cc0633303832303161323330306430363039326138363438383666373064303130313031303530303033383230313866303033303832303138613032383230313831303063366531386338666266346364346562313034353432636232306161616132353264393566303532663130383664353831633434616437333762663636373663306333663738396166353236356238616662373962353039313264613834653061666366373534376362316666663038643035323730313765623664633563646638336235313936396434343333366136333837636437306239346266346339626166323032393834306535663466383633643730383166306661383165303836336164656462386238396135646163326262353532643665376239666261323232616332386335373037353533386663393537393932393432643334316661323837366536623530376539636537656435373265386366646135646566613336346664663864386532333832396134636362623437386631316565653362333261623835653037323935316335643934323031313566626133323730373334393466343362356636626562663834313532653335366537623136626137363462376133623532636232373334363430313633626531343635653664316661346336653666363636383461363335633961353536616137313030646265363435646638663463343233616534356130386362333562346263313837383836653232393962356330323130613566626133623934343966343833656639346564393232653165393863313133626531363662383963373335383232343331333564343432333036616265356137316237373031386666333335643664643739353432363937623136383233386239363732376664313333396235663832613362366135393764393736303337616532353036343536633862333465396662663362633332343130343431633462666338656261353835393732353465666562666161373838303961356338383534373239613562613738656365313966633834303764643838393461366263373834343033376438373863616365366331353263326538396538613634623036386136633233376530393939336265383036383930323033303130303031280632060800100018093a60363938333261373361333630326538643166626535616435386431633236333761316236373264373165653837616631306462363438656239316166623232383235336231663437653537643364346134346666353437623333393461613232420a0a04340efccf10a38803420a0a042285c5e610a38803420a0a04340efccf10a48803420a0a042285c5e610a488034a056e6f64653750808092b7afe8f74f\";\n"],"names":["addressBook"],"mappings":"AAAY,MAACA,EACT"}
@@ -37,7 +37,10 @@ const MAINNET = exports.MAINNET = {
37
37
  "node28.swirldslabs.com:443": new _AccountId.default(31),
38
38
  "node29.swirldslabs.com:443": new _AccountId.default(32),
39
39
  "node30.swirldslabs.com:443": new _AccountId.default(33),
40
- "node31.swirldslabs.com:443": new _AccountId.default(34)
40
+ "node31.swirldslabs.com:443": new _AccountId.default(34),
41
+ // "node32.swirldslabs.com:443": new AccountId(35), - temporarily disabled
42
+ "node33.swirldslabs.com:443": new _AccountId.default(36),
43
+ "node34.swirldslabs.com:443": new _AccountId.default(37)
41
44
  };
42
45
  const WEB_TESTNET = exports.WEB_TESTNET = {
43
46
  "testnet-node00-00-grpc.hedera.com:443": new _AccountId.default(3),
@@ -27,6 +27,8 @@ export const MAINNET: {
27
27
  "node29.swirldslabs.com:443": AccountId;
28
28
  "node30.swirldslabs.com:443": AccountId;
29
29
  "node31.swirldslabs.com:443": AccountId;
30
+ "node33.swirldslabs.com:443": AccountId;
31
+ "node34.swirldslabs.com:443": AccountId;
30
32
  };
31
33
  export const WEB_TESTNET: {
32
34
  "testnet-node00-00-grpc.hedera.com:443": AccountId;
@@ -1,2 +1,2 @@
1
- import e from"../account/AccountId.js";const n={"node00.swirldslabs.com:443":new e(3),"node01-00-grpc.swirlds.com:443":new e(4),"node03.swirldslabs.com:443":new e(6),"node04.swirldslabs.com:443":new e(7),"node05.swirldslabs.com:443":new e(8),"node06.swirldslabs.com:443":new e(9),"node07.swirldslabs.com:443":new e(10),"node09.swirldslabs.com:443":new e(12),"node10.swirldslabs.com:443":new e(13),"node11.swirldslabs.com:443":new e(14),"node12.swirldslabs.com:443":new e(15),"node14.swirldslabs.com:443":new e(17),"node15.swirldslabs.com:443":new e(18),"node16.swirldslabs.com:443":new e(19),"node17.swirldslabs.com:443":new e(20),"node18.swirldslabs.com:443":new e(21),"node19.swirldslabs.com:443":new e(22),"node20.swirldslabs.com:443":new e(23),"node21.swirldslabs.com:443":new e(24),"node22.swirldslabs.com:443":new e(25),"node24.swirldslabs.com:443":new e(27),"node25.swirldslabs.com:443":new e(28),"node26.swirldslabs.com:443":new e(29),"node27.swirldslabs.com:443":new e(30),"node28.swirldslabs.com:443":new e(31),"node29.swirldslabs.com:443":new e(32),"node30.swirldslabs.com:443":new e(33),"node31.swirldslabs.com:443":new e(34)},o={"testnet-node00-00-grpc.hedera.com:443":new e(3),"testnet-node01-00-grpc.hedera.com:443":new e(4),"testnet-node02-00-grpc.hedera.com:443":new e(5),"testnet-node03-00-grpc.hedera.com:443":new e(6),"testnet-node04-00-grpc.hedera.com:443":new e(7),"testnet-node05-00-grpc.hedera.com:443":new e(8),"testnet-node06-00-grpc.hedera.com:443":new e(9)},s={"previewnet-node00-00-grpc.hedera.com:443":new e(3),"previewnet-node01-00-grpc.hedera.com:443":new e(4),"previewnet-node02-00-grpc.hedera.com:443":new e(5),"previewnet-node03-00-grpc.hedera.com:443":new e(6),"previewnet-node04-00-grpc.hedera.com:443":new e(7),"previewnet-node05-00-grpc.hedera.com:443":new e(8),"previewnet-node06-00-grpc.hedera.com:443":new e(9)};new e(3),new e(3);const r={"127.0.0.1:50211":new e(3)},d={"localhost:8080":new e(3)},w={...n,...o,...s},c={"34.239.82.6:":"0.0.3","35.237.200.180:":"0.0.3","3.130.52.236:":"0.0.4","35.186.191.247:":"0.0.4","3.18.18.254:":"0.0.5","35.192.2.25:":"0.0.5","74.50.117.35:":"0.0.5","23.111.186.250:":"0.0.5","107.155.64.98:":"0.0.5","13.52.108.243:":"0.0.6","35.199.161.108:":"0.0.6","3.114.54.4:":"0.0.7","35.203.82.240:":"0.0.7","35.236.5.219:":"0.0.8","35.183.66.150:":"0.0.8","35.181.158.250:":"0.0.9","35.197.192.225:":"0.0.9","177.154.62.234:":"0.0.10","3.248.27.48:":"0.0.10","35.242.233.154:":"0.0.10","35.204.86.32:":"0.0.12","35.177.162.180:":"0.0.12","34.215.192.104:":"0.0.13","35.234.132.107:":"0.0.13","52.8.21.141:":"0.0.14","35.236.2.27:":"0.0.14","35.228.11.53:":"0.0.15","3.121.238.26:":"0.0.15","34.86.212.247:":"0.0.17","18.232.251.19:":"0.0.17","141.94.175.187:":"0.0.18","34.89.87.138:":"0.0.19","18.168.4.59:":"0.0.19","34.82.78.255:":"0.0.20","52.39.162.216:":"0.0.20","34.76.140.109:":"0.0.21","13.36.123.209:":"0.0.21","52.78.202.34:":"0.0.22","34.64.141.166:":"0.0.22","3.18.91.176:":"0.0.23","35.232.244.145:":"0.0.23","69.167.169.208:":"0.0.23","34.89.103.38:":"0.0.24","18.135.7.211:":"0.0.24","34.93.112.7:":"0.0.25","13.232.240.207:":"0.0.25","13.56.4.96:":"0.0.27","34.125.200.96:":"0.0.27","35.198.220.75:":"0.0.28","18.139.47.5:":"0.0.28","54.74.60.120:":"0.0.29","34.142.71.129:":"0.0.29","80.85.70.197:":"0.0.29","35.234.249.150:":"0.0.30","34.201.177.212:":"0.0.30","217.76.57.165:":"0.0.31","3.77.94.254:":"0.0.31","34.107.78.179:":"0.0.31","34.86.186.151:":"0.0.32","3.20.81.230:":"0.0.32","18.136.65.22:":"0.0.33","34.142.172.228:":"0.0.33","34.16.139.248:":"0.0.34","35.155.212.90:":"0.0.34","34.94.106.61:":"0.0.3","50.18.132.211:":"0.0.3","3.212.6.13:":"0.0.4","35.237.119.55:":"0.0.4","35.245.27.193:":"0.0.5","52.20.18.86:":"0.0.5","34.83.112.116:":"0.0.6","54.70.192.33:":"0.0.6","34.94.160.4:":"0.0.7","54.176.199.109:":"0.0.7","35.155.49.147:":"0.0.8","34.106.102.218:":"0.0.8","34.133.197.230:":"0.0.9","52.14.252.207:":"0.0.9","127.0.0.1:":"0.0.3","3.211.248.172:":"0.0.3","35.231.208.148:":"0.0.3","35.199.15.177:":"0.0.4","3.133.213.146:":"0.0.4","35.225.201.195:":"0.0.5","52.15.105.130:":"0.0.5","54.241.38.1:":"0.0.6","35.247.109.135:":"0.0.6","54.177.51.127:":"0.0.7","35.235.65.51:":"0.0.7","34.106.247.65:":"0.0.8","35.83.89.171:":"0.0.8","50.18.17.93:":"0.0.9","34.125.23.49:":"0.0.9"},l={fromName(e){switch(e){case"mainnet":return l.MAINNET;case"testnet":return l.TESTNET;case"previewnet":return l.PREVIEWNET;case"local-node":return l.LOCAL_NODE;default:throw new Error(`unknown network name: ${e}`)}},MAINNET:["mainnet-public.mirrornode.hedera.com:443"],TESTNET:["testnet.mirrornode.hedera.com:443"],PREVIEWNET:["previewnet.mirrornode.hedera.com:443"],LOCAL_NODE:["127.0.0.1:5600"]},a={...l,LOCAL_NODE:["127.0.0.1:5551"]},m={MAINNET:n,TESTNET:o,PREVIEWNET:s,LOCAL_NODE:d};export{c as ALL_NETWORK_IPS,w as ALL_WEB_NETWORK_NODES,r as LocalNodeNetwork,d as LocalNodeWebNetwork,n as MAINNET,l as MirrorNetwork,s as WEB_PREVIEWNET,o as WEB_TESTNET,a as WebMirrorNetwork,m as WebNetwork};
1
+ import e from"../account/AccountId.js";const n={"node00.swirldslabs.com:443":new e(3),"node01-00-grpc.swirlds.com:443":new e(4),"node03.swirldslabs.com:443":new e(6),"node04.swirldslabs.com:443":new e(7),"node05.swirldslabs.com:443":new e(8),"node06.swirldslabs.com:443":new e(9),"node07.swirldslabs.com:443":new e(10),"node09.swirldslabs.com:443":new e(12),"node10.swirldslabs.com:443":new e(13),"node11.swirldslabs.com:443":new e(14),"node12.swirldslabs.com:443":new e(15),"node14.swirldslabs.com:443":new e(17),"node15.swirldslabs.com:443":new e(18),"node16.swirldslabs.com:443":new e(19),"node17.swirldslabs.com:443":new e(20),"node18.swirldslabs.com:443":new e(21),"node19.swirldslabs.com:443":new e(22),"node20.swirldslabs.com:443":new e(23),"node21.swirldslabs.com:443":new e(24),"node22.swirldslabs.com:443":new e(25),"node24.swirldslabs.com:443":new e(27),"node25.swirldslabs.com:443":new e(28),"node26.swirldslabs.com:443":new e(29),"node27.swirldslabs.com:443":new e(30),"node28.swirldslabs.com:443":new e(31),"node29.swirldslabs.com:443":new e(32),"node30.swirldslabs.com:443":new e(33),"node31.swirldslabs.com:443":new e(34),"node33.swirldslabs.com:443":new e(36),"node34.swirldslabs.com:443":new e(37)},o={"testnet-node00-00-grpc.hedera.com:443":new e(3),"testnet-node01-00-grpc.hedera.com:443":new e(4),"testnet-node02-00-grpc.hedera.com:443":new e(5),"testnet-node03-00-grpc.hedera.com:443":new e(6),"testnet-node04-00-grpc.hedera.com:443":new e(7),"testnet-node05-00-grpc.hedera.com:443":new e(8),"testnet-node06-00-grpc.hedera.com:443":new e(9)},s={"previewnet-node00-00-grpc.hedera.com:443":new e(3),"previewnet-node01-00-grpc.hedera.com:443":new e(4),"previewnet-node02-00-grpc.hedera.com:443":new e(5),"previewnet-node03-00-grpc.hedera.com:443":new e(6),"previewnet-node04-00-grpc.hedera.com:443":new e(7),"previewnet-node05-00-grpc.hedera.com:443":new e(8),"previewnet-node06-00-grpc.hedera.com:443":new e(9)};new e(3),new e(3);const d={"127.0.0.1:50211":new e(3)},r={"localhost:8080":new e(3)},w={...n,...o,...s},c={"34.239.82.6:":"0.0.3","35.237.200.180:":"0.0.3","3.130.52.236:":"0.0.4","35.186.191.247:":"0.0.4","3.18.18.254:":"0.0.5","35.192.2.25:":"0.0.5","74.50.117.35:":"0.0.5","23.111.186.250:":"0.0.5","107.155.64.98:":"0.0.5","13.52.108.243:":"0.0.6","35.199.161.108:":"0.0.6","3.114.54.4:":"0.0.7","35.203.82.240:":"0.0.7","35.236.5.219:":"0.0.8","35.183.66.150:":"0.0.8","35.181.158.250:":"0.0.9","35.197.192.225:":"0.0.9","177.154.62.234:":"0.0.10","3.248.27.48:":"0.0.10","35.242.233.154:":"0.0.10","35.204.86.32:":"0.0.12","35.177.162.180:":"0.0.12","34.215.192.104:":"0.0.13","35.234.132.107:":"0.0.13","52.8.21.141:":"0.0.14","35.236.2.27:":"0.0.14","35.228.11.53:":"0.0.15","3.121.238.26:":"0.0.15","34.86.212.247:":"0.0.17","18.232.251.19:":"0.0.17","141.94.175.187:":"0.0.18","34.89.87.138:":"0.0.19","18.168.4.59:":"0.0.19","34.82.78.255:":"0.0.20","52.39.162.216:":"0.0.20","34.76.140.109:":"0.0.21","13.36.123.209:":"0.0.21","52.78.202.34:":"0.0.22","34.64.141.166:":"0.0.22","3.18.91.176:":"0.0.23","35.232.244.145:":"0.0.23","69.167.169.208:":"0.0.23","34.89.103.38:":"0.0.24","18.135.7.211:":"0.0.24","34.93.112.7:":"0.0.25","13.232.240.207:":"0.0.25","13.56.4.96:":"0.0.27","34.125.200.96:":"0.0.27","35.198.220.75:":"0.0.28","18.139.47.5:":"0.0.28","54.74.60.120:":"0.0.29","34.142.71.129:":"0.0.29","80.85.70.197:":"0.0.29","35.234.249.150:":"0.0.30","34.201.177.212:":"0.0.30","217.76.57.165:":"0.0.31","3.77.94.254:":"0.0.31","34.107.78.179:":"0.0.31","34.86.186.151:":"0.0.32","3.20.81.230:":"0.0.32","18.136.65.22:":"0.0.33","34.142.172.228:":"0.0.33","34.16.139.248:":"0.0.34","35.155.212.90:":"0.0.34","34.94.106.61:":"0.0.3","50.18.132.211:":"0.0.3","3.212.6.13:":"0.0.4","35.237.119.55:":"0.0.4","35.245.27.193:":"0.0.5","52.20.18.86:":"0.0.5","34.83.112.116:":"0.0.6","54.70.192.33:":"0.0.6","34.94.160.4:":"0.0.7","54.176.199.109:":"0.0.7","35.155.49.147:":"0.0.8","34.106.102.218:":"0.0.8","34.133.197.230:":"0.0.9","52.14.252.207:":"0.0.9","127.0.0.1:":"0.0.3","3.211.248.172:":"0.0.3","35.231.208.148:":"0.0.3","35.199.15.177:":"0.0.4","3.133.213.146:":"0.0.4","35.225.201.195:":"0.0.5","52.15.105.130:":"0.0.5","54.241.38.1:":"0.0.6","35.247.109.135:":"0.0.6","54.177.51.127:":"0.0.7","35.235.65.51:":"0.0.7","34.106.247.65:":"0.0.8","35.83.89.171:":"0.0.8","50.18.17.93:":"0.0.9","34.125.23.49:":"0.0.9"},l={fromName(e){switch(e){case"mainnet":return l.MAINNET;case"testnet":return l.TESTNET;case"previewnet":return l.PREVIEWNET;case"local-node":return l.LOCAL_NODE;default:throw new Error(`unknown network name: ${e}`)}},MAINNET:["mainnet-public.mirrornode.hedera.com:443"],TESTNET:["testnet.mirrornode.hedera.com:443"],PREVIEWNET:["previewnet.mirrornode.hedera.com:443"],LOCAL_NODE:["127.0.0.1:5600"]},a={...l,LOCAL_NODE:["127.0.0.1:5551"]},m={MAINNET:n,TESTNET:o,PREVIEWNET:s,LOCAL_NODE:r};export{c as ALL_NETWORK_IPS,w as ALL_WEB_NETWORK_NODES,d as LocalNodeNetwork,r as LocalNodeWebNetwork,n as MAINNET,l as MirrorNetwork,s as WEB_PREVIEWNET,o as WEB_TESTNET,a as WebMirrorNetwork,m as WebNetwork};
2
2
  //# sourceMappingURL=ClientConstants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClientConstants.js","sources":["../../src/constants/ClientConstants.js"],"sourcesContent":["/* NOSONAR */\nimport AccountId from \"../account/AccountId.js\";\n\n// MAINNET node proxies are the same for both 'WebClient' and 'NativeClient'\nexport const MAINNET = {\n \"node00.swirldslabs.com:443\": new AccountId(3),\n \"node01-00-grpc.swirlds.com:443\": new AccountId(4),\n \"node03.swirldslabs.com:443\": new AccountId(6),\n \"node04.swirldslabs.com:443\": new AccountId(7),\n \"node05.swirldslabs.com:443\": new AccountId(8),\n \"node06.swirldslabs.com:443\": new AccountId(9),\n \"node07.swirldslabs.com:443\": new AccountId(10),\n \"node09.swirldslabs.com:443\": new AccountId(12),\n \"node10.swirldslabs.com:443\": new AccountId(13),\n \"node11.swirldslabs.com:443\": new AccountId(14),\n \"node12.swirldslabs.com:443\": new AccountId(15),\n \"node14.swirldslabs.com:443\": new AccountId(17),\n \"node15.swirldslabs.com:443\": new AccountId(18),\n \"node16.swirldslabs.com:443\": new AccountId(19),\n \"node17.swirldslabs.com:443\": new AccountId(20),\n \"node18.swirldslabs.com:443\": new AccountId(21),\n \"node19.swirldslabs.com:443\": new AccountId(22),\n \"node20.swirldslabs.com:443\": new AccountId(23),\n \"node21.swirldslabs.com:443\": new AccountId(24),\n \"node22.swirldslabs.com:443\": new AccountId(25),\n \"node24.swirldslabs.com:443\": new AccountId(27),\n \"node25.swirldslabs.com:443\": new AccountId(28),\n \"node26.swirldslabs.com:443\": new AccountId(29),\n \"node27.swirldslabs.com:443\": new AccountId(30),\n \"node28.swirldslabs.com:443\": new AccountId(31),\n \"node29.swirldslabs.com:443\": new AccountId(32),\n \"node30.swirldslabs.com:443\": new AccountId(33),\n \"node31.swirldslabs.com:443\": new AccountId(34),\n};\n\nexport const WEB_TESTNET = {\n \"testnet-node00-00-grpc.hedera.com:443\": new AccountId(3),\n \"testnet-node01-00-grpc.hedera.com:443\": new AccountId(4),\n \"testnet-node02-00-grpc.hedera.com:443\": new AccountId(5),\n \"testnet-node03-00-grpc.hedera.com:443\": new AccountId(6),\n \"testnet-node04-00-grpc.hedera.com:443\": new AccountId(7),\n \"testnet-node05-00-grpc.hedera.com:443\": new AccountId(8),\n \"testnet-node06-00-grpc.hedera.com:443\": new AccountId(9),\n};\n\nexport const WEB_PREVIEWNET = {\n \"previewnet-node00-00-grpc.hedera.com:443\": new AccountId(3),\n \"previewnet-node01-00-grpc.hedera.com:443\": new AccountId(4),\n \"previewnet-node02-00-grpc.hedera.com:443\": new AccountId(5),\n \"previewnet-node03-00-grpc.hedera.com:443\": new AccountId(6),\n \"previewnet-node04-00-grpc.hedera.com:443\": new AccountId(7),\n \"previewnet-node05-00-grpc.hedera.com:443\": new AccountId(8),\n \"previewnet-node06-00-grpc.hedera.com:443\": new AccountId(9),\n};\n\nexport const NATIVE_TESTNET = {\n \"testnet-node00-00-grpc.hedera.com:443\": new AccountId(3),\n};\n\nexport const NATIVE_PREVIEWNET = {\n \"previewnet-node00-00-grpc.hedera.com:443\": new AccountId(3),\n};\n\nexport const LocalNodeNetwork = {\n \"127.0.0.1:50211\": new AccountId(3),\n};\n\nexport const LocalNodeWebNetwork = {\n \"localhost:8080\": new AccountId(3),\n};\n\n/**\n * @type {Record<string, AccountId>}\n */\nexport const ALL_WEB_NETWORK_NODES = {\n ...MAINNET,\n ...WEB_TESTNET,\n ...WEB_PREVIEWNET,\n};\n\n/**\n * @type {Record<string, string>}\n */\nexport const ALL_NETWORK_IPS = {\n // MAINNET\n \"34.239.82.6:\": \"0.0.3\",\n \"35.237.200.180:\": \"0.0.3\",\n \"3.130.52.236:\": \"0.0.4\",\n \"35.186.191.247:\": \"0.0.4\",\n \"3.18.18.254:\": \"0.0.5\",\n \"35.192.2.25:\": \"0.0.5\",\n \"74.50.117.35:\": \"0.0.5\",\n \"23.111.186.250:\": \"0.0.5\",\n \"107.155.64.98:\": \"0.0.5\",\n \"13.52.108.243:\": \"0.0.6\",\n \"35.199.161.108:\": \"0.0.6\",\n \"3.114.54.4:\": \"0.0.7\",\n \"35.203.82.240:\": \"0.0.7\",\n \"35.236.5.219:\": \"0.0.8\",\n \"35.183.66.150:\": \"0.0.8\",\n \"35.181.158.250:\": \"0.0.9\",\n \"35.197.192.225:\": \"0.0.9\",\n \"177.154.62.234:\": \"0.0.10\",\n \"3.248.27.48:\": \"0.0.10\",\n \"35.242.233.154:\": \"0.0.10\",\n \"35.204.86.32:\": \"0.0.12\",\n \"35.177.162.180:\": \"0.0.12\",\n \"34.215.192.104:\": \"0.0.13\",\n \"35.234.132.107:\": \"0.0.13\",\n \"52.8.21.141:\": \"0.0.14\",\n \"35.236.2.27:\": \"0.0.14\",\n \"35.228.11.53:\": \"0.0.15\",\n \"3.121.238.26:\": \"0.0.15\",\n \"34.86.212.247:\": \"0.0.17\",\n \"18.232.251.19:\": \"0.0.17\",\n \"141.94.175.187:\": \"0.0.18\",\n \"34.89.87.138:\": \"0.0.19\",\n \"18.168.4.59:\": \"0.0.19\",\n \"34.82.78.255:\": \"0.0.20\",\n \"52.39.162.216:\": \"0.0.20\",\n \"34.76.140.109:\": \"0.0.21\",\n \"13.36.123.209:\": \"0.0.21\",\n \"52.78.202.34:\": \"0.0.22\",\n \"34.64.141.166:\": \"0.0.22\",\n \"3.18.91.176:\": \"0.0.23\",\n \"35.232.244.145:\": \"0.0.23\",\n \"69.167.169.208:\": \"0.0.23\",\n \"34.89.103.38:\": \"0.0.24\",\n \"18.135.7.211:\": \"0.0.24\",\n \"34.93.112.7:\": \"0.0.25\",\n \"13.232.240.207:\": \"0.0.25\",\n \"13.56.4.96:\": \"0.0.27\",\n \"34.125.200.96:\": \"0.0.27\",\n \"35.198.220.75:\": \"0.0.28\",\n \"18.139.47.5:\": \"0.0.28\",\n \"54.74.60.120:\": \"0.0.29\",\n \"34.142.71.129:\": \"0.0.29\",\n \"80.85.70.197:\": \"0.0.29\",\n \"35.234.249.150:\": \"0.0.30\",\n \"34.201.177.212:\": \"0.0.30\",\n \"217.76.57.165:\": \"0.0.31\",\n \"3.77.94.254:\": \"0.0.31\",\n \"34.107.78.179:\": \"0.0.31\",\n \"34.86.186.151:\": \"0.0.32\",\n \"3.20.81.230:\": \"0.0.32\",\n \"18.136.65.22:\": \"0.0.33\",\n \"34.142.172.228:\": \"0.0.33\",\n \"34.16.139.248:\": \"0.0.34\",\n \"35.155.212.90:\": \"0.0.34\",\n // TESTNET\n \"34.94.106.61:\": \"0.0.3\",\n \"50.18.132.211:\": \"0.0.3\",\n \"3.212.6.13:\": \"0.0.4\",\n \"35.237.119.55:\": \"0.0.4\",\n \"35.245.27.193:\": \"0.0.5\",\n \"52.20.18.86:\": \"0.0.5\",\n \"34.83.112.116:\": \"0.0.6\",\n \"54.70.192.33:\": \"0.0.6\",\n \"34.94.160.4:\": \"0.0.7\",\n \"54.176.199.109:\": \"0.0.7\",\n \"35.155.49.147:\": \"0.0.8\",\n \"34.106.102.218:\": \"0.0.8\",\n \"34.133.197.230:\": \"0.0.9\",\n \"52.14.252.207:\": \"0.0.9\",\n // LOCAL NODE\n \"127.0.0.1:\": \"0.0.3\",\n // PREVIEW NET\n \"3.211.248.172:\": \"0.0.3\",\n \"35.231.208.148:\": \"0.0.3\",\n \"35.199.15.177:\": \"0.0.4\",\n \"3.133.213.146:\": \"0.0.4\",\n \"35.225.201.195:\": \"0.0.5\",\n \"52.15.105.130:\": \"0.0.5\",\n \"54.241.38.1:\": \"0.0.6\",\n \"35.247.109.135:\": \"0.0.6\",\n \"54.177.51.127:\": \"0.0.7\",\n \"35.235.65.51:\": \"0.0.7\",\n \"34.106.247.65:\": \"0.0.8\",\n \"35.83.89.171:\": \"0.0.8\",\n \"50.18.17.93:\": \"0.0.9\",\n \"34.125.23.49:\": \"0.0.9\",\n};\n\nexport const MirrorNetwork = {\n /**\n * @param {string} name\n * @returns {string[]}\n */\n fromName(name) {\n switch (name) {\n case \"mainnet\":\n return MirrorNetwork.MAINNET;\n\n case \"testnet\":\n return MirrorNetwork.TESTNET;\n\n case \"previewnet\":\n return MirrorNetwork.PREVIEWNET;\n\n case \"local-node\":\n return MirrorNetwork.LOCAL_NODE;\n\n default:\n throw new Error(`unknown network name: ${name}`);\n }\n },\n\n MAINNET: [\"mainnet-public.mirrornode.hedera.com:443\"],\n TESTNET: [\"testnet.mirrornode.hedera.com:443\"],\n PREVIEWNET: [\"previewnet.mirrornode.hedera.com:443\"],\n LOCAL_NODE: [\"127.0.0.1:5600\"],\n};\n\nexport const WebMirrorNetwork = {\n ...MirrorNetwork,\n LOCAL_NODE: [\"127.0.0.1:5551\"],\n};\n\nexport const WebNetwork = {\n /**\n * @param {string} name\n * @returns {{[key: string]: (string | AccountId)}}\n */\n fromName(name) {\n switch (name) {\n case \"mainnet\":\n return WebNetwork.MAINNET;\n\n case \"testnet\":\n return WebNetwork.TESTNET;\n\n case \"previewnet\":\n return WebNetwork.PREVIEWNET;\n\n case \"local-node\":\n return WebNetwork.LOCAL_NODE;\n\n default:\n throw new Error(`unknown network name: ${name}`);\n }\n },\n\n MAINNET: MAINNET,\n TESTNET: WEB_TESTNET,\n PREVIEWNET: WEB_PREVIEWNET,\n LOCAL_NODE: LocalNodeWebNetwork,\n};\n"],"names":["MAINNET","AccountId","WEB_TESTNET","WEB_PREVIEWNET","LocalNodeNetwork","LocalNodeWebNetwork","ALL_WEB_NETWORK_NODES","ALL_NETWORK_IPS","MirrorNetwork","fromName","name","TESTNET","PREVIEWNET","LOCAL_NODE","Error","WebMirrorNetwork","WebNetwork"],"mappings":"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"}
1
+ {"version":3,"file":"ClientConstants.js","sources":["../../src/constants/ClientConstants.js"],"sourcesContent":["/* NOSONAR */\nimport AccountId from \"../account/AccountId.js\";\n\n// MAINNET node proxies are the same for both 'WebClient' and 'NativeClient'\nexport const MAINNET = {\n \"node00.swirldslabs.com:443\": new AccountId(3),\n \"node01-00-grpc.swirlds.com:443\": new AccountId(4),\n \"node03.swirldslabs.com:443\": new AccountId(6),\n \"node04.swirldslabs.com:443\": new AccountId(7),\n \"node05.swirldslabs.com:443\": new AccountId(8),\n \"node06.swirldslabs.com:443\": new AccountId(9),\n \"node07.swirldslabs.com:443\": new AccountId(10),\n \"node09.swirldslabs.com:443\": new AccountId(12),\n \"node10.swirldslabs.com:443\": new AccountId(13),\n \"node11.swirldslabs.com:443\": new AccountId(14),\n \"node12.swirldslabs.com:443\": new AccountId(15),\n \"node14.swirldslabs.com:443\": new AccountId(17),\n \"node15.swirldslabs.com:443\": new AccountId(18),\n \"node16.swirldslabs.com:443\": new AccountId(19),\n \"node17.swirldslabs.com:443\": new AccountId(20),\n \"node18.swirldslabs.com:443\": new AccountId(21),\n \"node19.swirldslabs.com:443\": new AccountId(22),\n \"node20.swirldslabs.com:443\": new AccountId(23),\n \"node21.swirldslabs.com:443\": new AccountId(24),\n \"node22.swirldslabs.com:443\": new AccountId(25),\n \"node24.swirldslabs.com:443\": new AccountId(27),\n \"node25.swirldslabs.com:443\": new AccountId(28),\n \"node26.swirldslabs.com:443\": new AccountId(29),\n \"node27.swirldslabs.com:443\": new AccountId(30),\n \"node28.swirldslabs.com:443\": new AccountId(31),\n \"node29.swirldslabs.com:443\": new AccountId(32),\n \"node30.swirldslabs.com:443\": new AccountId(33),\n \"node31.swirldslabs.com:443\": new AccountId(34),\n // \"node32.swirldslabs.com:443\": new AccountId(35), - temporarily disabled\n \"node33.swirldslabs.com:443\": new AccountId(36),\n \"node34.swirldslabs.com:443\": new AccountId(37),\n};\n\nexport const WEB_TESTNET = {\n \"testnet-node00-00-grpc.hedera.com:443\": new AccountId(3),\n \"testnet-node01-00-grpc.hedera.com:443\": new AccountId(4),\n \"testnet-node02-00-grpc.hedera.com:443\": new AccountId(5),\n \"testnet-node03-00-grpc.hedera.com:443\": new AccountId(6),\n \"testnet-node04-00-grpc.hedera.com:443\": new AccountId(7),\n \"testnet-node05-00-grpc.hedera.com:443\": new AccountId(8),\n \"testnet-node06-00-grpc.hedera.com:443\": new AccountId(9),\n};\n\nexport const WEB_PREVIEWNET = {\n \"previewnet-node00-00-grpc.hedera.com:443\": new AccountId(3),\n \"previewnet-node01-00-grpc.hedera.com:443\": new AccountId(4),\n \"previewnet-node02-00-grpc.hedera.com:443\": new AccountId(5),\n \"previewnet-node03-00-grpc.hedera.com:443\": new AccountId(6),\n \"previewnet-node04-00-grpc.hedera.com:443\": new AccountId(7),\n \"previewnet-node05-00-grpc.hedera.com:443\": new AccountId(8),\n \"previewnet-node06-00-grpc.hedera.com:443\": new AccountId(9),\n};\n\nexport const NATIVE_TESTNET = {\n \"testnet-node00-00-grpc.hedera.com:443\": new AccountId(3),\n};\n\nexport const NATIVE_PREVIEWNET = {\n \"previewnet-node00-00-grpc.hedera.com:443\": new AccountId(3),\n};\n\nexport const LocalNodeNetwork = {\n \"127.0.0.1:50211\": new AccountId(3),\n};\n\nexport const LocalNodeWebNetwork = {\n \"localhost:8080\": new AccountId(3),\n};\n\n/**\n * @type {Record<string, AccountId>}\n */\nexport const ALL_WEB_NETWORK_NODES = {\n ...MAINNET,\n ...WEB_TESTNET,\n ...WEB_PREVIEWNET,\n};\n\n/**\n * @type {Record<string, string>}\n */\nexport const ALL_NETWORK_IPS = {\n // MAINNET\n \"34.239.82.6:\": \"0.0.3\",\n \"35.237.200.180:\": \"0.0.3\",\n \"3.130.52.236:\": \"0.0.4\",\n \"35.186.191.247:\": \"0.0.4\",\n \"3.18.18.254:\": \"0.0.5\",\n \"35.192.2.25:\": \"0.0.5\",\n \"74.50.117.35:\": \"0.0.5\",\n \"23.111.186.250:\": \"0.0.5\",\n \"107.155.64.98:\": \"0.0.5\",\n \"13.52.108.243:\": \"0.0.6\",\n \"35.199.161.108:\": \"0.0.6\",\n \"3.114.54.4:\": \"0.0.7\",\n \"35.203.82.240:\": \"0.0.7\",\n \"35.236.5.219:\": \"0.0.8\",\n \"35.183.66.150:\": \"0.0.8\",\n \"35.181.158.250:\": \"0.0.9\",\n \"35.197.192.225:\": \"0.0.9\",\n \"177.154.62.234:\": \"0.0.10\",\n \"3.248.27.48:\": \"0.0.10\",\n \"35.242.233.154:\": \"0.0.10\",\n \"35.204.86.32:\": \"0.0.12\",\n \"35.177.162.180:\": \"0.0.12\",\n \"34.215.192.104:\": \"0.0.13\",\n \"35.234.132.107:\": \"0.0.13\",\n \"52.8.21.141:\": \"0.0.14\",\n \"35.236.2.27:\": \"0.0.14\",\n \"35.228.11.53:\": \"0.0.15\",\n \"3.121.238.26:\": \"0.0.15\",\n \"34.86.212.247:\": \"0.0.17\",\n \"18.232.251.19:\": \"0.0.17\",\n \"141.94.175.187:\": \"0.0.18\",\n \"34.89.87.138:\": \"0.0.19\",\n \"18.168.4.59:\": \"0.0.19\",\n \"34.82.78.255:\": \"0.0.20\",\n \"52.39.162.216:\": \"0.0.20\",\n \"34.76.140.109:\": \"0.0.21\",\n \"13.36.123.209:\": \"0.0.21\",\n \"52.78.202.34:\": \"0.0.22\",\n \"34.64.141.166:\": \"0.0.22\",\n \"3.18.91.176:\": \"0.0.23\",\n \"35.232.244.145:\": \"0.0.23\",\n \"69.167.169.208:\": \"0.0.23\",\n \"34.89.103.38:\": \"0.0.24\",\n \"18.135.7.211:\": \"0.0.24\",\n \"34.93.112.7:\": \"0.0.25\",\n \"13.232.240.207:\": \"0.0.25\",\n \"13.56.4.96:\": \"0.0.27\",\n \"34.125.200.96:\": \"0.0.27\",\n \"35.198.220.75:\": \"0.0.28\",\n \"18.139.47.5:\": \"0.0.28\",\n \"54.74.60.120:\": \"0.0.29\",\n \"34.142.71.129:\": \"0.0.29\",\n \"80.85.70.197:\": \"0.0.29\",\n \"35.234.249.150:\": \"0.0.30\",\n \"34.201.177.212:\": \"0.0.30\",\n \"217.76.57.165:\": \"0.0.31\",\n \"3.77.94.254:\": \"0.0.31\",\n \"34.107.78.179:\": \"0.0.31\",\n \"34.86.186.151:\": \"0.0.32\",\n \"3.20.81.230:\": \"0.0.32\",\n \"18.136.65.22:\": \"0.0.33\",\n \"34.142.172.228:\": \"0.0.33\",\n \"34.16.139.248:\": \"0.0.34\",\n \"35.155.212.90:\": \"0.0.34\",\n // TESTNET\n \"34.94.106.61:\": \"0.0.3\",\n \"50.18.132.211:\": \"0.0.3\",\n \"3.212.6.13:\": \"0.0.4\",\n \"35.237.119.55:\": \"0.0.4\",\n \"35.245.27.193:\": \"0.0.5\",\n \"52.20.18.86:\": \"0.0.5\",\n \"34.83.112.116:\": \"0.0.6\",\n \"54.70.192.33:\": \"0.0.6\",\n \"34.94.160.4:\": \"0.0.7\",\n \"54.176.199.109:\": \"0.0.7\",\n \"35.155.49.147:\": \"0.0.8\",\n \"34.106.102.218:\": \"0.0.8\",\n \"34.133.197.230:\": \"0.0.9\",\n \"52.14.252.207:\": \"0.0.9\",\n // LOCAL NODE\n \"127.0.0.1:\": \"0.0.3\",\n // PREVIEW NET\n \"3.211.248.172:\": \"0.0.3\",\n \"35.231.208.148:\": \"0.0.3\",\n \"35.199.15.177:\": \"0.0.4\",\n \"3.133.213.146:\": \"0.0.4\",\n \"35.225.201.195:\": \"0.0.5\",\n \"52.15.105.130:\": \"0.0.5\",\n \"54.241.38.1:\": \"0.0.6\",\n \"35.247.109.135:\": \"0.0.6\",\n \"54.177.51.127:\": \"0.0.7\",\n \"35.235.65.51:\": \"0.0.7\",\n \"34.106.247.65:\": \"0.0.8\",\n \"35.83.89.171:\": \"0.0.8\",\n \"50.18.17.93:\": \"0.0.9\",\n \"34.125.23.49:\": \"0.0.9\",\n};\n\nexport const MirrorNetwork = {\n /**\n * @param {string} name\n * @returns {string[]}\n */\n fromName(name) {\n switch (name) {\n case \"mainnet\":\n return MirrorNetwork.MAINNET;\n\n case \"testnet\":\n return MirrorNetwork.TESTNET;\n\n case \"previewnet\":\n return MirrorNetwork.PREVIEWNET;\n\n case \"local-node\":\n return MirrorNetwork.LOCAL_NODE;\n\n default:\n throw new Error(`unknown network name: ${name}`);\n }\n },\n\n MAINNET: [\"mainnet-public.mirrornode.hedera.com:443\"],\n TESTNET: [\"testnet.mirrornode.hedera.com:443\"],\n PREVIEWNET: [\"previewnet.mirrornode.hedera.com:443\"],\n LOCAL_NODE: [\"127.0.0.1:5600\"],\n};\n\nexport const WebMirrorNetwork = {\n ...MirrorNetwork,\n LOCAL_NODE: [\"127.0.0.1:5551\"],\n};\n\nexport const WebNetwork = {\n /**\n * @param {string} name\n * @returns {{[key: string]: (string | AccountId)}}\n */\n fromName(name) {\n switch (name) {\n case \"mainnet\":\n return WebNetwork.MAINNET;\n\n case \"testnet\":\n return WebNetwork.TESTNET;\n\n case \"previewnet\":\n return WebNetwork.PREVIEWNET;\n\n case \"local-node\":\n return WebNetwork.LOCAL_NODE;\n\n default:\n throw new Error(`unknown network name: ${name}`);\n }\n },\n\n MAINNET: MAINNET,\n TESTNET: WEB_TESTNET,\n PREVIEWNET: WEB_PREVIEWNET,\n LOCAL_NODE: LocalNodeWebNetwork,\n};\n"],"names":["MAINNET","AccountId","WEB_TESTNET","WEB_PREVIEWNET","LocalNodeNetwork","LocalNodeWebNetwork","ALL_WEB_NETWORK_NODES","ALL_NETWORK_IPS","MirrorNetwork","fromName","name","TESTNET","PREVIEWNET","LOCAL_NODE","Error","WebMirrorNetwork","WebNetwork"],"mappings":"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"}
@@ -101,13 +101,10 @@ class ContractId extends _Key.default {
101
101
  * @returns {Promise<ContractId>}
102
102
  */
103
103
  async populateAccountNum(client) {
104
- if (this.evmAddress === null) {
105
- throw new Error("field `evmAddress` should not be null");
106
- }
107
- const mirrorUrl = client.mirrorNetwork[0].slice(0, client.mirrorNetwork[0].indexOf(":"));
104
+ const mirrorRestApiBaseUrl = client.mirrorRestApiBaseUrl;
105
+ const url = `${mirrorRestApiBaseUrl}/contracts/${this.toEvmAddress()}`;
108
106
 
109
107
  /* eslint-disable */
110
- const url = `https://${mirrorUrl}/api/v1/contracts/${hex.encode(this.evmAddress)}`;
111
108
  const response = await fetch(url);
112
109
  const data = await response.json();
113
110
  const mirrorAccountId = data.contract_id;
@@ -1,2 +1,2 @@
1
- import{constructor as r,fromEvmAddress as t,fromStringSplitter as s,validateChecksum as e,fromSolidityAddress as o,toSolidityAddress as m,toEvmAddress as i,toStringWithChecksum as n,compare as h}from"../EntityIdHelper.js";import d from"../Key.js";import*as u from"@hashgraph/proto";import a from"../Cache.js";import{decode as l,encode as c}from"../encoding/hex.js";import{arrayEqual as f}from"../array.js";import v from"long";import{isLongZeroAddress as A}from"../util.js";import p from"../EvmAddress.js";class g extends d{constructor(t,s,e,o){super();const m=r(t,s,e);this.shard=m.shard,this.realm=m.realm,this.num=m.num,this.evmAddress=null!=o?o:null,this._checksum=null}static fromEvmAddress(r,s,e){const o=p.fromString(e),[m,i,n,h]=t(r,s,o.toString());return new g(m,i,n,h?.toBytes())}static fromString(r){const t=s(r);if(Number.isNaN(t.shard)||Number.isNaN(t.realm))throw new Error("invalid format for entity ID");const e=null!=t.shard?v.fromString(t.shard):v.ZERO,o=null!=t.realm?v.fromString(t.realm):v.ZERO,[m,i]=t.numOrHex.length<40?[v.fromString(t.numOrHex),void 0]:[v.ZERO,l(t.numOrHex)];return new g(e,o,m,i)}static _fromProtobuf(r){return new g(null!=r.shardNum?r.shardNum:0,null!=r.realmNum?r.realmNum:0,null!=r.contractNum?r.contractNum:0)}get checksum(){return this._checksum}async populateAccountNum(r){if(null===this.evmAddress)throw new Error("field `evmAddress` should not be null");const t=`https://${r.mirrorNetwork[0].slice(0,r.mirrorNetwork[0].indexOf(":"))}/api/v1/contracts/${c(this.evmAddress)}`,s=await fetch(t),e=(await s.json()).contract_id;return this.num=v.fromString(e.slice(e.lastIndexOf(".")+1)),this}validate(r){console.warn("Deprecated: Use `validateChecksum` instead"),this.validateChecksum(r)}validateChecksum(r){e(this.shard,this.realm,this.num,this._checksum,r)}static fromBytes(r){return g._fromProtobuf(u.proto.ContractID.decode(r))}static fromSolidityAddress(r){return A(l(r))?new g(...o(r)):this.fromEvmAddress(0,0,r)}toSolidityAddress(){return null!=this.evmAddress?c(this.evmAddress):m([this.shard,this.realm,this.num])}toEvmAddress(){return null!=this.evmAddress?i(this.evmAddress):i(this.num)}_toProtobuf(){return{contractNum:this.num,shardNum:this.shard,realmNum:this.realm,evmAddress:this.evmAddress}}toString(){return null!=this.evmAddress?`${this.shard.toString()}.${this.realm.toString()}.${c(this.evmAddress)}`:`${this.shard.toString()}.${this.realm.toString()}.${this.num.toString()}`}toStringWithChecksum(r){return n(this.toString(),r)}toBytes(){return u.proto.ContractID.encode(this._toProtobuf()).finish()}clone(){const r=new g(this);return r._checksum=this._checksum,r.evmAddress=this.evmAddress,r}compare(r){return h([this.shard,this.realm,this.num],[r.shard,r.realm,r.num])}equals(r){let t=!1;return null!=this.evmAddress&&null!=r.evmAddress&&(t=f(this.evmAddress,r.evmAddress)),this.shard.eq(r.shard)&&this.realm.eq(r.realm)&&this.num.eq(r.num)&&t}_toProtobufKey(){return{contractID:this._toProtobuf()}}static __fromProtobufKey(r){return g._fromProtobuf(r)}}a.setContractId(r=>g.__fromProtobufKey(r));export{g as default};
1
+ import{constructor as t,fromEvmAddress as r,fromStringSplitter as s,validateChecksum as e,fromSolidityAddress as o,toSolidityAddress as m,toEvmAddress as i,toStringWithChecksum as n,compare as h}from"../EntityIdHelper.js";import u from"../Key.js";import*as a from"@hashgraph/proto";import d from"../Cache.js";import{decode as l,encode as c}from"../encoding/hex.js";import{arrayEqual as f}from"../array.js";import v from"long";import{isLongZeroAddress as A}from"../util.js";import p from"../EvmAddress.js";class g extends u{constructor(r,s,e,o){super();const m=t(r,s,e);this.shard=m.shard,this.realm=m.realm,this.num=m.num,this.evmAddress=null!=o?o:null,this._checksum=null}static fromEvmAddress(t,s,e){const o=p.fromString(e),[m,i,n,h]=r(t,s,o.toString());return new g(m,i,n,h?.toBytes())}static fromString(t){const r=s(t);if(Number.isNaN(r.shard)||Number.isNaN(r.realm))throw new Error("invalid format for entity ID");const e=null!=r.shard?v.fromString(r.shard):v.ZERO,o=null!=r.realm?v.fromString(r.realm):v.ZERO,[m,i]=r.numOrHex.length<40?[v.fromString(r.numOrHex),void 0]:[v.ZERO,l(r.numOrHex)];return new g(e,o,m,i)}static _fromProtobuf(t){return new g(null!=t.shardNum?t.shardNum:0,null!=t.realmNum?t.realmNum:0,null!=t.contractNum?t.contractNum:0)}get checksum(){return this._checksum}async populateAccountNum(t){const r=`${t.mirrorRestApiBaseUrl}/contracts/${this.toEvmAddress()}`,s=await fetch(r),e=(await s.json()).contract_id;return this.num=v.fromString(e.slice(e.lastIndexOf(".")+1)),this}validate(t){console.warn("Deprecated: Use `validateChecksum` instead"),this.validateChecksum(t)}validateChecksum(t){e(this.shard,this.realm,this.num,this._checksum,t)}static fromBytes(t){return g._fromProtobuf(a.proto.ContractID.decode(t))}static fromSolidityAddress(t){return A(l(t))?new g(...o(t)):this.fromEvmAddress(0,0,t)}toSolidityAddress(){return null!=this.evmAddress?c(this.evmAddress):m([this.shard,this.realm,this.num])}toEvmAddress(){return null!=this.evmAddress?i(this.evmAddress):i(this.num)}_toProtobuf(){return{contractNum:this.num,shardNum:this.shard,realmNum:this.realm,evmAddress:this.evmAddress}}toString(){return null!=this.evmAddress?`${this.shard.toString()}.${this.realm.toString()}.${c(this.evmAddress)}`:`${this.shard.toString()}.${this.realm.toString()}.${this.num.toString()}`}toStringWithChecksum(t){return n(this.toString(),t)}toBytes(){return a.proto.ContractID.encode(this._toProtobuf()).finish()}clone(){const t=new g(this);return t._checksum=this._checksum,t.evmAddress=this.evmAddress,t}compare(t){return h([this.shard,this.realm,this.num],[t.shard,t.realm,t.num])}equals(t){let r=!1;return null!=this.evmAddress&&null!=t.evmAddress&&(r=f(this.evmAddress,t.evmAddress)),this.shard.eq(t.shard)&&this.realm.eq(t.realm)&&this.num.eq(t.num)&&r}_toProtobufKey(){return{contractID:this._toProtobuf()}}static __fromProtobufKey(t){return g._fromProtobuf(t)}}d.setContractId(t=>g.__fromProtobufKey(t));export{g as default};
2
2
  //# sourceMappingURL=ContractId.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContractId.js","sources":["../../src/contract/ContractId.js"],"sourcesContent":["// SPDX-License-Identifier: Apache-2.0\n\nimport * as EntityIdHelper from \"../EntityIdHelper.js\";\nimport Key from \"../Key.js\";\nimport * as HieroProto from \"@hashgraph/proto\";\nimport CACHE from \"../Cache.js\";\nimport * as hex from \"../encoding/hex.js\";\nimport { arrayEqual } from \"../array.js\";\nimport Long from \"long\";\nimport { isLongZeroAddress } from \"../util.js\";\nimport EvmAddress from \"../EvmAddress.js\";\n\n/**\n * @typedef {import(\"../client/Client.js\").default<*, *>} Client\n */\n\n/**\n * The ID for a crypto-currency contract on Hedera.\n */\nexport default class ContractId extends Key {\n /**\n * @param {number | Long | import(\"../EntityIdHelper\").IEntityId} props\n * @param {(number | Long)=} realm\n * @param {(number | Long)=} num\n * @param {Uint8Array=} evmAddress\n */\n constructor(props, realm, num, evmAddress) {\n super();\n\n const result = EntityIdHelper.constructor(props, realm, num);\n\n this.shard = result.shard;\n this.realm = result.realm;\n this.num = result.num;\n\n this.evmAddress = evmAddress != null ? evmAddress : null;\n\n /**\n * @type {string | null}\n */\n this._checksum = null;\n }\n\n /**\n * @description This handles both long-zero format and evm address format addresses.\n * If an actual evm address is passed, please use `ContractId.populateAccountNum(client)` method\n * to get the actual `num` value, since there is no cryptographic relation to the evm address\n * and cannot be populated directly\n * @param {Long | number} shard\n * @param {Long | number} realm\n * @param {string} evmAddress\n * @returns {ContractId}\n */\n static fromEvmAddress(shard, realm, evmAddress) {\n const evmAddressObj = EvmAddress.fromString(evmAddress);\n\n const [shardLong, realmLong, num, address] =\n EntityIdHelper.fromEvmAddress(\n shard,\n realm,\n evmAddressObj.toString(),\n );\n\n return new ContractId(shardLong, realmLong, num, address?.toBytes());\n }\n\n /**\n * @param {string} text\n * @returns {ContractId}\n */\n static fromString(text) {\n const result = EntityIdHelper.fromStringSplitter(text);\n\n if (Number.isNaN(result.shard) || Number.isNaN(result.realm)) {\n throw new Error(\"invalid format for entity ID\");\n }\n\n const shard =\n result.shard != null ? Long.fromString(result.shard) : Long.ZERO;\n const realm =\n result.realm != null ? Long.fromString(result.realm) : Long.ZERO;\n const [num, evmAddress] =\n result.numOrHex.length < 40\n ? [Long.fromString(result.numOrHex), undefined]\n : [Long.ZERO, hex.decode(result.numOrHex)];\n\n return new ContractId(shard, realm, num, evmAddress);\n }\n\n /**\n * @internal\n * @param {HieroProto.proto.IContractID} id\n * @returns {ContractId}\n */\n static _fromProtobuf(id) {\n const contractId = new ContractId(\n id.shardNum != null ? id.shardNum : 0,\n id.realmNum != null ? id.realmNum : 0,\n id.contractNum != null ? id.contractNum : 0,\n );\n\n return contractId;\n }\n\n /**\n * @returns {string | null}\n */\n get checksum() {\n return this._checksum;\n }\n\n /**\n * @description Gets the actual `num` field of the `ContractId` from the Mirror Node.\n * Should be used after generating `ContractId.fromEvmAddress()` because it sets the `num` field to `0`\n * automatically since there is no connection between the `num` and the `evmAddress`\n * @param {Client} client\n * @returns {Promise<ContractId>}\n */\n async populateAccountNum(client) {\n if (this.evmAddress === null) {\n throw new Error(\"field `evmAddress` should not be null\");\n }\n const mirrorUrl = client.mirrorNetwork[0].slice(\n 0,\n client.mirrorNetwork[0].indexOf(\":\"),\n );\n\n /* eslint-disable */\n const url = `https://${mirrorUrl}/api/v1/contracts/${hex.encode(\n this.evmAddress,\n )}`;\n const response = await fetch(url);\n const data = await response.json();\n const mirrorAccountId = data.contract_id;\n\n this.num = Long.fromString(\n mirrorAccountId.slice(mirrorAccountId.lastIndexOf(\".\") + 1),\n );\n /* eslint-enable */\n\n return this;\n }\n\n /**\n * @deprecated - Use `validateChecksum` instead\n * @param {Client} client\n */\n validate(client) {\n console.warn(\"Deprecated: Use `validateChecksum` instead\");\n this.validateChecksum(client);\n }\n\n /**\n * @param {Client} client\n */\n validateChecksum(client) {\n EntityIdHelper.validateChecksum(\n this.shard,\n this.realm,\n this.num,\n this._checksum,\n client,\n );\n }\n\n /**\n * @param {Uint8Array} bytes\n * @returns {ContractId}\n */\n static fromBytes(bytes) {\n return ContractId._fromProtobuf(\n HieroProto.proto.ContractID.decode(bytes),\n );\n }\n\n /**\n * @deprecated - Use `fromEvmAddress` instead\n * @param {string} address\n * @returns {ContractId}\n */\n static fromSolidityAddress(address) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n if (isLongZeroAddress(hex.decode(address))) {\n return new ContractId(\n ...EntityIdHelper.fromSolidityAddress(address),\n );\n } else {\n return this.fromEvmAddress(0, 0, address);\n }\n }\n\n /**\n * @deprecated - Use `toEvmAddress` instead\n * @returns {string}\n */\n toSolidityAddress() {\n if (this.evmAddress != null) {\n return hex.encode(this.evmAddress);\n } else {\n return EntityIdHelper.toSolidityAddress([\n this.shard,\n this.realm,\n this.num,\n ]);\n }\n }\n\n /**\n * @returns {string} EVM-compatible address representation of the entity\n */\n toEvmAddress() {\n if (this.evmAddress != null) {\n return EntityIdHelper.toEvmAddress(this.evmAddress);\n }\n\n return EntityIdHelper.toEvmAddress(this.num);\n }\n /**\n * @internal\n * @returns {HieroProto.proto.IContractID}\n */\n _toProtobuf() {\n return {\n contractNum: this.num,\n shardNum: this.shard,\n realmNum: this.realm,\n evmAddress: this.evmAddress,\n };\n }\n\n /**\n * @returns {string}\n */\n toString() {\n if (this.evmAddress != null) {\n return `${this.shard.toString()}.${this.realm.toString()}.${hex.encode(\n this.evmAddress,\n )}`;\n } else {\n return `${this.shard.toString()}.${this.realm.toString()}.${this.num.toString()}`;\n }\n }\n\n /**\n * @param {Client} client\n * @returns {string}\n */\n toStringWithChecksum(client) {\n return EntityIdHelper.toStringWithChecksum(this.toString(), client);\n }\n\n /**\n * @returns {Uint8Array}\n */\n toBytes() {\n return HieroProto.proto.ContractID.encode(this._toProtobuf()).finish();\n }\n\n /**\n * @returns {ContractId}\n */\n clone() {\n const id = new ContractId(this);\n id._checksum = this._checksum;\n id.evmAddress = this.evmAddress;\n return id;\n }\n\n /**\n * @param {ContractId} other\n * @returns {number}\n */\n compare(other) {\n return EntityIdHelper.compare(\n [this.shard, this.realm, this.num],\n [other.shard, other.realm, other.num],\n );\n }\n\n /**\n * @param {this} other\n * @returns {boolean}\n */\n equals(other) {\n let evmAddresses = false;\n if (this.evmAddress != null && other.evmAddress != null) {\n evmAddresses = arrayEqual(this.evmAddress, other.evmAddress);\n }\n\n return (\n this.shard.eq(other.shard) &&\n this.realm.eq(other.realm) &&\n this.num.eq(other.num) &&\n evmAddresses\n );\n }\n\n /**\n * @returns {HieroProto.proto.IKey}\n */\n _toProtobufKey() {\n return {\n contractID: this._toProtobuf(),\n };\n }\n\n /**\n * @param {HieroProto.proto.IContractID} key\n * @returns {ContractId}\n */\n static __fromProtobufKey(key) {\n return ContractId._fromProtobuf(key);\n }\n}\n\nCACHE.setContractId((key) => ContractId.__fromProtobufKey(key));\n"],"names":["ContractId","Key","constructor","props","realm","num","evmAddress","super","result","EntityIdHelper.constructor","this","shard","_checksum","fromEvmAddress","evmAddressObj","EvmAddress","fromString","shardLong","realmLong","address","EntityIdHelper.fromEvmAddress","toString","toBytes","text","EntityIdHelper.fromStringSplitter","Number","isNaN","Error","Long","ZERO","numOrHex","length","undefined","hex.decode","_fromProtobuf","id","shardNum","realmNum","contractNum","checksum","populateAccountNum","client","url","mirrorNetwork","slice","indexOf","hex.encode","response","fetch","mirrorAccountId","json","contract_id","lastIndexOf","validate","console","warn","validateChecksum","EntityIdHelper.validateChecksum","fromBytes","bytes","HieroProto","proto","ContractID","decode","fromSolidityAddress","isLongZeroAddress","EntityIdHelper.fromSolidityAddress","toSolidityAddress","EntityIdHelper.toSolidityAddress","toEvmAddress","EntityIdHelper.toEvmAddress","_toProtobuf","toStringWithChecksum","EntityIdHelper.toStringWithChecksum","encode","finish","clone","compare","other","EntityIdHelper.compare","equals","evmAddresses","arrayEqual","eq","_toProtobufKey","contractID","__fromProtobufKey","key","CACHE","setContractId"],"mappings":"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"}
1
+ {"version":3,"file":"ContractId.js","sources":["../../src/contract/ContractId.js"],"sourcesContent":["// SPDX-License-Identifier: Apache-2.0\n\nimport * as EntityIdHelper from \"../EntityIdHelper.js\";\nimport Key from \"../Key.js\";\nimport * as HieroProto from \"@hashgraph/proto\";\nimport CACHE from \"../Cache.js\";\nimport * as hex from \"../encoding/hex.js\";\nimport { arrayEqual } from \"../array.js\";\nimport Long from \"long\";\nimport { isLongZeroAddress } from \"../util.js\";\nimport EvmAddress from \"../EvmAddress.js\";\n\n/**\n * @typedef {import(\"../client/Client.js\").default<*, *>} Client\n */\n\n/**\n * The ID for a crypto-currency contract on Hedera.\n */\nexport default class ContractId extends Key {\n /**\n * @param {number | Long | import(\"../EntityIdHelper\").IEntityId} props\n * @param {(number | Long)=} realm\n * @param {(number | Long)=} num\n * @param {Uint8Array=} evmAddress\n */\n constructor(props, realm, num, evmAddress) {\n super();\n\n const result = EntityIdHelper.constructor(props, realm, num);\n\n this.shard = result.shard;\n this.realm = result.realm;\n this.num = result.num;\n\n this.evmAddress = evmAddress != null ? evmAddress : null;\n\n /**\n * @type {string | null}\n */\n this._checksum = null;\n }\n\n /**\n * @description This handles both long-zero format and evm address format addresses.\n * If an actual evm address is passed, please use `ContractId.populateAccountNum(client)` method\n * to get the actual `num` value, since there is no cryptographic relation to the evm address\n * and cannot be populated directly\n * @param {Long | number} shard\n * @param {Long | number} realm\n * @param {string} evmAddress\n * @returns {ContractId}\n */\n static fromEvmAddress(shard, realm, evmAddress) {\n const evmAddressObj = EvmAddress.fromString(evmAddress);\n\n const [shardLong, realmLong, num, address] =\n EntityIdHelper.fromEvmAddress(\n shard,\n realm,\n evmAddressObj.toString(),\n );\n\n return new ContractId(shardLong, realmLong, num, address?.toBytes());\n }\n\n /**\n * @param {string} text\n * @returns {ContractId}\n */\n static fromString(text) {\n const result = EntityIdHelper.fromStringSplitter(text);\n\n if (Number.isNaN(result.shard) || Number.isNaN(result.realm)) {\n throw new Error(\"invalid format for entity ID\");\n }\n\n const shard =\n result.shard != null ? Long.fromString(result.shard) : Long.ZERO;\n const realm =\n result.realm != null ? Long.fromString(result.realm) : Long.ZERO;\n const [num, evmAddress] =\n result.numOrHex.length < 40\n ? [Long.fromString(result.numOrHex), undefined]\n : [Long.ZERO, hex.decode(result.numOrHex)];\n\n return new ContractId(shard, realm, num, evmAddress);\n }\n\n /**\n * @internal\n * @param {HieroProto.proto.IContractID} id\n * @returns {ContractId}\n */\n static _fromProtobuf(id) {\n const contractId = new ContractId(\n id.shardNum != null ? id.shardNum : 0,\n id.realmNum != null ? id.realmNum : 0,\n id.contractNum != null ? id.contractNum : 0,\n );\n\n return contractId;\n }\n\n /**\n * @returns {string | null}\n */\n get checksum() {\n return this._checksum;\n }\n\n /**\n * @description Gets the actual `num` field of the `ContractId` from the Mirror Node.\n * Should be used after generating `ContractId.fromEvmAddress()` because it sets the `num` field to `0`\n * automatically since there is no connection between the `num` and the `evmAddress`\n * @param {Client} client\n * @returns {Promise<ContractId>}\n */\n async populateAccountNum(client) {\n const mirrorRestApiBaseUrl = client.mirrorRestApiBaseUrl;\n const url = `${mirrorRestApiBaseUrl}/contracts/${this.toEvmAddress()}`;\n\n /* eslint-disable */\n const response = await fetch(url);\n const data = await response.json();\n const mirrorAccountId = data.contract_id;\n\n this.num = Long.fromString(\n mirrorAccountId.slice(mirrorAccountId.lastIndexOf(\".\") + 1),\n );\n /* eslint-enable */\n\n return this;\n }\n\n /**\n * @deprecated - Use `validateChecksum` instead\n * @param {Client} client\n */\n validate(client) {\n console.warn(\"Deprecated: Use `validateChecksum` instead\");\n this.validateChecksum(client);\n }\n\n /**\n * @param {Client} client\n */\n validateChecksum(client) {\n EntityIdHelper.validateChecksum(\n this.shard,\n this.realm,\n this.num,\n this._checksum,\n client,\n );\n }\n\n /**\n * @param {Uint8Array} bytes\n * @returns {ContractId}\n */\n static fromBytes(bytes) {\n return ContractId._fromProtobuf(\n HieroProto.proto.ContractID.decode(bytes),\n );\n }\n\n /**\n * @deprecated - Use `fromEvmAddress` instead\n * @param {string} address\n * @returns {ContractId}\n */\n static fromSolidityAddress(address) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n if (isLongZeroAddress(hex.decode(address))) {\n return new ContractId(\n ...EntityIdHelper.fromSolidityAddress(address),\n );\n } else {\n return this.fromEvmAddress(0, 0, address);\n }\n }\n\n /**\n * @deprecated - Use `toEvmAddress` instead\n * @returns {string}\n */\n toSolidityAddress() {\n if (this.evmAddress != null) {\n return hex.encode(this.evmAddress);\n } else {\n return EntityIdHelper.toSolidityAddress([\n this.shard,\n this.realm,\n this.num,\n ]);\n }\n }\n\n /**\n * @returns {string} EVM-compatible address representation of the entity\n */\n toEvmAddress() {\n if (this.evmAddress != null) {\n return EntityIdHelper.toEvmAddress(this.evmAddress);\n }\n\n return EntityIdHelper.toEvmAddress(this.num);\n }\n /**\n * @internal\n * @returns {HieroProto.proto.IContractID}\n */\n _toProtobuf() {\n return {\n contractNum: this.num,\n shardNum: this.shard,\n realmNum: this.realm,\n evmAddress: this.evmAddress,\n };\n }\n\n /**\n * @returns {string}\n */\n toString() {\n if (this.evmAddress != null) {\n return `${this.shard.toString()}.${this.realm.toString()}.${hex.encode(\n this.evmAddress,\n )}`;\n } else {\n return `${this.shard.toString()}.${this.realm.toString()}.${this.num.toString()}`;\n }\n }\n\n /**\n * @param {Client} client\n * @returns {string}\n */\n toStringWithChecksum(client) {\n return EntityIdHelper.toStringWithChecksum(this.toString(), client);\n }\n\n /**\n * @returns {Uint8Array}\n */\n toBytes() {\n return HieroProto.proto.ContractID.encode(this._toProtobuf()).finish();\n }\n\n /**\n * @returns {ContractId}\n */\n clone() {\n const id = new ContractId(this);\n id._checksum = this._checksum;\n id.evmAddress = this.evmAddress;\n return id;\n }\n\n /**\n * @param {ContractId} other\n * @returns {number}\n */\n compare(other) {\n return EntityIdHelper.compare(\n [this.shard, this.realm, this.num],\n [other.shard, other.realm, other.num],\n );\n }\n\n /**\n * @param {this} other\n * @returns {boolean}\n */\n equals(other) {\n let evmAddresses = false;\n if (this.evmAddress != null && other.evmAddress != null) {\n evmAddresses = arrayEqual(this.evmAddress, other.evmAddress);\n }\n\n return (\n this.shard.eq(other.shard) &&\n this.realm.eq(other.realm) &&\n this.num.eq(other.num) &&\n evmAddresses\n );\n }\n\n /**\n * @returns {HieroProto.proto.IKey}\n */\n _toProtobufKey() {\n return {\n contractID: this._toProtobuf(),\n };\n }\n\n /**\n * @param {HieroProto.proto.IContractID} key\n * @returns {ContractId}\n */\n static __fromProtobufKey(key) {\n return ContractId._fromProtobuf(key);\n }\n}\n\nCACHE.setContractId((key) => ContractId.__fromProtobufKey(key));\n"],"names":["ContractId","Key","constructor","props","realm","num","evmAddress","super","result","EntityIdHelper.constructor","this","shard","_checksum","fromEvmAddress","evmAddressObj","EvmAddress","fromString","shardLong","realmLong","address","EntityIdHelper.fromEvmAddress","toString","toBytes","text","EntityIdHelper.fromStringSplitter","Number","isNaN","Error","Long","ZERO","numOrHex","length","undefined","hex.decode","_fromProtobuf","id","shardNum","realmNum","contractNum","checksum","populateAccountNum","client","url","mirrorRestApiBaseUrl","toEvmAddress","response","fetch","mirrorAccountId","json","contract_id","slice","lastIndexOf","validate","console","warn","validateChecksum","EntityIdHelper.validateChecksum","fromBytes","bytes","HieroProto","proto","ContractID","decode","fromSolidityAddress","isLongZeroAddress","EntityIdHelper.fromSolidityAddress","toSolidityAddress","hex.encode","EntityIdHelper.toSolidityAddress","EntityIdHelper.toEvmAddress","_toProtobuf","toStringWithChecksum","EntityIdHelper.toStringWithChecksum","encode","finish","clone","compare","other","EntityIdHelper.compare","equals","evmAddresses","arrayEqual","eq","_toProtobufKey","contractID","__fromProtobufKey","key","CACHE","setContractId"],"mappings":"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"}
@@ -219,18 +219,25 @@ class MirrorNodeContractQuery {
219
219
  throw new Error("Contract ID is not set");
220
220
  }
221
221
  this._fillEvmAddress();
222
- let mirrorNetworkAddress = client.mirrorNetwork[0];
223
- const contractCallEndpoint = "/api/v1/contracts/call";
224
- if (!client.ledgerId || client.ledgerId?.isLocalNode()) {
225
- const currentMirrorNetworkPort = client.mirrorNetwork[0].split(":")[1];
226
- mirrorNetworkAddress = "http://".concat(client.mirrorNetwork[0].replace(currentMirrorNetworkPort, "8545")).concat(contractCallEndpoint);
227
- } else {
228
- let trimmed = client.mirrorNetwork[0].split(":");
229
- mirrorNetworkAddress = "https://".concat(trimmed[0]).concat(contractCallEndpoint);
222
+ let mirrorRestApiBaseUrl = client.mirrorRestApiBaseUrl;
223
+ const contractCallEndpointPath = "/contracts/call";
224
+
225
+ // Check if this is a local environment (localhost or 127.0.0.1)
226
+ const mirrorNode = client._mirrorNetwork.getNextMirrorNode();
227
+ const host = mirrorNode.address.address;
228
+ const isLocalEnvironment = host === "localhost" || host === "127.0.0.1";
229
+ if (isLocalEnvironment) {
230
+ // For local environments, use HTTP scheme and port 8545 for contract calls
231
+ // (different from general mirror node REST API port 5551)
232
+ const url = new URL(mirrorRestApiBaseUrl);
233
+ url.protocol = "http:";
234
+ url.port = "8545";
235
+ mirrorRestApiBaseUrl = url.toString();
230
236
  }
237
+ const contractCallEndpointUrl = `${mirrorRestApiBaseUrl}${contractCallEndpointPath}`;
231
238
 
232
239
  // eslint-disable-next-line n/no-unsupported-features/node-builtins
233
- const response = await fetch(mirrorNetworkAddress, {
240
+ const response = await fetch(contractCallEndpointUrl, {
234
241
  method: "POST",
235
242
  headers: {
236
243
  "Content-Type": "application/json"
@@ -1,2 +1,2 @@
1
- import t from"../contract/ContractFunctionParameters.js";class e{constructor(){this._contractId=null,this._contractEvmAddress=null,this._sender=null,this._senderEvmAddress=null,this._functionName=null,this._functionParameters=null,this._value=null,this._gasLimit=null,this._gasPrice=null,this._blockNumber=null}setContractId(t){return this._contractId=t,this}setSender(t){return this._sender=t,this}setSenderEvmAddress(t){return this._senderEvmAddress=t,this}setFunction(e,r){return this._functionParameters=null!=r?r._build(e):(new t)._build(e),this}setValue(t){return this._value=t,this}setGasLimit(t){return this._gasLimit=t,this}setGasPrice(t){return this._gasPrice=t,this}setBlockNumber(t){return this._blockNumber=t,this}get contractId(){return this._contractId}get contractEvmAddress(){const t=this._contractId?.toEvmAddress();if(null==t)throw new Error("Contract ID is not set");return t}get sender(){return this._sender}get senderEvmAddress(){return this._senderEvmAddress}get callData(){return this._functionParameters}get value(){return this._value}get gasLimit(){return this._gasLimit}get gasPrice(){return this._gasPrice}get blockNumber(){return this._blockNumber}async performMirrorNodeRequest(t,e){if(null==this.contractId)throw new Error("Contract ID is not set");this._fillEvmAddress();let r=t.mirrorNetwork[0];const s="/api/v1/contracts/call";if(!t.ledgerId||t.ledgerId?.isLocalNode()){const e=t.mirrorNetwork[0].split(":")[1];r="http://".concat(t.mirrorNetwork[0].replace(e,"8545")).concat(s)}else{let e=t.mirrorNetwork[0].split(":");r="https://".concat(e[0]).concat(s)}const n=await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);return await n.json()}_fillEvmAddress(){null==this.senderEvmAddress&&null!=this.sender&&(this._senderEvmAddress=this.sender.toEvmAddress())}get JSONPayload(){throw new Error("JSONPayload getter is not implemented. Please implement this method in the subclass.")}}export{e as default};
1
+ import t from"../contract/ContractFunctionParameters.js";class r{constructor(){this._contractId=null,this._contractEvmAddress=null,this._sender=null,this._senderEvmAddress=null,this._functionName=null,this._functionParameters=null,this._value=null,this._gasLimit=null,this._gasPrice=null,this._blockNumber=null}setContractId(t){return this._contractId=t,this}setSender(t){return this._sender=t,this}setSenderEvmAddress(t){return this._senderEvmAddress=t,this}setFunction(r,e){return this._functionParameters=null!=e?e._build(r):(new t)._build(r),this}setValue(t){return this._value=t,this}setGasLimit(t){return this._gasLimit=t,this}setGasPrice(t){return this._gasPrice=t,this}setBlockNumber(t){return this._blockNumber=t,this}get contractId(){return this._contractId}get contractEvmAddress(){const t=this._contractId?.toEvmAddress();if(null==t)throw new Error("Contract ID is not set");return t}get sender(){return this._sender}get senderEvmAddress(){return this._senderEvmAddress}get callData(){return this._functionParameters}get value(){return this._value}get gasLimit(){return this._gasLimit}get gasPrice(){return this._gasPrice}get blockNumber(){return this._blockNumber}async performMirrorNodeRequest(t,r){if(null==this.contractId)throw new Error("Contract ID is not set");this._fillEvmAddress();let e=t.mirrorRestApiBaseUrl;const s=t._mirrorNetwork.getNextMirrorNode().address.address;if("localhost"===s||"127.0.0.1"===s){const t=new URL(e);t.protocol="http:",t.port="8545",e=t.toString()}const n=`${e}/contracts/call`,i=await fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);return await i.json()}_fillEvmAddress(){null==this.senderEvmAddress&&null!=this.sender&&(this._senderEvmAddress=this.sender.toEvmAddress())}get JSONPayload(){throw new Error("JSONPayload getter is not implemented. Please implement this method in the subclass.")}}export{r as default};
2
2
  //# sourceMappingURL=MirrorNodeContractQuery.js.map