Address Contract Partially Verified
Address
0xB61F06Bd84b81f7619e5cBcabc0DCe53199EB7A2
Balance
0 ETH
Nonce
1
Code Size
23934 bytes
Creator
0xA1736474...8797 at tx 0x5e08ae29...f2795d
Indexed Transactions
0
Contract Bytecode
23934 bytes
0x6080604052600436106102b25760003560e01c80636352211e11610175578063a22cb465116100dc578063d5abeb0111610095578063eb24830d1161006f578063eb24830d14610a72578063ee64aefb14610a89578063efd0cbf914610ab4578063f2fde38b14610ad0576102b9565b8063d5abeb01146109df578063d7224ba014610a0a578063e985e9c514610a35576102b9565b8063a22cb465146108e2578063b88d4fde1461090b578063c3bb0cc214610934578063c6f6f2161461095d578063c87b56dd14610986578063d0bfb810146109c3576102b9565b806381d8488f1161012e57806381d8488f146107e45780638462151c1461080d57806387491c601461084a5780638da5cb5b1461086157806395d89b411461088c5780639943770d146108b7576102b9565b80636352211e146106d657806370a0823114610713578063715018a6146107505780637b7a7ca7146107675780637cb64759146107925780637f8448a9146107bb576102b9565b8063333171bb1161021957806354214f69116101d257806354214f69146105d657806354ea65851461060157806355234ec01461062c57806355f804b3146106575780635c975abb146106805780635daaf45d146106ab576102b9565b8063333171bb146104f05780633ccfd60b146105075780633fab10061461051e57806342842e0e146105475780634530a832146105705780634f6ccce714610599576102b9565b8063162d22611161026b578063162d2261146103e057806318160ddd1461040b5780631b60efb01461043657806323b872dd1461045f5780632eb4a7ab146104885780632f745c59146104b3576102b9565b806301ffc9a7146102be57806306fdde03146102fb578063081812fc14610326578063095ea7b3146103635780630f7309e81461038c57806310969523146103b7576102b9565b366102b957005b600080fd5b3480156102ca57600080fd5b506102e560048036038101906102e09190614027565b610af9565b6040516102f2919061406f565b60405180910390f35b34801561030757600080fd5b50610310610c43565b60405161031d9190614123565b60405180910390f35b34801561033257600080fd5b5061034d6004803603810190610348919061417b565b610cd5565b60405161035a91906141e9565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190614230565b610d5a565b005b34801561039857600080fd5b506103a1610e73565b6040516103ae9190614123565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d991906143a5565b610f01565b005b3480156103ec57600080fd5b506103f5610f97565b6040516104029190614123565b60405180910390f35b34801561041757600080fd5b50610420611025565b60405161042d91906143fd565b60405180910390f35b34801561044257600080fd5b5061045d60048036038101906104589190614230565b61102e565b005b34801561046b57600080fd5b5061048660048036038101906104819190614418565b611115565b005b34801561049457600080fd5b5061049d611125565b6040516104aa9190614484565b60405180910390f35b3480156104bf57600080fd5b506104da60048036038101906104d59190614230565b61112b565b6040516104e791906143fd565b60405180910390f35b3480156104fc57600080fd5b50610505611329565b005b34801561051357600080fd5b5061051c6113d1565b005b34801561052a57600080fd5b50610545600480360381019061054091906143a5565b61181f565b005b34801561055357600080fd5b5061056e60048036038101906105699190614418565b6118df565b005b34801561057c57600080fd5b506105976004803603810190610592919061417b565b6118ff565b005b3480156105a557600080fd5b506105c060048036038101906105bb919061417b565b611985565b6040516105cd91906143fd565b60405180910390f35b3480156105e257600080fd5b506105eb6119d8565b6040516105f8919061406f565b60405180910390f35b34801561060d57600080fd5b506106166119eb565b60405161062391906143fd565b60405180910390f35b34801561063857600080fd5b506106416119f5565b60405161064e91906143fd565b60405180910390f35b34801561066357600080fd5b5061067e600480360381019061067991906143a5565b611a16565b005b34801561068c57600080fd5b50610695611aac565b6040516106a2919061406f565b60405180910390f35b3480156106b757600080fd5b506106c0611abf565b6040516106cd91906143fd565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f8919061417b565b611ac9565b60405161070a91906141e9565b60405180910390f35b34801561071f57600080fd5b5061073a6004803603810190610735919061449f565b611adf565b60405161074791906143fd565b60405180910390f35b34801561075c57600080fd5b50610765611bc8565b005b34801561077357600080fd5b5061077c611c50565b604051610789919061406f565b60405180910390f35b34801561079e57600080fd5b506107b960048036038101906107b491906144f8565b611c67565b005b3480156107c757600080fd5b506107e260048036038101906107dd919061417b565b611ced565b005b3480156107f057600080fd5b5061080b6004803603810190610806919061417b565b611d73565b005b34801561081957600080fd5b50610834600480360381019061082f919061449f565b611df9565b60405161084191906145e3565b60405180910390f35b34801561085657600080fd5b5061085f611f03565b005b34801561086d57600080fd5b50610876611f95565b60405161088391906141e9565b60405180910390f35b34801561089857600080fd5b506108a1611fbf565b6040516108ae9190614123565b60405180910390f35b3480156108c357600080fd5b506108cc612051565b6040516108d991906143fd565b60405180910390f35b3480156108ee57600080fd5b5061090960048036038101906109049190614631565b612057565b005b34801561091757600080fd5b50610932600480360381019061092d9190614712565b6121d8565b005b34801561094057600080fd5b5061095b600480360381019061095691906143a5565b612234565b005b34801561096957600080fd5b50610984600480360381019061097f919061417b565b6122ca565b005b34801561099257600080fd5b506109ad60048036038101906109a8919061417b565b612350565b6040516109ba9190614123565b60405180910390f35b6109dd60048036038101906109d8919061485d565b612529565b005b3480156109eb57600080fd5b506109f4612814565b604051610a0191906143fd565b60405180910390f35b348015610a1657600080fd5b50610a1f61281a565b604051610a2c91906143fd565b60405180910390f35b348015610a4157600080fd5b50610a5c6004803603810190610a5791906148b9565b612820565b604051610a69919061406f565b60405180910390f35b348015610a7e57600080fd5b50610a876128b4565b005b348015610a9557600080fd5b50610a9e61295c565b604051610aab91906143fd565b60405180910390f35b610ace6004803603810190610ac9919061417b565b612962565b005b348015610adc57600080fd5b50610af76004803603810190610af2919061449f565b612b3e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bc457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c2c57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c3c5750610c3b82612c36565b5b9050919050565b606060018054610c5290614928565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7e90614928565b8015610ccb5780601f10610ca057610100808354040283529160200191610ccb565b820191906000526020600020905b815481529060010190602001808311610cae57829003601f168201915b5050505050905090565b6000610ce082612ca0565b610d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d16906149cc565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d6582611ac9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd90614a5e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610df5612cad565b73ffffffffffffffffffffffffffffffffffffffff161480610e245750610e2381610e1e612cad565b612820565b5b610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a90614af0565b60405180910390fd5b610e6e838383612cb5565b505050565b60118054610e8090614928565b80601f0160208091040260200160405190810160405280929190818152602001828054610eac90614928565b8015610ef95780601f10610ece57610100808354040283529160200191610ef9565b820191906000526020600020905b815481529060010190602001808311610edc57829003601f168201915b505050505081565b610f09612cad565b73ffffffffffffffffffffffffffffffffffffffff16610f27611f95565b73ffffffffffffffffffffffffffffffffffffffff1614610f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7490614b5c565b60405180910390fd5b8060119080519060200190610f93929190613ede565b5050565b60128054610fa490614928565b80601f0160208091040260200160405190810160405280929190818152602001828054610fd090614928565b801561101d5780601f10610ff25761010080835404028352916020019161101d565b820191906000526020600020905b81548152906001019060200180831161100057829003601f168201915b505050505081565b60008054905090565b611036612cad565b73ffffffffffffffffffffffffffffffffffffffff16611054611f95565b73ffffffffffffffffffffffffffffffffffffffff16146110aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a190614b5c565b60405180910390fd5b60006110b4611025565b9050600a5482826110c59190614bab565b1115611106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fd90614c4d565b60405180910390fd5b6111108383612d67565b505050565b611120838383612d85565b505050565b600f5481565b600061113683611adf565b8210611177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116e90614cdf565b60405180910390fd5b6000611181611025565b905060008060005b838110156112e7576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461127b57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156112d357868414156112c4578195505050505050611323565b83806112cf90614cff565b9450505b5080806112df90614cff565b915050611189565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a90614dba565b60405180910390fd5b92915050565b611331612cad565b73ffffffffffffffffffffffffffffffffffffffff1661134f611f95565b73ffffffffffffffffffffffffffffffffffffffff16146113a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139c90614b5c565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b6113d9612cad565b73ffffffffffffffffffffffffffffffffffffffff166113f7611f95565b73ffffffffffffffffffffffffffffffffffffffff161461144d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144490614b5c565b60405180910390fd5b60004790507314eb25f15d71ecf2a0c4cf2670176d89eb83c90573ffffffffffffffffffffffffffffffffffffffff166108fc6127106103e8846114919190614dda565b61149b9190614e63565b9081150290604051600060405180830381858888f193505050506114be57600080fd5b736a642e5d347d1f6bdbd5ce7c7004d21d0e97921d73ffffffffffffffffffffffffffffffffffffffff166108fc61271061014e846114fd9190614dda565b6115079190614e63565b9081150290604051600060405180830381858888f1935050505061152a57600080fd5b733f88b98e1697b012a111a4d7783edbf02ca8f23873ffffffffffffffffffffffffffffffffffffffff166108fc61271061014d846115699190614dda565b6115739190614e63565b9081150290604051600060405180830381858888f1935050505061159657600080fd5b736308b9b2ac9827f57be07b2bc8e1e32a9437dc4573ffffffffffffffffffffffffffffffffffffffff166108fc61271061014d846115d59190614dda565b6115df9190614e63565b9081150290604051600060405180830381858888f1935050505061160257600080fd5b73d79522ea71e89bb88be0c3d5bf7daf18ed76fb5873ffffffffffffffffffffffffffffffffffffffff166108fc6127106101f4846116419190614dda565b61164b9190614e63565b9081150290604051600060405180830381858888f1935050505061166e57600080fd5b73a09b9f27de93e35952702edd8524617d9b46706173ffffffffffffffffffffffffffffffffffffffff166108fc6127106101f4846116ad9190614dda565b6116b79190614e63565b9081150290604051600060405180830381858888f193505050506116da57600080fd5b73558adfba73b26a235ff3cc0a906c9e88e9cd75ee73ffffffffffffffffffffffffffffffffffffffff166108fc6127106064846117189190614dda565b6117229190614e63565b9081150290604051600060405180830381858888f1935050505061174557600080fd5b73c3b615216362aa20384d74b0deb082c9a6f1ec2073ffffffffffffffffffffffffffffffffffffffff166108fc61271060c8846117839190614dda565b61178d9190614e63565b9081150290604051600060405180830381858888f193505050506117b057600080fd5b73e6fec433618adfc516a1270f994b09276ac1380e73ffffffffffffffffffffffffffffffffffffffff166108fc612710611a2c846117ef9190614dda565b6117f99190614e63565b9081150290604051600060405180830381858888f1935050505061181c57600080fd5b50565b611827612cad565b73ffffffffffffffffffffffffffffffffffffffff16611845611f95565b73ffffffffffffffffffffffffffffffffffffffff161461189b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189290614b5c565b60405180910390fd5b80601090805190602001906118b1929190613ede565b50601360019054906101000a900460ff1615601360016101000a81548160ff02191690831515021790555050565b6118fa838383604051806020016040528060008152506121d8565b505050565b611907612cad565b73ffffffffffffffffffffffffffffffffffffffff16611925611f95565b73ffffffffffffffffffffffffffffffffffffffff161461197b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197290614b5c565b60405180910390fd5b80600b8190555050565b600061198f611025565b82106119d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c790614f06565b60405180910390fd5b819050919050565b601360019054906101000a900460ff1681565b6000600b54905090565b600080611a00611025565b600a54611a0d9190614f26565b90508091505090565b611a1e612cad565b73ffffffffffffffffffffffffffffffffffffffff16611a3c611f95565b73ffffffffffffffffffffffffffffffffffffffff1614611a92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8990614b5c565b60405180910390fd5b8060109080519060200190611aa8929190613ede565b5050565b601360009054906101000a900460ff1681565b6000600c54905090565b6000611ad48261333e565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4790614fcc565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611bd0612cad565b73ffffffffffffffffffffffffffffffffffffffff16611bee611f95565b73ffffffffffffffffffffffffffffffffffffffff1614611c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3b90614b5c565b60405180910390fd5b611c4e6000613541565b565b6000601360029054906101000a900460ff16905090565b611c6f612cad565b73ffffffffffffffffffffffffffffffffffffffff16611c8d611f95565b73ffffffffffffffffffffffffffffffffffffffff1614611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90614b5c565b60405180910390fd5b80600f8190555050565b611cf5612cad565b73ffffffffffffffffffffffffffffffffffffffff16611d13611f95565b73ffffffffffffffffffffffffffffffffffffffff1614611d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6090614b5c565b60405180910390fd5b80600e8190555050565b611d7b612cad565b73ffffffffffffffffffffffffffffffffffffffff16611d99611f95565b73ffffffffffffffffffffffffffffffffffffffff1614611def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de690614b5c565b60405180910390fd5b80600c8190555050565b60606000611e0683611adf565b90506000811415611e6357600067ffffffffffffffff811115611e2c57611e2b61427a565b5b604051908082528060200260200182016040528015611e5a5781602001602082028036833780820191505090505b50915050611efe565b60008167ffffffffffffffff811115611e7f57611e7e61427a565b5b604051908082528060200260200182016040528015611ead5781602001602082028036833780820191505090505b50905060005b82811015611ef757611ec5858261112b565b828281518110611ed857611ed7614fec565b5b6020026020010181815250508080611eef90614cff565b915050611eb3565b8193505050505b919050565b611f0b612cad565b73ffffffffffffffffffffffffffffffffffffffff16611f29611f95565b73ffffffffffffffffffffffffffffffffffffffff1614611f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7690614b5c565b60405180910390fd5b6000611f89611025565b905080600a8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611fce90614928565b80601f0160208091040260200160405190810160405280929190818152602001828054611ffa90614928565b80156120475780601f1061201c57610100808354040283529160200191612047565b820191906000526020600020905b81548152906001019060200180831161202a57829003601f168201915b5050505050905090565b600d5481565b61205f612cad565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c490615067565b60405180910390fd5b80600660006120da612cad565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612187612cad565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121cc919061406f565b60405180910390a35050565b6121e3848484612d85565b6121ef84848484613607565b61222e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612225906150f9565b60405180910390fd5b50505050565b61223c612cad565b73ffffffffffffffffffffffffffffffffffffffff1661225a611f95565b73ffffffffffffffffffffffffffffffffffffffff16146122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a790614b5c565b60405180910390fd5b80601290805190602001906122c6929190613ede565b5050565b6122d2612cad565b73ffffffffffffffffffffffffffffffffffffffff166122f0611f95565b73ffffffffffffffffffffffffffffffffffffffff1614612346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233d90614b5c565b60405180910390fd5b80600d8190555050565b606061235b82612ca0565b61239a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123919061518b565b60405180910390fd5b60001515601360019054906101000a900460ff161515141561244857601280546123c390614928565b80601f01602080910402602001604051908101604052809291908181526020018280546123ef90614928565b801561243c5780601f106124115761010080835404028352916020019161243c565b820191906000526020600020905b81548152906001019060200180831161241f57829003601f168201915b50505050509050612524565b60006010805461245790614928565b80601f016020809104026020016040519081016040528092919081815260200182805461248390614928565b80156124d05780601f106124a5576101008083540402835291602001916124d0565b820191906000526020600020905b8154815290600101906020018083116124b357829003601f168201915b5050505050905060008151116124f55760405180602001604052806000815250612520565b806124ff8461379e565b604051602001612510929190615233565b6040516020818303038152906040525b9150505b919050565b601360009054906101000a900460ff1615612579576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612570906152ae565b60405180910390fd5b601360029054906101000a900460ff166125c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bf90615340565b60405180910390fd5b60006125d2611025565b90506000336040516020016125e791906153a8565b60405160208183030381529060405280519060200120905061260981846138ff565b612648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263f9061540f565b60405180910390fd5b83600c546126569190614dda565b341015612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f9061547b565b60405180910390fd5b600e5484600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126e69190614bab565b1115612727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e9061550d565b60405180910390fd5b600a5484836127369190614bab565b1115612777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276e90614c4d565b60405180910390fd5b83600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127c69190614bab565b925050819055506127d73385612d67565b7f90ddedd5a25821bba11fbb98de02ec1f75c1be90ae147d6450ce873e7b78b5d83360405161280691906141e9565b60405180910390a150505050565b600a5481565b60075481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128bc612cad565b73ffffffffffffffffffffffffffffffffffffffff166128da611f95565b73ffffffffffffffffffffffffffffffffffffffff1614612930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292790614b5c565b60405180910390fd5b601360029054906101000a900460ff1615601360026101000a81548160ff021916908315150217905550565b600e5481565b601360009054906101000a900460ff16156129b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a9906152ae565b60405180910390fd5b60001515601360029054906101000a900460ff16151514612a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ff9061559f565b60405180910390fd5b6000612a12611025565b9050600a548282612a239190614bab565b1115612a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5b90614c4d565b60405180910390fd5b600d54821115612aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa09061560b565b60405180910390fd5b81600b54612ab79190614dda565b341015612af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af09061547b565b60405180910390fd5b612b033383612d67565b7f90ddedd5a25821bba11fbb98de02ec1f75c1be90ae147d6450ce873e7b78b5d833604051612b3291906141e9565b60405180910390a15050565b612b46612cad565b73ffffffffffffffffffffffffffffffffffffffff16612b64611f95565b73ffffffffffffffffffffffffffffffffffffffff1614612bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb190614b5c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c219061569d565b60405180910390fd5b612c3381613541565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612d81828260405180602001604052806000815250613916565b5050565b6000612d908261333e565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612db7612cad565b73ffffffffffffffffffffffffffffffffffffffff161480612e135750612ddc612cad565b73ffffffffffffffffffffffffffffffffffffffff16612dfb84610cd5565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e2f5750612e2e8260000151612e29612cad565b612820565b5b905080612e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e689061572f565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eda906157c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4a90615853565b60405180910390fd5b612f608585856001613df5565b612f706000848460000151612cb5565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612fde919061588f565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661308291906158c3565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846131889190614bab565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156132ce576131fe81612ca0565b156132cd576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133368686866001613dfb565b505050505050565b613346613f64565b61334f82612ca0565b61338e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133859061597b565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000a83106133f25760017f000000000000000000000000000000000000000000000000000000000000000a846133e59190614f26565b6133ef9190614bab565b90505b60008390505b818110613500576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134ec5780935050505061353c565b5080806134f89061599b565b9150506133f8565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161353390615a37565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006136288473ffffffffffffffffffffffffffffffffffffffff16613e01565b15613791578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613651612cad565b8786866040518563ffffffff1660e01b81526004016136739493929190615aac565b602060405180830381600087803b15801561368d57600080fd5b505af19250505080156136be57506040513d601f19601f820116820180604052508101906136bb9190615b0d565b60015b613741573d80600081146136ee576040519150601f19603f3d011682016040523d82523d6000602084013e6136f3565b606091505b50600081511415613739576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613730906150f9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613796565b600190505b949350505050565b606060008214156137e6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506138fa565b600082905060005b6000821461381857808061380190614cff565b915050600a826138119190614e63565b91506137ee565b60008167ffffffffffffffff8111156138345761383361427a565b5b6040519080825280601f01601f1916602001820160405280156138665781602001600182028036833780820191505090505b5090505b600085146138f35760018261387f9190614f26565b9150600a8561388e9190615b3a565b603061389a9190614bab565b60f81b8183815181106138b0576138af614fec565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856138ec9190614e63565b945061386a565b8093505050505b919050565b600061390e82600f5485613e14565b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561398c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161398390615bdd565b60405180910390fd5b61399581612ca0565b156139d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139cc90615c49565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000a831115613a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2f90615cdb565b60405180910390fd5b613a456000858386613df5565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280858360000151613b4291906158c3565b6fffffffffffffffffffffffffffffffff168152602001858360200151613b6991906158c3565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b85811015613dd857818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d786000888488613607565b613db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dae906150f9565b60405180910390fd5b8180613dc290614cff565b9250508080613dd090614cff565b915050613d07565b5080600081905550613ded6000878588613dfb565b505050505050565b50505050565b50505050565b600080823b905060008111915050919050565b600082613e218584613e2b565b1490509392505050565b60008082905060005b8451811015613ed3576000858281518110613e5257613e51614fec565b5b60200260200101519050808311613e93578281604051602001613e76929190615d1c565b604051602081830303815290604052805190602001209250613ebf565b8083604051602001613ea6929190615d1c565b6040516020818303038152906040528051906020012092505b508080613ecb90614cff565b915050613e34565b508091505092915050565b828054613eea90614928565b90600052602060002090601f016020900481019282613f0c5760008555613f53565b82601f10613f2557805160ff1916838001178555613f53565b82800160010185558215613f53579182015b82811115613f52578251825591602001919060010190613f37565b5b509050613f609190613f9e565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613fb7576000816000905550600101613f9f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61400481613fcf565b811461400f57600080fd5b50565b60008135905061402181613ffb565b92915050565b60006020828403121561403d5761403c613fc5565b5b600061404b84828501614012565b91505092915050565b60008115159050919050565b61406981614054565b82525050565b60006020820190506140846000830184614060565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140c45780820151818401526020810190506140a9565b838111156140d3576000848401525b50505050565b6000601f19601f8301169050919050565b60006140f58261408a565b6140ff8185614095565b935061410f8185602086016140a6565b614118816140d9565b840191505092915050565b6000602082019050818103600083015261413d81846140ea565b905092915050565b6000819050919050565b61415881614145565b811461416357600080fd5b50565b6000813590506141758161414f565b92915050565b60006020828403121561419157614190613fc5565b5b600061419f84828501614166565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141d3826141a8565b9050919050565b6141e3816141c8565b82525050565b60006020820190506141fe60008301846141da565b92915050565b61420d816141c8565b811461421857600080fd5b50565b60008135905061422a81614204565b92915050565b6000806040838503121561424757614246613fc5565b5b60006142558582860161421b565b925050602061426685828601614166565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142b2826140d9565b810181811067ffffffffffffffff821117156142d1576142d061427a565b5b80604052505050565b60006142e4613fbb565b90506142f082826142a9565b919050565b600067ffffffffffffffff8211156143105761430f61427a565b5b614319826140d9565b9050602081019050919050565b82818337600083830152505050565b6000614348614343846142f5565b6142da565b90508281526020810184848401111561436457614363614275565b5b61436f848285614326565b509392505050565b600082601f83011261438c5761438b614270565b5b813561439c848260208601614335565b91505092915050565b6000602082840312156143bb576143ba613fc5565b5b600082013567ffffffffffffffff8111156143d9576143d8613fca565b5b6143e584828501614377565b91505092915050565b6143f781614145565b82525050565b600060208201905061441260008301846143ee565b92915050565b60008060006060848603121561443157614430613fc5565b5b600061443f8682870161421b565b93505060206144508682870161421b565b925050604061446186828701614166565b9150509250925092565b6000819050919050565b61447e8161446b565b82525050565b60006020820190506144996000830184614475565b92915050565b6000602082840312156144b5576144b4613fc5565b5b60006144c38482850161421b565b91505092915050565b6144d58161446b565b81146144e057600080fd5b50565b6000813590506144f2816144cc565b92915050565b60006020828403121561450e5761450d613fc5565b5b600061451c848285016144e3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61455a81614145565b82525050565b600061456c8383614551565b60208301905092915050565b6000602082019050919050565b600061459082614525565b61459a8185614530565b93506145a583614541565b8060005b838110156145d65781516145bd8882614560565b97506145c883614578565b9250506001810190506145a9565b5085935050505092915050565b600060208201905081810360008301526145fd8184614585565b905092915050565b61460e81614054565b811461461957600080fd5b50565b60008135905061462b81614605565b92915050565b6000806040838503121561464857614647613fc5565b5b60006146568582860161421b565b92505060206146678582860161461c565b9150509250929050565b600067ffffffffffffffff82111561468c5761468b61427a565b5b614695826140d9565b9050602081019050919050565b60006146b56146b084614671565b6142da565b9050828152602081018484840111156146d1576146d0614275565b5b6146dc848285614326565b509392505050565b600082601f8301126146f9576146f8614270565b5b81356147098482602086016146a2565b91505092915050565b6000806000806080858703121561472c5761472b613fc5565b5b600061473a8782880161421b565b945050602061474b8782880161421b565b935050604061475c87828801614166565b925050606085013567ffffffffffffffff81111561477d5761477c613fca565b5b614789878288016146e4565b91505092959194509250565b600067ffffffffffffffff8211156147b0576147af61427a565b5b602082029050602081019050919050565b600080fd5b60006147d96147d484614795565b6142da565b905080838252602082019050602084028301858111156147fc576147fb6147c1565b5b835b81811015614825578061481188826144e3565b8452602084019350506020810190506147fe565b5050509392505050565b600082601f83011261484457614843614270565b5b81356148548482602086016147c6565b91505092915050565b6000806040838503121561487457614873613fc5565b5b600061488285828601614166565b925050602083013567ffffffffffffffff8111156148a3576148a2613fca565b5b6148af8582860161482f565b9150509250929050565b600080604083850312156148d0576148cf613fc5565b5b60006148de8582860161421b565b92505060206148ef8582860161421b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061494057607f821691505b60208210811415614954576149536148f9565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60006149b6602d83614095565b91506149c18261495a565b604082019050919050565b600060208201905081810360008301526149e5816149a9565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a48602283614095565b9150614a53826149ec565b604082019050919050565b60006020820190508181036000830152614a7781614a3b565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000614ada603983614095565b9150614ae582614a7e565b604082019050919050565b60006020820190508181036000830152614b0981614acd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b46602083614095565b9150614b5182614b10565b602082019050919050565b60006020820190508181036000830152614b7581614b39565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614bb682614145565b9150614bc183614145565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bf657614bf5614b7c565b5b828201905092915050565b7f536f7272792c206e6f7420656e6f756768206c65667421000000000000000000600082015250565b6000614c37601783614095565b9150614c4282614c01565b602082019050919050565b60006020820190508181036000830152614c6681614c2a565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614cc9602283614095565b9150614cd482614c6d565b604082019050919050565b60006020820190508181036000830152614cf881614cbc565b9050919050565b6000614d0a82614145565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d3d57614d3c614b7c565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614da4602e83614095565b9150614daf82614d48565b604082019050919050565b60006020820190508181036000830152614dd381614d97565b9050919050565b6000614de582614145565b9150614df083614145565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e2957614e28614b7c565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e6e82614145565b9150614e7983614145565b925082614e8957614e88614e34565b5b828204905092915050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000614ef0602383614095565b9150614efb82614e94565b604082019050919050565b60006020820190508181036000830152614f1f81614ee3565b9050919050565b6000614f3182614145565b9150614f3c83614145565b925082821015614f4f57614f4e614b7c565b5b828203905092915050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614fb6602b83614095565b9150614fc182614f5a565b604082019050919050565b60006020820190508181036000830152614fe581614fa9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000615051601a83614095565b915061505c8261501b565b602082019050919050565b6000602082019050818103600083015261508081615044565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006150e3603383614095565b91506150ee82615087565b604082019050919050565b60006020820190508181036000830152615112816150d6565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615175602f83614095565b915061518082615119565b604082019050919050565b600060208201905081810360008301526151a481615168565b9050919050565b600081905092915050565b60006151c18261408a565b6151cb81856151ab565b93506151db8185602086016140a6565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061521d6005836151ab565b9150615228826151e7565b600582019050919050565b600061523f82856151b6565b915061524b82846151b6565b915061525682615210565b91508190509392505050565b7f4d696e74696e6720697320706175736564000000000000000000000000000000600082015250565b6000615298601183614095565b91506152a382615262565b602082019050919050565b600060208201905081810360008301526152c78161528b565b9050919050565b7f57686974656c6973742073616c65206d7573742062652061637469766520746f60008201527f206d696e742e0000000000000000000000000000000000000000000000000000602082015250565b600061532a602683614095565b9150615335826152ce565b604082019050919050565b600060208201905081810360008301526153598161531d565b9050919050565b60008160601b9050919050565b600061537882615360565b9050919050565b600061538a8261536d565b9050919050565b6153a261539d826141c8565b61537f565b82525050565b60006153b48284615391565b60148201915081905092915050565b7f596f7520617265206e6f742077686974656c69737465642e0000000000000000600082015250565b60006153f9601883614095565b9150615404826153c3565b602082019050919050565b60006020820190508181036000830152615428816153ec565b9050919050565b7f536f7272792c206e6f7420656e6f75676820616d6f756e742073656e74210000600082015250565b6000615465601e83614095565b91506154708261542f565b602082019050919050565b6000602082019050818103600083015261549481615458565b9050919050565b7f536f7272792c20796f75206861766520726561636865642074686520574c206c60008201527f696d69742e000000000000000000000000000000000000000000000000000000602082015250565b60006154f7602583614095565b91506155028261549b565b604082019050919050565b60006020820190508181036000830152615526816154ea565b9050919050565b7f536f7272792c20776520617265207374696c6c206f6e2077686974656c69737460008201527f206d6f6465210000000000000000000000000000000000000000000000000000602082015250565b6000615589602683614095565b91506155948261552d565b604082019050919050565b600060208201905081810360008301526155b88161557c565b9050919050565b7f536f7272792c20746f6f206d616e7920706572207472616e73616374696f6e00600082015250565b60006155f5601f83614095565b9150615600826155bf565b602082019050919050565b60006020820190508181036000830152615624816155e8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615687602683614095565b91506156928261562b565b604082019050919050565b600060208201905081810360008301526156b68161567a565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000615719603283614095565b9150615724826156bd565b604082019050919050565b600060208201905081810360008301526157488161570c565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b60006157ab602683614095565b91506157b68261574f565b604082019050919050565b600060208201905081810360008301526157da8161579e565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061583d602583614095565b9150615848826157e1565b604082019050919050565b6000602082019050818103600083015261586c81615830565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600061589a82615873565b91506158a583615873565b9250828210156158b8576158b7614b7c565b5b828203905092915050565b60006158ce82615873565b91506158d983615873565b9250826fffffffffffffffffffffffffffffffff038211156158fe576158fd614b7c565b5b828201905092915050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000615965602a83614095565b915061597082615909565b604082019050919050565b6000602082019050818103600083015261599481615958565b9050919050565b60006159a682614145565b915060008214156159ba576159b9614b7c565b5b600182039050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000615a21602f83614095565b9150615a2c826159c5565b604082019050919050565b60006020820190508181036000830152615a5081615a14565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615a7e82615a57565b615a888185615a62565b9350615a988185602086016140a6565b615aa1816140d9565b840191505092915050565b6000608082019050615ac160008301876141da565b615ace60208301866141da565b615adb60408301856143ee565b8181036060830152615aed8184615a73565b905095945050505050565b600081519050615b0781613ffb565b92915050565b600060208284031215615b2357615b22613fc5565b5b6000615b3184828501615af8565b91505092915050565b6000615b4582614145565b9150615b5083614145565b925082615b6057615b5f614e34565b5b828206905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615bc7602183614095565b9150615bd282615b6b565b604082019050919050565b60006020820190508181036000830152615bf681615bba565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b6000615c33601d83614095565b9150615c3e82615bfd565b602082019050919050565b60006020820190508181036000830152615c6281615c26565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6000615cc5602283614095565b9150615cd082615c69565b604082019050919050565b60006020820190508181036000830152615cf481615cb8565b9050919050565b6000819050919050565b615d16615d118261446b565b615cfb565b82525050565b6000615d288285615d05565b602082019150615d388284615d05565b602082019150819050939250505056fea26469706673582212208bff7162a1dbcdbaa23e03ebe0dae8f7747f9c1de690cfe8f002824363ba592064736f6c63430008090033
Verified Source Code Partial Match
Compiler: v0.8.9+commit.e5eed63a
EVM: london
Optimization: No
ERC721A.sol 491 lines
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
*
* Does not support burning tokens to address(0).
*/
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
using Address for address;
using Strings for uint256;
struct TokenOwnership {
address addr;
uint64 startTimestamp;
}
struct AddressData {
uint128 balance;
uint128 numberMinted;
}
uint256 private currentIndex = 0;
uint256 internal immutable maxBatchSize;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
mapping(uint256 => TokenOwnership) private _ownerships;
// Mapping owner address to address data
mapping(address => AddressData) private _addressData;
// 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
* `maxBatchSize` refers to how much a minter can mint at a time.
*/
constructor(
string memory name_,
string memory symbol_,
uint256 maxBatchSize_
) {
require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
_name = name_;
_symbol = symbol_;
maxBatchSize = maxBatchSize_;
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view override returns (uint256) {
return currentIndex;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view override returns (uint256) {
require(index < totalSupply(), "ERC721A: global index out of bounds");
return index;
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
* This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
* It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
uint256 numMintedSoFar = totalSupply();
uint256 tokenIdsIdx = 0;
address currOwnershipAddr = address(0);
for (uint256 i = 0; i < numMintedSoFar; i++) {
TokenOwnership memory ownership = _ownerships[i];
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
if (tokenIdsIdx == index) {
return i;
}
tokenIdsIdx++;
}
}
revert("ERC721A: unable to get token of owner by index");
}
/**
* @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 ||
interfaceId == type(IERC721Enumerable).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
require(owner != address(0), "ERC721A: balance query for the zero address");
return uint256(_addressData[owner].balance);
}
function _numberMinted(address owner) internal view returns (uint256) {
require(owner != address(0), "ERC721A: number minted query for the zero address");
return uint256(_addressData[owner].numberMinted);
}
function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
require(_exists(tokenId), "ERC721A: owner query for nonexistent token");
uint256 lowestTokenToCheck;
if (tokenId >= maxBatchSize) {
lowestTokenToCheck = tokenId - maxBatchSize + 1;
}
for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
TokenOwnership memory ownership = _ownerships[curr];
if (ownership.addr != address(0)) {
return ownership;
}
}
revert("ERC721A: unable to determine the owner of token");
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return ownershipOf(tokenId).addr;
}
/**
* @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 overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public override {
address owner = ERC721A.ownerOf(tokenId);
require(to != owner, "ERC721A: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721A: approve caller is not owner nor approved for all"
);
_approve(to, tokenId, owner);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
require(_exists(tokenId), "ERC721A: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public override {
require(operator != _msgSender(), "ERC721A: approve to caller");
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_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 override {
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public override {
_transfer(from, to, tokenId);
require(
_checkOnERC721Received(from, to, tokenId, _data),
"ERC721A: 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`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return tokenId < currentIndex;
}
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, "");
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` cannot be larger than the max batch size.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
uint256 startTokenId = currentIndex;
require(to != address(0), "ERC721A: mint to the zero address");
// We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
require(!_exists(startTokenId), "ERC721A: token already minted");
require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
AddressData memory addressData = _addressData[to];
_addressData[to] = AddressData(
addressData.balance + uint128(quantity),
addressData.numberMinted + uint128(quantity)
);
_ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));
uint256 updatedIndex = startTokenId;
for (uint256 i = 0; i < quantity; i++) {
emit Transfer(address(0), to, updatedIndex);
require(
_checkOnERC721Received(address(0), to, updatedIndex, _data),
"ERC721A: transfer to non ERC721Receiver implementer"
);
updatedIndex++;
}
currentIndex = updatedIndex;
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* 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
) private {
TokenOwnership memory prevOwnership = ownershipOf(tokenId);
bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
getApproved(tokenId) == _msgSender() ||
isApprovedForAll(prevOwnership.addr, _msgSender()));
require(isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved");
require(prevOwnership.addr == from, "ERC721A: transfer from incorrect owner");
require(to != address(0), "ERC721A: transfer to the zero address");
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, prevOwnership.addr);
_addressData[from].balance -= 1;
_addressData[to].balance += 1;
_ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));
// If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
if (_ownerships[nextTokenId].addr == address(0)) {
if (_exists(nextTokenId)) {
_ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp);
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
address owner
) private {
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
uint256 public nextOwnerToExplicitlySet = 0;
/**
* @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
*/
function _setOwnersExplicit(uint256 quantity) internal {
uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
require(quantity > 0, "quantity must be nonzero");
uint256 endIndex = oldNextOwnerToSet + quantity - 1;
if (endIndex > currentIndex - 1) {
endIndex = currentIndex - 1;
}
// We know if the last one in the group exists, all in the group exist, due to serial ordering.
require(_exists(endIndex), "not enough minted yet for this cleanup");
for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
if (_ownerships[i].addr == address(0)) {
TokenOwnership memory ownership = ownershipOf(i);
_ownerships[i] = TokenOwnership(ownership.addr, ownership.startTimestamp);
}
}
nextOwnerToExplicitlySet = endIndex + 1;
}
/**
* @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(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721A: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* 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`.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
* minting.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}
vrfuture.sol 217 lines
//
// ___ ___ ________ ________ ___ ___ _________ ___ ___ ________ _______
// |\ \ / /|\ __ \|\ _____\\ \|\ \|\___ ___\\ \|\ \|\ __ \|\ ___ \
// \ \ \ / / | \ \|\ \ \ \__/\ \ \\\ \|___ \ \_\ \ \\\ \ \ \|\ \ \ __/|
// \ \ \/ / / \ \ _ _\ \ __\\ \ \\\ \ \ \ \ \ \ \\\ \ \ _ _\ \ \_|/__
// \ \ / / \ \ \\ \\ \ \_| \ \ \\\ \ \ \ \ \ \ \\\ \ \ \\ \\ \ \_|\ \
// \ \__/ / \ \__\\ _\\ \__\ \ \_______\ \ \__\ \ \_______\ \__\\ _\\ \_______\
// \|__|/ \|__|\|__|\|__| \|_______| \|__| \|_______|\|__|\|__|\|_______|
//
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";
contract VRFuture is ERC721A, Ownable {
using Strings for uint256;
mapping (address => uint256) private mintedWL;
uint256 public maxSupply = 7777;
uint256 private pricePublic = 0.07 ether;
uint256 private priceWL = 0.07 ether;
uint256 public maxPerTxPublic = 10;
uint256 public maxPerWL = 10;
bytes32 public merkleRoot = "";
string private baseURI = "";
string public provenance = "";
string public uriNotRevealed = "";
bool public paused = true;
bool public isRevealed;
bool private useWhitelist = true;
event Minted(address caller);
constructor() ERC721A("VRFuture", "VRF", maxPerTxPublic) {
}
function mintPublic(uint256 qty) external payable{
require(!paused, "Minting is paused");
require(useWhitelist == false, "Sorry, we are still on whitelist mode!");
uint256 supply = totalSupply();
require(supply + qty <= maxSupply, "Sorry, not enough left!");
require(qty <= maxPerTxPublic, "Sorry, too many per transaction");
require(msg.value >= pricePublic * qty, "Sorry, not enough amount sent!");
_safeMint(msg.sender, qty);
emit Minted(msg.sender);
}
function mintGiveaway(address _to, uint256 qty) external onlyOwner{
uint256 supply = totalSupply();
require(supply + qty <= maxSupply, "Sorry, not enough left!");
_safeMint(_to, qty);
}
function mintWL(uint256 qty, bytes32[] memory proof) external payable {
require(!paused, "Minting is paused");
require(useWhitelist, "Whitelist sale must be active to mint.");
uint256 supply = totalSupply();
// check if the user was whitelisted
bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
require(_verify(leaf, proof), "You are not whitelisted.");
require(msg.value >= priceWL * qty, "Sorry, not enough amount sent!");
require(mintedWL[msg.sender] + qty <= maxPerWL, "Sorry, you have reached the WL limit.");
require(supply + qty <= maxSupply, "Sorry, not enough left!");
mintedWL[msg.sender] += qty;
_safeMint(msg.sender, qty);
emit Minted(msg.sender);
}
function remaining() public view returns(uint256){
uint256 left = maxSupply - totalSupply();
return left;
}
function usingWhitelist() public view returns(bool) {
return useWhitelist;
}
function getPriceWL() public view returns (uint256){
return priceWL;
}
function getPricePublic() public view returns (uint256){
return pricePublic;
}
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
if (isRevealed == false) {
return uriNotRevealed;
}
string memory base = baseURI;
return bytes(base).length > 0 ? string(abi.encodePacked(base, tokenId.toString(), ".json")) : "";
}
// verify merkle tree leaf
function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool){
return MerkleProof.verify(proof, merkleRoot, leaf);
}
// ADMIN FUNCTIONS
function flipUseWhitelist() public onlyOwner {
useWhitelist = !useWhitelist;
}
function flipPaused() public onlyOwner {
paused = !paused;
}
// close minting forever!
function closeMinting() public onlyOwner {
uint256 supply = totalSupply();
maxSupply = supply;
}
function flipRevealed(string memory _URI) public onlyOwner {
baseURI = _URI;
isRevealed = !isRevealed;
}
function setMaxPerWL(uint256 _max) public onlyOwner {
maxPerWL = _max;
}
function setBaseURI(string memory _URI) public onlyOwner {
baseURI = _URI;
}
function setUriNotRevealed(string memory _URI) public onlyOwner {
uriNotRevealed = _URI;
}
function setPriceWL(uint256 _newPrice) public onlyOwner {
priceWL = _newPrice;
}
function setPricePublic(uint256 _newPrice) public onlyOwner {
pricePublic = _newPrice;
}
function setMaxPerTx(uint256 _newMax) public onlyOwner {
maxPerTxPublic = _newMax;
}
function setProvenanceHash(string memory _provenance) public onlyOwner {
provenance = _provenance;
}
// Set merkle tree root
function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
merkleRoot = _merkleRoot;
}
function withdraw() public onlyOwner {
uint256 balance = address(this).balance;
require(payable(0x14Eb25f15d71ECf2A0c4cf2670176D89EB83C905).send((balance * 1000) / 10000));
require(payable(0x6A642E5d347D1F6BDbd5ce7c7004D21D0e97921D).send((balance * 334) / 10000));
require(payable(0x3F88B98E1697B012a111A4d7783EdbF02ca8f238).send((balance * 333) / 10000));
require(payable(0x6308B9B2ac9827F57BE07B2bc8e1E32A9437dC45).send((balance * 333) / 10000));
require(payable(0xd79522Ea71e89BB88BE0c3D5bf7DAf18ED76FB58).send((balance * 500) / 10000));
require(payable(0xa09B9F27dE93e35952702edD8524617D9b467061).send((balance * 500) / 10000));
require(payable(0x558AdFbA73b26a235ff3cc0a906C9e88E9CD75eE).send((balance * 100) / 10000));
require(payable(0xC3b615216362aA20384D74B0dEB082c9a6f1ec20).send((balance * 200) / 10000));
require(payable(0xe6fEC433618adFc516A1270f994B09276ac1380E).send((balance * 6700) / 10000));
}
// helpers
// list all the tokens ids of a wallet
function tokensOfOwner(address _owner) external view returns(uint256[] memory ) {
uint256 tokenCount = balanceOf(_owner);
if (tokenCount == 0) {
// Return an empty array
return new uint256[](0);
} else {
uint256[] memory result = new uint256[](tokenCount);
uint256 index;
for (index = 0; index < tokenCount; index++) {
result[index] = tokenOfOwnerByIndex(_owner, index);
}
return result;
}
}
receive() external payable {}
}
Address.sol 217 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 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);
}
}
}
}
Context.sol 24 lines
// 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;
}
}
Strings.sol 67 lines
// 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);
}
}
Ownable.sol 76 lines
// 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);
}
}
IERC721.sol 143 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @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 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);
/**
* @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;
}
ERC165.sol 29 lines
// 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;
}
}
IERC165.sol 25 lines
// 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);
}
IERC721Receiver.sol 27 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
MerkleProof.sol 52 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
} else {
// Hash(current element of the proof + current computed hash)
computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
}
}
return computedHash;
}
}
IERC721Metadata.sol 27 lines
// 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);
}
IERC721Enumerable.sol 29 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}
Read Contract
balanceOf 0x70a08231 → uint256
getApproved 0x081812fc → address
getPricePublic 0x54ea6585 → uint256
getPriceWL 0x5daaf45d → uint256
isApprovedForAll 0xe985e9c5 → bool
isRevealed 0x54214f69 → bool
maxPerTxPublic 0x9943770d → uint256
maxPerWL 0xee64aefb → uint256
maxSupply 0xd5abeb01 → uint256
merkleRoot 0x2eb4a7ab → bytes32
name 0x06fdde03 → string
nextOwnerToExplicitlySet 0xd7224ba0 → uint256
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
paused 0x5c975abb → bool
provenance 0x0f7309e8 → string
remaining 0x55234ec0 → uint256
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
tokenByIndex 0x4f6ccce7 → uint256
tokenOfOwnerByIndex 0x2f745c59 → uint256
tokenURI 0xc87b56dd → string
tokensOfOwner 0x8462151c → uint256[]
totalSupply 0x18160ddd → uint256
uriNotRevealed 0x162d2261 → string
usingWhitelist 0x7b7a7ca7 → bool
Write Contract 23 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address to
uint256 tokenId
closeMinting 0x87491c60
No parameters
flipPaused 0x333171bb
No parameters
flipRevealed 0x3fab1006
string _URI
flipUseWhitelist 0xeb24830d
No parameters
mintGiveaway 0x1b60efb0
address _to
uint256 qty
mintPublic 0xefd0cbf9
uint256 qty
mintWL 0xd0bfb810
uint256 qty
bytes32[] proof
renounceOwnership 0x715018a6
No parameters
safeTransferFrom 0x42842e0e
address from
address to
uint256 tokenId
safeTransferFrom 0xb88d4fde
address from
address to
uint256 tokenId
bytes _data
setApprovalForAll 0xa22cb465
address operator
bool approved
setBaseURI 0x55f804b3
string _URI
setMaxPerTx 0xc6f6f216
uint256 _newMax
setMaxPerWL 0x7f8448a9
uint256 _max
setMerkleRoot 0x7cb64759
bytes32 _merkleRoot
setPricePublic 0x4530a832
uint256 _newPrice
setPriceWL 0x81d8488f
uint256 _newPrice
setProvenanceHash 0x10969523
string _provenance
setUriNotRevealed 0xc3bb0cc2
string _URI
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
withdraw 0x3ccfd60b
No parameters
Recent Transactions
No transactions found for this address