ETH Price: $3,465.48 (+4.45%)

Contract

0x71CD6666064C3A1354a3B4dca5fA1E2D3ee7D303
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deploy199288692024-05-23 0:01:35184 days ago1716422495IN
0x71CD6666...D3ee7D303
0 ETH0.002606038.09879632
Deploy199280332024-05-22 21:13:59184 days ago1716412439IN
0x71CD6666...D3ee7D303
0 ETH0.0011442535.54569237
Deploy199280142024-05-22 21:10:11184 days ago1716412211IN
0x71CD6666...D3ee7D303
0 ETH0.0039061112.28210951
Deploy199065012024-05-19 20:55:11187 days ago1716152111IN
0x71CD6666...D3ee7D303
0 ETH0.000090532.82415939
Deploy164464272023-01-20 7:09:11673 days ago1674198551IN
0x71CD6666...D3ee7D303
0 ETH0.0461035115.89
Deploy155729892022-09-20 6:44:47795 days ago1663656287IN
0x71CD6666...D3ee7D303
0 ETH0.028454939.80729531
Deploy154467642022-08-31 12:58:52815 days ago1661950732IN
0x71CD6666...D3ee7D303
0 ETH0.0511922917.3801214
Deploy140107182022-01-15 15:00:231043 days ago1642258823IN
0x71CD6666...D3ee7D303
0 ETH0.32677011112.63348185
Deploy139355662022-01-03 23:43:201054 days ago1641253400IN
0x71CD6666...D3ee7D303
0 ETH0.00342909118.2448114
Deploy138947022021-12-28 16:06:411060 days ago1640707601IN
0x71CD6666...D3ee7D303
0 ETH0.2859581495.87131126
Deploy138946412021-12-28 15:51:531060 days ago1640706713IN
0x71CD6666...D3ee7D303
0 ETH0.2340029578.45237258
Deploy138285072021-12-18 10:07:031071 days ago1639822023IN
0x71CD6666...D3ee7D303
0 ETH0.1223311542.16794729
Deploy138018222021-12-14 7:04:081075 days ago1639465448IN
0x71CD6666...D3ee7D303
0 ETH0.0018397283.62407385
Deploy137353782021-12-03 19:23:091085 days ago1638559389IN
0x71CD6666...D3ee7D303
0 ETH0.30223304104
Deploy135591002021-11-05 21:49:131113 days ago1636148953IN
0x71CD6666...D3ee7D303
0 ETH0.30436279103.50814156
Deploy134071572021-10-13 1:28:431137 days ago1634088523IN
0x71CD6666...D3ee7D303
0 ETH0.1906279665.71005784
Deploy129440932021-08-02 5:22:281209 days ago1627881748IN
0x71CD6666...D3ee7D303
0 ETH0.0708657524.2
Deploy127694262021-07-05 19:35:171236 days ago1625513717IN
0x71CD6666...D3ee7D303
0 ETH0.0464152916
Deploy127693072021-07-05 19:10:071236 days ago1625512207IN
0x71CD6666...D3ee7D303
0 ETH0.0377122913
Deploy127652262021-07-05 4:06:301237 days ago1625457990IN
0x71CD6666...D3ee7D303
0 ETH0.0290089110
Deploy127619342021-07-04 15:48:121237 days ago1625413692IN
0x71CD6666...D3ee7D303
0 ETH0.0322604911
Deploy127616742021-07-04 14:49:401238 days ago1625410180IN
0x71CD6666...D3ee7D303
0 ETH0.0290089110
Deploy127544692021-07-03 11:58:121239 days ago1625313492IN
0x71CD6666...D3ee7D303
0 ETH0.000136125.55
Deploy126635462021-06-19 7:43:391253 days ago1624088619IN
0x71CD6666...D3ee7D303
0 ETH0.0020795910
Deploy126635382021-06-19 7:41:291253 days ago1624088489IN
0x71CD6666...D3ee7D303
0 ETH0.000310
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
199288692024-05-23 0:01:35184 days ago1716422495
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
199280142024-05-22 21:10:11184 days ago1716412211
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
164464272023-01-20 7:09:11673 days ago1674198551
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
155729892022-09-20 6:44:47795 days ago1663656287
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
154467642022-08-31 12:58:52815 days ago1661950732
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
140107182022-01-15 15:00:231043 days ago1642258823
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
138947022021-12-28 16:06:411060 days ago1640707601
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
138946412021-12-28 15:51:531060 days ago1640706713
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
138285072021-12-18 10:07:031071 days ago1639822023
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
137353782021-12-03 19:23:091085 days ago1638559389
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
135591002021-11-05 21:49:131113 days ago1636148953
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
134071572021-10-13 1:28:431137 days ago1634088523
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
129440932021-08-02 5:22:281209 days ago1627881748
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
127694262021-07-05 19:35:171236 days ago1625513717
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
127693072021-07-05 19:10:071236 days ago1625512207
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
127652262021-07-05 4:06:301237 days ago1625457990
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
127619342021-07-04 15:48:121237 days ago1625413692
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
127616742021-07-04 14:49:401238 days ago1625410180
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
126635462021-06-19 7:43:391253 days ago1624088619
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
126261242021-06-13 12:29:061259 days ago1623587346
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
126215692021-06-12 19:41:211259 days ago1623526881
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
126030802021-06-09 22:44:311262 days ago1623278671
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
125911192021-06-08 2:05:341264 days ago1623117934
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
125289522021-05-29 11:24:331274 days ago1622287473
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
125286612021-05-29 10:21:011274 days ago1622283661
0x71CD6666...D3ee7D303
 Contract Creation0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MooniFactory

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-08-10
*/

/*
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNXK0OxdoollccccclodkOKNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWX0kdlc;'..      .,:loxkk0KXNWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNKkoc,..        .':ox0XNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOd:'.          .;lxKNWMMMMMMMMMMMMMMMWWNNNNNNNNWWWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOo:.           .,lkXWMMMMMMMMMWXKOxddol:;;,''.....'',,;:cldxO0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXxc'            .;d0NMMMMMMMWXOxl:,..                            ..,:ldOKNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXx:.            .;dKWMMMMMWN0dc,.                                          .,cdOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNkc.             'l0NMMMMMN0d:'.                                                   .:d0NMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMW0o'             .;xXMMMMMNOo,.              .....''',,'''....                           .'lkXWMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMNOc.             .:kNMMMMW0o,         ..,:loxk0KKXXNNNWWWNNNNXKK0kxol:,..                      .cONMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMNk;.             .;ONMMMMXx;.      .,cdkKNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKOdc;.                    ,oKWMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMNk;               ,kNMMMW0l.     ':dOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOd:'                  .cOWMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMWO:               .dXMMMW0c.   .;oONWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOo;.                .:ONMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMWKc.               :0WMMWKl.  .;dKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNWMMMMMMMMMMWKx:.               .:OWMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMNx.               .dNMMMXd.  ,o0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0kxOXWMMMMMMMMWKd;.              .cKWMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMW0:                ,OWMMWO, .:kNMMMMMMMMMMMMMMMMMMMMMMWWWWMMMMMMMMMMMMMMMMMMMMMMMMMMWXxc,:d0NMMMMMMMMNOc.              .xNMMMMMMMMMMMMMM
MMMMMMMMMMMMMNx.                :KMMMXo..c0WMMMMMMMMMMMMMMMMMMMMXxl:;,;;:codkKNMMMMMMMMMMMMMMMMMMMMMMNk;..,o0WMMMMMMMWKo.              :KMMMMMMMMMMMMM
MMMMMMMMMMMMXl.                cXMMW0:.c0WMMMMMMMMMMMMWWNNXXXNNWXd'..;;'..   .,lkNMMW00NMMMMMMMMMMMMMMMNk;  .;dKWMMMMMMWKo.             'kWMMMMMMMMMMM
MMMMMMMMMMMK:                 cXMMWk;;OWMMMMMMMMMN0xoc;,'.....';cll'.oKNX0xol,   ,xXNc.,xXMMMMMMMMMMMMMMMNx'   .l0WMMMMMMWKl.            .dNMMMMMMMMMM
MMMMMMMMMM0;                 cXMMWk:dXMMMMMMMMW0o,.  ..,:clllllcc:;,..;0WMMMMNO:.  ;Ol.  ;0MMMMMMMMMMMMMMMMXl.   .:OWMMMMMMWO;            .lNMMMMMMMMM
MMMMMMMMM0,                 ;KMMWklkNWMMMMMMMKl.     .';coxOXWMMMMWNKOdxKWMMMMMWk,  .:l:  ,0MMMMMMMMMMMMMMMMWO,    .c0WMMMMMMXo.            lXMMMMMMMM
MMMMMMMM0,                 '0MMNx,''lXMMMMMWk'   .,cdxkkkxdxxOKXWMMMMMMWNXNMMMMMM0,  .kK;  cNMMMMMMN0XMMMMMMMMKc     .oXMMMMMMWO,            lNMMMMMMM
MMMMMMM0;                 .xWMKc. . .kWMMMNd.  .l0NMMMMMMMMMMWNXNWMMMMMMMWNNWMMMMMk. 'OWd. .OMMMMXx:oXMMMMMMMMMNo.     ,kWMMMMMMK:           .dWMMMMMM
MMMMMMX:                  cXM0; .l0o..:ool,  .lKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMX; ;XMO. .dWWKo'.:KMMMMMMMMMMMWx.     .oXMMMMMMXc           .kWMMMMM
MMMMMNl                  .OMX: .oNMWOc'...':dKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNc.dWMO.  lOl.  ,0MMMMMMMMMMMMMWx.      :KMMMMMMXl           ;KMMMMM
MMMMWx.                  lNMx. ;XMMMMMNXKXNWMWNWMMMMMMMMMMMMMMMXO0WMMMMMMMMMMMMMMMK::XMWx.  ...'.'OMMMMMMMMMMMMMMMWd.      ;0MMMMMMXc           oWMMMM
MMMMK,                  .kMNl  cNMMMMMMMWNX0kxONMMMMMMMMMMMMMMWd..,cok0NWMMMMMMMMM0xKMMX;   .cd;'kWMMMMMMMMMMMMMMMMNo       ,0MMMMMMK:          '0MMMM
MMMWo                   .cl:. .,ooolllllc::ld0WMMMMMMMMMMMMMMMNl      .':oOXNMMMMMWMMWO:  ;d00:.xWMMMMMMMMMMMMMMMMMMX:       ;KMMMMMM0'          oWMMM
MMM0'                    .':ok0KKK0OkxxkOKNWMMMMMMMMMMMMMMMMMMWo          ..;OWMMMMWO:.  ,OWK:.dWMMMMMMMMMMMMMMMMMMMMO'       :XMMMMMWd.         ,KMMM
MMWo                   .l0NWMMMMMMMMMMMMMMMMMMMMMMMMWXKWMMMMW0o'             .kWMWO:. .cOOOO:.oNMMMMMMMMMNXWMMMMMMMMMWo       .oWMMMMMX:         .kMMM
MMK,                   .OMMMMMMMMMMMMMMMMMMMMMMMMN0d:.cXMMMKc.                .ok:. ..;KMMX:.lNMMMMMMMMMWxlKMMMMMMMMMM0,       'OMMMMMWk.         oWMM
MMx.                   'OXXNMMMMMMMMMMMMMMMMMWXkl,.   lWMWO'                       ,O0dd0Kc .kMMMMMMMMMWk' cXMMMMMMMMMWl        lNMMMMMX;         cNMM
MNl                    .dOKNMMMMMMMMMMMMMMWKxc.       lWM0,                        'xXWN0:   ;0MMMWN0xl,.   'cdOXWMMMMMk.       'OMMMMMWd.        ;XMM
MX;                    ;XMMMMMMMMNOkXMMWKx;.          ,KWo                           .:c,     ;KMMWN0ko;.   'cdOXWMMMMMK,        dWMMMMMO.        ,KMM
M0'                    ,KMMMMXKN0:.oWW0c.              ;d;                                     lNMMMMMMWO'.dNMMMMMMMMMMNc        :XMMMMMK,        ;KMM
MO.                    '0MMM0lkO, 'ONd.                                                        .oNMMMMMMWkdNMMMMMMMMMMMWo        ,KMMMMMX:        ;XMM
Mk.                    .OMM0,,x;  ;Ol                                     ..',.                 ;KMMMMMMMNNMMMMMMMMMMMMWo        '0MMMMMNc        cNMM
Mx.                    .dW0, ,:.  ,c.                                      .:0Xk:.              lNMMMMMMMMMMMMMMMMMMMMMWo        .OMMMMMNc        oWMM
Mk.                     c0:  ..    .                                      .,xOd0NO;            '0MMMMMMMMMMMMMWWMMMMMMMWo        .OMMMMMN:       .kMMM
Mk.                     .:.                     .,.                       .cx: .lKXl           lWMMMMMMMMMMMWNxlONMMMMMNc        '0MMMMMX;       ;XMMM
M0'                                           .:c.                      .. .,:;,,l0Xl         .xMMMMMMMMMMMWNk,.:ONMMMMX;        ;XMMMMM0'      .dWMMM
MK;                                          'dl.                        .....''',:k0d;.       oWMMMMMMMMMMMMWOo0MMMMMMO.        oWMMMMMx.      ,KMMMM
MNc                                         :kl.                           ......   ,c;.       :XMMMMMMMMMMMMMWWWMMMMMWo        .kMMMMMNc      .dWMMMM
MWd.                                       c0l.                                                .OMMMMMMMMMMMMMMMMMMMMMK;        :XMMMMMO'      :XMMMMM
MM0'                                      :0d.                                         .        lNMMMMMMMMMMMMMMMMMMMWd.       .kMMMMMNl      '0MMMMMM
MMNl                                     '0k.                    ..                    'c.      .OMMMMMMMMMMMMMMMMMMM0,        lNMMMMMO.     .kWMMMMMM
MMMO.                                   .dK;                    ;0O;                    :d'      ;KMMMMMMMMMMMMMMMMMNl        ,KMMMMMX:     .xWMMMWXNM
MMMNc                                   ,0d.                   .OMMNk:.                 .x0xo,    cXMMMMMMMMMMMMMMMWd.       'OMMMMMNo     .dWMMMWOkNM
MMMMO'                                  c0;                   .dWMMMMW0l.                ;dooxl.   :0WMMMMMMMMMMMMWk.       .kWMMMMWx.    .xWMMMWxc0MM
MMMMWd.                                 ok.                   :XMMMMMMMWO,                  .:dc    'OWMMMMMMMMMMWO'       .kWMMMMWk.    'kWMMMNo,dWMM
MMMMMX:                                 cd.                  .kWMMMMMMMMWk.         ..      .,cc.    :XMMMMMMMMMWk'       'OWMMMMWk.    :0MMMMKc.cXMMM
MMMMMM0,                                .'.                  :XMMMMMMMMMMNc      'c;ll.       ..     .OMMMMMMMMWx.       :KMMMMMNx.   .oNMMMWO, ;KMMMM
MMMMMMWO'                                                   .xWMMMMMMMMMMMk:.    ,0KOOc              .OMMMMMMMNo.      .oXMMMMMXo.   ;OWMMMXl. 'OMMMMM
MMMMMMMWk.                                                  ,0MMMMMMMMMMMMX0:     .:d00l.            lNMMMMMW0:       ;OWMMMMW0:   'xNMMMNk,  'OWMMMMM
MMMMMMMMWx.                                                 :XMMMMMNNMMMMMMWk.       .',.          'xNMMMMMNx.      ,xNMMMMMNx.  .oXMMMWO:.  'OWMMMMMM
MMMMMMMMMWk.                                                cNMMMMNdxNMMMMMMWO:.                .;xXMMMMMWO:      'dXMMMMMWO;  .oKWMMW0c.   'OWMMMMMMM
MMMMMMMMMMWO,                                               cNWNKk:..:kKNWMMMMWKxc'.         .,oONMMMMMW0c.    .;xXMMMMMWKl..,dXWMMNOc.    ;0WMMMMMMMM
MMMMMMMMMMMMK:                                              cNWN0o'  'oONWMMMMMMMWN0dc;''';lxKNMMMMMMW0l.    .cONMMMMMWKl'.ckNMMMNk;.     cKMMMMMMMMMM
MMMMMMMMMMMMMXo.                                            cNMMMMKccKMMMMMMMMMMMMMMMMWNNNWMMMMMMMMNOc.   .:xXWMMMMMWOl;:dKWMMW0o'      .dNMMMMMMMMMMM
MMMMMMMMMMMMMMWk'                                           lNMMMMMXXMMMMMMMMMMMMMMMMMMMMMMMMMMMWKx;. .,lkXWMMMMMWXOdoxKWMMWKd;.       ;OWMMMMMMMMMMMM
MMMMMMMMMMMMMMMMKl.                                         oWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXkc,';lxKNMMMMMMMWX0OOXWMMN0d;.        .oXMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMWk;                                        lXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOxdxOXWMMMMMMMMMMMWNWMMWKxl,.         .:0WMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMXd'                                       .:ok0NWMMMMMMMMMMMMMMMMMMMMMMMWNWWMMMMMMMMMMMMMMMMWX0xl,.            ,kNMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMXo.                                         .':ldOKNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXKOdc;..              'xNMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMWKo'                                             .';ccldxO0KXXNWWWWWWWWWNNXKKOkxol:,..                  ,xXMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMWXd,                                                    ....',,,,,,,,,'....                        .;kNMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMNk:.                                                                                          .l0WMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKo,.                                                                                    .:xXWMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOo,                                                                               .;dKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOo;.                                                                        .:xKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKxc'.                                                                .;oOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0xl;.                                                       .':oOXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOdl;'.                                           ..,cokKNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKOxoc;,...                          ..';:ldk0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWXK0Okxdollcccc:::cccclloddkO0KXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
    ███╗   ███╗ ██████╗  ██████╗ ███╗   ██╗██╗███████╗██╗    ██╗ █████╗ ██████╗ ███████╗██╗  ██╗ ██████╗██╗  ██╗ █████╗ ███╗   ██╗ ██████╗ ███████╗
    ████╗ ████║██╔═══██╗██╔═══██╗████╗  ██║██║██╔════╝██║    ██║██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝██╔════╝██║  ██║██╔══██╗████╗  ██║██╔════╝ ██╔════╝
    ██╔████╔██║██║   ██║██║   ██║██╔██╗ ██║██║███████╗██║ █╗ ██║███████║██████╔╝█████╗   ╚███╔╝ ██║     ███████║███████║██╔██╗ ██║██║  ███╗█████╗
    ██║╚██╔╝██║██║   ██║██║   ██║██║╚██╗██║██║╚════██║██║███╗██║██╔══██║██╔═══╝ ██╔══╝   ██╔██╗ ██║     ██╔══██║██╔══██║██║╚██╗██║██║   ██║██╔══╝
    ██║ ╚═╝ ██║╚██████╔╝╚██████╔╝██║ ╚████║██║███████║╚███╔███╔╝██║  ██║██║██╗  ███████╗██╔╝ ██╗╚██████╗██║  ██║██║  ██║██║ ╚████║╚██████╔╝███████╗
    ╚═╝     ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═══╝╚═╝╚══════╝ ╚══╝╚══╝ ╚═╝  ╚═╝╚═╝╚═╝  ╚══════╝╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚══════╝

                                                    ██████╗ ██╗   ██╗     ██╗██╗███╗   ██╗ ██████╗██╗  ██╗
                                                    ██╔══██╗╚██╗ ██╔╝    ███║██║████╗  ██║██╔════╝██║  ██║
                                                    ██████╔╝ ╚████╔╝     ╚██║██║██╔██╗ ██║██║     ███████║
                                                    ██╔══██╗  ╚██╔╝       ██║██║██║╚██╗██║██║     ██╔══██║
                                                    ██████╔╝   ██║        ██║██║██║ ╚████║╚██████╗██║  ██║
                                                    ╚═════╝    ╚═╝        ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝╚═╝  ╚═╝
*/
// File: @openzeppelin/contracts/GSN/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


pragma solidity ^0.6.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin/contracts/math/SafeMath.sol


pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/utils/Address.sol


pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


pragma solidity ^0.6.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: contracts/libraries/UniERC20.sol


pragma solidity ^0.6.0;





library UniERC20 {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    function isETH(IERC20 token) internal pure returns(bool) {
        return (address(token) == address(0));
    }

    function uniBalanceOf(IERC20 token, address account) internal view returns (uint256) {
        if (isETH(token)) {
            return account.balance;
        } else {
            return token.balanceOf(account);
        }
    }

    function uniTransfer(IERC20 token, address payable to, uint256 amount) internal {
        if (amount > 0) {
            if (isETH(token)) {
                to.transfer(amount);
            } else {
                token.safeTransfer(to, amount);
            }
        }
    }

    function uniTransferFromSenderToThis(IERC20 token, uint256 amount) internal {
        if (amount > 0) {
            if (isETH(token)) {
                require(msg.value >= amount, "UniERC20: not enough value");
                if (msg.value > amount) {
                    // Return remainder if exist
                    msg.sender.transfer(msg.value.sub(amount));
                }
            } else {
                token.safeTransferFrom(msg.sender, address(this), amount);
            }
        }
    }

    function uniSymbol(IERC20 token) internal view returns(string memory) {
        if (isETH(token)) {
            return "ETH";
        }

        (bool success, bytes memory data) = address(token).staticcall{ gas: 20000 }(
            abi.encodeWithSignature("symbol()")
        );
        if (!success) {
            (success, data) = address(token).staticcall{ gas: 20000 }(
                abi.encodeWithSignature("SYMBOL()")
            );
        }

        if (success && data.length >= 96) {
            (uint256 offset, uint256 len) = abi.decode(data, (uint256, uint256));
            if (offset == 0x20 && len > 0 && len <= 256) {
                return string(abi.decode(data, (bytes)));
            }
        }

        if (success && data.length == 32) {
            uint len = 0;
            while (len < data.length && data[len] >= 0x20 && data[len] <= 0x7E) {
                len++;
            }

            if (len > 0) {
                bytes memory result = new bytes(len);
                for (uint i = 0; i < len; i++) {
                    result[i] = data[i];
                }
                return string(result);
            }
        }

        return _toHex(address(token));
    }

    function _toHex(address account) private pure returns(string memory) {
        return _toHex(abi.encodePacked(account));
    }

    function _toHex(bytes memory data) private pure returns(string memory) {
        bytes memory str = new bytes(2 + data.length * 2);
        str[0] = "0";
        str[1] = "x";
        uint j = 2;
        for (uint i = 0; i < data.length; i++) {
            uint a = uint8(data[i]) >> 4;
            uint b = uint8(data[i]) & 0x0f;
            str[j++] = byte(uint8(a + 48 + (a/10)*39));
            str[j++] = byte(uint8(b + 48 + (b/10)*39));
        }

        return string(str);
    }
}

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol


pragma solidity ^0.6.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: @openzeppelin/contracts/math/Math.sol


pragma solidity ^0.6.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2);
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


pragma solidity ^0.6.0;





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: contracts/libraries/Sqrt.sol


pragma solidity ^0.6.0;


library Sqrt {
    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256) {
        if (y > 3) {
            uint256 z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
            return z;
        } else if (y != 0) {
            return 1;
        } else {
            return 0;
        }
    }
}

// File: contracts/Mooniswap.sol


pragma solidity ^0.6.0;









interface IFactory {
    function fee() external view returns(uint256);
}


library VirtualBalance {
    using SafeMath for uint256;

    struct Data {
        uint216 balance;
        uint40 time;
    }

    uint256 public constant DECAY_PERIOD = 5 minutes;

    function set(VirtualBalance.Data storage self, uint256 balance) internal {
        self.balance = uint216(balance);
        self.time = uint40(block.timestamp);
    }

    function update(VirtualBalance.Data storage self, uint256 realBalance) internal {
        set(self, current(self, realBalance));
    }

    function scale(VirtualBalance.Data storage self, uint256 realBalance, uint256 num, uint256 denom) internal {
        set(self, current(self, realBalance).mul(num).add(denom.sub(1)).div(denom));
    }

    function current(VirtualBalance.Data memory self, uint256 realBalance) internal view returns(uint256) {
        uint256 timePassed = Math.min(DECAY_PERIOD, block.timestamp.sub(self.time));
        uint256 timeRemain = DECAY_PERIOD.sub(timePassed);
        return uint256(self.balance).mul(timeRemain).add(
            realBalance.mul(timePassed)
        ).div(DECAY_PERIOD);
    }
}


contract Mooniswap is ERC20, ReentrancyGuard, Ownable {
    using Sqrt for uint256;
    using SafeMath for uint256;
    using UniERC20 for IERC20;
    using VirtualBalance for VirtualBalance.Data;

    struct Balances {
        uint256 src;
        uint256 dst;
    }

    struct SwapVolumes {
        uint128 confirmed;
        uint128 result;
    }

    event Deposited(
        address indexed account,
        uint256 amount
    );

    event Withdrawn(
        address indexed account,
        uint256 amount
    );

    event Swapped(
        address indexed account,
        address indexed src,
        address indexed dst,
        uint256 amount,
        uint256 result,
        uint256 srcBalance,
        uint256 dstBalance,
        uint256 totalSupply,
        address referral
    );

    uint256 public constant REFERRAL_SHARE = 20; // 1/share = 5% of LPs revenue
    uint256 public constant BASE_SUPPLY = 1000;  // Total supply on first deposit
    uint256 public constant FEE_DENOMINATOR = 1e18;

    IFactory public factory;
    IERC20[] public tokens;
    mapping(IERC20 => bool) public isToken;
    mapping(IERC20 => SwapVolumes) public volumes;
    mapping(IERC20 => VirtualBalance.Data) public virtualBalancesForAddition;
    mapping(IERC20 => VirtualBalance.Data) public virtualBalancesForRemoval;

    constructor(IERC20[] memory assets, string memory name, string memory symbol) public ERC20(name, symbol) {
        require(bytes(name).length > 0, "Mooniswap: name is empty");
        require(bytes(symbol).length > 0, "Mooniswap: symbol is empty");
        require(assets.length == 2, "Mooniswap: only 2 tokens allowed");

        factory = IFactory(msg.sender);
        tokens = assets;
        for (uint i = 0; i < assets.length; i++) {
            require(!isToken[assets[i]], "Mooniswap: duplicate tokens");
            isToken[assets[i]] = true;
        }
    }

    function fee() public view returns(uint256) {
        return factory.fee();
    }

    function getTokens() external view returns(IERC20[] memory) {
        return tokens;
    }

    function decayPeriod() external pure returns(uint256) {
        return VirtualBalance.DECAY_PERIOD;
    }

    function getBalanceForAddition(IERC20 token) public view returns(uint256) {
        uint256 balance = token.uniBalanceOf(address(this));
        return Math.max(virtualBalancesForAddition[token].current(balance), balance);
    }

    function getBalanceForRemoval(IERC20 token) public view returns(uint256) {
        uint256 balance = token.uniBalanceOf(address(this));
        return Math.min(virtualBalancesForRemoval[token].current(balance), balance);
    }

    function getReturn(IERC20 src, IERC20 dst, uint256 amount) external view returns(uint256) {
        return _getReturn(src, dst, amount, getBalanceForAddition(src), getBalanceForRemoval(dst));
    }

    function deposit(uint256[] calldata amounts, uint256[] calldata minAmounts) external payable nonReentrant returns(uint256 fairSupply) {
        IERC20[] memory _tokens = tokens;
        require(amounts.length == _tokens.length, "Mooniswap: wrong amounts length");
        require(msg.value == (_tokens[0].isETH() ? amounts[0] : (_tokens[1].isETH() ? amounts[1] : 0)), "Mooniswap: wrong value usage");

        uint256[] memory realBalances = new uint256[](amounts.length);
        for (uint i = 0; i < realBalances.length; i++) {
            realBalances[i] = _tokens[i].uniBalanceOf(address(this)).sub(_tokens[i].isETH() ? msg.value : 0);
        }

        uint256 totalSupply = totalSupply();
        if (totalSupply == 0) {
            fairSupply = BASE_SUPPLY.mul(99);
            _mint(address(this), BASE_SUPPLY); // Donate up to 1%

            // Use the greatest token amount but not less than 99k for the initial supply
            for (uint i = 0; i < amounts.length; i++) {
                fairSupply = Math.max(fairSupply, amounts[i]);
            }
        }
        else {
            // Pre-compute fair supply
            fairSupply = type(uint256).max;
            for (uint i = 0; i < amounts.length; i++) {
                fairSupply = Math.min(fairSupply, totalSupply.mul(amounts[i]).div(realBalances[i]));
            }
        }

        uint256 fairSupplyCached = fairSupply;
        for (uint i = 0; i < amounts.length; i++) {
            require(amounts[i] > 0, "Mooniswap: amount is zero");
            uint256 amount = (totalSupply == 0) ? amounts[i] :
                realBalances[i].mul(fairSupplyCached).add(totalSupply - 1).div(totalSupply);
            require(amount >= minAmounts[i], "Mooniswap: minAmount not reached");

            _tokens[i].uniTransferFromSenderToThis(amount);
            if (totalSupply > 0) {
                uint256 confirmed = _tokens[i].uniBalanceOf(address(this)).sub(realBalances[i]);
                fairSupply = Math.min(fairSupply, totalSupply.mul(confirmed).div(realBalances[i]));
            }
        }

        if (totalSupply > 0) {
            for (uint i = 0; i < amounts.length; i++) {
                virtualBalancesForRemoval[_tokens[i]].scale(realBalances[i], totalSupply.add(fairSupply), totalSupply);
                virtualBalancesForAddition[_tokens[i]].scale(realBalances[i], totalSupply.add(fairSupply), totalSupply);
            }
        }

        require(fairSupply > 0, "Mooniswap: result is not enough");
        _mint(msg.sender, fairSupply);

        emit Deposited(msg.sender, fairSupply);
    }

    function withdraw(uint256 amount, uint256[] memory minReturns) external nonReentrant {
        uint256 totalSupply = totalSupply();
        _burn(msg.sender, amount);

        for (uint i = 0; i < tokens.length; i++) {
            IERC20 token = tokens[i];

            uint256 preBalance = token.uniBalanceOf(address(this));
            uint256 value = preBalance.mul(amount).div(totalSupply);
            token.uniTransfer(msg.sender, value);
            require(i >= minReturns.length || value >= minReturns[i], "Mooniswap: result is not enough");

            virtualBalancesForAddition[token].scale(preBalance, totalSupply.sub(amount), totalSupply);
            virtualBalancesForRemoval[token].scale(preBalance, totalSupply.sub(amount), totalSupply);
        }

        emit Withdrawn(msg.sender, amount);
    }

    function swap(IERC20 src, IERC20 dst, uint256 amount, uint256 minReturn, address referral) external payable nonReentrant returns(uint256 result) {
        require(msg.value == (src.isETH() ? amount : 0), "Mooniswap: wrong value usage");

        Balances memory balances = Balances({
            src: src.uniBalanceOf(address(this)).sub(src.isETH() ? msg.value : 0),
            dst: dst.uniBalanceOf(address(this))
        });

        // catch possible airdrops and external balance changes for deflationary tokens
        uint256 srcAdditionBalance = Math.max(virtualBalancesForAddition[src].current(balances.src), balances.src);
        uint256 dstRemovalBalance = Math.min(virtualBalancesForRemoval[dst].current(balances.dst), balances.dst);

        src.uniTransferFromSenderToThis(amount);
        uint256 confirmed = src.uniBalanceOf(address(this)).sub(balances.src);
        result = _getReturn(src, dst, confirmed, srcAdditionBalance, dstRemovalBalance);
        require(result > 0 && result >= minReturn, "Mooniswap: return is not enough");
        dst.uniTransfer(msg.sender, result);

        // Update virtual balances to the same direction only at imbalanced state
        if (srcAdditionBalance != balances.src) {
            virtualBalancesForAddition[src].set(srcAdditionBalance.add(confirmed));
        }
        if (dstRemovalBalance != balances.dst) {
            virtualBalancesForRemoval[dst].set(dstRemovalBalance.sub(result));
        }

        // Update virtual balances to the opposite direction
        virtualBalancesForRemoval[src].update(balances.src);
        virtualBalancesForAddition[dst].update(balances.dst);

        if (referral != address(0)) {
            uint256 invariantRatio = uint256(1e36);
            invariantRatio = invariantRatio.mul(balances.src.add(confirmed)).div(balances.src);
            invariantRatio = invariantRatio.mul(balances.dst.sub(result)).div(balances.dst);
            if (invariantRatio > 1e36) {
                // calculate share only if invariant increased
                uint256 referralShare = invariantRatio.sqrt().sub(1e18).mul(totalSupply()).div(1e18).div(REFERRAL_SHARE);
                if (referralShare > 0) {
                    _mint(referral, referralShare);
                }
            }
        }

        emit Swapped(msg.sender, address(src), address(dst), confirmed, result, balances.src, balances.dst, totalSupply(), referral);

        // Overflow of uint128 is desired
        volumes[src].confirmed += uint128(confirmed);
        volumes[src].result += uint128(result);
    }

    function rescueFunds(IERC20 token, uint256 amount) external nonReentrant onlyOwner {
        uint256[] memory balances = new uint256[](tokens.length);
        for (uint i = 0; i < balances.length; i++) {
            balances[i] = tokens[i].uniBalanceOf(address(this));
        }

        token.uniTransfer(msg.sender, amount);

        for (uint i = 0; i < balances.length; i++) {
            require(tokens[i].uniBalanceOf(address(this)) >= balances[i], "Mooniswap: access denied");
        }
        require(balanceOf(address(this)) >= BASE_SUPPLY, "Mooniswap: access denied");
    }

    function _getReturn(IERC20 src, IERC20 dst, uint256 amount, uint256 srcBalance, uint256 dstBalance) internal view returns(uint256) {
        if (isToken[src] && isToken[dst] && src != dst && amount > 0) {
            uint256 taxedAmount = amount.sub(amount.mul(fee()).div(FEE_DENOMINATOR));
            return taxedAmount.mul(dstBalance).div(srcBalance.add(taxedAmount));
        }
    }
}

// File: contracts/MooniFactory.sol


pragma solidity ^0.6.0;





contract MooniFactory is Ownable {
    using UniERC20 for IERC20;

    event Deployed(
        address indexed mooniswap,
        address indexed token1,
        address indexed token2
    );

    uint256 public constant MAX_FEE = 0.003e18; // 0.3%

    uint256 public fee;
    Mooniswap[] public allPools;
    mapping(Mooniswap => bool) public isPool;
    mapping(IERC20 => mapping(IERC20 => Mooniswap)) public pools;

    function getAllPools() external view returns(Mooniswap[] memory) {
        return allPools;
    }

    function setFee(uint256 newFee) external onlyOwner {
        require(newFee <= MAX_FEE, "Factory: fee should be <= 0.3%");
        fee = newFee;
    }

    function deploy(IERC20 tokenA, IERC20 tokenB) public returns(Mooniswap pool) {
        require(tokenA != tokenB, "Factory: not support same tokens");
        require(pools[tokenA][tokenB] == Mooniswap(0), "Factory: pool already exists");

        (IERC20 token1, IERC20 token2) = sortTokens(tokenA, tokenB);
        IERC20[] memory tokens = new IERC20[](2);
        tokens[0] = token1;
        tokens[1] = token2;

        string memory symbol1 = token1.uniSymbol();
        string memory symbol2 = token2.uniSymbol();

        pool = new Mooniswap(
            tokens,
            string(abi.encodePacked("Mooniswap V1 (", symbol1, "-", symbol2, ")")),
            string(abi.encodePacked("MOON-V1-", symbol1, "-", symbol2))
        );

        pool.transferOwnership(owner());
        pools[token1][token2] = pool;
        pools[token2][token1] = pool;
        allPools.push(pool);
        isPool[pool] = true;

        emit Deployed(
            address(pool),
            address(token1),
            address(token2)
        );
    }

    function sortTokens(IERC20 tokenA, IERC20 tokenB) public pure returns(IERC20, IERC20) {
        if (tokenA < tokenB) {
            return (tokenA, tokenB);
        }
        return (tokenB, tokenA);
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mooniswap","type":"address"},{"indexed":true,"internalType":"address","name":"token1","type":"address"},{"indexed":true,"internalType":"address","name":"token2","type":"address"}],"name":"Deployed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allPools","outputs":[{"internalType":"contract Mooniswap","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenA","type":"address"},{"internalType":"contract IERC20","name":"tokenB","type":"address"}],"name":"deploy","outputs":[{"internalType":"contract Mooniswap","name":"pool","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllPools","outputs":[{"internalType":"contract Mooniswap[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract Mooniswap","name":"","type":"address"}],"name":"isPool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"},{"internalType":"contract IERC20","name":"","type":"address"}],"name":"pools","outputs":[{"internalType":"contract Mooniswap","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenA","type":"address"},{"internalType":"contract IERC20","name":"tokenB","type":"address"}],"name":"sortTokens","outputs":[{"internalType":"contract IERC20","name":"","type":"address"},{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b614a248061007d6000396000f3fe60806040523480156200001157600080fd5b5060043610620000c45760003560e01c80638da5cb5b116200007b5780638da5cb5b14620001ff578063901754d71462000209578063bc063e1a146200023a578063d88ff1f41462000256578063ddca3f4314620002b2578063f2fde38b14620002bc57620000c4565b806341d1de9714620000c9578063544caa561462000105578063545e7c6114620001655780635b16ebb7146200019657806369fe0e2d14620001d3578063715018a614620001f5575b600080fd5b620000e960048036036020811015620000e157600080fd5b5035620002e5565b604080516001600160a01b039092168252519081900360200190f35b62000136600480360360408110156200011d57600080fd5b506001600160a01b03813581169160200135166200030d565b60405180836001600160a01b03168152602001826001600160a01b031681526020019250505060405180910390f35b620000e9600480360360408110156200017d57600080fd5b506001600160a01b038135811691602001351662000343565b620001bf60048036036020811015620001ae57600080fd5b50356001600160a01b031662000932565b604080519115158252519081900360200190f35b620001f360048036036020811015620001eb57600080fd5b503562000947565b005b620001f362000a16565b620000e962000acd565b620000e9600480360360408110156200022157600080fd5b506001600160a01b038135811691602001351662000adc565b6200024462000b02565b60408051918252519081900360200190f35b6200026062000b0d565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156200029e57818101518382015260200162000284565b505050509050019250505060405180910390f35b6200024462000b71565b620001f360048036036020811015620002d457600080fd5b50356001600160a01b031662000b77565b60028181548110620002f357fe5b6000918252602090912001546001600160a01b0316905081565b600080826001600160a01b0316846001600160a01b03161015620003365750829050816200033c565b50819050825b9250929050565b6000816001600160a01b0316836001600160a01b03161415620003ad576040805162461bcd60e51b815260206004820181905260248201527f466163746f72793a206e6f7420737570706f72742073616d6520746f6b656e73604482015290519081900360640190fd5b6001600160a01b0383811660009081526004602090815260408083208685168452909152902054161562000428576040805162461bcd60e51b815260206004820152601c60248201527f466163746f72793a20706f6f6c20616c72656164792065786973747300000000604482015290519081900360640190fd5b6000806200043785856200030d565b60408051600280825260608083018452949650929450919060208301908036833701905050905082816000815181106200046d57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106200049c57fe5b6001600160a01b039283166020918202929092010152606090620004c290851662000c86565b90506060620004da846001600160a01b031662000c86565b905082828260405160200180806d09adededcd2e6eec2e040ac6240560931b815250600e0183805190602001908083835b602083106200052c5780518252601f1990920191602091820191016200050b565b6001836020036101000a03801982511681845116808217855250505050505090500180602d60f81b81525060010182805190602001908083835b60208310620005875780518252601f19909201916020918201910162000566565b6001836020036101000a03801982511681845116808217855250505050505090500180602960f81b8152506001019250505060405160208183030381529060405283836040516020018080674d4f4f4e2d56312d60c01b81525060080183805190602001908083835b60208310620006115780518252601f199092019160209182019101620005f0565b6001836020036101000a03801982511681845116808217855250505050505090500180602d60f81b81525060010182805190602001908083835b602083106200066c5780518252601f1990920191602091820191016200064b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052604051620006af90620012c1565b60608082528451908201528351819060208083019160408401916080850191898201910280838360005b83811015620006f3578181015183820152602001620006d9565b50505050905001848103835286818151815260200191508051906020019080838360005b838110156200073157818101518382015260200162000717565b50505050905090810190601f1680156200075f5780820380516001836020036101000a031916815260200191505b50848103825285518152855160209182019187019080838360005b83811015620007945781810151838201526020016200077a565b50505050905090810190601f168015620007c25780820380516001836020036101000a031916815260200191505b509650505050505050604051809103906000f080158015620007e8573d6000803e3d6000fd5b509550856001600160a01b031663f2fde38b6200080462000acd565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156200084457600080fd5b505af115801562000859573d6000803e3d6000fd5b505050506001600160a01b0385811660008181526004602081815260408084208a87168086529083528185208054978e166001600160a01b03199889168117909155938352818520868652835281852080548816851790556002805460018181019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805490981685179097558385526003909252808420805460ff1916909617909555935190917fc95935a66d15e0da5e412aca0ad27ae891d20b2fb91cf3994b6a3bf2b817808291a4505050505092915050565b60036020526000908152604090205460ff1681565b62000951620010f2565b6000546001600160a01b03908116911614620009b4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b660aa87bee53800081111562000a11576040805162461bcd60e51b815260206004820152601e60248201527f466163746f72793a206665652073686f756c64206265203c3d20302e33250000604482015290519081900360640190fd5b600155565b62000a20620010f2565b6000546001600160a01b0390811691161462000a83576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60046020908152600092835260408084209091529082529020546001600160a01b031681565b660aa87bee53800081565b6060600280548060200260200160405190810160405280929190818152602001828054801562000b6757602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000b48575b5050505050905090565b60015481565b62000b81620010f2565b6000546001600160a01b0390811691161462000be4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811662000c2b5760405162461bcd60e51b8152600401808060200182810382526026815260200180620049c96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b606062000c9382620010f6565b1562000cba575060408051808201909152600381526208aa8960eb1b6020820152620010ed565b60408051600481526024810182526020810180516001600160e01b03166395d89b4160e01b178152915181516000936060936001600160a01b03881693614e2093919290918291908083835b6020831062000d275780518252601f19909201916020918201910162000d06565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303818686fa925050503d806000811462000d8a576040519150601f19603f3d011682016040523d82523d6000602084013e62000d8f565b606091505b50915091508162000e6e5760408051600481526024810182526020810180516001600160e01b0316631eedf1af60e31b178152915181516001600160a01b03881693614e209392918291908083835b6020831062000dff5780518252601f19909201916020918201910162000dde565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303818686fa925050503d806000811462000e62576040519150601f19603f3d011682016040523d82523d6000602084013e62000e67565b606091505b5090925090505b81801562000e7e57506060815110155b1562000faa5760008082806020019051604081101562000e9d57600080fd5b50805160209182015190935091508214801562000eba5750600081115b801562000ec957506101008111155b1562000fa75782806020019051602081101562000ee557600080fd5b810190808051604051939291908464010000000082111562000f0657600080fd5b90830190602082018581111562000f1c57600080fd5b825164010000000081118282018810171562000f3757600080fd5b82525081516020918201929091019080838360005b8381101562000f6657818101518382015260200162000f4c565b50505050905090810190601f16801562000f945780820380516001836020036101000a031916815260200191505b50604052505050945050505050620010ed565b50505b81801562000fb9575080516020145b15620010dd5760005b81518110801562000ff25750602060f81b82828151811062000fe057fe5b01602001516001600160f81b03191610155b80156200101e5750607e60f81b8282815181106200100c57fe5b01602001516001600160f81b03191611155b156200102d5760010162000fc2565b8015620010db5760608167ffffffffffffffff811180156200104e57600080fd5b506040519080825280601f01601f1916602001820160405280156200107a576020820181803683370190505b50905060005b82811015620010ce578381815181106200109657fe5b602001015160f81c60f81b828281518110620010ae57fe5b60200101906001600160f81b031916908160001a90535060010162001080565b509350620010ed92505050565b505b620010e88462001103565b925050505b919050565b3390565b6001600160a01b03161590565b60606200113b8260405160200180826001600160a01b031660601b815260140191505060405160208183030381529060405262001141565b92915050565b606080825160020260020167ffffffffffffffff811180156200116357600080fd5b506040519080825280601f01601f1916602001820160405280156200118f576020820181803683370190505b509050600360fc1b81600081518110620011a557fe5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620011cf57fe5b60200101906001600160f81b031916908160001a905350600260005b8451811015620012b857600060048683815181106200120657fe5b602001015160f81c60f81b60f81c60ff16901c60ff16905060008683815181106200122d57fe5b60209101015160f81c600f169050600a8204602702826030010160f81b8585806001019650815181106200125d57fe5b60200101906001600160f81b031916908160001a905350600a8104602702816030010160f81b8585806001019650815181106200129657fe5b60200101906001600160f81b031916908160001a9053505050600101620011eb565b50909392505050565b6136f980620012d08339019056fe60806040523480156200001157600080fd5b50604051620036f9380380620036f9833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82518660208202830111640100000000821117156200008c57600080fd5b82525081516020918201928201910280838360005b83811015620000bb578181015183820152602001620000a1565b5050505090500160405260200180516040519392919084640100000000821115620000e557600080fd5b908301906020820185811115620000fb57600080fd5b82516401000000008111828201881017156200011657600080fd5b82525081516020918201929091019080838360005b83811015620001455781810151838201526020016200012b565b50505050905090810190601f168015620001735780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200019757600080fd5b908301906020820185811115620001ad57600080fd5b8251640100000000811182820188101715620001c857600080fd5b82525081516020918201929091019080838360005b83811015620001f7578181015183820152602001620001dd565b50505050905090810190601f168015620002255780820380516001836020036101000a031916815260200191505b5060405250508251839150829062000245906003906020850190620004eb565b5080516200025b906004906020840190620004eb565b50506005805460ff1916601217905550600160065560006200027c620004e7565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600082511162000321576040805162461bcd60e51b815260206004820152601860248201527f4d6f6f6e69737761703a206e616d6520697320656d7074790000000000000000604482015290519081900360640190fd5b600081511162000378576040805162461bcd60e51b815260206004820152601a60248201527f4d6f6f6e69737761703a2073796d626f6c20697320656d707479000000000000604482015290519081900360640190fd5b8251600214620003cf576040805162461bcd60e51b815260206004820181905260248201527f4d6f6f6e69737761703a206f6e6c79203220746f6b656e7320616c6c6f776564604482015290519081900360640190fd5b600880546001600160a01b031916331790558251620003f690600990602086019062000570565b5060005b8351811015620004dd57600a60008583815181106200041557fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff16156200048f576040805162461bcd60e51b815260206004820152601b60248201527f4d6f6f6e69737761703a206475706c696361746520746f6b656e730000000000604482015290519081900360640190fd5b6001600a6000868481518110620004a257fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101620003fa565b505050506200060e565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200052e57805160ff19168380011785556200055e565b828001600101855582156200055e579182015b828111156200055e57825182559160200191906001019062000541565b506200056c929150620005d6565b5090565b828054828255906000526020600020908101928215620005c8579160200282015b82811115620005c857825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000591565b506200056c929150620005ed565b5b808211156200056c5760008155600101620005d7565b5b808211156200056c5780546001600160a01b0319168155600101620005ee565b6130db806200061e6000396000f3fe6080604052600436106101ee5760003560e01c80638da5cb5b1161010d578063c45a0155116100a0578063dd62ed3e1161006f578063dd62ed3e14610860578063ddca3f431461089b578063e7ff42c9146108b0578063f223885a146108e3578063f2fde38b146109a5576101ee565b8063c45a0155146107bf578063d5bcb9b5146107d4578063d73792a914610818578063d7d3aab51461082d576101ee565b8063aa6ca808116100dc578063aa6ca808146106ce578063b1ec4c4014610733578063b21b5a2114610795578063baf13a0a146107aa576101ee565b80638da5cb5b1461063257806395d89b4114610647578063a457c2d71461065c578063a9059cbb14610695576101ee565b806348d67e1b116101855780636edc2c09116101545780636edc2c091461057e57806370a08231146105b1578063715018a6146105e457806378e3214f146105f9576101ee565b806348d67e1b1461040e5780634f64b2be146104235780635915d806146104695780635ed9156d14610522576101ee565b80631e1401f8116101c15780631e1401f81461032457806323b872dd14610367578063313ce567146103aa57806339509351146103d5576101ee565b806306fdde03146101f3578063095ea7b31461027d57806318160ddd146102ca57806319f37361146102f1575b600080fd5b3480156101ff57600080fd5b506102086109d8565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024257818101518382015260200161022a565b50505050905090810190601f16801561026f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028957600080fd5b506102b6600480360360408110156102a057600080fd5b506001600160a01b038135169060200135610a6e565b604080519115158252519081900360200190f35b3480156102d657600080fd5b506102df610a8c565b60408051918252519081900360200190f35b3480156102fd57600080fd5b506102b66004803603602081101561031457600080fd5b50356001600160a01b0316610a92565b34801561033057600080fd5b506102df6004803603606081101561034757600080fd5b506001600160a01b03813581169160208101359091169060400135610aa7565b34801561037357600080fd5b506102b66004803603606081101561038a57600080fd5b506001600160a01b03813581169160208101359091169060400135610ace565b3480156103b657600080fd5b506103bf610b55565b6040805160ff9092168252519081900360200190f35b3480156103e157600080fd5b506102b6600480360360408110156103f857600080fd5b506001600160a01b038135169060200135610b5e565b34801561041a57600080fd5b506102df610bac565b34801561042f57600080fd5b5061044d6004803603602081101561044657600080fd5b5035610bb2565b604080516001600160a01b039092168252519081900360200190f35b34801561047557600080fd5b506105206004803603604081101561048c57600080fd5b813591908101906040810160208201356401000000008111156104ae57600080fd5b8201836020820111156104c057600080fd5b803590602001918460208302840111640100000000831117156104e257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610bd9945050505050565b005b34801561052e57600080fd5b506105556004803603602081101561054557600080fd5b50356001600160a01b0316610dc0565b604080516001600160d81b03909316835264ffffffffff90911660208301528051918290030190f35b34801561058a57600080fd5b50610555600480360360208110156105a157600080fd5b50356001600160a01b0316610deb565b3480156105bd57600080fd5b506102df600480360360208110156105d457600080fd5b50356001600160a01b0316610e16565b3480156105f057600080fd5b50610520610e35565b34801561060557600080fd5b506105206004803603604081101561061c57600080fd5b506001600160a01b038135169060200135610ee9565b34801561063e57600080fd5b5061044d61113f565b34801561065357600080fd5b5061020861114e565b34801561066857600080fd5b506102b66004803603604081101561067f57600080fd5b506001600160a01b0381351690602001356111af565b3480156106a157600080fd5b506102b6600480360360408110156106b857600080fd5b506001600160a01b038135169060200135611217565b3480156106da57600080fd5b506106e361122b565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561071f578181015183820152602001610707565b505050509050019250505060405180910390f35b34801561073f57600080fd5b506107666004803603602081101561075657600080fd5b50356001600160a01b031661128c565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b3480156107a157600080fd5b506102df6112b2565b3480156107b657600080fd5b506102df6112b7565b3480156107cb57600080fd5b5061044d6112bd565b6102df600480360360a08110156107ea57600080fd5b506001600160a01b0381358116916020810135821691604082013591606081013591608090910135166112cc565b34801561082457600080fd5b506102df6117d5565b34801561083957600080fd5b506102df6004803603602081101561085057600080fd5b50356001600160a01b03166117e1565b34801561086c57600080fd5b506102df6004803603604081101561088357600080fd5b506001600160a01b0381358116916020013516611858565b3480156108a757600080fd5b506102df611883565b3480156108bc57600080fd5b506102df600480360360208110156108d357600080fd5b50356001600160a01b03166118f9565b6102df600480360360408110156108f957600080fd5b81019060208101813564010000000081111561091457600080fd5b82018360208201111561092657600080fd5b8035906020019184602083028401116401000000008311171561094857600080fd5b91939092909160208101903564010000000081111561096657600080fd5b82018360208201111561097857600080fd5b8035906020019184602083028401116401000000008311171561099a57600080fd5b509092509050611969565b3480156109b157600080fd5b50610520600480360360208110156109c857600080fd5b50356001600160a01b0316611ff7565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a645780601f10610a3957610100808354040283529160200191610a64565b820191906000526020600020905b815481529060010190602001808311610a4757829003601f168201915b5050505050905090565b6000610a82610a7b612102565b8484612106565b5060015b92915050565b60025490565b600a6020526000908152604090205460ff1681565b6000610ac6848484610ab8886117e1565b610ac1886118f9565b6121f2565b949350505050565b6000610adb8484846122b1565b610b4b84610ae7612102565b610b4685604051806060016040528060288152602001612fc5602891396001600160a01b038a16600090815260016020526040812090610b25612102565b6001600160a01b03168152602081019190915260400160002054919061240c565b612106565b5060019392505050565b60055460ff1690565b6000610a82610b6b612102565b84610b468560016000610b7c612102565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906124a3565b61012c90565b60098181548110610bbf57fe5b6000918252602090912001546001600160a01b0316905081565b60026006541415610c1f576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b60026006556000610c2e610a8c565b9050610c3a33846124fd565b60005b600954811015610d7f57600060098281548110610c5657fe5b60009182526020822001546001600160a01b03169150610c7682306125f9565b90506000610c8e85610c88848a61269a565b906126f3565b9050610ca46001600160a01b0384163383612735565b855184101580610cc75750858481518110610cbb57fe5b60200260200101518110155b610d18576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b610d4682610d26878a61279e565b6001600160a01b0386166000908152600c602052604090209190886127e0565b610d7482610d54878a61279e565b6001600160a01b0386166000908152600d602052604090209190886127e0565b505050600101610c3d565b5060408051848152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050600160065550565b600d602052600090815260409020546001600160d81b03811690600160d81b900464ffffffffff1682565b600c602052600090815260409020546001600160d81b03811690600160d81b900464ffffffffff1682565b6001600160a01b0381166000908152602081905260409020545b919050565b610e3d612102565b6007546001600160a01b03908116911614610e9f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b60026006541415610f2f576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b6002600655610f3c612102565b6007546001600160a01b03908116911614610f9e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60095460609067ffffffffffffffff81118015610fba57600080fd5b50604051908082528060200260200182016040528015610fe4578160200160208202803683370190505b50905060005b815181101561103e5761101f306009838154811061100457fe5b6000918252602090912001546001600160a01b0316906125f9565b82828151811061102b57fe5b6020908102919091010152600101610fea565b506110536001600160a01b0384163384612735565b60005b81518110156110da5781818151811061106b57fe5b6020026020010151611084306009848154811061100457fe5b10156110d2576040805162461bcd60e51b8152602060048201526018602482015277135bdbdb9a5cddd85c0e881858d8d95cdcc819195b9a595960421b604482015290519081900360640190fd5b600101611056565b506103e86110e730610e16565b1015611135576040805162461bcd60e51b8152602060048201526018602482015277135bdbdb9a5cddd85c0e881858d8d95cdcc819195b9a595960421b604482015290519081900360640190fd5b5050600160065550565b6007546001600160a01b031690565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a645780601f10610a3957610100808354040283529160200191610a64565b6000610a826111bc612102565b84610b468560405180606001604052806025815260200161308160259139600160006111e6612102565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061240c565b6000610a82611224612102565b84846122b1565b60606009805480602002602001604051908101604052809291908181526020018280548015610a6457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611265575050505050905090565b600b602052600090815260409020546001600160801b0380821691600160801b90041682565b601481565b6103e881565b6008546001600160a01b031681565b600060026006541415611314576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b600260065561132b6001600160a01b03871661283c565b611336576000611338565b835b341461138b576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b611393612eb6565b60405180604001604052806113d96113b38a6001600160a01b031661283c565b6113be5760006113c0565b345b6113d36001600160a01b038c16306125f9565b9061279e565b81526020016113f16001600160a01b038916306125f9565b905280516001600160a01b0389166000908152600c602090815260408083208151808301909252546001600160d81b0381168252600160d81b900464ffffffffff1691810191909152929350916114539161144c9190612849565b83516128aa565b6020838101516001600160a01b038a166000908152600d835260408082208151808301909252546001600160d81b0381168252600160d81b900464ffffffffff16938101939093529293506114b5916114ab91612849565b84602001516128c1565b90506114ca6001600160a01b038a16886128d0565b82516000906114e6906113d36001600160a01b038d16306125f9565b90506114f58a8a8386866121f2565b94506000851180156115075750868510155b611558576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a2072657475726e206973206e6f7420656e6f75676800604482015290519081900360640190fd5b61156c6001600160a01b038a163387612735565b8351831461159f5761159f61158184836124a3565b6001600160a01b038c166000908152600c6020526040902090612997565b836020015182146115d5576115d56115b7838761279e565b6001600160a01b038b166000908152600d6020526040902090612997565b83516001600160a01b038b166000908152600d602052604090206115f8916129c3565b6020808501516001600160a01b038b166000908152600c9092526040909120611620916129c3565b6001600160a01b038616156116db5783516ec097ce7bc90715b34b9f10000000009061165a90610c8861165382866124a3565b849061269a565b602086015190915061167390610c88611653828a61279e565b90506ec097ce7bc90715b34b9f10000000008111156116d95760006116c56014610c88670de0b6b3a7640000610c886116aa610a8c565b6116bf670de0b6b3a76400006113d38a6129fe565b9061269a565b905080156116d7576116d78882612a58565b505b505b886001600160a01b03168a6001600160a01b0316336001600160a01b03167f86c49b5d8577da08444947f1427d23ef191cfabf2c0788f93324d79e926a9302848989600001518a6020015161172e610a8c565b60408051958652602086019490945284840192909252606084015260808301526001600160a01b038c1660a0830152519081900360c00190a46001600160a01b039099166000908152600b602052604090208054600160801b6001600160801b03808316909c018c166fffffffffffffffffffffffffffffffff19909216919091178181048c1687018c169091029a16999099179098555050600160065595945050505050565b670de0b6b3a764000081565b6000806117f76001600160a01b038416306125f9565b6001600160a01b0384166000908152600c60209081526040918290208251808401909352546001600160d81b0381168352600160d81b900464ffffffffff16908201529091506118519061184b9083612849565b826128aa565b9392505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546040805163ddca3f4360e01b815290516000926001600160a01b03169163ddca3f43916004808301926020929190829003018186803b1580156118c857600080fd5b505afa1580156118dc573d6000803e3d6000fd5b505050506040513d60208110156118f257600080fd5b5051905090565b60008061190f6001600160a01b038416306125f9565b6001600160a01b0384166000908152600d60209081526040918290208251808401909352546001600160d81b0381168352600160d81b900464ffffffffff1690820152909150611851906119639083612849565b826128c1565b6000600260065414156119b1576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b6002600655600980546040805160208084028201810190925282815260609390929091830182828015611a0d57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116119ef575b5050505050905080518686905014611a6c576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a2077726f6e6720616d6f756e7473206c656e67746800604482015290519081900360640190fd5b611a9281600081518110611a7c57fe5b60200260200101516001600160a01b031661283c565b611acb57611aa681600181518110611a7c57fe5b611ab1576000611ac6565b85856001818110611abe57fe5b905060200201355b611ae0565b85856000818110611ad857fe5b905060200201355b3414611b33576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b60608567ffffffffffffffff81118015611b4c57600080fd5b50604051908082528060200260200182016040528015611b76578160200160208202803683370190505b50905060005b8151811015611bf257611bd3611b97848381518110611a7c57fe5b611ba2576000611ba4565b345b6113d330868581518110611bb457fe5b60200260200101516001600160a01b03166125f990919063ffffffff16565b828281518110611bdf57fe5b6020908102919091010152600101611b7c565b506000611bfd610a8c565b905080611c5657611c116103e8606361269a565b9350611c1f306103e8612a58565b60005b87811015611c5057611c46858a8a84818110611c3a57fe5b905060200201356128aa565b9450600101611c22565b50611cb7565b600019935060005b87811015611cb557611cab85611ca6858481518110611c7957fe5b6020026020010151610c888d8d87818110611c9057fe5b905060200201358761269a90919063ffffffff16565b6128c1565b9450600101611c5e565b505b8360005b88811015611e865760008a8a83818110611cd157fe5b9050602002013511611d2a576040805162461bcd60e51b815260206004820152601960248201527f4d6f6f6e69737761703a20616d6f756e74206973207a65726f00000000000000604482015290519081900360640190fd5b60008315611d6e57611d6984610c8860018703611d63878a8881518110611d4d57fe5b602002602001015161269a90919063ffffffff16565b906124a3565b611d82565b8a8a83818110611d7a57fe5b905060200201355b9050888883818110611d9057fe5b90506020020135811015611deb576040805162461bcd60e51b815260206004820181905260248201527f4d6f6f6e69737761703a206d696e416d6f756e74206e6f742072656163686564604482015290519081900360640190fd5b611e1a81878481518110611dfb57fe5b60200260200101516001600160a01b03166128d090919063ffffffff16565b8315611e7d576000611e49868481518110611e3157fe5b60200260200101516113d3308a8781518110611bb457fe5b9050611e7988611ca6888681518110611e5e57fe5b6020026020010151610c88858a61269a90919063ffffffff16565b9750505b50600101611cbb565b508115611f505760005b88811015611f4e57611f0b848281518110611ea757fe5b6020026020010151611ec288866124a390919063ffffffff16565b85600d60008a8781518110611ed357fe5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206127e0909392919063ffffffff16565b611f46848281518110611f1a57fe5b6020026020010151611f3588866124a390919063ffffffff16565b85600c60008a8781518110611ed357fe5b600101611e90565b505b60008511611fa5576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b611faf3386612a58565b60408051868152905133917f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4919081900360200190a250506001600655509095945050505050565b611fff612102565b6007546001600160a01b03908116911614612061576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166120a65760405162461bcd60e51b8152600401808060200182810382526026815260200180612f366026913960400191505060405180910390fd5b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b03831661214b5760405162461bcd60e51b81526004018080602001828103825260248152602001806130336024913960400191505060405180910390fd5b6001600160a01b0382166121905760405162461bcd60e51b8152600401808060200182810382526022815260200180612f5c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0385166000908152600a602052604081205460ff16801561223257506001600160a01b0385166000908152600a602052604090205460ff165b80156122505750846001600160a01b0316866001600160a01b031614155b801561225c5750600084115b156122a857600061228b612284670de0b6b3a7640000610c8861227d611883565b899061269a565b869061279e565b90506122a461229a85836124a3565b610c88838661269a565b9150505b95945050505050565b6001600160a01b0383166122f65760405162461bcd60e51b815260040180806020018281038252602581526020018061300e6025913960400191505060405180910390fd5b6001600160a01b03821661233b5760405162461bcd60e51b8152600401808060200182810382526023815260200180612ed16023913960400191505060405180910390fd5b612346838383612799565b61238381604051806060016040528060268152602001612f7e602691396001600160a01b038616600090815260208190526040902054919061240c565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546123b290826124a3565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561249b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612460578181015183820152602001612448565b50505050905090810190601f16801561248d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611851576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0382166125425760405162461bcd60e51b8152600401808060200182810382526021815260200180612fed6021913960400191505060405180910390fd5b61254e82600083612799565b61258b81604051806060016040528060228152602001612f14602291396001600160a01b038516600090815260208190526040902054919061240c565b6001600160a01b0383166000908152602081905260409020556002546125b1908261279e565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006126048361283c565b1561261a57506001600160a01b03811631610a86565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561266757600080fd5b505afa15801561267b573d6000803e3d6000fd5b505050506040513d602081101561269157600080fd5b50519050610a86565b6000826126a957506000610a86565b828202828482816126b657fe5b04146118515760405162461bcd60e51b8152600401808060200182810382526021815260200180612fa46021913960400191505060405180910390fd5b600061185183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612b48565b8015612799576127448361283c565b15612785576040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561277f573d6000803e3d6000fd5b50612799565b6127996001600160a01b0384168383612bad565b505050565b600061185183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061240c565b6128368461283183610c886127f682600161279e565b604080518082019091528a546001600160d81b0381168252600160d81b900464ffffffffff166020820152611d639089906116bf908c612849565b612997565b50505050565b6001600160a01b03161590565b60008061287061012c611ca6866020015164ffffffffff164261279e90919063ffffffff16565b9050600061288061012c8361279e565b90506122a861012c610c88612895878661269a565b8851611d63906001600160d81b03168661269a565b6000818310156128ba5781611851565b5090919050565b60008183106128ba5781611851565b8015612993576128df8261283c565b1561297e5780341015612939576040805162461bcd60e51b815260206004820152601a60248201527f556e6945524332303a206e6f7420656e6f7567682076616c7565000000000000604482015290519081900360640190fd5b8034111561297957336108fc61294f348461279e565b6040518115909202916000818181858888f19350505050158015612977573d6000803e3d6000fd5b505b612993565b6129936001600160a01b038316333084612bff565b5050565b81546001600160d81b0319166001600160d81b039182161716600160d81b4264ffffffffff1602179055565b6040805180820190915282546001600160d81b0381168252600160d81b900464ffffffffff1660208201526129939083906128319084612849565b60006003821115612a425781600160028204015b81811015612a3a57809150600281828681612a2957fe5b040181612a3257fe5b049050612a12565b509050610e30565b8115612a5057506001610e30565b506000610e30565b6001600160a01b038216612ab3576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b612abf60008383612799565b600254612acc90826124a3565b6002556001600160a01b038216600090815260208190526040902054612af290826124a3565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183612b975760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612460578181015183820152602001612448565b506000838581612ba357fe5b0495945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612799908490612c55565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526128369085905b6060612caa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612d069092919063ffffffff16565b80519091501561279957808060200190516020811015612cc957600080fd5b50516127995760405162461bcd60e51b815260040180806020018281038252602a815260200180613057602a913960400191505060405180910390fd5b6060610ac684846000856060612d1b85612e7d565b612d6c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612dab5780518252601f199092019160209182019101612d8c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612e0d576040519150601f19603f3d011682016040523d82523d6000602084013e612e12565b606091505b50915091508115612e26579150610ac69050565b805115612e365780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612460578181015183820152602001612448565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610ac6575050151592915050565b60405180604001604052806000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122081ac53a2dbede77e2893adaeea30c4e4c1e3146db4ef0b719d2fe07b0cb25ffc64736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220c72a443fc0dacc621a3de1ee9d075cd9dd3a470c78b6b80d583946d932098b6664736f6c634300060c0033

Deployed Bytecode

0x60806040523480156200001157600080fd5b5060043610620000c45760003560e01c80638da5cb5b116200007b5780638da5cb5b14620001ff578063901754d71462000209578063bc063e1a146200023a578063d88ff1f41462000256578063ddca3f4314620002b2578063f2fde38b14620002bc57620000c4565b806341d1de9714620000c9578063544caa561462000105578063545e7c6114620001655780635b16ebb7146200019657806369fe0e2d14620001d3578063715018a614620001f5575b600080fd5b620000e960048036036020811015620000e157600080fd5b5035620002e5565b604080516001600160a01b039092168252519081900360200190f35b62000136600480360360408110156200011d57600080fd5b506001600160a01b03813581169160200135166200030d565b60405180836001600160a01b03168152602001826001600160a01b031681526020019250505060405180910390f35b620000e9600480360360408110156200017d57600080fd5b506001600160a01b038135811691602001351662000343565b620001bf60048036036020811015620001ae57600080fd5b50356001600160a01b031662000932565b604080519115158252519081900360200190f35b620001f360048036036020811015620001eb57600080fd5b503562000947565b005b620001f362000a16565b620000e962000acd565b620000e9600480360360408110156200022157600080fd5b506001600160a01b038135811691602001351662000adc565b6200024462000b02565b60408051918252519081900360200190f35b6200026062000b0d565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156200029e57818101518382015260200162000284565b505050509050019250505060405180910390f35b6200024462000b71565b620001f360048036036020811015620002d457600080fd5b50356001600160a01b031662000b77565b60028181548110620002f357fe5b6000918252602090912001546001600160a01b0316905081565b600080826001600160a01b0316846001600160a01b03161015620003365750829050816200033c565b50819050825b9250929050565b6000816001600160a01b0316836001600160a01b03161415620003ad576040805162461bcd60e51b815260206004820181905260248201527f466163746f72793a206e6f7420737570706f72742073616d6520746f6b656e73604482015290519081900360640190fd5b6001600160a01b0383811660009081526004602090815260408083208685168452909152902054161562000428576040805162461bcd60e51b815260206004820152601c60248201527f466163746f72793a20706f6f6c20616c72656164792065786973747300000000604482015290519081900360640190fd5b6000806200043785856200030d565b60408051600280825260608083018452949650929450919060208301908036833701905050905082816000815181106200046d57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106200049c57fe5b6001600160a01b039283166020918202929092010152606090620004c290851662000c86565b90506060620004da846001600160a01b031662000c86565b905082828260405160200180806d09adededcd2e6eec2e040ac6240560931b815250600e0183805190602001908083835b602083106200052c5780518252601f1990920191602091820191016200050b565b6001836020036101000a03801982511681845116808217855250505050505090500180602d60f81b81525060010182805190602001908083835b60208310620005875780518252601f19909201916020918201910162000566565b6001836020036101000a03801982511681845116808217855250505050505090500180602960f81b8152506001019250505060405160208183030381529060405283836040516020018080674d4f4f4e2d56312d60c01b81525060080183805190602001908083835b60208310620006115780518252601f199092019160209182019101620005f0565b6001836020036101000a03801982511681845116808217855250505050505090500180602d60f81b81525060010182805190602001908083835b602083106200066c5780518252601f1990920191602091820191016200064b565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052604051620006af90620012c1565b60608082528451908201528351819060208083019160408401916080850191898201910280838360005b83811015620006f3578181015183820152602001620006d9565b50505050905001848103835286818151815260200191508051906020019080838360005b838110156200073157818101518382015260200162000717565b50505050905090810190601f1680156200075f5780820380516001836020036101000a031916815260200191505b50848103825285518152855160209182019187019080838360005b83811015620007945781810151838201526020016200077a565b50505050905090810190601f168015620007c25780820380516001836020036101000a031916815260200191505b509650505050505050604051809103906000f080158015620007e8573d6000803e3d6000fd5b509550856001600160a01b031663f2fde38b6200080462000acd565b6040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156200084457600080fd5b505af115801562000859573d6000803e3d6000fd5b505050506001600160a01b0385811660008181526004602081815260408084208a87168086529083528185208054978e166001600160a01b03199889168117909155938352818520868652835281852080548816851790556002805460018181019092557f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805490981685179097558385526003909252808420805460ff1916909617909555935190917fc95935a66d15e0da5e412aca0ad27ae891d20b2fb91cf3994b6a3bf2b817808291a4505050505092915050565b60036020526000908152604090205460ff1681565b62000951620010f2565b6000546001600160a01b03908116911614620009b4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b660aa87bee53800081111562000a11576040805162461bcd60e51b815260206004820152601e60248201527f466163746f72793a206665652073686f756c64206265203c3d20302e33250000604482015290519081900360640190fd5b600155565b62000a20620010f2565b6000546001600160a01b0390811691161462000a83576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60046020908152600092835260408084209091529082529020546001600160a01b031681565b660aa87bee53800081565b6060600280548060200260200160405190810160405280929190818152602001828054801562000b6757602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000b48575b5050505050905090565b60015481565b62000b81620010f2565b6000546001600160a01b0390811691161462000be4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811662000c2b5760405162461bcd60e51b8152600401808060200182810382526026815260200180620049c96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b606062000c9382620010f6565b1562000cba575060408051808201909152600381526208aa8960eb1b6020820152620010ed565b60408051600481526024810182526020810180516001600160e01b03166395d89b4160e01b178152915181516000936060936001600160a01b03881693614e2093919290918291908083835b6020831062000d275780518252601f19909201916020918201910162000d06565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303818686fa925050503d806000811462000d8a576040519150601f19603f3d011682016040523d82523d6000602084013e62000d8f565b606091505b50915091508162000e6e5760408051600481526024810182526020810180516001600160e01b0316631eedf1af60e31b178152915181516001600160a01b03881693614e209392918291908083835b6020831062000dff5780518252601f19909201916020918201910162000dde565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303818686fa925050503d806000811462000e62576040519150601f19603f3d011682016040523d82523d6000602084013e62000e67565b606091505b5090925090505b81801562000e7e57506060815110155b1562000faa5760008082806020019051604081101562000e9d57600080fd5b50805160209182015190935091508214801562000eba5750600081115b801562000ec957506101008111155b1562000fa75782806020019051602081101562000ee557600080fd5b810190808051604051939291908464010000000082111562000f0657600080fd5b90830190602082018581111562000f1c57600080fd5b825164010000000081118282018810171562000f3757600080fd5b82525081516020918201929091019080838360005b8381101562000f6657818101518382015260200162000f4c565b50505050905090810190601f16801562000f945780820380516001836020036101000a031916815260200191505b50604052505050945050505050620010ed565b50505b81801562000fb9575080516020145b15620010dd5760005b81518110801562000ff25750602060f81b82828151811062000fe057fe5b01602001516001600160f81b03191610155b80156200101e5750607e60f81b8282815181106200100c57fe5b01602001516001600160f81b03191611155b156200102d5760010162000fc2565b8015620010db5760608167ffffffffffffffff811180156200104e57600080fd5b506040519080825280601f01601f1916602001820160405280156200107a576020820181803683370190505b50905060005b82811015620010ce578381815181106200109657fe5b602001015160f81c60f81b828281518110620010ae57fe5b60200101906001600160f81b031916908160001a90535060010162001080565b509350620010ed92505050565b505b620010e88462001103565b925050505b919050565b3390565b6001600160a01b03161590565b60606200113b8260405160200180826001600160a01b031660601b815260140191505060405160208183030381529060405262001141565b92915050565b606080825160020260020167ffffffffffffffff811180156200116357600080fd5b506040519080825280601f01601f1916602001820160405280156200118f576020820181803683370190505b509050600360fc1b81600081518110620011a557fe5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620011cf57fe5b60200101906001600160f81b031916908160001a905350600260005b8451811015620012b857600060048683815181106200120657fe5b602001015160f81c60f81b60f81c60ff16901c60ff16905060008683815181106200122d57fe5b60209101015160f81c600f169050600a8204602702826030010160f81b8585806001019650815181106200125d57fe5b60200101906001600160f81b031916908160001a905350600a8104602702816030010160f81b8585806001019650815181106200129657fe5b60200101906001600160f81b031916908160001a9053505050600101620011eb565b50909392505050565b6136f980620012d08339019056fe60806040523480156200001157600080fd5b50604051620036f9380380620036f9833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82518660208202830111640100000000821117156200008c57600080fd5b82525081516020918201928201910280838360005b83811015620000bb578181015183820152602001620000a1565b5050505090500160405260200180516040519392919084640100000000821115620000e557600080fd5b908301906020820185811115620000fb57600080fd5b82516401000000008111828201881017156200011657600080fd5b82525081516020918201929091019080838360005b83811015620001455781810151838201526020016200012b565b50505050905090810190601f168015620001735780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200019757600080fd5b908301906020820185811115620001ad57600080fd5b8251640100000000811182820188101715620001c857600080fd5b82525081516020918201929091019080838360005b83811015620001f7578181015183820152602001620001dd565b50505050905090810190601f168015620002255780820380516001836020036101000a031916815260200191505b5060405250508251839150829062000245906003906020850190620004eb565b5080516200025b906004906020840190620004eb565b50506005805460ff1916601217905550600160065560006200027c620004e7565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600082511162000321576040805162461bcd60e51b815260206004820152601860248201527f4d6f6f6e69737761703a206e616d6520697320656d7074790000000000000000604482015290519081900360640190fd5b600081511162000378576040805162461bcd60e51b815260206004820152601a60248201527f4d6f6f6e69737761703a2073796d626f6c20697320656d707479000000000000604482015290519081900360640190fd5b8251600214620003cf576040805162461bcd60e51b815260206004820181905260248201527f4d6f6f6e69737761703a206f6e6c79203220746f6b656e7320616c6c6f776564604482015290519081900360640190fd5b600880546001600160a01b031916331790558251620003f690600990602086019062000570565b5060005b8351811015620004dd57600a60008583815181106200041557fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff16156200048f576040805162461bcd60e51b815260206004820152601b60248201527f4d6f6f6e69737761703a206475706c696361746520746f6b656e730000000000604482015290519081900360640190fd5b6001600a6000868481518110620004a257fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101620003fa565b505050506200060e565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200052e57805160ff19168380011785556200055e565b828001600101855582156200055e579182015b828111156200055e57825182559160200191906001019062000541565b506200056c929150620005d6565b5090565b828054828255906000526020600020908101928215620005c8579160200282015b82811115620005c857825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000591565b506200056c929150620005ed565b5b808211156200056c5760008155600101620005d7565b5b808211156200056c5780546001600160a01b0319168155600101620005ee565b6130db806200061e6000396000f3fe6080604052600436106101ee5760003560e01c80638da5cb5b1161010d578063c45a0155116100a0578063dd62ed3e1161006f578063dd62ed3e14610860578063ddca3f431461089b578063e7ff42c9146108b0578063f223885a146108e3578063f2fde38b146109a5576101ee565b8063c45a0155146107bf578063d5bcb9b5146107d4578063d73792a914610818578063d7d3aab51461082d576101ee565b8063aa6ca808116100dc578063aa6ca808146106ce578063b1ec4c4014610733578063b21b5a2114610795578063baf13a0a146107aa576101ee565b80638da5cb5b1461063257806395d89b4114610647578063a457c2d71461065c578063a9059cbb14610695576101ee565b806348d67e1b116101855780636edc2c09116101545780636edc2c091461057e57806370a08231146105b1578063715018a6146105e457806378e3214f146105f9576101ee565b806348d67e1b1461040e5780634f64b2be146104235780635915d806146104695780635ed9156d14610522576101ee565b80631e1401f8116101c15780631e1401f81461032457806323b872dd14610367578063313ce567146103aa57806339509351146103d5576101ee565b806306fdde03146101f3578063095ea7b31461027d57806318160ddd146102ca57806319f37361146102f1575b600080fd5b3480156101ff57600080fd5b506102086109d8565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561024257818101518382015260200161022a565b50505050905090810190601f16801561026f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561028957600080fd5b506102b6600480360360408110156102a057600080fd5b506001600160a01b038135169060200135610a6e565b604080519115158252519081900360200190f35b3480156102d657600080fd5b506102df610a8c565b60408051918252519081900360200190f35b3480156102fd57600080fd5b506102b66004803603602081101561031457600080fd5b50356001600160a01b0316610a92565b34801561033057600080fd5b506102df6004803603606081101561034757600080fd5b506001600160a01b03813581169160208101359091169060400135610aa7565b34801561037357600080fd5b506102b66004803603606081101561038a57600080fd5b506001600160a01b03813581169160208101359091169060400135610ace565b3480156103b657600080fd5b506103bf610b55565b6040805160ff9092168252519081900360200190f35b3480156103e157600080fd5b506102b6600480360360408110156103f857600080fd5b506001600160a01b038135169060200135610b5e565b34801561041a57600080fd5b506102df610bac565b34801561042f57600080fd5b5061044d6004803603602081101561044657600080fd5b5035610bb2565b604080516001600160a01b039092168252519081900360200190f35b34801561047557600080fd5b506105206004803603604081101561048c57600080fd5b813591908101906040810160208201356401000000008111156104ae57600080fd5b8201836020820111156104c057600080fd5b803590602001918460208302840111640100000000831117156104e257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610bd9945050505050565b005b34801561052e57600080fd5b506105556004803603602081101561054557600080fd5b50356001600160a01b0316610dc0565b604080516001600160d81b03909316835264ffffffffff90911660208301528051918290030190f35b34801561058a57600080fd5b50610555600480360360208110156105a157600080fd5b50356001600160a01b0316610deb565b3480156105bd57600080fd5b506102df600480360360208110156105d457600080fd5b50356001600160a01b0316610e16565b3480156105f057600080fd5b50610520610e35565b34801561060557600080fd5b506105206004803603604081101561061c57600080fd5b506001600160a01b038135169060200135610ee9565b34801561063e57600080fd5b5061044d61113f565b34801561065357600080fd5b5061020861114e565b34801561066857600080fd5b506102b66004803603604081101561067f57600080fd5b506001600160a01b0381351690602001356111af565b3480156106a157600080fd5b506102b6600480360360408110156106b857600080fd5b506001600160a01b038135169060200135611217565b3480156106da57600080fd5b506106e361122b565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561071f578181015183820152602001610707565b505050509050019250505060405180910390f35b34801561073f57600080fd5b506107666004803603602081101561075657600080fd5b50356001600160a01b031661128c565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b3480156107a157600080fd5b506102df6112b2565b3480156107b657600080fd5b506102df6112b7565b3480156107cb57600080fd5b5061044d6112bd565b6102df600480360360a08110156107ea57600080fd5b506001600160a01b0381358116916020810135821691604082013591606081013591608090910135166112cc565b34801561082457600080fd5b506102df6117d5565b34801561083957600080fd5b506102df6004803603602081101561085057600080fd5b50356001600160a01b03166117e1565b34801561086c57600080fd5b506102df6004803603604081101561088357600080fd5b506001600160a01b0381358116916020013516611858565b3480156108a757600080fd5b506102df611883565b3480156108bc57600080fd5b506102df600480360360208110156108d357600080fd5b50356001600160a01b03166118f9565b6102df600480360360408110156108f957600080fd5b81019060208101813564010000000081111561091457600080fd5b82018360208201111561092657600080fd5b8035906020019184602083028401116401000000008311171561094857600080fd5b91939092909160208101903564010000000081111561096657600080fd5b82018360208201111561097857600080fd5b8035906020019184602083028401116401000000008311171561099a57600080fd5b509092509050611969565b3480156109b157600080fd5b50610520600480360360208110156109c857600080fd5b50356001600160a01b0316611ff7565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a645780601f10610a3957610100808354040283529160200191610a64565b820191906000526020600020905b815481529060010190602001808311610a4757829003601f168201915b5050505050905090565b6000610a82610a7b612102565b8484612106565b5060015b92915050565b60025490565b600a6020526000908152604090205460ff1681565b6000610ac6848484610ab8886117e1565b610ac1886118f9565b6121f2565b949350505050565b6000610adb8484846122b1565b610b4b84610ae7612102565b610b4685604051806060016040528060288152602001612fc5602891396001600160a01b038a16600090815260016020526040812090610b25612102565b6001600160a01b03168152602081019190915260400160002054919061240c565b612106565b5060019392505050565b60055460ff1690565b6000610a82610b6b612102565b84610b468560016000610b7c612102565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906124a3565b61012c90565b60098181548110610bbf57fe5b6000918252602090912001546001600160a01b0316905081565b60026006541415610c1f576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b60026006556000610c2e610a8c565b9050610c3a33846124fd565b60005b600954811015610d7f57600060098281548110610c5657fe5b60009182526020822001546001600160a01b03169150610c7682306125f9565b90506000610c8e85610c88848a61269a565b906126f3565b9050610ca46001600160a01b0384163383612735565b855184101580610cc75750858481518110610cbb57fe5b60200260200101518110155b610d18576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b610d4682610d26878a61279e565b6001600160a01b0386166000908152600c602052604090209190886127e0565b610d7482610d54878a61279e565b6001600160a01b0386166000908152600d602052604090209190886127e0565b505050600101610c3d565b5060408051848152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050600160065550565b600d602052600090815260409020546001600160d81b03811690600160d81b900464ffffffffff1682565b600c602052600090815260409020546001600160d81b03811690600160d81b900464ffffffffff1682565b6001600160a01b0381166000908152602081905260409020545b919050565b610e3d612102565b6007546001600160a01b03908116911614610e9f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b60026006541415610f2f576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b6002600655610f3c612102565b6007546001600160a01b03908116911614610f9e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60095460609067ffffffffffffffff81118015610fba57600080fd5b50604051908082528060200260200182016040528015610fe4578160200160208202803683370190505b50905060005b815181101561103e5761101f306009838154811061100457fe5b6000918252602090912001546001600160a01b0316906125f9565b82828151811061102b57fe5b6020908102919091010152600101610fea565b506110536001600160a01b0384163384612735565b60005b81518110156110da5781818151811061106b57fe5b6020026020010151611084306009848154811061100457fe5b10156110d2576040805162461bcd60e51b8152602060048201526018602482015277135bdbdb9a5cddd85c0e881858d8d95cdcc819195b9a595960421b604482015290519081900360640190fd5b600101611056565b506103e86110e730610e16565b1015611135576040805162461bcd60e51b8152602060048201526018602482015277135bdbdb9a5cddd85c0e881858d8d95cdcc819195b9a595960421b604482015290519081900360640190fd5b5050600160065550565b6007546001600160a01b031690565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610a645780601f10610a3957610100808354040283529160200191610a64565b6000610a826111bc612102565b84610b468560405180606001604052806025815260200161308160259139600160006111e6612102565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061240c565b6000610a82611224612102565b84846122b1565b60606009805480602002602001604051908101604052809291908181526020018280548015610a6457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611265575050505050905090565b600b602052600090815260409020546001600160801b0380821691600160801b90041682565b601481565b6103e881565b6008546001600160a01b031681565b600060026006541415611314576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b600260065561132b6001600160a01b03871661283c565b611336576000611338565b835b341461138b576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b611393612eb6565b60405180604001604052806113d96113b38a6001600160a01b031661283c565b6113be5760006113c0565b345b6113d36001600160a01b038c16306125f9565b9061279e565b81526020016113f16001600160a01b038916306125f9565b905280516001600160a01b0389166000908152600c602090815260408083208151808301909252546001600160d81b0381168252600160d81b900464ffffffffff1691810191909152929350916114539161144c9190612849565b83516128aa565b6020838101516001600160a01b038a166000908152600d835260408082208151808301909252546001600160d81b0381168252600160d81b900464ffffffffff16938101939093529293506114b5916114ab91612849565b84602001516128c1565b90506114ca6001600160a01b038a16886128d0565b82516000906114e6906113d36001600160a01b038d16306125f9565b90506114f58a8a8386866121f2565b94506000851180156115075750868510155b611558576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a2072657475726e206973206e6f7420656e6f75676800604482015290519081900360640190fd5b61156c6001600160a01b038a163387612735565b8351831461159f5761159f61158184836124a3565b6001600160a01b038c166000908152600c6020526040902090612997565b836020015182146115d5576115d56115b7838761279e565b6001600160a01b038b166000908152600d6020526040902090612997565b83516001600160a01b038b166000908152600d602052604090206115f8916129c3565b6020808501516001600160a01b038b166000908152600c9092526040909120611620916129c3565b6001600160a01b038616156116db5783516ec097ce7bc90715b34b9f10000000009061165a90610c8861165382866124a3565b849061269a565b602086015190915061167390610c88611653828a61279e565b90506ec097ce7bc90715b34b9f10000000008111156116d95760006116c56014610c88670de0b6b3a7640000610c886116aa610a8c565b6116bf670de0b6b3a76400006113d38a6129fe565b9061269a565b905080156116d7576116d78882612a58565b505b505b886001600160a01b03168a6001600160a01b0316336001600160a01b03167f86c49b5d8577da08444947f1427d23ef191cfabf2c0788f93324d79e926a9302848989600001518a6020015161172e610a8c565b60408051958652602086019490945284840192909252606084015260808301526001600160a01b038c1660a0830152519081900360c00190a46001600160a01b039099166000908152600b602052604090208054600160801b6001600160801b03808316909c018c166fffffffffffffffffffffffffffffffff19909216919091178181048c1687018c169091029a16999099179098555050600160065595945050505050565b670de0b6b3a764000081565b6000806117f76001600160a01b038416306125f9565b6001600160a01b0384166000908152600c60209081526040918290208251808401909352546001600160d81b0381168352600160d81b900464ffffffffff16908201529091506118519061184b9083612849565b826128aa565b9392505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6008546040805163ddca3f4360e01b815290516000926001600160a01b03169163ddca3f43916004808301926020929190829003018186803b1580156118c857600080fd5b505afa1580156118dc573d6000803e3d6000fd5b505050506040513d60208110156118f257600080fd5b5051905090565b60008061190f6001600160a01b038416306125f9565b6001600160a01b0384166000908152600d60209081526040918290208251808401909352546001600160d81b0381168352600160d81b900464ffffffffff1690820152909150611851906119639083612849565b826128c1565b6000600260065414156119b1576040805162461bcd60e51b815260206004820152601f6024820152600080516020612ef4833981519152604482015290519081900360640190fd5b6002600655600980546040805160208084028201810190925282815260609390929091830182828015611a0d57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116119ef575b5050505050905080518686905014611a6c576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a2077726f6e6720616d6f756e7473206c656e67746800604482015290519081900360640190fd5b611a9281600081518110611a7c57fe5b60200260200101516001600160a01b031661283c565b611acb57611aa681600181518110611a7c57fe5b611ab1576000611ac6565b85856001818110611abe57fe5b905060200201355b611ae0565b85856000818110611ad857fe5b905060200201355b3414611b33576040805162461bcd60e51b815260206004820152601c60248201527f4d6f6f6e69737761703a2077726f6e672076616c756520757361676500000000604482015290519081900360640190fd5b60608567ffffffffffffffff81118015611b4c57600080fd5b50604051908082528060200260200182016040528015611b76578160200160208202803683370190505b50905060005b8151811015611bf257611bd3611b97848381518110611a7c57fe5b611ba2576000611ba4565b345b6113d330868581518110611bb457fe5b60200260200101516001600160a01b03166125f990919063ffffffff16565b828281518110611bdf57fe5b6020908102919091010152600101611b7c565b506000611bfd610a8c565b905080611c5657611c116103e8606361269a565b9350611c1f306103e8612a58565b60005b87811015611c5057611c46858a8a84818110611c3a57fe5b905060200201356128aa565b9450600101611c22565b50611cb7565b600019935060005b87811015611cb557611cab85611ca6858481518110611c7957fe5b6020026020010151610c888d8d87818110611c9057fe5b905060200201358761269a90919063ffffffff16565b6128c1565b9450600101611c5e565b505b8360005b88811015611e865760008a8a83818110611cd157fe5b9050602002013511611d2a576040805162461bcd60e51b815260206004820152601960248201527f4d6f6f6e69737761703a20616d6f756e74206973207a65726f00000000000000604482015290519081900360640190fd5b60008315611d6e57611d6984610c8860018703611d63878a8881518110611d4d57fe5b602002602001015161269a90919063ffffffff16565b906124a3565b611d82565b8a8a83818110611d7a57fe5b905060200201355b9050888883818110611d9057fe5b90506020020135811015611deb576040805162461bcd60e51b815260206004820181905260248201527f4d6f6f6e69737761703a206d696e416d6f756e74206e6f742072656163686564604482015290519081900360640190fd5b611e1a81878481518110611dfb57fe5b60200260200101516001600160a01b03166128d090919063ffffffff16565b8315611e7d576000611e49868481518110611e3157fe5b60200260200101516113d3308a8781518110611bb457fe5b9050611e7988611ca6888681518110611e5e57fe5b6020026020010151610c88858a61269a90919063ffffffff16565b9750505b50600101611cbb565b508115611f505760005b88811015611f4e57611f0b848281518110611ea757fe5b6020026020010151611ec288866124a390919063ffffffff16565b85600d60008a8781518110611ed357fe5b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206127e0909392919063ffffffff16565b611f46848281518110611f1a57fe5b6020026020010151611f3588866124a390919063ffffffff16565b85600c60008a8781518110611ed357fe5b600101611e90565b505b60008511611fa5576040805162461bcd60e51b815260206004820152601f60248201527f4d6f6f6e69737761703a20726573756c74206973206e6f7420656e6f75676800604482015290519081900360640190fd5b611faf3386612a58565b60408051868152905133917f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4919081900360200190a250506001600655509095945050505050565b611fff612102565b6007546001600160a01b03908116911614612061576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166120a65760405162461bcd60e51b8152600401808060200182810382526026815260200180612f366026913960400191505060405180910390fd5b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b03831661214b5760405162461bcd60e51b81526004018080602001828103825260248152602001806130336024913960400191505060405180910390fd5b6001600160a01b0382166121905760405162461bcd60e51b8152600401808060200182810382526022815260200180612f5c6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0385166000908152600a602052604081205460ff16801561223257506001600160a01b0385166000908152600a602052604090205460ff165b80156122505750846001600160a01b0316866001600160a01b031614155b801561225c5750600084115b156122a857600061228b612284670de0b6b3a7640000610c8861227d611883565b899061269a565b869061279e565b90506122a461229a85836124a3565b610c88838661269a565b9150505b95945050505050565b6001600160a01b0383166122f65760405162461bcd60e51b815260040180806020018281038252602581526020018061300e6025913960400191505060405180910390fd5b6001600160a01b03821661233b5760405162461bcd60e51b8152600401808060200182810382526023815260200180612ed16023913960400191505060405180910390fd5b612346838383612799565b61238381604051806060016040528060268152602001612f7e602691396001600160a01b038616600090815260208190526040902054919061240c565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546123b290826124a3565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561249b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612460578181015183820152602001612448565b50505050905090810190601f16801561248d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015611851576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b0382166125425760405162461bcd60e51b8152600401808060200182810382526021815260200180612fed6021913960400191505060405180910390fd5b61254e82600083612799565b61258b81604051806060016040528060228152602001612f14602291396001600160a01b038516600090815260208190526040902054919061240c565b6001600160a01b0383166000908152602081905260409020556002546125b1908261279e565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006126048361283c565b1561261a57506001600160a01b03811631610a86565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561266757600080fd5b505afa15801561267b573d6000803e3d6000fd5b505050506040513d602081101561269157600080fd5b50519050610a86565b6000826126a957506000610a86565b828202828482816126b657fe5b04146118515760405162461bcd60e51b8152600401808060200182810382526021815260200180612fa46021913960400191505060405180910390fd5b600061185183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612b48565b8015612799576127448361283c565b15612785576040516001600160a01b0383169082156108fc029083906000818181858888f1935050505015801561277f573d6000803e3d6000fd5b50612799565b6127996001600160a01b0384168383612bad565b505050565b600061185183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061240c565b6128368461283183610c886127f682600161279e565b604080518082019091528a546001600160d81b0381168252600160d81b900464ffffffffff166020820152611d639089906116bf908c612849565b612997565b50505050565b6001600160a01b03161590565b60008061287061012c611ca6866020015164ffffffffff164261279e90919063ffffffff16565b9050600061288061012c8361279e565b90506122a861012c610c88612895878661269a565b8851611d63906001600160d81b03168661269a565b6000818310156128ba5781611851565b5090919050565b60008183106128ba5781611851565b8015612993576128df8261283c565b1561297e5780341015612939576040805162461bcd60e51b815260206004820152601a60248201527f556e6945524332303a206e6f7420656e6f7567682076616c7565000000000000604482015290519081900360640190fd5b8034111561297957336108fc61294f348461279e565b6040518115909202916000818181858888f19350505050158015612977573d6000803e3d6000fd5b505b612993565b6129936001600160a01b038316333084612bff565b5050565b81546001600160d81b0319166001600160d81b039182161716600160d81b4264ffffffffff1602179055565b6040805180820190915282546001600160d81b0381168252600160d81b900464ffffffffff1660208201526129939083906128319084612849565b60006003821115612a425781600160028204015b81811015612a3a57809150600281828681612a2957fe5b040181612a3257fe5b049050612a12565b509050610e30565b8115612a5057506001610e30565b506000610e30565b6001600160a01b038216612ab3576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b612abf60008383612799565b600254612acc90826124a3565b6002556001600160a01b038216600090815260208190526040902054612af290826124a3565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183612b975760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315612460578181015183820152602001612448565b506000838581612ba357fe5b0495945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052612799908490612c55565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526128369085905b6060612caa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612d069092919063ffffffff16565b80519091501561279957808060200190516020811015612cc957600080fd5b50516127995760405162461bcd60e51b815260040180806020018281038252602a815260200180613057602a913960400191505060405180910390fd5b6060610ac684846000856060612d1b85612e7d565b612d6c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612dab5780518252601f199092019160209182019101612d8c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612e0d576040519150601f19603f3d011682016040523d82523d6000602084013e612e12565b606091505b50915091508115612e26579150610ac69050565b805115612e365780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315612460578181015183820152602001612448565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610ac6575050151592915050565b60405180604001604052806000815260200160008152509056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573735265656e7472616e637947756172643a207265656e7472616e742063616c6c0045524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122081ac53a2dbede77e2893adaeea30c4e4c1e3146db4ef0b719d2fe07b0cb25ffc64736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220c72a443fc0dacc621a3de1ee9d075cd9dd3a470c78b6b80d583946d932098b6664736f6c634300060c0033

Deployed Bytecode Sourcemap

66483:1994:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66773:27;;;;;;;;;;;;;;;;-1:-1:-1;66773:27:0;;:::i;:::-;;;;-1:-1:-1;;;;;66773:27:0;;;;;;;;;;;;;;68265:209;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;68265:209:0;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;68265:209:0;;;;;;-1:-1:-1;;;;;68265:209:0;;;;;;;;;;;;;;;;67191:1066;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;67191:1066:0;;;;;;;;;;:::i;66807:40::-;;;;;;;;;;;;;;;;-1:-1:-1;66807:40:0;-1:-1:-1;;;;;66807:40:0;;:::i;:::-;;;;;;;;;;;;;;;;;;67030:153;;;;;;;;;;;;;;;;-1:-1:-1;67030:153:0;;:::i;:::-;;17947:148;;;:::i;17305:79::-;;;:::i;66854:60::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;66854:60:0;;;;;;;;;;:::i;66689:42::-;;;:::i;:::-;;;;;;;;;;;;;;;;66923:99;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66748:18;;;:::i;18250:244::-;;;;;;;;;;;;;;;;-1:-1:-1;18250:244:0;-1:-1:-1;;;;;18250:244:0;;:::i;66773:27::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;66773:27:0;;-1:-1:-1;66773:27:0;:::o;68265:209::-;68335:6;68343;68375;-1:-1:-1;;;;;68366:15:0;:6;-1:-1:-1;;;;;68366:15:0;;68362:71;;;-1:-1:-1;68406:6:0;;-1:-1:-1;68414:6:0;68398:23;;68362:71;-1:-1:-1;68451:6:0;;-1:-1:-1;68459:6:0;68265:209;;;;;;:::o;67191:1066::-;67252:14;67297:6;-1:-1:-1;;;;;67287:16:0;:6;-1:-1:-1;;;;;67287:16:0;;;67279:61;;;;;-1:-1:-1;;;67279:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;67359:13:0;;;67394:1;67359:13;;;:5;:13;;;;;;;;:21;;;;;;;;;;;;:37;67351:78;;;;;-1:-1:-1;;;67351:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;67443:13;67458;67475:26;67486:6;67494;67475:10;:26::i;:::-;67537:15;;;67550:1;67537:15;;;67512:22;67537:15;;;;;67442:59;;-1:-1:-1;67442:59:0;;-1:-1:-1;67537:15:0;67550:1;67537:15;;;;;;;;;;-1:-1:-1;67537:15:0;67512:40;;67575:6;67563;67570:1;67563:9;;;;;;;;;;;;;:18;-1:-1:-1;;;;;67563:18:0;;;-1:-1:-1;;;;;67563:18:0;;;;;67604:6;67592;67599:1;67592:9;;;;;;;;-1:-1:-1;;;;;67592:18:0;;;:9;;;;;;;;;:18;67623:21;;67647:18;;:16;;;:18::i;:::-;67623:42;;67676:21;67700:18;:6;-1:-1:-1;;;;;67700:16:0;;:18::i;:::-;67676:42;;67766:6;67829:7;67843;67794:62;;;;;;-1:-1:-1;;;67794:62:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67794:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;67794:62:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67794:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;67794:62:0;;;;;;;;;;;;;;;;;;;;;67908:7;67922;67879:51;;;;;;-1:-1:-1;;;67879:51:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67879:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;67879:51:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67879:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67738:204;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67738:204:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67731:211;;67955:4;-1:-1:-1;;;;;67955:22:0;;67978:7;:5;:7::i;:::-;67955:31;;;;;;;;;;;;;-1:-1:-1;;;;;67955:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;67997:13:0;;;;;;;:5;:13;;;;;;;;:21;;;;;;;;;;;;:28;;;;;-1:-1:-1;;;;;;67997:28:0;;;;;;;;68036:13;;;;;;:21;;;;;;;;:28;;;;;;;;68075:8;:19;;-1:-1:-1;68075:19:0;;;;;;;;;;;;;;;;;;68105:12;;;:6;:12;;;;;;:19;;-1:-1:-1;;68105:19:0;;;;;;;68142:107;;67997:28;;68142:107;;;67191:1066;;;;;;;;;:::o;66807:40::-;;;;;;;;;;;;;;;:::o;67030:153::-;17527:12;:10;:12::i;:::-;17517:6;;-1:-1:-1;;;;;17517:6:0;;;:22;;;17509:67;;;;;-1:-1:-1;;;17509:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66723:8:::1;67100:6;:17;;67092:60;;;::::0;;-1:-1:-1;;;67092:60:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;67163:3;:12:::0;67030:153::o;17947:148::-;17527:12;:10;:12::i;:::-;17517:6;;-1:-1:-1;;;;;17517:6:0;;;:22;;;17509:67;;;;;-1:-1:-1;;;17509:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18054:1:::1;18038:6:::0;;18017:40:::1;::::0;-1:-1:-1;;;;;18038:6:0;;::::1;::::0;18017:40:::1;::::0;18054:1;;18017:40:::1;18085:1;18068:19:::0;;-1:-1:-1;;;;;;18068:19:0::1;::::0;;17947:148::o;17305:79::-;17343:7;17370:6;-1:-1:-1;;;;;17370:6:0;17305:79;:::o;66854:60::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;66854:60:0;;:::o;66689:42::-;66723:8;66689:42;:::o;66923:99::-;66968:18;67006:8;66999:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;66999:15:0;;;;;;;;;;;;;;;;;;;;;;;66923:99;:::o;66748:18::-;;;;:::o;18250:244::-;17527:12;:10;:12::i;:::-;17517:6;;-1:-1:-1;;;;;17517:6:0;;;:22;;;17509:67;;;;;-1:-1:-1;;;17509:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18339:22:0;::::1;18331:73;;;;-1:-1:-1::0;;;18331:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18441:6;::::0;;18420:38:::1;::::0;-1:-1:-1;;;;;18420:38:0;;::::1;::::0;18441:6;::::1;::::0;18420:38:::1;::::0;::::1;18469:6;:17:::0;;-1:-1:-1;;;;;;18469:17:0::1;-1:-1:-1::0;;;;;18469:17:0;;;::::1;::::0;;;::::1;::::0;;18250:244::o;38014:1246::-;38069:13;38099:12;38105:5;38099;:12::i;:::-;38095:57;;;-1:-1:-1;38128:12:0;;;;;;;;;;;;-1:-1:-1;;;38128:12:0;;;;;;38095:57;38254:35;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38254:35:0;-1:-1:-1;;;38254:35:0;;;38200:100;;;;38165:12;;38179:17;;-1:-1:-1;;;;;38200:25:0;;;38232:5;;38254:35;;38200:100;;;;38254:35;38200:100;;38254:35;38200:100;;;;;;;;;;-1:-1:-1;;38200:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38164:136;;;;38316:7;38311:167;;38416:35;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38416:35:0;-1:-1:-1;;;38416:35:0;;;38358:108;;;;-1:-1:-1;;;;;38358:25:0;;;38390:5;;38416:35;38358:108;;;38416:35;38358:108;;38416:35;38358:108;;;;;;;;;;-1:-1:-1;;38358:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38340:126:0;;-1:-1:-1;38340:126:0;-1:-1:-1;38311:167:0;38494:7;:28;;;;;38520:2;38505:4;:11;:17;;38494:28;38490:263;;;38540:14;38556:11;38582:4;38571:36;;;;;;;;;;;;;;;-1:-1:-1;38571:36:0;;;;;;;;;-1:-1:-1;38571:36:0;-1:-1:-1;38626:14:0;;:25;;;;;38650:1;38644:3;:7;38626:25;:39;;;;;38662:3;38655;:10;;38626:39;38622:120;;;38711:4;38700:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38700:25:0;;;;;;;;;;-1:-1:-1;38700:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38686:40;;;;;;;;38622:120;38490:263;;;38769:7;:28;;;;;38780:4;:11;38795:2;38780:17;38769:28;38765:446;;;38814:8;38841:108;38854:4;:11;38848:3;:17;:38;;;;;38882:4;38869:17;;:4;38874:3;38869:9;;;;;;;;;;;;-1:-1:-1;;;;;;38869:9:0;:17;;38848:38;:59;;;;;38903:4;38890:17;;:4;38895:3;38890:9;;;;;;;;;;;;-1:-1:-1;;;;;;38890:9:0;:17;;38848:59;38841:108;;;38928:5;;38841:108;;;38969:7;;38965:235;;38997:19;39029:3;39019:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39019:14:0;;38997:36;;39057:6;39052:93;39073:3;39069:1;:7;39052:93;;;39118:4;39123:1;39118:7;;;;;;;;;;;;;;;;39106:6;39113:1;39106:9;;;;;;;;;;;:19;-1:-1:-1;;;;;39106:19:0;;;;;;;;-1:-1:-1;39078:3:0;;39052:93;;;-1:-1:-1;39177:6:0;-1:-1:-1;39163:21:0;;-1:-1:-1;;;39163:21:0;38965:235;38765:446;;39230:22;39245:5;39230:6;:22::i;:::-;39223:29;;;;38014:1246;;;;:::o;15859:106::-;15947:10;15859:106;:::o;36830:113::-;-1:-1:-1;;;;;36906:28:0;;;36830:113::o;39268:128::-;39322:13;39355:33;39379:7;39362:25;;;;;;-1:-1:-1;;;;;39362:25:0;;;;;;;;;;;;;;;;;;;;;;39355:6;:33::i;:::-;39348:40;39268:128;-1:-1:-1;;39268:128:0:o;39404:500::-;39460:13;39486:16;39519:4;:11;39533:1;39519:15;39515:1;:19;39505:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39505:30:0;;39486:49;;-1:-1:-1;;;39546:3:0;39550:1;39546:6;;;;;;;;;;;:12;-1:-1:-1;;;;;39546:12:0;;;;;;;;;-1:-1:-1;;;39569:3:0;39573:1;39569:6;;;;;;;;;;;:12;-1:-1:-1;;;;;39569:12:0;;;;;;;;-1:-1:-1;39601:1:0;39592:6;39613:253;39634:4;:11;39630:1;:15;39613:253;;;39667:6;39694:1;39682:4;39687:1;39682:7;;;;;;;;;;;;;;;;39676:14;;:19;;;;39667:28;;;;39710:6;39725:4;39730:1;39725:7;;;;;;;;;;;;;;;39736:4;39719:21;;-1:-1:-1;39789:2:0;39787:1;:4;39793:2;39786:9;39777:1;39781:2;39777:6;:18;39766:31;;39755:3;39759;;;;;;39755:8;;;;;;;;;;;:42;-1:-1:-1;;;;;39755:42:0;;;;;;;;-1:-1:-1;39846:2:0;39844:1;:4;39850:2;39843:9;39834:1;39838:2;39834:6;:18;39823:31;;39812:3;39816;;;;;;39812:8;;;;;;;;;;;:42;-1:-1:-1;;;;;39812:42:0;;;;;;;;-1:-1:-1;;;39647:3:0;;39613:253;;;-1:-1:-1;39892:3:0;;39404:500;-1:-1:-1;;;39404:500:0:o;-1:-1:-1:-;;;;;;;;:::o

Swarm Source

ipfs://c72a443fc0dacc621a3de1ee9d075cd9dd3a470c78b6b80d583946d932098b66

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.