ETH Price: $3,216.20 (+1.68%)

Contract

0x2Eb53BEE3b552c52799226A8267F3BFDb9912dC0
 

Overview

ETH Balance

0.272 ETH

Eth Value

$874.81 (@ $3,216.20/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...209825752024-10-17 3:23:5928 days ago1729135439IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0002480610
Set Approval For...207226842024-09-10 20:45:5964 days ago1726001159IN
0x2Eb53BEE...Db9912dC0
0 ETH0.000381128.17270759
Safe Transfer Fr...204014302024-07-28 0:21:47109 days ago1722126107IN
0x2Eb53BEE...Db9912dC0
0 ETH0.000104621.63562859
Set Approval For...196795642024-04-18 3:09:47210 days ago1713409787IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0004966310.63045779
Set Approval For...191384522024-02-02 4:50:47286 days ago1706849447IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0007770116.63204717
Set Approval For...191101002024-01-29 5:28:47290 days ago1706506127IN
0x2Eb53BEE...Db9912dC0
0 ETH0.000216858.74194273
Approve189035352023-12-31 5:59:35319 days ago1704002375IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0005052410.25254812
Set Approval For...188672612023-12-26 3:43:11324 days ago1703562191IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0006562414.07224899
Set Approval For...187525302023-12-10 1:27:23340 days ago1702171643IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0011525324.67631762
Set Approval For...177779842023-07-26 14:55:47476 days ago1690383347IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0015502833.24375881
Set Approval For...174405852023-06-09 5:23:23524 days ago1686288203IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0009073719.45737493
Set Approval For...173280532023-05-24 9:06:47539 days ago1684919207IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0016085334.49264941
Set Approval For...170483522023-04-14 22:34:47579 days ago1681511687IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0017891238.36518185
Set Approval For...169847162023-04-05 19:47:11588 days ago1680724031IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0014862731.87113028
Set Approval For...169820162023-04-05 10:34:23588 days ago1680690863IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0013593129.14864335
Set Approval For...168292292023-03-14 22:43:23610 days ago1678833803IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0014896831.94426746
Set Approval For...167752322023-03-07 8:27:11618 days ago1678177631IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0010028421.49357658
Safe Transfer Fr...167734432023-03-07 2:24:59618 days ago1678155899IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0024732135.52040505
Safe Transfer Fr...167202422023-02-27 14:52:11625 days ago1677509531IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0016000722.97637494
Set Approval For...166411332023-02-16 11:56:47636 days ago1676548607IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0010606922.7334374
Set Approval For...164243592023-01-17 5:15:11667 days ago1673932511IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0008135217.44490195
Set Approval For...164136682023-01-15 17:23:47668 days ago1673803427IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0009573820.51910808
Safe Transfer Fr...162937172022-12-29 23:31:59685 days ago1672356719IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0008232315.93657744
Set Approval For...162214792022-12-19 21:38:35695 days ago1671485915IN
0x2Eb53BEE...Db9912dC0
0 ETH0.000490118.33274709
Set Approval For...162214762022-12-19 21:37:59695 days ago1671485879IN
0x2Eb53BEE...Db9912dC0
0 ETH0.0007571816.2366552
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PsillySimon

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : PsillySimon.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/**
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWWWWWWWWWWWWWWWWWWWWWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWOk00000000000000000000OOKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMN0XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNxd00OOOOOOOOOOOOOOOO0KNOdKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWK0NMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMNKxldOXWMMMNOkXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWX000koccc:::::cccclkxdXKdKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKxONMMMWXOolxKNMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMWOookdlxXMMWOddxNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNXKKxoxxoxKKXNM0ccclKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXxddOWMMXxlxkoo0WMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMWNklxKWNOxkkKXOkkxKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM0x00xOMMMMMKc,,cXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKxkkOX0kkxONWKdoONWMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMWXNMMNOkkx0KkOOOXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWXkkdoddodxkXWWOldol0MMMMMMMMMMMMMMMMMMMMMMMMMMMMMXOOOkKOxkk0WMMNXWMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMWX0OkxxxllllkKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKkkxooddddddoldxxkkxxONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKxclllxxxkO0NWMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMWNXWMMMMXOxxxkkkkxolooldKWMMMWXNWMMMMMMMMMMMMMMMMMMMMMMMWNKdlddooollllllllc:dKXNMMMMMMMMMMMMMMMMMMMMMMMWNXWMMMW0dlooloxkkkkxxxONMMMMWXNWMMMMMMMMMMMM
MMMMMMMMMMMW0oo0WMMKxkOkkkkkkkkkkkxllOWWXkodOXMMMMMMMMMMMMMMMMMMWX0Okdolccccccccccccc:::::loxOXWMMMMMMMMMMMMMMMMMWXOookXWWOloxkkkkkkkkkkkOkxXMMW0odKWMMMMMMMMMMM
MMMMMMMMMWOddkkddOKxk0kkkxxddddxkkkxll0NkloolOWMMMMMMMMMMMMMMMN0kxoollccccccccccccllllllllcc::cdONMMMMMMMMMMMMMMMWOloolON0loxkkkxddddxxkkk0kxKOddOkdd0WMMMMMMMMM
MMMMMMMMMWXOxxxxO0kx0kxooc:c::;:oodxdcdNWKxkXMMMMMMMMMMMMMMMNOxxdoccccccccccccccclllllllllllllcc:lONMMMMMMMMMMMMMMWXkkXWXolxxdol:;:cc:cooxO0xk0OxdxxOXWMMMMMMMMM
MMMMMMMMMMMMNkkXMKxOOxlxOoc,..;cxkldxolOWMMMMMMMMMMMMMMMMMWKxxxlcccccccccccccccllllllllllooooolllccoKWMMMMMMMMMMMMMMMMMWkcoxooOx:;..,coOxlx0OxKMXkONMMMMMMMMMMMM
MMMMMMMMMMMMMMMMXxk0kxodxlc;',:cdxodxdll0WMMMMMMMMMMMMMMMWOxkdcccccccccccccccllllllllllooooooooolllccOWMMMMMMMMMMMMMMMW0lldxdoxoc:,';clxdoxk0kxXMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMN0xk0OkkxdolclllccodxkkxdllkXWMMMMMMMMMMMMWOxkoccccccccccccccclllllllllooooooooodoolllcckWMMMMMMMMMMMMWKxlldxkkxdlcclllclodkkkO0kx0NMMMMMMMMMMMMMM
MMMMMMMMMMMMXOkkOkxxxxdxxxxdddxxxxxdxdddollxKWMMMMMMMMMWOxkdcccccccccccccllllllllllooooooooooddddoollccOWMMMMMMMMMWKxlloddxdxxxxxxdddxxxxxxxxxkOkkONMMMMMMMMMMMM
MMMMMMMMMMMXxkOdllccc::;;,,;::;,,;::cccccclloKMMMMMMMMM0xOxlccclllccllllllllllloooooooooodddddddddoooocl0MMMMMMMMM0lllcccccc::;,,;:::,,;;::ccclldOxkNMMMMMMMMMMM
MMMMMMMMMMMKxkl,:cccc:;;,.':cc,.',;:ccccc;;lcOMMMMMMMMXxkkllllllllllcccccccccclllllllllloooodddddddoooocoXMMMMMMMMkcl;;cccc::;,'.,cc:'.,;;:cccc:,okxKMMMMMMMMMMM
MMMMMMMMMMMNxoc;::ccc:;;:;:llc;,;;;:cccc:;:coKMMMMMMMWkxOdllllllllcclllcccccccllllllllllllllcodxdxddooolckWMMMMMMMKl:;;:cccc:;;:;coc:,,:;;:ccc::;lokNMMMMMMMMMMM
MMMMMMMMMMMMXko:,,;::;,;c;lxoc;,::,,::;,,;lxKWMMMMMWKxoooccccccccc:cd:''''''cd:,::;,okkl,':l::llllllcccc:cdKWMMMMMWKdc;,,;:;,,:::oxl:,;:;,;::;,,:oONMMMMMMMMMMMM
MMMMMMMMMMMMMMNKOkxddooooclxoc;;loooodxxO0XWMMMMMMMXxO0kkkkkkkkkkkolo'.....;kd';o:.lXMK:..'cclxkkkxxddddddcdXMMMMMMMWX0kxxdoooolcoxl:,:ooooddxkOKNMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMWWWOdxoc;dNWWMMMMMMMMMMMMMMMWkdkxdddddddddddllo'....'xk,,:;':KMXl...'c:cdddddoooooool:kWMMMMMMMMMMMMMMWWWNkdxl::OWWWMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMMMMMMMMMMMMMW0lddlcccccccccc:lo'....ok;'::',o0Ko....'c::lllllllccccc;c0WMMMMMMMMMMMMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dNMMMMMMMMMMMMMMMMMWOx0Odddddddddddlld,...,ol:cllllccl;....,lcokkkkkkxdddddllOWMMMMMMMMMMMMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dNMMMMMMMMMMMMMMMMW0x00xddddddddddxdlll:;:cclloddddoollc:;:cccdkkkkkkkxdddddll0WMMMMMMMMMMMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMMMMMMMMMMMNOx00kxxxxxxxxxxxxxdooollodxkkxxxxkkkxdoooooxkkkkkkkkkxdddddllOWMMMMMMMMMMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMMMMMMMMMWKkkK0kxxxxxxxxxxxxxxxxxkkkkkxolccccldkkOkkkkkkkkkkkkkkkxxdddddoldKWMMMMMMMMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMMMMMMMWKkk0KOkxxxxxxxxxxxxxxkkkkkkkkko::,'',::oOkOOkkkkkkkkkkkkkkxxdddddollxKWMMMMMMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMMMMMN0kO0K0kkkkkkkkkkkkkkkkkkkkkkkkkkoc:;'';::oOOOOOOOkkkkkkkkkkkkxxddddddolld0NMMMMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMMWXOkOKKOkkkkkkkkkkkkkkkkkkkkkkkkkkkkkdllccclokOOOOOOOOOkkkkkkkkkkkxddddddddollokXMMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMNOkOK0OkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkOkkxxkkkOOOOkkkkkkkkkkkkkkkkkxxdddddddoooollONMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dNMMMMNkkK0Okkkkkdoollllc::::::ccclllllcclolllcloooolclllc::lllllcc:::::::cccccclooooooolcxNMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dNMMMWkxK0kkkkdlccccccll:,:c:,;lllllcc:,ckkxxlcxOO0Ol:oool,,:clllll;,:c:,;lccc:::::looooolckWMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMXxk0OOkxl:clooooool:,:cc,,:::::::;;x0kkxclO000kclddoc,;:::::::,,:c:,;lllllllc:;:ooooocoXMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMXxk0OOkl;:c::::::::,,:cc,,clloll:,o0Okklck000Olcddol;,:ccllllc,,cc:,,:::::::::;,:oooocoXMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMNxxOOOxc;:cccccllll:,:cc;;ccc::::;d0kkxco0000x:lxdoc,;c:::::cc;,:c:,;lcccc:::::,;oooocdNMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMOdkOOkc:oooooooooo:;:cc,,::clll:;dOkkxco00KKx:lxdoc',:cllcc::,,ccc,:llllllllll;;ooolcOMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dNMMMMNxoxkxo:cllcccc:::;,clc;;looc:::;o0Okkock000Ol:ddol;;c:::clol;,clc,,::::::ccc:;cooocxNMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMNxloxxoc;,;:cccll:;clc;;c:::clolck0kkxclO000kccddoc,:olc:::c;,clc;;ccc::;,,,:loolcxNMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMMW0doodxdlccccccc;;clc;,:clooooo:lOOkkock0000l:ddol;;looolc;',clc;;c::::::cloolld0WMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0xxoc;dWMMMMMMMMWKkdooodddolll;;clc;,cccccccc;ckOkkocx0000o:dddo;,:ccccc:,,clc,;ccllooollodkKWMMMMMMMMWkdxl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMM0dxoc;oNMMMMMMMMMMMWX0Okxddooo:;clc;;oooooddocoOkkklck000Ol:ddol;;ooooool;,clc;:lloodxxk0XWMMMMMMMMMMMWkddl::OMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMKxdoc;lKMMMMMMMMMMMMMMMMWWNXKOl;llc;lkkkkkkkocO0kkxco0000x:lddoc:oxxkkkkkl;:cl;cOKXNWWMMMMMMMMMMMMMMMMXxdol:cKMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMWkoolc:dNMMMMMMMMMMMMMMMMMMMW0ccll:lKMMMMMMWkx0kkklck00KOccddol:kWMMMMMMMXl;clccOWMMMMMMMMMMMMMMMMMMMNkoolc;dWMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMXdcllc:dXMMMMMMMMMMMMMMMMMWOccll::OWMMMMMMWxdOkkxco000Kx:lxdoclKMMMMMMMMMOc:clcckNMMMMMMMMMMMMMMMMMXxoolc:lKMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMKocllc:ckXWMMMMMMMMMMMMN0occll:ckWMMMMMMMWxx0kkxcl000Kkclxdocc0MMMMMMMMMWOc:clccoONMMMMMMMMMMMMWXOolllc:lKMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMXxccllc:cdk0XNWWWWXKOxoccllc:l0WMMMMMMMMMOd0Okkocx0000o:odoo:oNMMMMMMMMMWKo:cllcclxOKXNWWWNXKOxollll::dXMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKdcccllc:clloooolccclllc:lkNMMMMMMMMMMMNxx0kkkllO000kccddol:OMMMMMMMMMMMNOl:ccllc:clooooolccllll:co0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKkoccccllllllllllc::ldONMMMMMMMMMMMMMM0dkOkkockK000l:dddo:dWMMMMMMMMMMMMN0dlc:cllllllllllcc:coxKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKOxdollcccclooxk0NWMMMMMMMMMMMMMMMMKdkOkkocx0000l:dddo:dWMMMMMMMMMMMMMMWN0kxdollcccllodxOKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNXXKKXXNWMMMMMMMMMMMMMMMMMWWWNxdOkxxlck0O0kc:oool:xNWWMMMMMMMMMMMMMMMMMWNNXXKXXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXkkkxodxdddlllccodllooolldxdxXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKxooxdxxkkOO00dccx0OOOkkxxdoccd0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWOddo::llllllloo:,,coolllllll:;cllkWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKxdxdcldddddddddc;;cdddddddddl:loloKMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNkdxxlcddddddddddc;;ldddddddddo:coolxNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNkdkxlcoddddddddol:,,:loddddddddl:coolxNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0xxkdlcoddddddocccc;,,:ccccoddddddl:cloodONWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNXK0Okxxdoocldddddddl:coddc;;lddoc:lddddddoc:cclooxO0KXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOkolllolllllodddddddol;;llll:,,:llll;;loddddddolccc::c:cccokXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXkxkdllcllloddddollccoooodxxxxl;:okxxxdoooolclloddddolcc::cll:oXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM0lllcccccccc::;;:cc::oddddddddc;;lddddddddo:;cc:;;::cccc:::::;:OMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKd:''',,',,,'';:cccccc;'',,,',:c::c:,',,,,';ccccccc;'',,,'','.';oKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNxldo;';;;cll:;:xXNNNXkc;:llc;;lONN0l;;cll:;:xXNNNXkc;:llc;;;':dxldNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWN0kxc,;cxxodxo::kWMWOc:oxdoxxc;oOOo;cxxodxo::kWMWOc:lxdoxxc;,cxk0NWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWOc;oOo;:xxc;xWMWx;:xxc;lko;codl;oOo;cxx:;xWMWx;:xkc;lOo;cOWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNx::oddddc:l0MMMKl;cddddo::dKKx::oddddc;l0MMM0l;cddddo::dNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNOoc::::lxKWMMMWKxl:::::oONMMNOoc::::lxKWMMMWKxl:::::oONMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWX000KNWMMMMMMMWNK000XWMMMMMMWX000KNWMMMMMMMWNK000XWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
 */
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract PsillySimon is Pausable, Ownable, ERC721Burnable {
    using Strings for uint256;
    using SafeMath for uint256;
    using Counters for Counters.Counter;
    Counters.Counter private totalSupply;

    uint256 public priceToGetHigh = 0.0025 ether;
    bool public isCropReady = false;
    uint256 public constant TOTAL = 3000;
    uint256 public maxDosePerTrip = 4;

    mapping(address => uint256) public amountPerWook;

    string public uriSuffix = ".json";
    string public tokenUri;
    string public contractUri;

    constructor() ERC721("PsillySimon.ART", "PS.ART") {}

    function contractURI() public view returns (string memory) {
        return contractUri;
    }

    function price() public view returns (uint256) {
        return priceToGetHigh;
    }

    function _baseURI() internal view override returns (string memory) {
        return tokenUri;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(_tokenId), "Dose hasn't kicked in yet");

        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        _tokenId.toString(),
                        uriSuffix
                    )
                )
                : "";
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override whenNotPaused {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function getPsilly(uint256 _dose)
        public
        payable
        ableToParty(_dose)
        whenNotPaused
    {
        amountPerWook[msg.sender] = amountPerWook[msg.sender] + _dose;
        for (uint256 i = 0; i < _dose; i++) {
            totalSupply.increment();
            _safeMint(msg.sender, totalSupply.current());
        }
    }

    modifier ableToParty(uint256 _dose) {
        require(isCropReady, "Show has not started you lot lizard");
        amountPerWook[msg.sender] += _dose;
        require(amountPerWook[msg.sender] <= 4, "Can not get anymore");
        require(
            _dose > 0 && _dose < maxDosePerTrip + 1,
            "Exceeds maximum dose you can take at once, slow down"
        );
        require(
            msg.value >= priceToGetHigh.mul(_dose),
            "Shit I am going to need bout 350"
        );
        require(
            totalSupply.current() + _dose < TOTAL + 1,
            "Sorry pal shop is closed, wooks out front should of told ya so"
        );
        _;
    }

    function withdraw() public onlyOwner {
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
    }

    function setContractURI(string memory _contractUri) public onlyOwner {
        contractUri = _contractUri;
    }

    function setTokenURI(string memory _tokenUri) public onlyOwner {
        tokenUri = _tokenUri;
    }

    function setSale(bool isActive) public onlyOwner {
        isCropReady = isActive;
    }

    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }

    function setMaxDosePerTrip(uint256 _maxDosePerTrip) public onlyOwner {
        maxDosePerTrip = _maxDosePerTrip;
    }

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function setPrice(uint256 _newPrice) public onlyOwner {
        priceToGetHigh = _newPrice;
    }
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` 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 tokenId
    ) internal virtual {}

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

File 3 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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.
 */
abstract 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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 15 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../utils/Context.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 6 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 7 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

    /**
     * @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 a - b;
    }

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 8 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 9 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @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");

        (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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 13 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 14 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"TOTAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountPerWook","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dose","type":"uint256"}],"name":"getPsilly","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCropReady","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDosePerTrip","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceToGetHigh","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractUri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDosePerTrip","type":"uint256"}],"name":"setMaxDosePerTrip","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenUri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526608e1bc9bf040006008556000600960006101000a81548160ff0219169083151502179055506004600a556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c90805190602001906200007c92919062000238565b503480156200008a57600080fd5b506040518060400160405280600f81526020017f5073696c6c7953696d6f6e2e41525400000000000000000000000000000000008152506040518060400160405280600681526020017f50532e415254000000000000000000000000000000000000000000000000000081525060008060006101000a81548160ff02191690831515021790555062000131620001256200016b60201b60201c565b6200017360201b60201c565b81600190805190602001906200014992919062000238565b5080600290805190602001906200016292919062000238565b5050506200034d565b600033905090565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024690620002e8565b90600052602060002090601f0160209004810192826200026a5760008555620002b6565b82601f106200028557805160ff1916838001178555620002b6565b82800160010185558215620002b6579182015b82811115620002b557825182559160200191906001019062000298565b5b509050620002c59190620002c9565b5090565b5b80821115620002e4576000816000905550600101620002ca565b5090565b600060028204905060018216806200030157607f821691505b602082108114156200031857620003176200031e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614616806200035d6000396000f3fe6080604052600436106102255760003560e01c80636352211e1161012357806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd1461079a578063e0df5b6f146107d7578063e8a3d48514610800578063e985e9c51461082b578063f2fde38b1461086857610225565b806395d89b41146106c7578063a035b1fe146106f2578063a22cb4651461071d578063b88d4fde14610746578063c0e24d5e1461076f57610225565b80638715b44f116100f25780638715b44f146105f65780638da5cb5b1461062157806391b7f5ed1461064c57806391c236c014610675578063938e3d7b1461069e57610225565b80636352211e1461054e57806370a082311461058b578063715018a6146105c85780638456cb59146105df57610225565b8063304bdefe116101b157806342966c681161017557806342966c681461048857806344da6495146104b15780635503a0e8146104cd57806359fe4da9146104f85780635c975abb1461052357610225565b8063304bdefe146103c9578063355e0c5d146104065780633ccfd60b146104315780633f4ba83a1461044857806342842e0e1461045f57610225565b806316ba10e0116101f857806316ba10e0146102f85780631a3d61dd146103215780631d2e5a3a1461034c57806323b872dd1461037557806327efc0861461039e57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613195565b610891565b60405161025e91906137b8565b60405180910390f35b34801561027357600080fd5b5061027c610973565b60405161028991906137d3565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613228565b610a05565b6040516102c69190613751565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613130565b610a8a565b005b34801561030457600080fd5b5061031f600480360381019061031a91906131e7565b610ba2565b005b34801561032d57600080fd5b50610336610c38565b60405161034391906137b8565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e919061316c565b610c4b565b005b34801561038157600080fd5b5061039c6004803603810190610397919061302a565b610ce4565b005b3480156103aa57600080fd5b506103b3610d44565b6040516103c09190613af5565b60405180910390f35b3480156103d557600080fd5b506103f060048036038101906103eb9190612fc5565b610d4a565b6040516103fd9190613af5565b60405180910390f35b34801561041257600080fd5b5061041b610d62565b60405161042891906137d3565b60405180910390f35b34801561043d57600080fd5b50610446610df0565b005b34801561045457600080fd5b5061045d610eec565b005b34801561046b57600080fd5b506104866004803603810190610481919061302a565b610f72565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613228565b610f92565b005b6104cb60048036038101906104c69190613228565b610fee565b005b3480156104d957600080fd5b506104e2611344565b6040516104ef91906137d3565b60405180910390f35b34801561050457600080fd5b5061050d6113d2565b60405161051a9190613af5565b60405180910390f35b34801561052f57600080fd5b506105386113d8565b60405161054591906137b8565b60405180910390f35b34801561055a57600080fd5b5061057560048036038101906105709190613228565b6113ee565b6040516105829190613751565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad9190612fc5565b6114a0565b6040516105bf9190613af5565b60405180910390f35b3480156105d457600080fd5b506105dd611558565b005b3480156105eb57600080fd5b506105f46115e0565b005b34801561060257600080fd5b5061060b611666565b6040516106189190613af5565b60405180910390f35b34801561062d57600080fd5b5061063661166c565b6040516106439190613751565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e9190613228565b611695565b005b34801561068157600080fd5b5061069c60048036038101906106979190613228565b61171b565b005b3480156106aa57600080fd5b506106c560048036038101906106c091906131e7565b6117a1565b005b3480156106d357600080fd5b506106dc611837565b6040516106e991906137d3565b60405180910390f35b3480156106fe57600080fd5b506107076118c9565b6040516107149190613af5565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f91906130f4565b6118d3565b005b34801561075257600080fd5b5061076d60048036038101906107689190613079565b6118e9565b005b34801561077b57600080fd5b5061078461194b565b60405161079191906137d3565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613228565b6119d9565b6040516107ce91906137d3565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f991906131e7565b611a83565b005b34801561080c57600080fd5b50610815611b19565b60405161082291906137d3565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d9190612fee565b611bab565b60405161085f91906137b8565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190612fc5565b611c3f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061096c575061096b82611d37565b5b9050919050565b60606001805461098290613dc5565b80601f01602080910402602001604051908101604052809291908181526020018280546109ae90613dc5565b80156109fb5780601f106109d0576101008083540402835291602001916109fb565b820191906000526020600020905b8154815290600101906020018083116109de57829003601f168201915b5050505050905090565b6000610a1082611da1565b610a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4690613a15565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a95826113ee565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afd90613a55565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b25611e0d565b73ffffffffffffffffffffffffffffffffffffffff161480610b545750610b5381610b4e611e0d565b611bab565b5b610b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8a90613975565b60405180910390fd5b610b9d8383611e15565b505050565b610baa611e0d565b73ffffffffffffffffffffffffffffffffffffffff16610bc861166c565b73ffffffffffffffffffffffffffffffffffffffff1614610c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1590613a35565b60405180910390fd5b80600c9080519060200190610c34929190612de9565b5050565b600960009054906101000a900460ff1681565b610c53611e0d565b73ffffffffffffffffffffffffffffffffffffffff16610c7161166c565b73ffffffffffffffffffffffffffffffffffffffff1614610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe90613a35565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b610cf5610cef611e0d565b82611ece565b610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90613a75565b60405180910390fd5b610d3f838383611fac565b505050565b610bb881565b600b6020528060005260406000206000915090505481565b600d8054610d6f90613dc5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9b90613dc5565b8015610de85780601f10610dbd57610100808354040283529160200191610de8565b820191906000526020600020905b815481529060010190602001808311610dcb57829003601f168201915b505050505081565b610df8611e0d565b73ffffffffffffffffffffffffffffffffffffffff16610e1661166c565b73ffffffffffffffffffffffffffffffffffffffff1614610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6390613a35565b60405180910390fd5b6000610e7661166c565b73ffffffffffffffffffffffffffffffffffffffff1647604051610e999061373c565b60006040518083038185875af1925050503d8060008114610ed6576040519150601f19603f3d011682016040523d82523d6000602084013e610edb565b606091505b5050905080610ee957600080fd5b50565b610ef4611e0d565b73ffffffffffffffffffffffffffffffffffffffff16610f1261166c565b73ffffffffffffffffffffffffffffffffffffffff1614610f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5f90613a35565b60405180910390fd5b610f70612213565b565b610f8d838383604051806020016040528060008152506118e9565b505050565b610fa3610f9d611e0d565b82611ece565b610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990613ad5565b60405180910390fd5b610feb816122b4565b50565b80600960009054906101000a900460ff1661103e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103590613ab5565b60405180910390fd5b80600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461108d9190613bfa565b925050819055506004600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e90613815565b60405180910390fd5b60008111801561113457506001600a546111319190613bfa565b81105b611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a90613a95565b60405180910390fd5b611188816008546123d190919063ffffffff16565b3410156111ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c1906139d5565b60405180910390fd5b6001610bb86111d99190613bfa565b816111e460076123e7565b6111ee9190613bfa565b1061122e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611225906138d5565b60405180910390fd5b6112366113d8565b15611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d90613955565b60405180910390fd5b81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112c19190613bfa565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8281101561133f5761131960076123f5565b61132c3361132760076123e7565b61240b565b808061133790613e28565b915050611307565b505050565b600c805461135190613dc5565b80601f016020809104026020016040519081016040528092919081815260200182805461137d90613dc5565b80156113ca5780601f1061139f576101008083540402835291602001916113ca565b820191906000526020600020905b8154815290600101906020018083116113ad57829003601f168201915b505050505081565b60085481565b60008060009054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148e906139b5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150890613995565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611560611e0d565b73ffffffffffffffffffffffffffffffffffffffff1661157e61166c565b73ffffffffffffffffffffffffffffffffffffffff16146115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb90613a35565b60405180910390fd5b6115de6000612429565b565b6115e8611e0d565b73ffffffffffffffffffffffffffffffffffffffff1661160661166c565b73ffffffffffffffffffffffffffffffffffffffff161461165c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165390613a35565b60405180910390fd5b6116646124ee565b565b600a5481565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61169d611e0d565b73ffffffffffffffffffffffffffffffffffffffff166116bb61166c565b73ffffffffffffffffffffffffffffffffffffffff1614611711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170890613a35565b60405180910390fd5b8060088190555050565b611723611e0d565b73ffffffffffffffffffffffffffffffffffffffff1661174161166c565b73ffffffffffffffffffffffffffffffffffffffff1614611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e90613a35565b60405180910390fd5b80600a8190555050565b6117a9611e0d565b73ffffffffffffffffffffffffffffffffffffffff166117c761166c565b73ffffffffffffffffffffffffffffffffffffffff161461181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490613a35565b60405180910390fd5b80600e9080519060200190611833929190612de9565b5050565b60606002805461184690613dc5565b80601f016020809104026020016040519081016040528092919081815260200182805461187290613dc5565b80156118bf5780601f10611894576101008083540402835291602001916118bf565b820191906000526020600020905b8154815290600101906020018083116118a257829003601f168201915b5050505050905090565b6000600854905090565b6118e56118de611e0d565b8383612590565b5050565b6118fa6118f4611e0d565b83611ece565b611939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193090613a75565b60405180910390fd5b611945848484846126fd565b50505050565b600e805461195890613dc5565b80601f016020809104026020016040519081016040528092919081815260200182805461198490613dc5565b80156119d15780601f106119a6576101008083540402835291602001916119d1565b820191906000526020600020905b8154815290600101906020018083116119b457829003601f168201915b505050505081565b60606119e482611da1565b611a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1a906137f5565b60405180910390fd5b6000611a2d612759565b90506000815111611a4d5760405180602001604052806000815250611a7b565b80611a57846127eb565b600c604051602001611a6b9392919061370b565b6040516020818303038152906040525b915050919050565b611a8b611e0d565b73ffffffffffffffffffffffffffffffffffffffff16611aa961166c565b73ffffffffffffffffffffffffffffffffffffffff1614611aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af690613a35565b60405180910390fd5b80600d9080519060200190611b15929190612de9565b5050565b6060600e8054611b2890613dc5565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5490613dc5565b8015611ba15780601f10611b7657610100808354040283529160200191611ba1565b820191906000526020600020905b815481529060010190602001808311611b8457829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c47611e0d565b73ffffffffffffffffffffffffffffffffffffffff16611c6561166c565b73ffffffffffffffffffffffffffffffffffffffff1614611cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb290613a35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2290613875565b60405180910390fd5b611d3481612429565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e88836113ee565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ed982611da1565b611f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0f90613935565b60405180910390fd5b6000611f23836113ee565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f655750611f648185611bab565b5b80611fa357508373ffffffffffffffffffffffffffffffffffffffff16611f8b84610a05565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fcc826113ee565b73ffffffffffffffffffffffffffffffffffffffff1614612022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201990613895565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612092576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612089906138f5565b60405180910390fd5b61209d838383612998565b6120a8600082611e15565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f89190613cdb565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214f9190613bfa565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461220e8383836129f0565b505050565b61221b6113d8565b61225a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225190613835565b60405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61229d611e0d565b6040516122aa9190613751565b60405180910390a1565b60006122bf826113ee565b90506122cd81600084612998565b6122d8600083611e15565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123289190613cdb565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123cd816000846129f0565b5050565b600081836123df9190613c81565b905092915050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6124258282604051806020016040528060008152506129f5565b5050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124f66113d8565b15612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d90613955565b60405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612579611e0d565b6040516125869190613751565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f690613915565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126f091906137b8565b60405180910390a3505050565b612708848484611fac565b61271484848484612a50565b612753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274a90613855565b60405180910390fd5b50505050565b6060600d805461276890613dc5565b80601f016020809104026020016040519081016040528092919081815260200182805461279490613dc5565b80156127e15780601f106127b6576101008083540402835291602001916127e1565b820191906000526020600020905b8154815290600101906020018083116127c457829003601f168201915b5050505050905090565b60606000821415612833576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612993565b600082905060005b6000821461286557808061284e90613e28565b915050600a8261285e9190613c50565b915061283b565b60008167ffffffffffffffff8111156128a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128d95781602001600182028036833780820191505090505b5090505b6000851461298c576001826128f29190613cdb565b9150600a856129019190613e71565b603061290d9190613bfa565b60f81b818381518110612949577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129859190613c50565b94506128dd565b8093505050505b919050565b6129a06113d8565b156129e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d790613955565b60405180910390fd5b6129eb838383612be7565b505050565b505050565b6129ff8383612bec565b612a0c6000848484612a50565b612a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4290613855565b60405180910390fd5b505050565b6000612a718473ffffffffffffffffffffffffffffffffffffffff16612dc6565b15612bda578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a9a611e0d565b8786866040518563ffffffff1660e01b8152600401612abc949392919061376c565b602060405180830381600087803b158015612ad657600080fd5b505af1925050508015612b0757506040513d601f19601f82011682018060405250810190612b0491906131be565b60015b612b8a573d8060008114612b37576040519150601f19603f3d011682016040523d82523d6000602084013e612b3c565b606091505b50600081511415612b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7990613855565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612bdf565b600190505b949350505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c53906139f5565b60405180910390fd5b612c6581611da1565b15612ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9c906138b5565b60405180910390fd5b612cb160008383612998565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d019190613bfa565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612dc2600083836129f0565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612df590613dc5565b90600052602060002090601f016020900481019282612e175760008555612e5e565b82601f10612e3057805160ff1916838001178555612e5e565b82800160010185558215612e5e579182015b82811115612e5d578251825591602001919060010190612e42565b5b509050612e6b9190612e6f565b5090565b5b80821115612e88576000816000905550600101612e70565b5090565b6000612e9f612e9a84613b35565b613b10565b905082815260208101848484011115612eb757600080fd5b612ec2848285613d83565b509392505050565b6000612edd612ed884613b66565b613b10565b905082815260208101848484011115612ef557600080fd5b612f00848285613d83565b509392505050565b600081359050612f1781614584565b92915050565b600081359050612f2c8161459b565b92915050565b600081359050612f41816145b2565b92915050565b600081519050612f56816145b2565b92915050565b600082601f830112612f6d57600080fd5b8135612f7d848260208601612e8c565b91505092915050565b600082601f830112612f9757600080fd5b8135612fa7848260208601612eca565b91505092915050565b600081359050612fbf816145c9565b92915050565b600060208284031215612fd757600080fd5b6000612fe584828501612f08565b91505092915050565b6000806040838503121561300157600080fd5b600061300f85828601612f08565b925050602061302085828601612f08565b9150509250929050565b60008060006060848603121561303f57600080fd5b600061304d86828701612f08565b935050602061305e86828701612f08565b925050604061306f86828701612fb0565b9150509250925092565b6000806000806080858703121561308f57600080fd5b600061309d87828801612f08565b94505060206130ae87828801612f08565b93505060406130bf87828801612fb0565b925050606085013567ffffffffffffffff8111156130dc57600080fd5b6130e887828801612f5c565b91505092959194509250565b6000806040838503121561310757600080fd5b600061311585828601612f08565b925050602061312685828601612f1d565b9150509250929050565b6000806040838503121561314357600080fd5b600061315185828601612f08565b925050602061316285828601612fb0565b9150509250929050565b60006020828403121561317e57600080fd5b600061318c84828501612f1d565b91505092915050565b6000602082840312156131a757600080fd5b60006131b584828501612f32565b91505092915050565b6000602082840312156131d057600080fd5b60006131de84828501612f47565b91505092915050565b6000602082840312156131f957600080fd5b600082013567ffffffffffffffff81111561321357600080fd5b61321f84828501612f86565b91505092915050565b60006020828403121561323a57600080fd5b600061324884828501612fb0565b91505092915050565b61325a81613d0f565b82525050565b61326981613d21565b82525050565b600061327a82613bac565b6132848185613bc2565b9350613294818560208601613d92565b61329d81613f5e565b840191505092915050565b60006132b382613bb7565b6132bd8185613bde565b93506132cd818560208601613d92565b6132d681613f5e565b840191505092915050565b60006132ec82613bb7565b6132f68185613bef565b9350613306818560208601613d92565b80840191505092915050565b6000815461331f81613dc5565b6133298186613bef565b94506001821660008114613344576001811461335557613388565b60ff19831686528186019350613388565b61335e85613b97565b60005b8381101561338057815481890152600182019150602081019050613361565b838801955050505b50505092915050565b600061339e601983613bde565b91506133a982613f6f565b602082019050919050565b60006133c1601383613bde565b91506133cc82613f98565b602082019050919050565b60006133e4601483613bde565b91506133ef82613fc1565b602082019050919050565b6000613407603283613bde565b915061341282613fea565b604082019050919050565b600061342a602683613bde565b915061343582614039565b604082019050919050565b600061344d602583613bde565b915061345882614088565b604082019050919050565b6000613470601c83613bde565b915061347b826140d7565b602082019050919050565b6000613493603e83613bde565b915061349e82614100565b604082019050919050565b60006134b6602483613bde565b91506134c18261414f565b604082019050919050565b60006134d9601983613bde565b91506134e48261419e565b602082019050919050565b60006134fc602c83613bde565b9150613507826141c7565b604082019050919050565b600061351f601083613bde565b915061352a82614216565b602082019050919050565b6000613542603883613bde565b915061354d8261423f565b604082019050919050565b6000613565602a83613bde565b91506135708261428e565b604082019050919050565b6000613588602983613bde565b9150613593826142dd565b604082019050919050565b60006135ab602083613bde565b91506135b68261432c565b602082019050919050565b60006135ce602083613bde565b91506135d982614355565b602082019050919050565b60006135f1602c83613bde565b91506135fc8261437e565b604082019050919050565b6000613614602083613bde565b915061361f826143cd565b602082019050919050565b6000613637602183613bde565b9150613642826143f6565b604082019050919050565b600061365a600083613bd3565b915061366582614445565b600082019050919050565b600061367d603183613bde565b915061368882614448565b604082019050919050565b60006136a0603483613bde565b91506136ab82614497565b604082019050919050565b60006136c3602383613bde565b91506136ce826144e6565b604082019050919050565b60006136e6603083613bde565b91506136f182614535565b604082019050919050565b61370581613d79565b82525050565b600061371782866132e1565b915061372382856132e1565b915061372f8284613312565b9150819050949350505050565b60006137478261364d565b9150819050919050565b60006020820190506137666000830184613251565b92915050565b60006080820190506137816000830187613251565b61378e6020830186613251565b61379b60408301856136fc565b81810360608301526137ad818461326f565b905095945050505050565b60006020820190506137cd6000830184613260565b92915050565b600060208201905081810360008301526137ed81846132a8565b905092915050565b6000602082019050818103600083015261380e81613391565b9050919050565b6000602082019050818103600083015261382e816133b4565b9050919050565b6000602082019050818103600083015261384e816133d7565b9050919050565b6000602082019050818103600083015261386e816133fa565b9050919050565b6000602082019050818103600083015261388e8161341d565b9050919050565b600060208201905081810360008301526138ae81613440565b9050919050565b600060208201905081810360008301526138ce81613463565b9050919050565b600060208201905081810360008301526138ee81613486565b9050919050565b6000602082019050818103600083015261390e816134a9565b9050919050565b6000602082019050818103600083015261392e816134cc565b9050919050565b6000602082019050818103600083015261394e816134ef565b9050919050565b6000602082019050818103600083015261396e81613512565b9050919050565b6000602082019050818103600083015261398e81613535565b9050919050565b600060208201905081810360008301526139ae81613558565b9050919050565b600060208201905081810360008301526139ce8161357b565b9050919050565b600060208201905081810360008301526139ee8161359e565b9050919050565b60006020820190508181036000830152613a0e816135c1565b9050919050565b60006020820190508181036000830152613a2e816135e4565b9050919050565b60006020820190508181036000830152613a4e81613607565b9050919050565b60006020820190508181036000830152613a6e8161362a565b9050919050565b60006020820190508181036000830152613a8e81613670565b9050919050565b60006020820190508181036000830152613aae81613693565b9050919050565b60006020820190508181036000830152613ace816136b6565b9050919050565b60006020820190508181036000830152613aee816136d9565b9050919050565b6000602082019050613b0a60008301846136fc565b92915050565b6000613b1a613b2b565b9050613b268282613df7565b919050565b6000604051905090565b600067ffffffffffffffff821115613b5057613b4f613f2f565b5b613b5982613f5e565b9050602081019050919050565b600067ffffffffffffffff821115613b8157613b80613f2f565b5b613b8a82613f5e565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c0582613d79565b9150613c1083613d79565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c4557613c44613ea2565b5b828201905092915050565b6000613c5b82613d79565b9150613c6683613d79565b925082613c7657613c75613ed1565b5b828204905092915050565b6000613c8c82613d79565b9150613c9783613d79565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cd057613ccf613ea2565b5b828202905092915050565b6000613ce682613d79565b9150613cf183613d79565b925082821015613d0457613d03613ea2565b5b828203905092915050565b6000613d1a82613d59565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613db0578082015181840152602081019050613d95565b83811115613dbf576000848401525b50505050565b60006002820490506001821680613ddd57607f821691505b60208210811415613df157613df0613f00565b5b50919050565b613e0082613f5e565b810181811067ffffffffffffffff82111715613e1f57613e1e613f2f565b5b80604052505050565b6000613e3382613d79565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e6657613e65613ea2565b5b600182019050919050565b6000613e7c82613d79565b9150613e8783613d79565b925082613e9757613e96613ed1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f446f7365206861736e2774206b69636b656420696e2079657400000000000000600082015250565b7f43616e206e6f742067657420616e796d6f726500000000000000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f536f7272792070616c2073686f7020697320636c6f7365642c20776f6f6b732060008201527f6f75742066726f6e742073686f756c64206f6620746f6c6420796120736f0000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53686974204920616d20676f696e6720746f206e65656420626f757420333530600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20646f736520796f752063616e2074616b60008201527f65206174206f6e63652c20736c6f7720646f776e000000000000000000000000602082015250565b7f53686f7720686173206e6f74207374617274656420796f75206c6f74206c697a60008201527f6172640000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b61458d81613d0f565b811461459857600080fd5b50565b6145a481613d21565b81146145af57600080fd5b50565b6145bb81613d2d565b81146145c657600080fd5b50565b6145d281613d79565b81146145dd57600080fd5b5056fea2646970667358221220013ddf0b05f42bcc0e746a46b3019b5100771fcb8699131d4a29fe84679c666f64736f6c63430008040033

Deployed Bytecode

0x6080604052600436106102255760003560e01c80636352211e1161012357806395d89b41116100ab578063c87b56dd1161006f578063c87b56dd1461079a578063e0df5b6f146107d7578063e8a3d48514610800578063e985e9c51461082b578063f2fde38b1461086857610225565b806395d89b41146106c7578063a035b1fe146106f2578063a22cb4651461071d578063b88d4fde14610746578063c0e24d5e1461076f57610225565b80638715b44f116100f25780638715b44f146105f65780638da5cb5b1461062157806391b7f5ed1461064c57806391c236c014610675578063938e3d7b1461069e57610225565b80636352211e1461054e57806370a082311461058b578063715018a6146105c85780638456cb59146105df57610225565b8063304bdefe116101b157806342966c681161017557806342966c681461048857806344da6495146104b15780635503a0e8146104cd57806359fe4da9146104f85780635c975abb1461052357610225565b8063304bdefe146103c9578063355e0c5d146104065780633ccfd60b146104315780633f4ba83a1461044857806342842e0e1461045f57610225565b806316ba10e0116101f857806316ba10e0146102f85780631a3d61dd146103215780631d2e5a3a1461034c57806323b872dd1461037557806327efc0861461039e57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613195565b610891565b60405161025e91906137b8565b60405180910390f35b34801561027357600080fd5b5061027c610973565b60405161028991906137d3565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613228565b610a05565b6040516102c69190613751565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613130565b610a8a565b005b34801561030457600080fd5b5061031f600480360381019061031a91906131e7565b610ba2565b005b34801561032d57600080fd5b50610336610c38565b60405161034391906137b8565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e919061316c565b610c4b565b005b34801561038157600080fd5b5061039c6004803603810190610397919061302a565b610ce4565b005b3480156103aa57600080fd5b506103b3610d44565b6040516103c09190613af5565b60405180910390f35b3480156103d557600080fd5b506103f060048036038101906103eb9190612fc5565b610d4a565b6040516103fd9190613af5565b60405180910390f35b34801561041257600080fd5b5061041b610d62565b60405161042891906137d3565b60405180910390f35b34801561043d57600080fd5b50610446610df0565b005b34801561045457600080fd5b5061045d610eec565b005b34801561046b57600080fd5b506104866004803603810190610481919061302a565b610f72565b005b34801561049457600080fd5b506104af60048036038101906104aa9190613228565b610f92565b005b6104cb60048036038101906104c69190613228565b610fee565b005b3480156104d957600080fd5b506104e2611344565b6040516104ef91906137d3565b60405180910390f35b34801561050457600080fd5b5061050d6113d2565b60405161051a9190613af5565b60405180910390f35b34801561052f57600080fd5b506105386113d8565b60405161054591906137b8565b60405180910390f35b34801561055a57600080fd5b5061057560048036038101906105709190613228565b6113ee565b6040516105829190613751565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad9190612fc5565b6114a0565b6040516105bf9190613af5565b60405180910390f35b3480156105d457600080fd5b506105dd611558565b005b3480156105eb57600080fd5b506105f46115e0565b005b34801561060257600080fd5b5061060b611666565b6040516106189190613af5565b60405180910390f35b34801561062d57600080fd5b5061063661166c565b6040516106439190613751565b60405180910390f35b34801561065857600080fd5b50610673600480360381019061066e9190613228565b611695565b005b34801561068157600080fd5b5061069c60048036038101906106979190613228565b61171b565b005b3480156106aa57600080fd5b506106c560048036038101906106c091906131e7565b6117a1565b005b3480156106d357600080fd5b506106dc611837565b6040516106e991906137d3565b60405180910390f35b3480156106fe57600080fd5b506107076118c9565b6040516107149190613af5565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f91906130f4565b6118d3565b005b34801561075257600080fd5b5061076d60048036038101906107689190613079565b6118e9565b005b34801561077b57600080fd5b5061078461194b565b60405161079191906137d3565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613228565b6119d9565b6040516107ce91906137d3565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f991906131e7565b611a83565b005b34801561080c57600080fd5b50610815611b19565b60405161082291906137d3565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d9190612fee565b611bab565b60405161085f91906137b8565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190612fc5565b611c3f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061095c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061096c575061096b82611d37565b5b9050919050565b60606001805461098290613dc5565b80601f01602080910402602001604051908101604052809291908181526020018280546109ae90613dc5565b80156109fb5780601f106109d0576101008083540402835291602001916109fb565b820191906000526020600020905b8154815290600101906020018083116109de57829003601f168201915b5050505050905090565b6000610a1082611da1565b610a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4690613a15565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a95826113ee565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afd90613a55565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b25611e0d565b73ffffffffffffffffffffffffffffffffffffffff161480610b545750610b5381610b4e611e0d565b611bab565b5b610b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8a90613975565b60405180910390fd5b610b9d8383611e15565b505050565b610baa611e0d565b73ffffffffffffffffffffffffffffffffffffffff16610bc861166c565b73ffffffffffffffffffffffffffffffffffffffff1614610c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1590613a35565b60405180910390fd5b80600c9080519060200190610c34929190612de9565b5050565b600960009054906101000a900460ff1681565b610c53611e0d565b73ffffffffffffffffffffffffffffffffffffffff16610c7161166c565b73ffffffffffffffffffffffffffffffffffffffff1614610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe90613a35565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b610cf5610cef611e0d565b82611ece565b610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90613a75565b60405180910390fd5b610d3f838383611fac565b505050565b610bb881565b600b6020528060005260406000206000915090505481565b600d8054610d6f90613dc5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9b90613dc5565b8015610de85780601f10610dbd57610100808354040283529160200191610de8565b820191906000526020600020905b815481529060010190602001808311610dcb57829003601f168201915b505050505081565b610df8611e0d565b73ffffffffffffffffffffffffffffffffffffffff16610e1661166c565b73ffffffffffffffffffffffffffffffffffffffff1614610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6390613a35565b60405180910390fd5b6000610e7661166c565b73ffffffffffffffffffffffffffffffffffffffff1647604051610e999061373c565b60006040518083038185875af1925050503d8060008114610ed6576040519150601f19603f3d011682016040523d82523d6000602084013e610edb565b606091505b5050905080610ee957600080fd5b50565b610ef4611e0d565b73ffffffffffffffffffffffffffffffffffffffff16610f1261166c565b73ffffffffffffffffffffffffffffffffffffffff1614610f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5f90613a35565b60405180910390fd5b610f70612213565b565b610f8d838383604051806020016040528060008152506118e9565b505050565b610fa3610f9d611e0d565b82611ece565b610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990613ad5565b60405180910390fd5b610feb816122b4565b50565b80600960009054906101000a900460ff1661103e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103590613ab5565b60405180910390fd5b80600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461108d9190613bfa565b925050819055506004600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e90613815565b60405180910390fd5b60008111801561113457506001600a546111319190613bfa565b81105b611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a90613a95565b60405180910390fd5b611188816008546123d190919063ffffffff16565b3410156111ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c1906139d5565b60405180910390fd5b6001610bb86111d99190613bfa565b816111e460076123e7565b6111ee9190613bfa565b1061122e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611225906138d5565b60405180910390fd5b6112366113d8565b15611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d90613955565b60405180910390fd5b81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112c19190613bfa565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8281101561133f5761131960076123f5565b61132c3361132760076123e7565b61240b565b808061133790613e28565b915050611307565b505050565b600c805461135190613dc5565b80601f016020809104026020016040519081016040528092919081815260200182805461137d90613dc5565b80156113ca5780601f1061139f576101008083540402835291602001916113ca565b820191906000526020600020905b8154815290600101906020018083116113ad57829003601f168201915b505050505081565b60085481565b60008060009054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148e906139b5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150890613995565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611560611e0d565b73ffffffffffffffffffffffffffffffffffffffff1661157e61166c565b73ffffffffffffffffffffffffffffffffffffffff16146115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb90613a35565b60405180910390fd5b6115de6000612429565b565b6115e8611e0d565b73ffffffffffffffffffffffffffffffffffffffff1661160661166c565b73ffffffffffffffffffffffffffffffffffffffff161461165c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165390613a35565b60405180910390fd5b6116646124ee565b565b600a5481565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61169d611e0d565b73ffffffffffffffffffffffffffffffffffffffff166116bb61166c565b73ffffffffffffffffffffffffffffffffffffffff1614611711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170890613a35565b60405180910390fd5b8060088190555050565b611723611e0d565b73ffffffffffffffffffffffffffffffffffffffff1661174161166c565b73ffffffffffffffffffffffffffffffffffffffff1614611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e90613a35565b60405180910390fd5b80600a8190555050565b6117a9611e0d565b73ffffffffffffffffffffffffffffffffffffffff166117c761166c565b73ffffffffffffffffffffffffffffffffffffffff161461181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490613a35565b60405180910390fd5b80600e9080519060200190611833929190612de9565b5050565b60606002805461184690613dc5565b80601f016020809104026020016040519081016040528092919081815260200182805461187290613dc5565b80156118bf5780601f10611894576101008083540402835291602001916118bf565b820191906000526020600020905b8154815290600101906020018083116118a257829003601f168201915b5050505050905090565b6000600854905090565b6118e56118de611e0d565b8383612590565b5050565b6118fa6118f4611e0d565b83611ece565b611939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193090613a75565b60405180910390fd5b611945848484846126fd565b50505050565b600e805461195890613dc5565b80601f016020809104026020016040519081016040528092919081815260200182805461198490613dc5565b80156119d15780601f106119a6576101008083540402835291602001916119d1565b820191906000526020600020905b8154815290600101906020018083116119b457829003601f168201915b505050505081565b60606119e482611da1565b611a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1a906137f5565b60405180910390fd5b6000611a2d612759565b90506000815111611a4d5760405180602001604052806000815250611a7b565b80611a57846127eb565b600c604051602001611a6b9392919061370b565b6040516020818303038152906040525b915050919050565b611a8b611e0d565b73ffffffffffffffffffffffffffffffffffffffff16611aa961166c565b73ffffffffffffffffffffffffffffffffffffffff1614611aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af690613a35565b60405180910390fd5b80600d9080519060200190611b15929190612de9565b5050565b6060600e8054611b2890613dc5565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5490613dc5565b8015611ba15780601f10611b7657610100808354040283529160200191611ba1565b820191906000526020600020905b815481529060010190602001808311611b8457829003601f168201915b5050505050905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c47611e0d565b73ffffffffffffffffffffffffffffffffffffffff16611c6561166c565b73ffffffffffffffffffffffffffffffffffffffff1614611cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb290613a35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2290613875565b60405180910390fd5b611d3481612429565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e88836113ee565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ed982611da1565b611f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0f90613935565b60405180910390fd5b6000611f23836113ee565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f655750611f648185611bab565b5b80611fa357508373ffffffffffffffffffffffffffffffffffffffff16611f8b84610a05565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fcc826113ee565b73ffffffffffffffffffffffffffffffffffffffff1614612022576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201990613895565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612092576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612089906138f5565b60405180910390fd5b61209d838383612998565b6120a8600082611e15565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f89190613cdb565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214f9190613bfa565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461220e8383836129f0565b505050565b61221b6113d8565b61225a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225190613835565b60405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61229d611e0d565b6040516122aa9190613751565b60405180910390a1565b60006122bf826113ee565b90506122cd81600084612998565b6122d8600083611e15565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123289190613cdb565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123cd816000846129f0565b5050565b600081836123df9190613c81565b905092915050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6124258282604051806020016040528060008152506129f5565b5050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124f66113d8565b15612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d90613955565b60405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612579611e0d565b6040516125869190613751565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f690613915565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126f091906137b8565b60405180910390a3505050565b612708848484611fac565b61271484848484612a50565b612753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274a90613855565b60405180910390fd5b50505050565b6060600d805461276890613dc5565b80601f016020809104026020016040519081016040528092919081815260200182805461279490613dc5565b80156127e15780601f106127b6576101008083540402835291602001916127e1565b820191906000526020600020905b8154815290600101906020018083116127c457829003601f168201915b5050505050905090565b60606000821415612833576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612993565b600082905060005b6000821461286557808061284e90613e28565b915050600a8261285e9190613c50565b915061283b565b60008167ffffffffffffffff8111156128a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128d95781602001600182028036833780820191505090505b5090505b6000851461298c576001826128f29190613cdb565b9150600a856129019190613e71565b603061290d9190613bfa565b60f81b818381518110612949577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129859190613c50565b94506128dd565b8093505050505b919050565b6129a06113d8565b156129e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d790613955565b60405180910390fd5b6129eb838383612be7565b505050565b505050565b6129ff8383612bec565b612a0c6000848484612a50565b612a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4290613855565b60405180910390fd5b505050565b6000612a718473ffffffffffffffffffffffffffffffffffffffff16612dc6565b15612bda578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a9a611e0d565b8786866040518563ffffffff1660e01b8152600401612abc949392919061376c565b602060405180830381600087803b158015612ad657600080fd5b505af1925050508015612b0757506040513d601f19601f82011682018060405250810190612b0491906131be565b60015b612b8a573d8060008114612b37576040519150601f19603f3d011682016040523d82523d6000602084013e612b3c565b606091505b50600081511415612b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7990613855565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612bdf565b600190505b949350505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c53906139f5565b60405180910390fd5b612c6581611da1565b15612ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9c906138b5565b60405180910390fd5b612cb160008383612998565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d019190613bfa565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612dc2600083836129f0565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612df590613dc5565b90600052602060002090601f016020900481019282612e175760008555612e5e565b82601f10612e3057805160ff1916838001178555612e5e565b82800160010185558215612e5e579182015b82811115612e5d578251825591602001919060010190612e42565b5b509050612e6b9190612e6f565b5090565b5b80821115612e88576000816000905550600101612e70565b5090565b6000612e9f612e9a84613b35565b613b10565b905082815260208101848484011115612eb757600080fd5b612ec2848285613d83565b509392505050565b6000612edd612ed884613b66565b613b10565b905082815260208101848484011115612ef557600080fd5b612f00848285613d83565b509392505050565b600081359050612f1781614584565b92915050565b600081359050612f2c8161459b565b92915050565b600081359050612f41816145b2565b92915050565b600081519050612f56816145b2565b92915050565b600082601f830112612f6d57600080fd5b8135612f7d848260208601612e8c565b91505092915050565b600082601f830112612f9757600080fd5b8135612fa7848260208601612eca565b91505092915050565b600081359050612fbf816145c9565b92915050565b600060208284031215612fd757600080fd5b6000612fe584828501612f08565b91505092915050565b6000806040838503121561300157600080fd5b600061300f85828601612f08565b925050602061302085828601612f08565b9150509250929050565b60008060006060848603121561303f57600080fd5b600061304d86828701612f08565b935050602061305e86828701612f08565b925050604061306f86828701612fb0565b9150509250925092565b6000806000806080858703121561308f57600080fd5b600061309d87828801612f08565b94505060206130ae87828801612f08565b93505060406130bf87828801612fb0565b925050606085013567ffffffffffffffff8111156130dc57600080fd5b6130e887828801612f5c565b91505092959194509250565b6000806040838503121561310757600080fd5b600061311585828601612f08565b925050602061312685828601612f1d565b9150509250929050565b6000806040838503121561314357600080fd5b600061315185828601612f08565b925050602061316285828601612fb0565b9150509250929050565b60006020828403121561317e57600080fd5b600061318c84828501612f1d565b91505092915050565b6000602082840312156131a757600080fd5b60006131b584828501612f32565b91505092915050565b6000602082840312156131d057600080fd5b60006131de84828501612f47565b91505092915050565b6000602082840312156131f957600080fd5b600082013567ffffffffffffffff81111561321357600080fd5b61321f84828501612f86565b91505092915050565b60006020828403121561323a57600080fd5b600061324884828501612fb0565b91505092915050565b61325a81613d0f565b82525050565b61326981613d21565b82525050565b600061327a82613bac565b6132848185613bc2565b9350613294818560208601613d92565b61329d81613f5e565b840191505092915050565b60006132b382613bb7565b6132bd8185613bde565b93506132cd818560208601613d92565b6132d681613f5e565b840191505092915050565b60006132ec82613bb7565b6132f68185613bef565b9350613306818560208601613d92565b80840191505092915050565b6000815461331f81613dc5565b6133298186613bef565b94506001821660008114613344576001811461335557613388565b60ff19831686528186019350613388565b61335e85613b97565b60005b8381101561338057815481890152600182019150602081019050613361565b838801955050505b50505092915050565b600061339e601983613bde565b91506133a982613f6f565b602082019050919050565b60006133c1601383613bde565b91506133cc82613f98565b602082019050919050565b60006133e4601483613bde565b91506133ef82613fc1565b602082019050919050565b6000613407603283613bde565b915061341282613fea565b604082019050919050565b600061342a602683613bde565b915061343582614039565b604082019050919050565b600061344d602583613bde565b915061345882614088565b604082019050919050565b6000613470601c83613bde565b915061347b826140d7565b602082019050919050565b6000613493603e83613bde565b915061349e82614100565b604082019050919050565b60006134b6602483613bde565b91506134c18261414f565b604082019050919050565b60006134d9601983613bde565b91506134e48261419e565b602082019050919050565b60006134fc602c83613bde565b9150613507826141c7565b604082019050919050565b600061351f601083613bde565b915061352a82614216565b602082019050919050565b6000613542603883613bde565b915061354d8261423f565b604082019050919050565b6000613565602a83613bde565b91506135708261428e565b604082019050919050565b6000613588602983613bde565b9150613593826142dd565b604082019050919050565b60006135ab602083613bde565b91506135b68261432c565b602082019050919050565b60006135ce602083613bde565b91506135d982614355565b602082019050919050565b60006135f1602c83613bde565b91506135fc8261437e565b604082019050919050565b6000613614602083613bde565b915061361f826143cd565b602082019050919050565b6000613637602183613bde565b9150613642826143f6565b604082019050919050565b600061365a600083613bd3565b915061366582614445565b600082019050919050565b600061367d603183613bde565b915061368882614448565b604082019050919050565b60006136a0603483613bde565b91506136ab82614497565b604082019050919050565b60006136c3602383613bde565b91506136ce826144e6565b604082019050919050565b60006136e6603083613bde565b91506136f182614535565b604082019050919050565b61370581613d79565b82525050565b600061371782866132e1565b915061372382856132e1565b915061372f8284613312565b9150819050949350505050565b60006137478261364d565b9150819050919050565b60006020820190506137666000830184613251565b92915050565b60006080820190506137816000830187613251565b61378e6020830186613251565b61379b60408301856136fc565b81810360608301526137ad818461326f565b905095945050505050565b60006020820190506137cd6000830184613260565b92915050565b600060208201905081810360008301526137ed81846132a8565b905092915050565b6000602082019050818103600083015261380e81613391565b9050919050565b6000602082019050818103600083015261382e816133b4565b9050919050565b6000602082019050818103600083015261384e816133d7565b9050919050565b6000602082019050818103600083015261386e816133fa565b9050919050565b6000602082019050818103600083015261388e8161341d565b9050919050565b600060208201905081810360008301526138ae81613440565b9050919050565b600060208201905081810360008301526138ce81613463565b9050919050565b600060208201905081810360008301526138ee81613486565b9050919050565b6000602082019050818103600083015261390e816134a9565b9050919050565b6000602082019050818103600083015261392e816134cc565b9050919050565b6000602082019050818103600083015261394e816134ef565b9050919050565b6000602082019050818103600083015261396e81613512565b9050919050565b6000602082019050818103600083015261398e81613535565b9050919050565b600060208201905081810360008301526139ae81613558565b9050919050565b600060208201905081810360008301526139ce8161357b565b9050919050565b600060208201905081810360008301526139ee8161359e565b9050919050565b60006020820190508181036000830152613a0e816135c1565b9050919050565b60006020820190508181036000830152613a2e816135e4565b9050919050565b60006020820190508181036000830152613a4e81613607565b9050919050565b60006020820190508181036000830152613a6e8161362a565b9050919050565b60006020820190508181036000830152613a8e81613670565b9050919050565b60006020820190508181036000830152613aae81613693565b9050919050565b60006020820190508181036000830152613ace816136b6565b9050919050565b60006020820190508181036000830152613aee816136d9565b9050919050565b6000602082019050613b0a60008301846136fc565b92915050565b6000613b1a613b2b565b9050613b268282613df7565b919050565b6000604051905090565b600067ffffffffffffffff821115613b5057613b4f613f2f565b5b613b5982613f5e565b9050602081019050919050565b600067ffffffffffffffff821115613b8157613b80613f2f565b5b613b8a82613f5e565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c0582613d79565b9150613c1083613d79565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c4557613c44613ea2565b5b828201905092915050565b6000613c5b82613d79565b9150613c6683613d79565b925082613c7657613c75613ed1565b5b828204905092915050565b6000613c8c82613d79565b9150613c9783613d79565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cd057613ccf613ea2565b5b828202905092915050565b6000613ce682613d79565b9150613cf183613d79565b925082821015613d0457613d03613ea2565b5b828203905092915050565b6000613d1a82613d59565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613db0578082015181840152602081019050613d95565b83811115613dbf576000848401525b50505050565b60006002820490506001821680613ddd57607f821691505b60208210811415613df157613df0613f00565b5b50919050565b613e0082613f5e565b810181811067ffffffffffffffff82111715613e1f57613e1e613f2f565b5b80604052505050565b6000613e3382613d79565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e6657613e65613ea2565b5b600182019050919050565b6000613e7c82613d79565b9150613e8783613d79565b925082613e9757613e96613ed1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f446f7365206861736e2774206b69636b656420696e2079657400000000000000600082015250565b7f43616e206e6f742067657420616e796d6f726500000000000000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f536f7272792070616c2073686f7020697320636c6f7365642c20776f6f6b732060008201527f6f75742066726f6e742073686f756c64206f6620746f6c6420796120736f0000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53686974204920616d20676f696e6720746f206e65656420626f757420333530600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20646f736520796f752063616e2074616b60008201527f65206174206f6e63652c20736c6f7720646f776e000000000000000000000000602082015250565b7f53686f7720686173206e6f74207374617274656420796f75206c6f74206c697a60008201527f6172640000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b61458d81613d0f565b811461459857600080fd5b50565b6145a481613d21565b81146145af57600080fd5b50565b6145bb81613d2d565b81146145c657600080fd5b50565b6145d281613d79565b81146145dd57600080fd5b5056fea2646970667358221220013ddf0b05f42bcc0e746a46b3019b5100771fcb8699131d4a29fe84679c666f64736f6c63430008040033

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  ]

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.