Source Code
Latest 25 from a total of 5,589 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Claim | 39015134 | 1080 days ago | IN | 0 POL | 0.03094533 | ||||
| Claim | 39015128 | 1080 days ago | IN | 0 POL | 0.03115173 | ||||
| Play | 39012854 | 1080 days ago | IN | 0 POL | 0.1187952 | ||||
| Play | 39012479 | 1080 days ago | IN | 0 POL | 0.1491095 | ||||
| Register | 38760457 | 1087 days ago | IN | 0.6 POL | 0.01187271 | ||||
| Play | 38759130 | 1087 days ago | IN | 0 POL | 0.00967596 | ||||
| Play | 38759130 | 1087 days ago | IN | 0 POL | 0.00967596 | ||||
| Register | 38758982 | 1087 days ago | IN | 0.6 POL | 0.02200464 | ||||
| Register | 38758977 | 1087 days ago | IN | 0.6 POL | 0.02231332 | ||||
| Register | 38758915 | 1087 days ago | IN | 0 POL | 0.00273299 | ||||
| Register | 38758910 | 1087 days ago | IN | 0 POL | 0.00260921 | ||||
| Register | 38758890 | 1087 days ago | IN | 0.6 POL | 0.02320682 | ||||
| Claim | 38758882 | 1087 days ago | IN | 0 POL | 0.01533316 | ||||
| Claim | 38758880 | 1087 days ago | IN | 0 POL | 0.01555192 | ||||
| Register | 38758829 | 1087 days ago | IN | 0.6 POL | 0.02013305 | ||||
| Register | 38758821 | 1087 days ago | IN | 0.6 POL | 0.03603318 | ||||
| Register | 38758811 | 1087 days ago | IN | 0.6 POL | 0.04351596 | ||||
| Register | 38758806 | 1087 days ago | IN | 0.6 POL | 0.04616376 | ||||
| Play | 38758705 | 1087 days ago | IN | 0 POL | 0.07438848 | ||||
| Play | 38758705 | 1087 days ago | IN | 0 POL | 0.07438848 | ||||
| Play | 38758564 | 1087 days ago | IN | 0 POL | 0.01223112 | ||||
| Play | 38758564 | 1087 days ago | IN | 0 POL | 0.01229387 | ||||
| Register | 38758476 | 1087 days ago | IN | 0.6 POL | 0.01037878 | ||||
| Register | 38758470 | 1087 days ago | IN | 0.6 POL | 0.01085617 | ||||
| Register | 38758441 | 1087 days ago | IN | 0.6 POL | 0.0325247 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 38760457 | 1087 days ago | 0.6 POL | ||||
| 38758982 | 1087 days ago | 0.6 POL | ||||
| 38758977 | 1087 days ago | 0.6 POL | ||||
| 38758890 | 1087 days ago | 0.6 POL | ||||
| 38758829 | 1087 days ago | 0.6 POL | ||||
| 38758821 | 1087 days ago | 0.6 POL | ||||
| 38758811 | 1087 days ago | 0.6 POL | ||||
| 38758806 | 1087 days ago | 0.6 POL | ||||
| 38758476 | 1087 days ago | 0.6 POL | ||||
| 38758470 | 1087 days ago | 0.6 POL | ||||
| 38758441 | 1087 days ago | 0.6 POL | ||||
| 38758416 | 1087 days ago | 0.6 POL | ||||
| 38758395 | 1087 days ago | 0.6 POL | ||||
| 38758353 | 1087 days ago | 0.6 POL | ||||
| 38758272 | 1087 days ago | 0.6 POL | ||||
| 38758272 | 1087 days ago | 0.6 POL | ||||
| 38757841 | 1087 days ago | 0.6 POL | ||||
| 38757818 | 1087 days ago | 0.6 POL | ||||
| 38757806 | 1087 days ago | 0.6 POL | ||||
| 38757750 | 1087 days ago | 0.6 POL | ||||
| 38757746 | 1087 days ago | 0.6 POL | ||||
| 38757742 | 1087 days ago | 0.6 POL | ||||
| 38757737 | 1087 days ago | 0.6 POL | ||||
| 38742944 | 1087 days ago | 0.6 POL | ||||
| 38741351 | 1087 days ago | 0.6 POL |
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x6fcB7f2C...9bd1AC602 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
PVP
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./4. Interfaces/ICollectionRiders.sol";
import "./4. Interfaces/IRadikalStore.sol";
import "./4. Interfaces/IPVPStorage.sol";
import "@chainlink/contracts/src/v0.8/interfaces/LinkTokenInterface.sol";
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./4. Interfaces/IPriceOracle.sol";
import "./3. Token/ERC20RDK.sol";
/// @title The PVP 1.0 game of Radikal Riders
/// @author Radikal Riders
/// @notice First version of PVP you can play with rider NFT
/// @dev This contract is part of a click to earn game. Users can register into races and dev team is in charge of starting the races.
contract PVP is VRFConsumerBaseV2, Ownable {
struct Race {
uint raceId;
uint[] riderId;
uint32[] ridersPoints;
bytes12 raceType;
uint32 startingShot;
uint16 buyinUsdt;
address[] userList;
uint rewardAmount;
uint buyinToken;
uint winnerRiderId;
uint jackpot;
bool claimed;
}
mapping(uint => uint) requestToRaceId;
mapping(uint => uint256[]) requestToRidersPoint;
mapping(address => uint) pveRegisterCounter;
address rewardPoolAddress;
address payable chainLinkRDKFeeAddress;
// ChainLink parameters for getting random number
VRFCoordinatorV2Interface COORDINATOR;
LinkTokenInterface LINKTOKEN;
// Your subscription ID.
uint64 s_subscriptionId;
// Matic LINK token contract
address link;
// The gas lane to use, which specifies the maximum gas price to bump to
bytes32 keyHash;
// fulfillRandomWords() function. Storing each word costs about 20,000 gas
uint32 callbackGasLimit;
// The default is 3, but you can set this higher.
uint16 requestConfirmations;
uint256 public s_requestId;
// Contract Instances
IRadikalStore radikalStoreInstance;
ICollectionRiders ridersInstance;
IPriceOracle priceOracleInstance;
IPVPStorage pvpStorageInstance;
ERC20RDK rdkToken;
// Events
event Created(uint indexed raceId, bytes12 indexed raceType, uint indexed buyinUsdt, uint startingShot, uint buyinToken);
event Claimed(address indexed winner, uint raceId, uint regularReward, uint jackpot);
event Registered(address indexed user, uint indexed raceId, uint indexed startingShot, uint buyin, uint riderId, uint[] registeredRiders, uint rewardAmount, uint jackpot);
event Played(address indexed winnerAddress, address[] userList, uint indexed raceId, bytes12 indexed raceType, uint winnerRiderId, uint reward, uint fullJackpot, bool winJackpot, uint time);
constructor (
address _radikalStoreAddress,
address _collectionRidersAddress,
address _rewardPoolAddress,
address _rdkTokenAddress,
uint64 subscriptionId,
address _vrfCoordinator,
address _link,
bytes32 _keyHash,
uint32 _callbackGasLimit,
uint16 _requestConfirmations,
address _pvpStorageAddress
)
Ownable()
VRFConsumerBaseV2(_vrfCoordinator)
{
pvpStorageInstance = IPVPStorage(_pvpStorageAddress);
radikalStoreInstance = IRadikalStore(_radikalStoreAddress);
ridersInstance = ICollectionRiders(_collectionRidersAddress);
rewardPoolAddress = _rewardPoolAddress;
rdkToken = ERC20RDK(_rdkTokenAddress);
s_subscriptionId = subscriptionId;
COORDINATOR = VRFCoordinatorV2Interface(_vrfCoordinator);
link = _link;
keyHash = _keyHash;
callbackGasLimit = _callbackGasLimit;
requestConfirmations = _requestConfirmations;
LINKTOKEN = LinkTokenInterface(link);
}
/********************************************************
* *
* MAIN FUNCTIONS *
* *
********************************************************/
/// @notice Register your Rider in this race
/// @dev this is executed by end-users
/// @param _riderId Id of rider that will participate in the race
/// @param _raceId race to be registered at
function register(uint32 _riderId, uint _raceId) external payable{
require(msg.value == (radikalStoreInstance.getPvpChainLinkFee() + pvpStorageInstance.getPVPFee()), "PVP: IF");
// Pay fee to Radikals team for using Chainlink VRF
chainLinkRDKFeeAddress.transfer(msg.value);
IPVPStorage.Race memory race = pvpStorageInstance.getRace(_raceId);
require(ridersInstance.isOwner(_riderId, msg.sender) == true, "PVP: RNY");
require(ridersInstance.getMotorbike(_riderId) == race.raceType, "PVP: IM");
require(!ridersInstance.getIsFusioned(_riderId), "PVP: FuRi");
require(block.timestamp < race.startingShot, "PVP: RPO");
// Checks if Rider is already registered to this race
_AlreadyRegistered(_raceId, _riderId);
require(race.riderId.length < 10, "PVP: PLE");
uint rewardAmount = race.buyinToken * 80 / 100;
uint totalJackpotAmount = race.buyinToken * 13 / 100;
bool sent = rdkToken.transferFrom(msg.sender, address(this), rewardAmount + totalJackpotAmount);
require(sent, "PVP: RTF");
// Send 7% of buyin to rewardPool to help having positive token balance of PVE
sent = rdkToken.transferFrom(msg.sender, rewardPoolAddress, race.buyinToken - rewardAmount - totalJackpotAmount);
require(sent, "PVP: RTF");
pvpStorageInstance.increaseJackpot(race.buyinUsdt,totalJackpotAmount);
race.rewardAmount += rewardAmount;
// Update list with rider Ids that are registered to this race
pvpStorageInstance.updateRaceRegister(_raceId, _riderId, race.rewardAmount, msg.sender);
pveRegisterCounter[msg.sender]++;
emit Registered(msg.sender, _raceId, race.startingShot, race.buyinToken, _riderId, race.riderId, race.rewardAmount, pvpStorageInstance.getJackpot(race.buyinUsdt));
}
/// @notice Start race and calculates winning probabilities based on rider skills
/// @dev this is executed by Radikal front-end team algorigthm
/// @param _raceId race to be started
function play(uint _raceId) external onlyOwner {
IPVPStorage.Race memory race = pvpStorageInstance.getRace(_raceId);
uint8 riderQuantity = uint8(race.riderId.length);
require(block.timestamp > race.startingShot, "PVP: TSTP");
require(riderQuantity > 2, " PVP: IP");
require(race.winnerRiderId == 0, "PVP: FiRa");
// Obtains the total rider points for each skill. Also brings individual rider points for each skill in attributesArray.
uint32[] memory ridersPoints = new uint32[](riderQuantity);
(
uint16 totalWheel,
uint16 totalFairing,
uint16 totalClutch,
uint16 totalExhaustPipe,
uint16 totalTurbo,
uint16 totalNitro,
uint16[] memory attributesArray
) = _getTotals(race.riderId, riderQuantity);
/* - In a race every skill has a weight of 13%, except Nitro which has 15% and there is 20% equally distributed to every rider.
This sums up to 100%. Each skill weight is distributed to every rider according to the rider skill amount
- Weights have 4 decimals -> 13% is 130000
- In case no rider has a specific skill. Then the weight of the skill is distributed to every rider in the race
- The quantity of points (ridersPoints) are stored in the following way [points of the first registered rider, """ second """, ... , """" last """"]
*/
if(totalWheel != 0){
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] = 130000*(attributesArray[i])/totalWheel;
}
}
else {
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] = 130000/riderQuantity;
}
}
if(totalFairing != 0){
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 130000*(attributesArray[i + riderQuantity])/totalFairing;
}
}
else {
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 130000/riderQuantity;
}
}
if(totalClutch != 0){
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 130000*(attributesArray[i + 2 * riderQuantity])/totalClutch;
}
}
else {
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 130000/riderQuantity;
}
}
if(totalExhaustPipe != 0){
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 130000*(attributesArray[i + 3 * riderQuantity])/totalExhaustPipe;
}
}
else {
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 130000/riderQuantity;
}
}
if(totalTurbo != 0){
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 130000*(attributesArray[i + 4 * riderQuantity])/totalTurbo;
}
}
else {
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 130000/riderQuantity;
}
}
if(totalNitro != 0){
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 150000*(attributesArray[i + 5 * riderQuantity])/totalNitro;
}
}
else {
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
ridersPoints[i] += 150000/riderQuantity;
}
}
for(uint i = 0; i < riderQuantity; i++) {
ridersPoints[i] += 200000/riderQuantity;
}
pvpStorageInstance.updateRidersPoints(_raceId,ridersPoints);
// Adds cummulative probabilities to pick winner based on random number later on
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)){
if(i > 0){
ridersPoints[i] = ridersPoints[i] + ridersPoints[i-1];
}
}
// Request 2 randoms
// First random to pick the winner
// Second random to win jackpot
_requestRandomWords(2, _raceId, ridersPoints);
}
/// @notice Claim of race prize
/// @dev executed by race winner
/// @param _raceId race whose reward is to be claimed
function claim(uint _raceId) payable external {
IPVPStorage.Race memory race = pvpStorageInstance.getRace(_raceId);
require(race.claimed == false, "PVP: AC");
require(ridersInstance.isOwner(race.winnerRiderId, msg.sender) == true, "PVP: NO");
pvpStorageInstance.updateRaceClaim(_raceId);
bool sent = rdkToken.transfer(msg.sender, race.rewardAmount + race.jackpot * 80 / 100);
require(sent, "PVP: RTF");
if(race.jackpot > 0) {
pvpStorageInstance.updateTopJackpots(race.jackpot);
}
emit Claimed(msg.sender, _raceId, race.rewardAmount, race.jackpot);
}
/********************************************************
* *
* INTERNAL FUNCTIONS *
* *
********************************************************/
/// @dev used in play function on this contract
/// @param _riderIds array with rider Ids competiting in the race
/// @param riderQuantity quantity of riders competiting in the race
/// @return totalWheel sum of all wheel points of every rider competiting in the race
/// @return totalFairing sum of all fairing points of every rider competiting in the race
/// @return totalClutch sum of all clutch points of every rider competiting in the race
/// @return totalExhaustPipe sum of all exhaust pipe points of every rider competiting in the race
/// @return totalTurbo sum of all turbo points of every rider competiting in the race
/// @return totalNitro sum of all nitro points of every rider competiting in the race
/// @return currentAttribute array with all skill points for every rider in the race. E.g for a race with 3 riders (Wheel1 means wheelPoints for rider 1, same applies to the rest): [wheel1, wheel2, wheel3, fairing1, fairing2, fairing3,...,nitro1, nitro2, nitro3]
function _getTotals(uint[] memory _riderIds, uint8 riderQuantity) internal view
returns(
uint16 totalWheel,
uint16 totalFairing,
uint16 totalClutch,
uint16 totalExhaustPipe,
uint16 totalTurbo,
uint16 totalNitro,
uint16[] memory
){
uint16[] memory currentAttribute = new uint16[](riderQuantity * 6);
ICollectionRiders.RidersAttributes[] memory attributes = ridersInstance.getAttributes(_riderIds);
for(uint8 i = 0; i < riderQuantity; i = unsafe_inc(i)) {
currentAttribute[i] = attributes[i].wheel;
totalWheel += currentAttribute[i];
currentAttribute[i + riderQuantity] = attributes[i].fairing;
totalFairing += currentAttribute[i + riderQuantity];
currentAttribute[i + 2 * riderQuantity] = attributes[i].clutch;
totalClutch += currentAttribute[i + 2 * riderQuantity];
currentAttribute[i + 3 * riderQuantity] = attributes[i].exhaustPipe;
totalExhaustPipe += currentAttribute[i + 3 * riderQuantity];
currentAttribute[i + 4 * riderQuantity] = attributes[i].turbo;
totalTurbo += currentAttribute[i + 4 * riderQuantity];
currentAttribute[i + 5 * riderQuantity] = attributes[i].nitro;
totalNitro += currentAttribute[i + 5 * riderQuantity];
}
return (totalWheel, totalFairing, totalClutch, totalExhaustPipe, totalTurbo, totalNitro, currentAttribute);
}
/// @dev Checks if a specific rider is already registered in the race
/// @param _raceId Id of race to be checked
/// @param _riderId Id of rider to be checked
function _AlreadyRegistered(uint _raceId, uint _riderId) internal view {
uint repetitionCounter;
IPVPStorage.Race memory race = pvpStorageInstance.getRace(_raceId);
for(uint i = 0; i < race.riderId.length; i++ ){
if(_riderId == race.riderId[i]){
repetitionCounter++;
}
require(repetitionCounter == 0, "PVP: AR");
}
}
/// @dev Requests Random Generation
/// @param _numWords number of random numbers to generate
/// @param _raceId id of race on going
/// @param _ridersPoints cummulative points/probability of each rider
function _requestRandomWords(uint32 _numWords, uint _raceId, uint32[] memory _ridersPoints) internal {
s_requestId = COORDINATOR.requestRandomWords(
keyHash,
s_subscriptionId,
requestConfirmations,
callbackGasLimit,
_numWords
);
requestToRaceId[s_requestId] = _raceId;
requestToRidersPoint[s_requestId] = _ridersPoints;
}
/// @dev Winner of race is picked here. ChainLink team runs this function when the randoms for the request are ready
/// @param requestId chainLink request Id
/// @param randomWords array with random numbers needed
function fulfillRandomWords(
uint256 requestId,
uint256[] memory randomWords
)
internal override
{
uint _raceId = requestToRaceId[requestId];
uint[] memory ridersPoints = requestToRidersPoint[requestId];
uint winner;
bool _winJackpot = false;
uint fullJackpot = pvpStorageInstance.getJackpot(pvpStorageInstance.getRace(_raceId).buyinUsdt);
uint randNumber = randomWords[0]%1000000 + 1;
// Select winner based on cummulative probabilities. 1000000 is 100% with 4 decimals
for(uint i = 0; i < ridersPoints.length; i++) {
if(randNumber <= ridersPoints[i]) {
break;
}
winner++;
}
pvpStorageInstance.updateRaceWinner(_raceId, winner);
// Decide if jackpot is released or not. There is a 2% of chances to have a jackpot in every race
if(randomWords[1] % 100 < 2){
pvpStorageInstance.updateJackpot(_raceId);
_winJackpot = true;
}
IPVPStorage.Race memory _race = pvpStorageInstance.getRace(_raceId);
// event Played(address indexed winnerAddress, address[] userList, uint indexed raceId, bytes12 indexed raceType, uint winnerRiderId, uint reward, uint fullJackpot, bool winJackpot, uint time);
emit Played(ridersInstance.getOwnerOf(_race.winnerRiderId),_race.userList, _raceId, _race.raceType, _race.winnerRiderId, _race.rewardAmount, fullJackpot, _winJackpot, block.timestamp);
}
/// @dev Increments a number. Used in for loops for gas optimization
/// @param x number to be incremented
function unsafe_inc(uint8 x) private pure returns(uint8){
unchecked { return x + 1; }
}
/********************************************************
* *
* SET FUNCTIONS *
* *
********************************************************/
/// @notice set address receiving chainlink usage fee of PVP Radikal contract
/// @dev uses Ownable library for access control
/// @param _chainLinkRDKFeeAddress address of Radikal team collecting fees to have a sustainable Chainlink subscription model
function setChainLinkRDKFeeAddress(address _chainLinkRDKFeeAddress) external onlyOwner {
chainLinkRDKFeeAddress = payable(_chainLinkRDKFeeAddress);
}
function resetPveRegisterCounter(address _user) external {
require(msg.sender == rewardPoolAddress, "PVP: caller is not rewardPool");
pveRegisterCounter[_user] = 0;
}
function getPveRegisterCounter(address _user) external view returns(uint) {
return pveRegisterCounter[_user];
}
/*
REVERTS MESSAGES:
PVP: insufficient funds -> PVP: IF
PVP: rider is not yours -> PVP: RNY
PVP: motorbike is not compatible -> PVP: IM
PVP: rider blocked after fusion -> PVP: FuRi
PVP: register period is over -> PVP: RPO
PVP: players limit exceeded -> PVP: PLE
PVP: too soon to play -> PVP: TSTP
PVP: registered players are not enough -> PVP: IP. (INSUFICIENT PLAYERS)
PVP: Finished Race -> PVP: FiRa
PVP: already claimed -> PVP: AC
PVP: winner rider is not yours -> PVP: NO
PVP: rdk transfer failed-> PVP: RTF
PVP: rider already registerd to this race -> PVP: AR
*/
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ICollectionRiders {
struct RidersAttributes {
uint riderId;
uint8 pizzaQuantity;
uint8 wheel;
uint8 fairing;
uint8 clutch;
uint8 exhaustPipe;
uint8 turbo;
uint8 nitro;
bytes12 motorBike;
bool inPizzeria;
bool isPromotionalA;
bool isFusioned;
bool isRetired;
string tokenURI;
string imageURI;
}
function setInPizzeria(uint[] calldata riders) external;
function getInPizzeria(uint _tokenId) external view returns(bool);
function getPizzaQuantity(uint _tokenId) external view returns(uint8);
function isOwner(uint _tokenId, address _user) external view returns(bool);
function getOwnerOf(uint _tokenId) external view returns(address);
function getMotorbike(uint _tokenId) external view returns(bytes12);
function getAttributes(uint[] memory riders) external view returns(RidersAttributes[] memory attributes);
function mint(address user, RidersAttributes memory attributes) external returns(uint _id);
function getRiderList(address _user) external view returns(uint[] memory);
function getTokenURI(uint _tokenId) external view returns (string memory);
function getImageURI(uint _tokenId) external view returns (string memory);
function burn(uint _tokenId) external;
function getIsPromotional(uint _tokenId) external view returns(bool);
function getIsFusioned(uint _tokenId) external view returns(bool);
function setRetirement(uint[] calldata riders) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IRadikalStore {
struct RiderAttributes {
uint8 pizzaQuantity;
uint8[2] wheel;
uint8[2] fairing;
uint8[2] clutch;
uint8[2] exhaustPipe;
uint8[2] turbo;
uint8[2] nitro;
}
// PVE/rewardPool
function getTipPower() external view returns(uint16 [] memory);
function getIngredientPackToDays(uint8 _ingredientPack) external view returns(uint16);
function getIngredientPackToPrice(uint8 _ingredientPack) external view returns(uint);
function getPveProbability(uint _buyin, uint _probIndex) external view returns(uint16);
function getBuyinReward(uint _buyin) external view returns(uint);
function getMultiplierToProbability(uint _multiplier) external view returns(uint16);
function getMultiplier(uint8 _multiplier) external view returns(uint16);
function getPveChainLinkFee() external view returns(uint);
function getPvpChainLinkFee() external view returns(uint);
// Minting
function getMintingPackToQuantity(uint8 mintingPack) external view returns(uint8);
function getRecipeAttribute(uint _prob) external view returns(uint16);
function getRegularMintingProbs() external view returns(uint [] memory);
function getRecipeTPRange(uint _bottomLimit) external view returns (uint);
function getRecipesBaseURI() external view returns (string memory);
function getRiderAttributes(uint16 _prob) external view returns (RiderAttributes memory attributes);
function getMotorbikes() external view returns (bytes12 [] memory);
function getBaseURILength(string memory _baseURI) external view returns (uint);
function getRidersURIs(uint8 _nftRareness) external view returns (string memory, string memory);
function getRiderQuantityToChainLinkFee(uint _riderQuantity) external view returns (uint);
function getRecipeQuantityToChainLinkFee(uint _recipeQuantity) external view returns (uint);
// Pizzerias
function getTipPowerURIRanges() external view returns(uint[] memory);
function getRarenessToTokenURI(uint _rarenessLimit) external view returns(string memory);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IPriceOracle {
function getTokenToUsdt(uint tokenQuantity) external view returns(uint exchange);
function getUsdtToToken(uint usdtQuantity) external view returns(uint exchange);
function getLatestPrice() external view returns (int);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ICollectionRiders.sol";
interface IPVPStorage {
struct Race {
uint raceId;
uint[] riderId;
uint32[] ridersPoints;
bytes12 raceType;
uint32 startingShot;
uint16 buyinUsdt;
address[] userList;
uint rewardAmount;
uint buyinToken;
uint winnerRiderId;
uint jackpot;
bool claimed;
}
function getRace(uint _raceId) external view returns(Race memory);
function increaseJackpot(uint16 _buyinUSD, uint _jackpotAmount) external;
function getJackpot(uint16 _buyinUSD) external view returns(uint _jackpot);
function updateRidersPoints(uint _raceId, uint32[] calldata _ridersPoints) external;
function updateRaceClaim(uint _raceId) external;
function updateRaceWinner(uint _raceId, uint _winnerIndex) external;
function updateJackpot(uint _raceId) external;
function updateRaceRegister(uint _raceId, uint _riderId, uint _reward, address _user) external;
function updateTopJackpots(uint _jackpot) external;
function getBuyinAndJackpots() external view returns(uint16[] memory, uint[] memory);
function getAllRaces() external view returns(Race[] memory, ICollectionRiders.RidersAttributes[][] memory);
function getPVPTopFiveJackpots() external view returns(uint[5] memory _topFiveClaimedJackpots);
function getPVPFee() external view returns(uint);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/// @title Radikal Riders Token
/// @author Radikal Riders
/// @notice This is the utility ERC20 token of Radikal Riders
/// @dev Follows ERC20 standard with specific modifications
contract ERC20RDK is ERC20, Ownable {
address[] radikalContracts;
mapping(address=>uint) private _balancesTransferable;
constructor(
address payable _tokenDistributorAddress
)
ERC20("DEMOTEST", "DEMOTEST") {
address[] memory distributor = new address[](1);
distributor[0] = _tokenDistributorAddress;
addContracts(distributor);
_mint(_tokenDistributorAddress, 5000000 * (10 ** 18));
}
// /********************************************************
// * *
// * MAIN FUNCTIONS *
// * *
// ********************************************************/
/// @notice Tokens can only be transferred if they were utilized first
/// @dev This function is executed before every token transfer
/// @param from address from who the token is intended to be transferred
/// @param to address to who the token is intended to be transferred
/// @param amount amount of Tokens to be transferred
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
address[] memory _radikalContracts = radikalContracts;
bool userToUser = true;
for(uint i = 0; i < _radikalContracts.length; i++) {
if(from == _radikalContracts[i] || to == _radikalContracts[i]) {
userToUser = false;
break;
}
}
if(userToUser == true) {
require(_balancesTransferable[from] >= amount, "ERC20: transfer amount exceeds transferable balance");
}
}
/// @notice Update token transferable balances once tokens are transferred
/// @dev This function is executed after every token transfer
/// @param from address from who the token was transferred
/// @param to address to who the token was transferred
/// @param amount amount of Tokens transferred
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual override {
address[] memory _radikalContracts = radikalContracts;
bool fromContract = false;
bool toContract = false;
for(uint i = 0; i < _radikalContracts.length; i++) {
if(from == _radikalContracts[i]) {
fromContract = true;
break;
} else if(to == _radikalContracts[i]) {
toContract = true;
break;
}
}
if(fromContract == false && toContract == false) {
_balancesTransferable[from] -= amount;
} else if(fromContract == true && toContract == false) {
_balancesTransferable[to] += amount;
} else if(fromContract == false && toContract == true) {
uint balance = balanceOf(from);
if(balance < _balancesTransferable[from]) {
_balancesTransferable[from] = balance;
}
}
}
/********************************************************
* *
* ADMIN FUNCTIONS *
* *
********************************************************/
// Admin can add contracts to the list of Radikal contracts
/// @notice Tokens sent to the listed contracts will be considered transferrable
/// @dev Admin can add contracts to the list of Radikal contracts
/// @param newContracts Address of the contract added to the whitelist
function addContracts(address[] memory newContracts) public onlyOwner {
for(uint i = 0; i < newContracts.length; i++) {
radikalContracts.push(newContracts[i]);
}
}
// Admin can add contracts to the list of Radikal contracts
/// @notice Tokens sent to the listed contracts will be considered transferrable
/// @dev Admin can add contracts to the list of Radikal contracts
/// @param pairAddress Address of the contract added to the whitelist
function addPair(address pairAddress) public onlyOwner {
_balancesTransferable[pairAddress] = 50000000 * (10 ** 18);
}
/********************************************************
* *
* VIEW FUNCTIONS *
* *
********************************************************/
/// @notice Check balance of transferrable tokens (utilized first through one of the whitelisted contracts)
/// @param account Address of the account to be evaluated
function balanceTransferableOf(address account) public view returns (uint256) {
return _balancesTransferable[account];
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface LinkTokenInterface {
function allowance(address owner, address spender) external view returns (uint256 remaining);
function approve(address spender, uint256 value) external returns (bool success);
function balanceOf(address owner) external view returns (uint256 balance);
function decimals() external view returns (uint8 decimalPlaces);
function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);
function increaseApproval(address spender, uint256 subtractedValue) external;
function name() external view returns (string memory tokenName);
function symbol() external view returns (string memory tokenSymbol);
function totalSupply() external view returns (uint256 totalTokensIssued);
function transfer(address to, uint256 value) external returns (bool success);
function transferAndCall(
address to,
uint256 value,
bytes calldata data
) external returns (bool success);
function transferFrom(
address from,
address to,
uint256 value
) external returns (bool success);
}// 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);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface VRFCoordinatorV2Interface {
/**
* @notice Get configuration relevant for making requests
* @return minimumRequestConfirmations global min for request confirmations
* @return maxGasLimit global max for request gas limit
* @return s_provingKeyHashes list of registered key hashes
*/
function getRequestConfig()
external
view
returns (
uint16,
uint32,
bytes32[] memory
);
/**
* @notice Request a set of random words.
* @param keyHash - Corresponds to a particular oracle job which uses
* that key for generating the VRF proof. Different keyHash's have different gas price
* ceilings, so you can select a specific one to bound your maximum per request cost.
* @param subId - The ID of the VRF subscription. Must be funded
* with the minimum subscription balance required for the selected keyHash.
* @param minimumRequestConfirmations - How many blocks you'd like the
* oracle to wait before responding to the request. See SECURITY CONSIDERATIONS
* for why you may want to request more. The acceptable range is
* [minimumRequestBlockConfirmations, 200].
* @param callbackGasLimit - How much gas you'd like to receive in your
* fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords
* may be slightly less than this amount because of gas used calling the function
* (argument decoding etc.), so you may need to request slightly more than you expect
* to have inside fulfillRandomWords. The acceptable range is
* [0, maxGasLimit]
* @param numWords - The number of uint256 random values you'd like to receive
* in your fulfillRandomWords callback. Note these numbers are expanded in a
* secure way by the VRFCoordinator from a single random value supplied by the oracle.
* @return requestId - A unique identifier of the request. Can be used to match
* a request to a response in fulfillRandomWords.
*/
function requestRandomWords(
bytes32 keyHash,
uint64 subId,
uint16 minimumRequestConfirmations,
uint32 callbackGasLimit,
uint32 numWords
) external returns (uint256 requestId);
/**
* @notice Create a VRF subscription.
* @return subId - A unique subscription id.
* @dev You can manage the consumer set dynamically with addConsumer/removeConsumer.
* @dev Note to fund the subscription, use transferAndCall. For example
* @dev LINKTOKEN.transferAndCall(
* @dev address(COORDINATOR),
* @dev amount,
* @dev abi.encode(subId));
*/
function createSubscription() external returns (uint64 subId);
/**
* @notice Get a VRF subscription.
* @param subId - ID of the subscription
* @return balance - LINK balance of the subscription in juels.
* @return reqCount - number of requests for this subscription, determines fee tier.
* @return owner - owner of the subscription.
* @return consumers - list of consumer address which are able to use this subscription.
*/
function getSubscription(uint64 subId)
external
view
returns (
uint96 balance,
uint64 reqCount,
address owner,
address[] memory consumers
);
/**
* @notice Request subscription owner transfer.
* @param subId - ID of the subscription
* @param newOwner - proposed new owner of the subscription
*/
function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external;
/**
* @notice Request subscription owner transfer.
* @param subId - ID of the subscription
* @dev will revert if original owner of subId has
* not requested that msg.sender become the new owner.
*/
function acceptSubscriptionOwnerTransfer(uint64 subId) external;
/**
* @notice Add a consumer to a VRF subscription.
* @param subId - ID of the subscription
* @param consumer - New consumer which can use the subscription
*/
function addConsumer(uint64 subId, address consumer) external;
/**
* @notice Remove a consumer from a VRF subscription.
* @param subId - ID of the subscription
* @param consumer - Consumer to remove from the subscription
*/
function removeConsumer(uint64 subId, address consumer) external;
/**
* @notice Cancel a subscription
* @param subId - ID of the subscription
* @param to - Where to send the remaining LINK to
*/
function cancelSubscription(uint64 subId, address to) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/** ****************************************************************************
* @notice Interface for contracts using VRF randomness
* *****************************************************************************
* @dev PURPOSE
*
* @dev Reggie the Random Oracle (not his real job) wants to provide randomness
* @dev to Vera the verifier in such a way that Vera can be sure he's not
* @dev making his output up to suit himself. Reggie provides Vera a public key
* @dev to which he knows the secret key. Each time Vera provides a seed to
* @dev Reggie, he gives back a value which is computed completely
* @dev deterministically from the seed and the secret key.
*
* @dev Reggie provides a proof by which Vera can verify that the output was
* @dev correctly computed once Reggie tells it to her, but without that proof,
* @dev the output is indistinguishable to her from a uniform random sample
* @dev from the output space.
*
* @dev The purpose of this contract is to make it easy for unrelated contracts
* @dev to talk to Vera the verifier about the work Reggie is doing, to provide
* @dev simple access to a verifiable source of randomness. It ensures 2 things:
* @dev 1. The fulfillment came from the VRFCoordinator
* @dev 2. The consumer contract implements fulfillRandomWords.
* *****************************************************************************
* @dev USAGE
*
* @dev Calling contracts must inherit from VRFConsumerBase, and can
* @dev initialize VRFConsumerBase's attributes in their constructor as
* @dev shown:
*
* @dev contract VRFConsumer {
* @dev constructor(<other arguments>, address _vrfCoordinator, address _link)
* @dev VRFConsumerBase(_vrfCoordinator) public {
* @dev <initialization with other arguments goes here>
* @dev }
* @dev }
*
* @dev The oracle will have given you an ID for the VRF keypair they have
* @dev committed to (let's call it keyHash). Create subscription, fund it
* @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface
* @dev subscription management functions).
* @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations,
* @dev callbackGasLimit, numWords),
* @dev see (VRFCoordinatorInterface for a description of the arguments).
*
* @dev Once the VRFCoordinator has received and validated the oracle's response
* @dev to your request, it will call your contract's fulfillRandomWords method.
*
* @dev The randomness argument to fulfillRandomWords is a set of random words
* @dev generated from your requestId and the blockHash of the request.
*
* @dev If your contract could have concurrent requests open, you can use the
* @dev requestId returned from requestRandomWords to track which response is associated
* @dev with which randomness request.
* @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind,
* @dev if your contract could have multiple requests in flight simultaneously.
*
* @dev Colliding `requestId`s are cryptographically impossible as long as seeds
* @dev differ.
*
* *****************************************************************************
* @dev SECURITY CONSIDERATIONS
*
* @dev A method with the ability to call your fulfillRandomness method directly
* @dev could spoof a VRF response with any random value, so it's critical that
* @dev it cannot be directly called by anything other than this base contract
* @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
*
* @dev For your users to trust that your contract's random behavior is free
* @dev from malicious interference, it's best if you can write it so that all
* @dev behaviors implied by a VRF response are executed *during* your
* @dev fulfillRandomness method. If your contract must store the response (or
* @dev anything derived from it) and use it later, you must ensure that any
* @dev user-significant behavior which depends on that stored value cannot be
* @dev manipulated by a subsequent VRF request.
*
* @dev Similarly, both miners and the VRF oracle itself have some influence
* @dev over the order in which VRF responses appear on the blockchain, so if
* @dev your contract could have multiple VRF requests in flight simultaneously,
* @dev you must ensure that the order in which the VRF responses arrive cannot
* @dev be used to manipulate your contract's user-significant behavior.
*
* @dev Since the block hash of the block which contains the requestRandomness
* @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
* @dev miner could, in principle, fork the blockchain to evict the block
* @dev containing the request, forcing the request to be included in a
* @dev different block with a different hash, and therefore a different input
* @dev to the VRF. However, such an attack would incur a substantial economic
* @dev cost. This cost scales with the number of blocks the VRF oracle waits
* @dev until it calls responds to a request. It is for this reason that
* @dev that you can signal to an oracle you'd like them to wait longer before
* @dev responding to the request (however this is not enforced in the contract
* @dev and so remains effective only in the case of unmodified oracle software).
*/
abstract contract VRFConsumerBaseV2 {
error OnlyCoordinatorCanFulfill(address have, address want);
address private immutable vrfCoordinator;
/**
* @param _vrfCoordinator address of VRFCoordinator contract
*/
constructor(address _vrfCoordinator) {
vrfCoordinator = _vrfCoordinator;
}
/**
* @notice fulfillRandomness handles the VRF response. Your contract must
* @notice implement it. See "SECURITY CONSIDERATIONS" above for important
* @notice principles to keep in mind when implementing your fulfillRandomness
* @notice method.
*
* @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this
* @dev signature, and will call it once it has verified the proof
* @dev associated with the randomness. (It is triggered via a call to
* @dev rawFulfillRandomness, below.)
*
* @param requestId The Id initially returned by requestRandomness
* @param randomWords the VRF output expanded to the requested number of words
*/
function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual;
// rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
// proof. rawFulfillRandomness then calls fulfillRandomness, after validating
// the origin of the call
function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external {
if (msg.sender != vrfCoordinator) {
revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
}
fulfillRandomWords(requestId, randomWords);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, _allowances[owner][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = _allowances[owner][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
}
_balances[to] += amount;
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Spend `amount` form the allowance of `owner` toward `spender`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @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, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}// 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;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_radikalStoreAddress","type":"address"},{"internalType":"address","name":"_collectionRidersAddress","type":"address"},{"internalType":"address","name":"_rewardPoolAddress","type":"address"},{"internalType":"address","name":"_rdkTokenAddress","type":"address"},{"internalType":"uint64","name":"subscriptionId","type":"uint64"},{"internalType":"address","name":"_vrfCoordinator","type":"address"},{"internalType":"address","name":"_link","type":"address"},{"internalType":"bytes32","name":"_keyHash","type":"bytes32"},{"internalType":"uint32","name":"_callbackGasLimit","type":"uint32"},{"internalType":"uint16","name":"_requestConfirmations","type":"uint16"},{"internalType":"address","name":"_pvpStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"winner","type":"address"},{"indexed":false,"internalType":"uint256","name":"raceId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"regularReward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"jackpot","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"raceId","type":"uint256"},{"indexed":true,"internalType":"bytes12","name":"raceType","type":"bytes12"},{"indexed":true,"internalType":"uint256","name":"buyinUsdt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startingShot","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"buyinToken","type":"uint256"}],"name":"Created","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":true,"internalType":"address","name":"winnerAddress","type":"address"},{"indexed":false,"internalType":"address[]","name":"userList","type":"address[]"},{"indexed":true,"internalType":"uint256","name":"raceId","type":"uint256"},{"indexed":true,"internalType":"bytes12","name":"raceType","type":"bytes12"},{"indexed":false,"internalType":"uint256","name":"winnerRiderId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fullJackpot","type":"uint256"},{"indexed":false,"internalType":"bool","name":"winJackpot","type":"bool"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"Played","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"raceId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"startingShot","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"buyin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"riderId","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"registeredRiders","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"jackpot","type":"uint256"}],"name":"Registered","type":"event"},{"inputs":[{"internalType":"uint256","name":"_raceId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getPveRegisterCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_raceId","type":"uint256"}],"name":"play","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_riderId","type":"uint32"},{"internalType":"uint256","name":"_raceId","type":"uint256"}],"name":"register","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"resetPveRegisterCounter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"s_requestId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_chainLinkRDKFeeAddress","type":"address"}],"name":"setChainLinkRDKFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x60a06040523480156200001157600080fd5b50604051620054933803806200549383398181016040528101906200003791906200056c565b858073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050506200008d620000816200033660201b60201c565b6200033e60201b60201c565b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508a600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555089600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555088600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555087601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555086600760146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555085600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360098190555082600a60006101000a81548163ffffffff021916908363ffffffff16021790555081600a60046101000a81548161ffff021916908361ffff160217905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050505050505062000679565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004348262000407565b9050919050565b620004468162000427565b81146200045257600080fd5b50565b60008151905062000466816200043b565b92915050565b600067ffffffffffffffff82169050919050565b6200048b816200046c565b81146200049757600080fd5b50565b600081519050620004ab8162000480565b92915050565b6000819050919050565b620004c681620004b1565b8114620004d257600080fd5b50565b600081519050620004e681620004bb565b92915050565b600063ffffffff82169050919050565b6200050781620004ec565b81146200051357600080fd5b50565b6000815190506200052781620004fc565b92915050565b600061ffff82169050919050565b62000546816200052d565b81146200055257600080fd5b50565b60008151905062000566816200053b565b92915050565b60008060008060008060008060008060006101608c8e03121562000595576200059462000402565b5b6000620005a58e828f0162000455565b9b50506020620005b88e828f0162000455565b9a50506040620005cb8e828f0162000455565b9950506060620005de8e828f0162000455565b9850506080620005f18e828f016200049a565b97505060a0620006048e828f0162000455565b96505060c0620006178e828f0162000455565b95505060e06200062a8e828f01620004d5565b9450506101006200063e8e828f0162000516565b935050610120620006528e828f0162000555565b925050610140620006668e828f0162000455565b9150509295989b509295989b9093969950565b608051614df76200069c6000396000818161025201526102a60152614df76000f3fe60806040526004361061009c5760003560e01c8063834850611161006457806383485061146101425780638da5cb5b1461017f5780639d536c66146101aa578063e89e106a146101d3578063f2fde38b146101fe578063f3b9a064146102275761009c565b80631fe543e3146100a1578063379607f5146100ca5780635b1e1c43146100e65780636898f82b14610102578063715018a61461012b575b600080fd5b3480156100ad57600080fd5b506100c860048036038101906100c39190613197565b610250565b005b6100e460048036038101906100df91906131f3565b610310565b005b61010060048036038101906100fb919061325c565b610788565b005b34801561010e57600080fd5b50610129600480360381019061012491906131f3565b61127a565b005b34801561013757600080fd5b50610140611e27565b005b34801561014e57600080fd5b50610169600480360381019061016491906132fa565b611eaf565b6040516101769190613336565b60405180910390f35b34801561018b57600080fd5b50610194611ef8565b6040516101a19190613360565b60405180910390f35b3480156101b657600080fd5b506101d160048036038101906101cc91906132fa565b611f21565b005b3480156101df57600080fd5b506101e8611ff9565b6040516101f59190613336565b60405180910390f35b34801561020a57600080fd5b50610225600480360381019061022091906132fa565b611fff565b005b34801561023357600080fd5b5061024e600480360381019061024991906132fa565b6120f6565b005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461030257337f00000000000000000000000000000000000000000000000000000000000000006040517f1cf993f40000000000000000000000000000000000000000000000000000000081526004016102f992919061337b565b60405180910390fd5b61030c82826121b6565b5050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5836040518263ffffffff1660e01b815260040161036d9190613336565b600060405180830381865afa15801561038a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906103b3919061384a565b905060001515816101600151151514610401576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f8906138f0565b60405180910390fd5b60011515600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635a5d096c836101200151336040518363ffffffff1660e01b8152600401610467929190613910565b602060405180830381865afa158015610484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a89190613939565b1515146104ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e1906139b2565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637d9f9aa0836040518263ffffffff1660e01b81526004016105459190613336565b600060405180830381600087803b15801561055f57600080fd5b505af1158015610573573d6000803e3d6000fd5b505050506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33606460508661014001516105cc9190613a01565b6105d69190613a8a565b8560e001516105e59190613abb565b6040518363ffffffff1660e01b8152600401610602929190613b11565b6020604051808303816000875af1158015610621573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190613939565b905080610687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067e90613b86565b60405180910390fd5b6000826101400151111561072857600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663213888908361014001516040518263ffffffff1660e01b81526004016106f59190613336565b600060405180830381600087803b15801561070f57600080fd5b505af1158015610723573d6000803e3d6000fd5b505050505b3373ffffffffffffffffffffffffffffffffffffffff167f9cdcf2f7714cca3508c7f0110b04a90a80a3a8dd0e35de99689db74d28c5383e848460e0015185610140015160405161077b93929190613ba6565b60405180910390a2505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b057eee36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108199190613bdd565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631eba8f0c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108aa9190613bdd565b6108b49190613abb565b34146108f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ec90613c56565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561095d573d6000803e3d6000fd5b506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5836040518263ffffffff1660e01b81526004016109bb9190613336565b600060405180830381865afa1580156109d8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610a01919061384a565b905060011515600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635a5d096c85336040518363ffffffff1660e01b8152600401610a64929190613cb1565b602060405180830381865afa158015610a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa59190613939565b151514610ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ade90613d26565b60405180910390fd5b806060015173ffffffffffffffffffffffffffffffffffffffff1916600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a09b5c13856040518263ffffffff1660e01b8152600401610b5e9190613d46565b602060405180830381865afa158015610b7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9f9190613d61565b73ffffffffffffffffffffffffffffffffffffffff191614610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90613dda565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aeb423ab846040518263ffffffff1660e01b8152600401610c519190613d46565b602060405180830381865afa158015610c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c929190613939565b15610cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc990613e46565b60405180910390fd5b806080015163ffffffff164210610d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1590613eb2565b60405180910390fd5b610d2e828463ffffffff1661272c565b600a81602001515110610d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6d90613f1e565b60405180910390fd5b600060646050836101000151610d8c9190613a01565b610d969190613a8a565b905060006064600d846101000151610dae9190613a01565b610db89190613a8a565b90506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308587610e089190613abb565b6040518463ffffffff1660e01b8152600401610e2693929190613f3e565b6020604051808303816000875af1158015610e45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e699190613939565b905080610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290613b86565b60405180910390fd5b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168587896101000151610f1f9190613f75565b610f299190613f75565b6040518463ffffffff1660e01b8152600401610f4793929190613f3e565b6020604051808303816000875af1158015610f66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8a9190613939565b905080610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc390613b86565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166388a9ad9b8560a00151846040518363ffffffff1660e01b815260040161102d929190613fb8565b600060405180830381600087803b15801561104757600080fd5b505af115801561105b573d6000803e3d6000fd5b50505050828460e0018181516110719190613abb565b91508181525050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b111c42386888760e00151336040518563ffffffff1660e01b81526004016110dd9493929190613fe1565b600060405180830381600087803b1580156110f757600080fd5b505af115801561110b573d6000803e3d6000fd5b50505050600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061115f90614026565b9190505550836080015163ffffffff16853373ffffffffffffffffffffffffffffffffffffffff167f3ddab737a84e77ece9566db6734231c3e5e92e0cb4ed543a3d4ca426da9a9c848761010001518a89602001518a60e00151600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634b5cc87d8d60a001516040518263ffffffff1660e01b8152600401611218919061406e565b602060405180830381865afa158015611235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112599190613bdd565b60405161126a959493929190614147565b60405180910390a4505050505050565b611282612873565b73ffffffffffffffffffffffffffffffffffffffff166112a0611ef8565b73ffffffffffffffffffffffffffffffffffffffff16146112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed906141ed565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5836040518263ffffffff1660e01b81526004016113539190613336565b600060405180830381865afa158015611370573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611399919061384a565b905060008160200151519050816080015163ffffffff1642116113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890614259565b60405180910390fd5b60028160ff1611611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e906142c5565b60405180910390fd5b60008261012001511461147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690614331565b60405180910390fd5b60008160ff1667ffffffffffffffff81111561149e5761149d613054565b5b6040519080825280602002602001820160405280156114cc5781602001602082028036833780820191505090505b50905060008060008060008060006114e88a602001518a61287b565b965096509650965096509650965060008761ffff161461159d5760005b8960ff168160ff161015611597578761ffff16828260ff168151811061152e5761152d614351565b5b602002602001015161ffff166201fbd0611548919061438f565b61155291906143cc565b62ffffff16898260ff168151811061156d5761156c614351565b5b602002602001019063ffffffff16908163ffffffff168152505061159081612d82565b9050611505565b50611607565b60005b8960ff168160ff161015611605578960ff166201fbd06115c091906143cc565b62ffffff16898260ff16815181106115db576115da614351565b5b602002602001019063ffffffff16908163ffffffff16815250506115fe81612d82565b90506115a0565b505b60008661ffff16146116c85760005b8960ff168160ff1610156116c2578661ffff16828b83611636919061440a565b60ff168151811061164a57611649614351565b5b602002602001015161ffff166201fbd0611664919061438f565b61166e91906143cc565b62ffffff16898260ff168151811061168957611688614351565b5b6020026020010181815161169d9190614441565b91509063ffffffff16908163ffffffff16815250506116bb81612d82565b9050611616565b50611741565b60005b8960ff168160ff16101561173f578960ff166201fbd06116eb91906143cc565b62ffffff16898260ff168151811061170657611705614351565b5b6020026020010181815161171a9190614441565b91509063ffffffff16908163ffffffff168152505061173881612d82565b90506116cb565b505b60008561ffff161461180e5760005b8960ff168160ff161015611808578561ffff16828b6002611771919061447b565b8361177c919061440a565b60ff16815181106117905761178f614351565b5b602002602001015161ffff166201fbd06117aa919061438f565b6117b491906143cc565b62ffffff16898260ff16815181106117cf576117ce614351565b5b602002602001018181516117e39190614441565b91509063ffffffff16908163ffffffff168152505061180181612d82565b9050611750565b50611887565b60005b8960ff168160ff161015611885578960ff166201fbd061183191906143cc565b62ffffff16898260ff168151811061184c5761184b614351565b5b602002602001018181516118609190614441565b91509063ffffffff16908163ffffffff168152505061187e81612d82565b9050611811565b505b60008461ffff16146119545760005b8960ff168160ff16101561194e578461ffff16828b60036118b7919061447b565b836118c2919061440a565b60ff16815181106118d6576118d5614351565b5b602002602001015161ffff166201fbd06118f0919061438f565b6118fa91906143cc565b62ffffff16898260ff168151811061191557611914614351565b5b602002602001018181516119299190614441565b91509063ffffffff16908163ffffffff168152505061194781612d82565b9050611896565b506119cd565b60005b8960ff168160ff1610156119cb578960ff166201fbd061197791906143cc565b62ffffff16898260ff168151811061199257611991614351565b5b602002602001018181516119a69190614441565b91509063ffffffff16908163ffffffff16815250506119c481612d82565b9050611957565b505b60008361ffff1614611a9a5760005b8960ff168160ff161015611a94578361ffff16828b60046119fd919061447b565b83611a08919061440a565b60ff1681518110611a1c57611a1b614351565b5b602002602001015161ffff166201fbd0611a36919061438f565b611a4091906143cc565b62ffffff16898260ff1681518110611a5b57611a5a614351565b5b60200260200101818151611a6f9190614441565b91509063ffffffff16908163ffffffff1681525050611a8d81612d82565b90506119dc565b50611b13565b60005b8960ff168160ff161015611b11578960ff166201fbd0611abd91906143cc565b62ffffff16898260ff1681518110611ad857611ad7614351565b5b60200260200101818151611aec9190614441565b91509063ffffffff16908163ffffffff1681525050611b0a81612d82565b9050611a9d565b505b60008261ffff1614611be05760005b8960ff168160ff161015611bda578261ffff16828b6005611b43919061447b565b83611b4e919061440a565b60ff1681518110611b6257611b61614351565b5b602002602001015161ffff16620249f0611b7c919061438f565b611b8691906143cc565b62ffffff16898260ff1681518110611ba157611ba0614351565b5b60200260200101818151611bb59190614441565b91509063ffffffff16908163ffffffff1681525050611bd381612d82565b9050611b22565b50611c59565b60005b8960ff168160ff161015611c57578960ff16620249f0611c0391906143cc565b62ffffff16898260ff1681518110611c1e57611c1d614351565b5b60200260200101818151611c329190614441565b91509063ffffffff16908163ffffffff1681525050611c5081612d82565b9050611be3565b505b60005b8960ff16811015611ccd578960ff1662030d40611c7991906143cc565b62ffffff16898281518110611c9157611c90614351565b5b60200260200101818151611ca59190614441565b91509063ffffffff16908163ffffffff16815250508080611cc590614026565b915050611c5c565b50600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663111b0e818c8a6040518363ffffffff1660e01b8152600401611d2b929190614574565b600060405180830381600087803b158015611d4557600080fd5b505af1158015611d59573d6000803e3d6000fd5b5050505060005b8960ff168160ff161015611e0d5760008160ff161115611dfd5788600182611d8891906145a4565b60ff1681518110611d9c57611d9b614351565b5b6020026020010151898260ff1681518110611dba57611db9614351565b5b6020026020010151611dcc9190614441565b898260ff1681518110611de257611de1614351565b5b602002602001019063ffffffff16908163ffffffff16815250505b611e0681612d82565b9050611d60565b50611e1a60028c8a612d8f565b5050505050505050505050565b611e2f612873565b73ffffffffffffffffffffffffffffffffffffffff16611e4d611ef8565b73ffffffffffffffffffffffffffffffffffffffff1614611ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9a906141ed565b60405180910390fd5b611ead6000612ebe565b565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa890614624565b60405180910390fd5b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600b5481565b612007612873565b73ffffffffffffffffffffffffffffffffffffffff16612025611ef8565b73ffffffffffffffffffffffffffffffffffffffff161461207b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612072906141ed565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e1906146b6565b60405180910390fd5b6120f381612ebe565b50565b6120fe612873565b73ffffffffffffffffffffffffffffffffffffffff1661211c611ef8565b73ffffffffffffffffffffffffffffffffffffffff1614612172576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612169906141ed565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006001600084815260200190815260200160002054905060006002600085815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561222d57602002820191906000526020600020905b815481526020019060010190808311612219575b50505050509050600080600090506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634b5cc87d600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5886040518263ffffffff1660e01b81526004016122d69190613336565b600060405180830381865afa1580156122f3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061231c919061384a565b60a001516040518263ffffffff1660e01b815260040161233c919061406e565b602060405180830381865afa158015612359573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237d9190613bdd565b905060006001620f42408860008151811061239b5761239a614351565b5b60200260200101516123ad91906146d6565b6123b79190613abb565b905060005b8551811015612408578581815181106123d8576123d7614351565b5b60200260200101518211156124085784806123f290614026565b955050808061240090614026565b9150506123bc565b50600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633b39503f87866040518363ffffffff1660e01b8152600401612466929190614707565b600060405180830381600087803b15801561248057600080fd5b505af1158015612494573d6000803e3d6000fd5b5050505060026064886001815181106124b0576124af614351565b5b60200260200101516124c291906146d6565b101561255a57600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f80fb76d876040518263ffffffff1660e01b81526004016125239190613336565b600060405180830381600087803b15801561253d57600080fd5b505af1158015612551573d6000803e3d6000fd5b50505050600192505b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5886040518263ffffffff1660e01b81526004016125b79190613336565b600060405180830381865afa1580156125d4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906125fd919061384a565b9050806060015173ffffffffffffffffffffffffffffffffffffffff191687600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663836387108461012001516040518263ffffffff1660e01b815260040161267c9190613336565b602060405180830381865afa158015612699573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126bd9190614730565b73ffffffffffffffffffffffffffffffffffffffff167fbe34e5a62546829ecb0b66209f6d73322f43bef9ceb95b906d39dac159b636038460c001518561012001518660e00151898b426040516127199695949392919061482a565b60405180910390a4505050505050505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5856040518263ffffffff1660e01b815260040161278a9190613336565b600060405180830381865afa1580156127a7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906127d0919061384a565b905060005b81602001515181101561286c57816020015181815181106127f9576127f8614351565b5b6020026020010151840361281657828061281290614026565b9350505b60008314612859576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612850906148de565b60405180910390fd5b808061286490614026565b9150506127d5565b5050505050565b600033905090565b60008060008060008060606000600689612895919061447b565b60ff1667ffffffffffffffff8111156128b1576128b0613054565b5b6040519080825280602002602001820160405280156128df5781602001602082028036833780820191505090505b5090506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636321fba48c6040518263ffffffff1660e01b815260040161293f91906148fe565b600060405180830381865afa15801561295c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906129859190614ca2565b905060005b8a60ff168160ff161015612d5e57818160ff16815181106129ae576129ad614351565b5b60200260200101516040015160ff16838260ff16815181106129d3576129d2614351565b5b602002602001019061ffff16908161ffff1681525050828160ff16815181106129ff576129fe614351565b5b60200260200101518a612a129190614ceb565b9950818160ff1681518110612a2a57612a29614351565b5b60200260200101516060015160ff16838c83612a46919061440a565b60ff1681518110612a5a57612a59614351565b5b602002602001019061ffff16908161ffff1681525050828b82612a7d919061440a565b60ff1681518110612a9157612a90614351565b5b602002602001015189612aa49190614ceb565b9850818160ff1681518110612abc57612abb614351565b5b60200260200101516080015160ff16838c6002612ad9919061447b565b83612ae4919061440a565b60ff1681518110612af857612af7614351565b5b602002602001019061ffff16908161ffff1681525050828b6002612b1c919061447b565b82612b27919061440a565b60ff1681518110612b3b57612b3a614351565b5b602002602001015188612b4e9190614ceb565b9750818160ff1681518110612b6657612b65614351565b5b602002602001015160a0015160ff16838c6003612b83919061447b565b83612b8e919061440a565b60ff1681518110612ba257612ba1614351565b5b602002602001019061ffff16908161ffff1681525050828b6003612bc6919061447b565b82612bd1919061440a565b60ff1681518110612be557612be4614351565b5b602002602001015187612bf89190614ceb565b9650818160ff1681518110612c1057612c0f614351565b5b602002602001015160c0015160ff16838c6004612c2d919061447b565b83612c38919061440a565b60ff1681518110612c4c57612c4b614351565b5b602002602001019061ffff16908161ffff1681525050828b6004612c70919061447b565b82612c7b919061440a565b60ff1681518110612c8f57612c8e614351565b5b602002602001015186612ca29190614ceb565b9550818160ff1681518110612cba57612cb9614351565b5b602002602001015160e0015160ff16838c6005612cd7919061447b565b83612ce2919061440a565b60ff1681518110612cf657612cf5614351565b5b602002602001019061ffff16908161ffff1681525050828b6005612d1a919061447b565b82612d25919061440a565b60ff1681518110612d3957612d38614351565b5b602002602001015185612d4c9190614ceb565b9450612d5781612d82565b905061298a565b50888888888888879850985098509850985098509850505092959891949750929550565b6000600182019050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600954600760149054906101000a900467ffffffffffffffff16600a60049054906101000a900461ffff16600a60009054906101000a900463ffffffff16886040518663ffffffff1660e01b8152600401612e2c959493929190614d6e565b6020604051808303816000875af1158015612e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e6f9190613bdd565b600b819055508160016000600b548152602001908152602001600020819055508060026000600b5481526020019081526020016000209080519060200190612eb8929190612f82565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054828255906000526020600020908101928215612fc6579160200282015b82811115612fc5578251829063ffffffff16905591602001919060010190612fa2565b5b509050612fd39190612fd7565b5090565b5b80821115612ff0576000816000905550600101612fd8565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61301b81613008565b811461302657600080fd5b50565b60008135905061303881613012565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61308c82613043565b810181811067ffffffffffffffff821117156130ab576130aa613054565b5b80604052505050565b60006130be612ff4565b90506130ca8282613083565b919050565b600067ffffffffffffffff8211156130ea576130e9613054565b5b602082029050602081019050919050565b600080fd5b600061311361310e846130cf565b6130b4565b90508083825260208201905060208402830185811115613136576131356130fb565b5b835b8181101561315f578061314b8882613029565b845260208401935050602081019050613138565b5050509392505050565b600082601f83011261317e5761317d61303e565b5b813561318e848260208601613100565b91505092915050565b600080604083850312156131ae576131ad612ffe565b5b60006131bc85828601613029565b925050602083013567ffffffffffffffff8111156131dd576131dc613003565b5b6131e985828601613169565b9150509250929050565b60006020828403121561320957613208612ffe565b5b600061321784828501613029565b91505092915050565b600063ffffffff82169050919050565b61323981613220565b811461324457600080fd5b50565b60008135905061325681613230565b92915050565b6000806040838503121561327357613272612ffe565b5b600061328185828601613247565b925050602061329285828601613029565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132c78261329c565b9050919050565b6132d7816132bc565b81146132e257600080fd5b50565b6000813590506132f4816132ce565b92915050565b6000602082840312156133105761330f612ffe565b5b600061331e848285016132e5565b91505092915050565b61333081613008565b82525050565b600060208201905061334b6000830184613327565b92915050565b61335a816132bc565b82525050565b60006020820190506133756000830184613351565b92915050565b60006040820190506133906000830185613351565b61339d6020830184613351565b9392505050565b600080fd5b600080fd5b6000815190506133bd81613012565b92915050565b60006133d66133d1846130cf565b6130b4565b905080838252602082019050602084028301858111156133f9576133f86130fb565b5b835b81811015613422578061340e88826133ae565b8452602084019350506020810190506133fb565b5050509392505050565b600082601f8301126134415761344061303e565b5b81516134518482602086016133c3565b91505092915050565b600067ffffffffffffffff82111561347557613474613054565b5b602082029050602081019050919050565b60008151905061349581613230565b92915050565b60006134ae6134a98461345a565b6130b4565b905080838252602082019050602084028301858111156134d1576134d06130fb565b5b835b818110156134fa57806134e68882613486565b8452602084019350506020810190506134d3565b5050509392505050565b600082601f8301126135195761351861303e565b5b815161352984826020860161349b565b91505092915050565b60007fffffffffffffffffffffffff000000000000000000000000000000000000000082169050919050565b61356781613532565b811461357257600080fd5b50565b6000815190506135848161355e565b92915050565b600061ffff82169050919050565b6135a18161358a565b81146135ac57600080fd5b50565b6000815190506135be81613598565b92915050565b600067ffffffffffffffff8211156135df576135de613054565b5b602082029050602081019050919050565b6000815190506135ff816132ce565b92915050565b6000613618613613846135c4565b6130b4565b9050808382526020820190506020840283018581111561363b5761363a6130fb565b5b835b81811015613664578061365088826135f0565b84526020840193505060208101905061363d565b5050509392505050565b600082601f8301126136835761368261303e565b5b8151613693848260208601613605565b91505092915050565b60008115159050919050565b6136b18161369c565b81146136bc57600080fd5b50565b6000815190506136ce816136a8565b92915050565b600061018082840312156136eb576136ea6133a4565b5b6136f66101806130b4565b90506000613706848285016133ae565b600083015250602082015167ffffffffffffffff81111561372a576137296133a9565b5b6137368482850161342c565b602083015250604082015167ffffffffffffffff81111561375a576137596133a9565b5b61376684828501613504565b604083015250606061377a84828501613575565b606083015250608061378e84828501613486565b60808301525060a06137a2848285016135af565b60a08301525060c082015167ffffffffffffffff8111156137c6576137c56133a9565b5b6137d28482850161366e565b60c08301525060e06137e6848285016133ae565b60e0830152506101006137fb848285016133ae565b61010083015250610120613811848285016133ae565b61012083015250610140613827848285016133ae565b6101408301525061016061383d848285016136bf565b6101608301525092915050565b6000602082840312156138605761385f612ffe565b5b600082015167ffffffffffffffff81111561387e5761387d613003565b5b61388a848285016136d4565b91505092915050565b600082825260208201905092915050565b7f5056503a20414300000000000000000000000000000000000000000000000000600082015250565b60006138da600783613893565b91506138e5826138a4565b602082019050919050565b60006020820190508181036000830152613909816138cd565b9050919050565b60006040820190506139256000830185613327565b6139326020830184613351565b9392505050565b60006020828403121561394f5761394e612ffe565b5b600061395d848285016136bf565b91505092915050565b7f5056503a204e4f00000000000000000000000000000000000000000000000000600082015250565b600061399c600783613893565b91506139a782613966565b602082019050919050565b600060208201905081810360008301526139cb8161398f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a0c82613008565b9150613a1783613008565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a5057613a4f6139d2565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613a9582613008565b9150613aa083613008565b925082613ab057613aaf613a5b565b5b828204905092915050565b6000613ac682613008565b9150613ad183613008565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b0657613b056139d2565b5b828201905092915050565b6000604082019050613b266000830185613351565b613b336020830184613327565b9392505050565b7f5056503a20525446000000000000000000000000000000000000000000000000600082015250565b6000613b70600883613893565b9150613b7b82613b3a565b602082019050919050565b60006020820190508181036000830152613b9f81613b63565b9050919050565b6000606082019050613bbb6000830186613327565b613bc86020830185613327565b613bd56040830184613327565b949350505050565b600060208284031215613bf357613bf2612ffe565b5b6000613c01848285016133ae565b91505092915050565b7f5056503a20494600000000000000000000000000000000000000000000000000600082015250565b6000613c40600783613893565b9150613c4b82613c0a565b602082019050919050565b60006020820190508181036000830152613c6f81613c33565b9050919050565b6000819050919050565b6000613c9b613c96613c9184613220565b613c76565b613008565b9050919050565b613cab81613c80565b82525050565b6000604082019050613cc66000830185613ca2565b613cd36020830184613351565b9392505050565b7f5056503a20524e59000000000000000000000000000000000000000000000000600082015250565b6000613d10600883613893565b9150613d1b82613cda565b602082019050919050565b60006020820190508181036000830152613d3f81613d03565b9050919050565b6000602082019050613d5b6000830184613ca2565b92915050565b600060208284031215613d7757613d76612ffe565b5b6000613d8584828501613575565b91505092915050565b7f5056503a20494d00000000000000000000000000000000000000000000000000600082015250565b6000613dc4600783613893565b9150613dcf82613d8e565b602082019050919050565b60006020820190508181036000830152613df381613db7565b9050919050565b7f5056503a20467552690000000000000000000000000000000000000000000000600082015250565b6000613e30600983613893565b9150613e3b82613dfa565b602082019050919050565b60006020820190508181036000830152613e5f81613e23565b9050919050565b7f5056503a2052504f000000000000000000000000000000000000000000000000600082015250565b6000613e9c600883613893565b9150613ea782613e66565b602082019050919050565b60006020820190508181036000830152613ecb81613e8f565b9050919050565b7f5056503a20504c45000000000000000000000000000000000000000000000000600082015250565b6000613f08600883613893565b9150613f1382613ed2565b602082019050919050565b60006020820190508181036000830152613f3781613efb565b9050919050565b6000606082019050613f536000830186613351565b613f606020830185613351565b613f6d6040830184613327565b949350505050565b6000613f8082613008565b9150613f8b83613008565b925082821015613f9e57613f9d6139d2565b5b828203905092915050565b613fb28161358a565b82525050565b6000604082019050613fcd6000830185613fa9565b613fda6020830184613327565b9392505050565b6000608082019050613ff66000830187613327565b6140036020830186613ca2565b6140106040830185613327565b61401d6060830184613351565b95945050505050565b600061403182613008565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614063576140626139d2565b5b600182019050919050565b60006020820190506140836000830184613fa9565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140be81613008565b82525050565b60006140d083836140b5565b60208301905092915050565b6000602082019050919050565b60006140f482614089565b6140fe8185614094565b9350614109836140a5565b8060005b8381101561413a57815161412188826140c4565b975061412c836140dc565b92505060018101905061410d565b5085935050505092915050565b600060a08201905061415c6000830188613327565b6141696020830187613ca2565b818103604083015261417b81866140e9565b905061418a6060830185613327565b6141976080830184613327565b9695505050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141d7602083613893565b91506141e2826141a1565b602082019050919050565b60006020820190508181036000830152614206816141ca565b9050919050565b7f5056503a20545354500000000000000000000000000000000000000000000000600082015250565b6000614243600983613893565b915061424e8261420d565b602082019050919050565b6000602082019050818103600083015261427281614236565b9050919050565b7f205056503a204950000000000000000000000000000000000000000000000000600082015250565b60006142af600883613893565b91506142ba82614279565b602082019050919050565b600060208201905081810360008301526142de816142a2565b9050919050565b7f5056503a20466952610000000000000000000000000000000000000000000000600082015250565b600061431b600983613893565b9150614326826142e5565b602082019050919050565b6000602082019050818103600083015261434a8161430e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600062ffffff82169050919050565b600061439a82614380565b91506143a583614380565b92508162ffffff04831182151516156143c1576143c06139d2565b5b828202905092915050565b60006143d782614380565b91506143e283614380565b9250826143f2576143f1613a5b565b5b828204905092915050565b600060ff82169050919050565b6000614415826143fd565b9150614420836143fd565b92508260ff03821115614436576144356139d2565b5b828201905092915050565b600061444c82613220565b915061445783613220565b92508263ffffffff038211156144705761446f6139d2565b5b828201905092915050565b6000614486826143fd565b9150614491836143fd565b92508160ff04831182151516156144ab576144aa6139d2565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6144eb81613220565b82525050565b60006144fd83836144e2565b60208301905092915050565b6000602082019050919050565b6000614521826144b6565b61452b81856144c1565b9350614536836144d2565b8060005b8381101561456757815161454e88826144f1565b975061455983614509565b92505060018101905061453a565b5085935050505092915050565b60006040820190506145896000830185613327565b818103602083015261459b8184614516565b90509392505050565b60006145af826143fd565b91506145ba836143fd565b9250828210156145cd576145cc6139d2565b5b828203905092915050565b7f5056503a2063616c6c6572206973206e6f7420726577617264506f6f6c000000600082015250565b600061460e601d83613893565b9150614619826145d8565b602082019050919050565b6000602082019050818103600083015261463d81614601565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146a0602683613893565b91506146ab82614644565b604082019050919050565b600060208201905081810360008301526146cf81614693565b9050919050565b60006146e182613008565b91506146ec83613008565b9250826146fc576146fb613a5b565b5b828206905092915050565b600060408201905061471c6000830185613327565b6147296020830184613327565b9392505050565b60006020828403121561474657614745612ffe565b5b6000614754848285016135f0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614792816132bc565b82525050565b60006147a48383614789565b60208301905092915050565b6000602082019050919050565b60006147c88261475d565b6147d28185614768565b93506147dd83614779565b8060005b8381101561480e5781516147f58882614798565b9750614800836147b0565b9250506001810190506147e1565b5085935050505092915050565b6148248161369c565b82525050565b600060c082019050818103600083015261484481896147bd565b90506148536020830188613327565b6148606040830187613327565b61486d6060830186613327565b61487a608083018561481b565b61488760a0830184613327565b979650505050505050565b7f5056503a20415200000000000000000000000000000000000000000000000000600082015250565b60006148c8600783613893565b91506148d382614892565b602082019050919050565b600060208201905081810360008301526148f7816148bb565b9050919050565b6000602082019050818103600083015261491881846140e9565b905092915050565b600067ffffffffffffffff82111561493b5761493a613054565b5b602082029050602081019050919050565b614955816143fd565b811461496057600080fd5b50565b6000815190506149728161494c565b92915050565b600080fd5b600067ffffffffffffffff82111561499857614997613054565b5b6149a182613043565b9050602081019050919050565b60005b838110156149cc5780820151818401526020810190506149b1565b838111156149db576000848401525b50505050565b60006149f46149ef8461497d565b6130b4565b905082815260208101848484011115614a1057614a0f614978565b5b614a1b8482856149ae565b509392505050565b600082601f830112614a3857614a3761303e565b5b8151614a488482602086016149e1565b91505092915050565b60006101e08284031215614a6857614a676133a4565b5b614a736101e06130b4565b90506000614a83848285016133ae565b6000830152506020614a9784828501614963565b6020830152506040614aab84828501614963565b6040830152506060614abf84828501614963565b6060830152506080614ad384828501614963565b60808301525060a0614ae784828501614963565b60a08301525060c0614afb84828501614963565b60c08301525060e0614b0f84828501614963565b60e083015250610100614b2484828501613575565b61010083015250610120614b3a848285016136bf565b61012083015250610140614b50848285016136bf565b61014083015250610160614b66848285016136bf565b61016083015250610180614b7c848285016136bf565b610180830152506101a082015167ffffffffffffffff811115614ba257614ba16133a9565b5b614bae84828501614a23565b6101a0830152506101c082015167ffffffffffffffff811115614bd457614bd36133a9565b5b614be084828501614a23565b6101c08301525092915050565b6000614c00614bfb84614920565b6130b4565b90508083825260208201905060208402830185811115614c2357614c226130fb565b5b835b81811015614c6a57805167ffffffffffffffff811115614c4857614c4761303e565b5b808601614c558982614a51565b85526020850194505050602081019050614c25565b5050509392505050565b600082601f830112614c8957614c8861303e565b5b8151614c99848260208601614bed565b91505092915050565b600060208284031215614cb857614cb7612ffe565b5b600082015167ffffffffffffffff811115614cd657614cd5613003565b5b614ce284828501614c74565b91505092915050565b6000614cf68261358a565b9150614d018361358a565b92508261ffff03821115614d1857614d176139d2565b5b828201905092915050565b6000819050919050565b614d3681614d23565b82525050565b600067ffffffffffffffff82169050919050565b614d5981614d3c565b82525050565b614d6881613220565b82525050565b600060a082019050614d836000830188614d2d565b614d906020830187614d50565b614d9d6040830186613fa9565b614daa6060830185614d5f565b614db76080830184614d5f565b969550505050505056fea264697066735822122010d81ebc22bc5364b12fb5a40a538f4e8a1c6c1ebbbe9bcfe5bcab32965b893464736f6c634300080f0033000000000000000000000000688796f054c45e2e169d2650208519e5a01890e20000000000000000000000003eed6ab85205198e813d177589956764385aa94900000000000000000000000038106b8c131e539e23c9d1353cd18c83c90eaf36000000000000000000000000f78a1108bced9cf6a6e1f686fc537c976ee244cd00000000000000000000000000000000000000000000000000000000000001dd000000000000000000000000ae975071be8f8ee67addbc1a82488f1c24858067000000000000000000000000b0897686c545045afc77cf20ec7a532e3120e0f16e099d640cde6de9d40ac749b4b594126b0169747122711109c9985d47751f9300000000000000000000000000000000000000000000000000000000001e84800000000000000000000000000000000000000000000000000000000000000003000000000000000000000000cbd172d74f38dbc31ef6687461e0e27b585e3612
Deployed Bytecode
0x60806040526004361061009c5760003560e01c8063834850611161006457806383485061146101425780638da5cb5b1461017f5780639d536c66146101aa578063e89e106a146101d3578063f2fde38b146101fe578063f3b9a064146102275761009c565b80631fe543e3146100a1578063379607f5146100ca5780635b1e1c43146100e65780636898f82b14610102578063715018a61461012b575b600080fd5b3480156100ad57600080fd5b506100c860048036038101906100c39190613197565b610250565b005b6100e460048036038101906100df91906131f3565b610310565b005b61010060048036038101906100fb919061325c565b610788565b005b34801561010e57600080fd5b50610129600480360381019061012491906131f3565b61127a565b005b34801561013757600080fd5b50610140611e27565b005b34801561014e57600080fd5b50610169600480360381019061016491906132fa565b611eaf565b6040516101769190613336565b60405180910390f35b34801561018b57600080fd5b50610194611ef8565b6040516101a19190613360565b60405180910390f35b3480156101b657600080fd5b506101d160048036038101906101cc91906132fa565b611f21565b005b3480156101df57600080fd5b506101e8611ff9565b6040516101f59190613336565b60405180910390f35b34801561020a57600080fd5b50610225600480360381019061022091906132fa565b611fff565b005b34801561023357600080fd5b5061024e600480360381019061024991906132fa565b6120f6565b005b7f000000000000000000000000ae975071be8f8ee67addbc1a82488f1c2485806773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461030257337f000000000000000000000000ae975071be8f8ee67addbc1a82488f1c248580676040517f1cf993f40000000000000000000000000000000000000000000000000000000081526004016102f992919061337b565b60405180910390fd5b61030c82826121b6565b5050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5836040518263ffffffff1660e01b815260040161036d9190613336565b600060405180830381865afa15801561038a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906103b3919061384a565b905060001515816101600151151514610401576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f8906138f0565b60405180910390fd5b60011515600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635a5d096c836101200151336040518363ffffffff1660e01b8152600401610467929190613910565b602060405180830381865afa158015610484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a89190613939565b1515146104ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e1906139b2565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637d9f9aa0836040518263ffffffff1660e01b81526004016105459190613336565b600060405180830381600087803b15801561055f57600080fd5b505af1158015610573573d6000803e3d6000fd5b505050506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33606460508661014001516105cc9190613a01565b6105d69190613a8a565b8560e001516105e59190613abb565b6040518363ffffffff1660e01b8152600401610602929190613b11565b6020604051808303816000875af1158015610621573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106459190613939565b905080610687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067e90613b86565b60405180910390fd5b6000826101400151111561072857600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663213888908361014001516040518263ffffffff1660e01b81526004016106f59190613336565b600060405180830381600087803b15801561070f57600080fd5b505af1158015610723573d6000803e3d6000fd5b505050505b3373ffffffffffffffffffffffffffffffffffffffff167f9cdcf2f7714cca3508c7f0110b04a90a80a3a8dd0e35de99689db74d28c5383e848460e0015185610140015160405161077b93929190613ba6565b60405180910390a2505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b057eee36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108199190613bdd565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631eba8f0c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108aa9190613bdd565b6108b49190613abb565b34146108f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ec90613c56565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561095d573d6000803e3d6000fd5b506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5836040518263ffffffff1660e01b81526004016109bb9190613336565b600060405180830381865afa1580156109d8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610a01919061384a565b905060011515600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635a5d096c85336040518363ffffffff1660e01b8152600401610a64929190613cb1565b602060405180830381865afa158015610a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa59190613939565b151514610ae7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ade90613d26565b60405180910390fd5b806060015173ffffffffffffffffffffffffffffffffffffffff1916600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a09b5c13856040518263ffffffff1660e01b8152600401610b5e9190613d46565b602060405180830381865afa158015610b7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9f9190613d61565b73ffffffffffffffffffffffffffffffffffffffff191614610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90613dda565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aeb423ab846040518263ffffffff1660e01b8152600401610c519190613d46565b602060405180830381865afa158015610c6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c929190613939565b15610cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc990613e46565b60405180910390fd5b806080015163ffffffff164210610d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1590613eb2565b60405180910390fd5b610d2e828463ffffffff1661272c565b600a81602001515110610d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6d90613f1e565b60405180910390fd5b600060646050836101000151610d8c9190613a01565b610d969190613a8a565b905060006064600d846101000151610dae9190613a01565b610db89190613a8a565b90506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308587610e089190613abb565b6040518463ffffffff1660e01b8152600401610e2693929190613f3e565b6020604051808303816000875af1158015610e45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e699190613939565b905080610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290613b86565b60405180910390fd5b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168587896101000151610f1f9190613f75565b610f299190613f75565b6040518463ffffffff1660e01b8152600401610f4793929190613f3e565b6020604051808303816000875af1158015610f66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8a9190613939565b905080610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc390613b86565b60405180910390fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166388a9ad9b8560a00151846040518363ffffffff1660e01b815260040161102d929190613fb8565b600060405180830381600087803b15801561104757600080fd5b505af115801561105b573d6000803e3d6000fd5b50505050828460e0018181516110719190613abb565b91508181525050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b111c42386888760e00151336040518563ffffffff1660e01b81526004016110dd9493929190613fe1565b600060405180830381600087803b1580156110f757600080fd5b505af115801561110b573d6000803e3d6000fd5b50505050600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061115f90614026565b9190505550836080015163ffffffff16853373ffffffffffffffffffffffffffffffffffffffff167f3ddab737a84e77ece9566db6734231c3e5e92e0cb4ed543a3d4ca426da9a9c848761010001518a89602001518a60e00151600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634b5cc87d8d60a001516040518263ffffffff1660e01b8152600401611218919061406e565b602060405180830381865afa158015611235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112599190613bdd565b60405161126a959493929190614147565b60405180910390a4505050505050565b611282612873565b73ffffffffffffffffffffffffffffffffffffffff166112a0611ef8565b73ffffffffffffffffffffffffffffffffffffffff16146112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed906141ed565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5836040518263ffffffff1660e01b81526004016113539190613336565b600060405180830381865afa158015611370573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611399919061384a565b905060008160200151519050816080015163ffffffff1642116113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e890614259565b60405180910390fd5b60028160ff1611611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e906142c5565b60405180910390fd5b60008261012001511461147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690614331565b60405180910390fd5b60008160ff1667ffffffffffffffff81111561149e5761149d613054565b5b6040519080825280602002602001820160405280156114cc5781602001602082028036833780820191505090505b50905060008060008060008060006114e88a602001518a61287b565b965096509650965096509650965060008761ffff161461159d5760005b8960ff168160ff161015611597578761ffff16828260ff168151811061152e5761152d614351565b5b602002602001015161ffff166201fbd0611548919061438f565b61155291906143cc565b62ffffff16898260ff168151811061156d5761156c614351565b5b602002602001019063ffffffff16908163ffffffff168152505061159081612d82565b9050611505565b50611607565b60005b8960ff168160ff161015611605578960ff166201fbd06115c091906143cc565b62ffffff16898260ff16815181106115db576115da614351565b5b602002602001019063ffffffff16908163ffffffff16815250506115fe81612d82565b90506115a0565b505b60008661ffff16146116c85760005b8960ff168160ff1610156116c2578661ffff16828b83611636919061440a565b60ff168151811061164a57611649614351565b5b602002602001015161ffff166201fbd0611664919061438f565b61166e91906143cc565b62ffffff16898260ff168151811061168957611688614351565b5b6020026020010181815161169d9190614441565b91509063ffffffff16908163ffffffff16815250506116bb81612d82565b9050611616565b50611741565b60005b8960ff168160ff16101561173f578960ff166201fbd06116eb91906143cc565b62ffffff16898260ff168151811061170657611705614351565b5b6020026020010181815161171a9190614441565b91509063ffffffff16908163ffffffff168152505061173881612d82565b90506116cb565b505b60008561ffff161461180e5760005b8960ff168160ff161015611808578561ffff16828b6002611771919061447b565b8361177c919061440a565b60ff16815181106117905761178f614351565b5b602002602001015161ffff166201fbd06117aa919061438f565b6117b491906143cc565b62ffffff16898260ff16815181106117cf576117ce614351565b5b602002602001018181516117e39190614441565b91509063ffffffff16908163ffffffff168152505061180181612d82565b9050611750565b50611887565b60005b8960ff168160ff161015611885578960ff166201fbd061183191906143cc565b62ffffff16898260ff168151811061184c5761184b614351565b5b602002602001018181516118609190614441565b91509063ffffffff16908163ffffffff168152505061187e81612d82565b9050611811565b505b60008461ffff16146119545760005b8960ff168160ff16101561194e578461ffff16828b60036118b7919061447b565b836118c2919061440a565b60ff16815181106118d6576118d5614351565b5b602002602001015161ffff166201fbd06118f0919061438f565b6118fa91906143cc565b62ffffff16898260ff168151811061191557611914614351565b5b602002602001018181516119299190614441565b91509063ffffffff16908163ffffffff168152505061194781612d82565b9050611896565b506119cd565b60005b8960ff168160ff1610156119cb578960ff166201fbd061197791906143cc565b62ffffff16898260ff168151811061199257611991614351565b5b602002602001018181516119a69190614441565b91509063ffffffff16908163ffffffff16815250506119c481612d82565b9050611957565b505b60008361ffff1614611a9a5760005b8960ff168160ff161015611a94578361ffff16828b60046119fd919061447b565b83611a08919061440a565b60ff1681518110611a1c57611a1b614351565b5b602002602001015161ffff166201fbd0611a36919061438f565b611a4091906143cc565b62ffffff16898260ff1681518110611a5b57611a5a614351565b5b60200260200101818151611a6f9190614441565b91509063ffffffff16908163ffffffff1681525050611a8d81612d82565b90506119dc565b50611b13565b60005b8960ff168160ff161015611b11578960ff166201fbd0611abd91906143cc565b62ffffff16898260ff1681518110611ad857611ad7614351565b5b60200260200101818151611aec9190614441565b91509063ffffffff16908163ffffffff1681525050611b0a81612d82565b9050611a9d565b505b60008261ffff1614611be05760005b8960ff168160ff161015611bda578261ffff16828b6005611b43919061447b565b83611b4e919061440a565b60ff1681518110611b6257611b61614351565b5b602002602001015161ffff16620249f0611b7c919061438f565b611b8691906143cc565b62ffffff16898260ff1681518110611ba157611ba0614351565b5b60200260200101818151611bb59190614441565b91509063ffffffff16908163ffffffff1681525050611bd381612d82565b9050611b22565b50611c59565b60005b8960ff168160ff161015611c57578960ff16620249f0611c0391906143cc565b62ffffff16898260ff1681518110611c1e57611c1d614351565b5b60200260200101818151611c329190614441565b91509063ffffffff16908163ffffffff1681525050611c5081612d82565b9050611be3565b505b60005b8960ff16811015611ccd578960ff1662030d40611c7991906143cc565b62ffffff16898281518110611c9157611c90614351565b5b60200260200101818151611ca59190614441565b91509063ffffffff16908163ffffffff16815250508080611cc590614026565b915050611c5c565b50600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663111b0e818c8a6040518363ffffffff1660e01b8152600401611d2b929190614574565b600060405180830381600087803b158015611d4557600080fd5b505af1158015611d59573d6000803e3d6000fd5b5050505060005b8960ff168160ff161015611e0d5760008160ff161115611dfd5788600182611d8891906145a4565b60ff1681518110611d9c57611d9b614351565b5b6020026020010151898260ff1681518110611dba57611db9614351565b5b6020026020010151611dcc9190614441565b898260ff1681518110611de257611de1614351565b5b602002602001019063ffffffff16908163ffffffff16815250505b611e0681612d82565b9050611d60565b50611e1a60028c8a612d8f565b5050505050505050505050565b611e2f612873565b73ffffffffffffffffffffffffffffffffffffffff16611e4d611ef8565b73ffffffffffffffffffffffffffffffffffffffff1614611ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9a906141ed565b60405180910390fd5b611ead6000612ebe565b565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa890614624565b60405180910390fd5b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600b5481565b612007612873565b73ffffffffffffffffffffffffffffffffffffffff16612025611ef8565b73ffffffffffffffffffffffffffffffffffffffff161461207b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612072906141ed565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e1906146b6565b60405180910390fd5b6120f381612ebe565b50565b6120fe612873565b73ffffffffffffffffffffffffffffffffffffffff1661211c611ef8565b73ffffffffffffffffffffffffffffffffffffffff1614612172576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612169906141ed565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006001600084815260200190815260200160002054905060006002600085815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561222d57602002820191906000526020600020905b815481526020019060010190808311612219575b50505050509050600080600090506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634b5cc87d600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5886040518263ffffffff1660e01b81526004016122d69190613336565b600060405180830381865afa1580156122f3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061231c919061384a565b60a001516040518263ffffffff1660e01b815260040161233c919061406e565b602060405180830381865afa158015612359573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237d9190613bdd565b905060006001620f42408860008151811061239b5761239a614351565b5b60200260200101516123ad91906146d6565b6123b79190613abb565b905060005b8551811015612408578581815181106123d8576123d7614351565b5b60200260200101518211156124085784806123f290614026565b955050808061240090614026565b9150506123bc565b50600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633b39503f87866040518363ffffffff1660e01b8152600401612466929190614707565b600060405180830381600087803b15801561248057600080fd5b505af1158015612494573d6000803e3d6000fd5b5050505060026064886001815181106124b0576124af614351565b5b60200260200101516124c291906146d6565b101561255a57600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f80fb76d876040518263ffffffff1660e01b81526004016125239190613336565b600060405180830381600087803b15801561253d57600080fd5b505af1158015612551573d6000803e3d6000fd5b50505050600192505b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5886040518263ffffffff1660e01b81526004016125b79190613336565b600060405180830381865afa1580156125d4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906125fd919061384a565b9050806060015173ffffffffffffffffffffffffffffffffffffffff191687600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663836387108461012001516040518263ffffffff1660e01b815260040161267c9190613336565b602060405180830381865afa158015612699573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126bd9190614730565b73ffffffffffffffffffffffffffffffffffffffff167fbe34e5a62546829ecb0b66209f6d73322f43bef9ceb95b906d39dac159b636038460c001518561012001518660e00151898b426040516127199695949392919061482a565b60405180910390a4505050505050505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630d71aba5856040518263ffffffff1660e01b815260040161278a9190613336565b600060405180830381865afa1580156127a7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906127d0919061384a565b905060005b81602001515181101561286c57816020015181815181106127f9576127f8614351565b5b6020026020010151840361281657828061281290614026565b9350505b60008314612859576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612850906148de565b60405180910390fd5b808061286490614026565b9150506127d5565b5050505050565b600033905090565b60008060008060008060606000600689612895919061447b565b60ff1667ffffffffffffffff8111156128b1576128b0613054565b5b6040519080825280602002602001820160405280156128df5781602001602082028036833780820191505090505b5090506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636321fba48c6040518263ffffffff1660e01b815260040161293f91906148fe565b600060405180830381865afa15801561295c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906129859190614ca2565b905060005b8a60ff168160ff161015612d5e57818160ff16815181106129ae576129ad614351565b5b60200260200101516040015160ff16838260ff16815181106129d3576129d2614351565b5b602002602001019061ffff16908161ffff1681525050828160ff16815181106129ff576129fe614351565b5b60200260200101518a612a129190614ceb565b9950818160ff1681518110612a2a57612a29614351565b5b60200260200101516060015160ff16838c83612a46919061440a565b60ff1681518110612a5a57612a59614351565b5b602002602001019061ffff16908161ffff1681525050828b82612a7d919061440a565b60ff1681518110612a9157612a90614351565b5b602002602001015189612aa49190614ceb565b9850818160ff1681518110612abc57612abb614351565b5b60200260200101516080015160ff16838c6002612ad9919061447b565b83612ae4919061440a565b60ff1681518110612af857612af7614351565b5b602002602001019061ffff16908161ffff1681525050828b6002612b1c919061447b565b82612b27919061440a565b60ff1681518110612b3b57612b3a614351565b5b602002602001015188612b4e9190614ceb565b9750818160ff1681518110612b6657612b65614351565b5b602002602001015160a0015160ff16838c6003612b83919061447b565b83612b8e919061440a565b60ff1681518110612ba257612ba1614351565b5b602002602001019061ffff16908161ffff1681525050828b6003612bc6919061447b565b82612bd1919061440a565b60ff1681518110612be557612be4614351565b5b602002602001015187612bf89190614ceb565b9650818160ff1681518110612c1057612c0f614351565b5b602002602001015160c0015160ff16838c6004612c2d919061447b565b83612c38919061440a565b60ff1681518110612c4c57612c4b614351565b5b602002602001019061ffff16908161ffff1681525050828b6004612c70919061447b565b82612c7b919061440a565b60ff1681518110612c8f57612c8e614351565b5b602002602001015186612ca29190614ceb565b9550818160ff1681518110612cba57612cb9614351565b5b602002602001015160e0015160ff16838c6005612cd7919061447b565b83612ce2919061440a565b60ff1681518110612cf657612cf5614351565b5b602002602001019061ffff16908161ffff1681525050828b6005612d1a919061447b565b82612d25919061440a565b60ff1681518110612d3957612d38614351565b5b602002602001015185612d4c9190614ceb565b9450612d5781612d82565b905061298a565b50888888888888879850985098509850985098509850505092959891949750929550565b6000600182019050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30600954600760149054906101000a900467ffffffffffffffff16600a60049054906101000a900461ffff16600a60009054906101000a900463ffffffff16886040518663ffffffff1660e01b8152600401612e2c959493929190614d6e565b6020604051808303816000875af1158015612e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e6f9190613bdd565b600b819055508160016000600b548152602001908152602001600020819055508060026000600b5481526020019081526020016000209080519060200190612eb8929190612f82565b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054828255906000526020600020908101928215612fc6579160200282015b82811115612fc5578251829063ffffffff16905591602001919060010190612fa2565b5b509050612fd39190612fd7565b5090565b5b80821115612ff0576000816000905550600101612fd8565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61301b81613008565b811461302657600080fd5b50565b60008135905061303881613012565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61308c82613043565b810181811067ffffffffffffffff821117156130ab576130aa613054565b5b80604052505050565b60006130be612ff4565b90506130ca8282613083565b919050565b600067ffffffffffffffff8211156130ea576130e9613054565b5b602082029050602081019050919050565b600080fd5b600061311361310e846130cf565b6130b4565b90508083825260208201905060208402830185811115613136576131356130fb565b5b835b8181101561315f578061314b8882613029565b845260208401935050602081019050613138565b5050509392505050565b600082601f83011261317e5761317d61303e565b5b813561318e848260208601613100565b91505092915050565b600080604083850312156131ae576131ad612ffe565b5b60006131bc85828601613029565b925050602083013567ffffffffffffffff8111156131dd576131dc613003565b5b6131e985828601613169565b9150509250929050565b60006020828403121561320957613208612ffe565b5b600061321784828501613029565b91505092915050565b600063ffffffff82169050919050565b61323981613220565b811461324457600080fd5b50565b60008135905061325681613230565b92915050565b6000806040838503121561327357613272612ffe565b5b600061328185828601613247565b925050602061329285828601613029565b9150509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132c78261329c565b9050919050565b6132d7816132bc565b81146132e257600080fd5b50565b6000813590506132f4816132ce565b92915050565b6000602082840312156133105761330f612ffe565b5b600061331e848285016132e5565b91505092915050565b61333081613008565b82525050565b600060208201905061334b6000830184613327565b92915050565b61335a816132bc565b82525050565b60006020820190506133756000830184613351565b92915050565b60006040820190506133906000830185613351565b61339d6020830184613351565b9392505050565b600080fd5b600080fd5b6000815190506133bd81613012565b92915050565b60006133d66133d1846130cf565b6130b4565b905080838252602082019050602084028301858111156133f9576133f86130fb565b5b835b81811015613422578061340e88826133ae565b8452602084019350506020810190506133fb565b5050509392505050565b600082601f8301126134415761344061303e565b5b81516134518482602086016133c3565b91505092915050565b600067ffffffffffffffff82111561347557613474613054565b5b602082029050602081019050919050565b60008151905061349581613230565b92915050565b60006134ae6134a98461345a565b6130b4565b905080838252602082019050602084028301858111156134d1576134d06130fb565b5b835b818110156134fa57806134e68882613486565b8452602084019350506020810190506134d3565b5050509392505050565b600082601f8301126135195761351861303e565b5b815161352984826020860161349b565b91505092915050565b60007fffffffffffffffffffffffff000000000000000000000000000000000000000082169050919050565b61356781613532565b811461357257600080fd5b50565b6000815190506135848161355e565b92915050565b600061ffff82169050919050565b6135a18161358a565b81146135ac57600080fd5b50565b6000815190506135be81613598565b92915050565b600067ffffffffffffffff8211156135df576135de613054565b5b602082029050602081019050919050565b6000815190506135ff816132ce565b92915050565b6000613618613613846135c4565b6130b4565b9050808382526020820190506020840283018581111561363b5761363a6130fb565b5b835b81811015613664578061365088826135f0565b84526020840193505060208101905061363d565b5050509392505050565b600082601f8301126136835761368261303e565b5b8151613693848260208601613605565b91505092915050565b60008115159050919050565b6136b18161369c565b81146136bc57600080fd5b50565b6000815190506136ce816136a8565b92915050565b600061018082840312156136eb576136ea6133a4565b5b6136f66101806130b4565b90506000613706848285016133ae565b600083015250602082015167ffffffffffffffff81111561372a576137296133a9565b5b6137368482850161342c565b602083015250604082015167ffffffffffffffff81111561375a576137596133a9565b5b61376684828501613504565b604083015250606061377a84828501613575565b606083015250608061378e84828501613486565b60808301525060a06137a2848285016135af565b60a08301525060c082015167ffffffffffffffff8111156137c6576137c56133a9565b5b6137d28482850161366e565b60c08301525060e06137e6848285016133ae565b60e0830152506101006137fb848285016133ae565b61010083015250610120613811848285016133ae565b61012083015250610140613827848285016133ae565b6101408301525061016061383d848285016136bf565b6101608301525092915050565b6000602082840312156138605761385f612ffe565b5b600082015167ffffffffffffffff81111561387e5761387d613003565b5b61388a848285016136d4565b91505092915050565b600082825260208201905092915050565b7f5056503a20414300000000000000000000000000000000000000000000000000600082015250565b60006138da600783613893565b91506138e5826138a4565b602082019050919050565b60006020820190508181036000830152613909816138cd565b9050919050565b60006040820190506139256000830185613327565b6139326020830184613351565b9392505050565b60006020828403121561394f5761394e612ffe565b5b600061395d848285016136bf565b91505092915050565b7f5056503a204e4f00000000000000000000000000000000000000000000000000600082015250565b600061399c600783613893565b91506139a782613966565b602082019050919050565b600060208201905081810360008301526139cb8161398f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a0c82613008565b9150613a1783613008565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a5057613a4f6139d2565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613a9582613008565b9150613aa083613008565b925082613ab057613aaf613a5b565b5b828204905092915050565b6000613ac682613008565b9150613ad183613008565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b0657613b056139d2565b5b828201905092915050565b6000604082019050613b266000830185613351565b613b336020830184613327565b9392505050565b7f5056503a20525446000000000000000000000000000000000000000000000000600082015250565b6000613b70600883613893565b9150613b7b82613b3a565b602082019050919050565b60006020820190508181036000830152613b9f81613b63565b9050919050565b6000606082019050613bbb6000830186613327565b613bc86020830185613327565b613bd56040830184613327565b949350505050565b600060208284031215613bf357613bf2612ffe565b5b6000613c01848285016133ae565b91505092915050565b7f5056503a20494600000000000000000000000000000000000000000000000000600082015250565b6000613c40600783613893565b9150613c4b82613c0a565b602082019050919050565b60006020820190508181036000830152613c6f81613c33565b9050919050565b6000819050919050565b6000613c9b613c96613c9184613220565b613c76565b613008565b9050919050565b613cab81613c80565b82525050565b6000604082019050613cc66000830185613ca2565b613cd36020830184613351565b9392505050565b7f5056503a20524e59000000000000000000000000000000000000000000000000600082015250565b6000613d10600883613893565b9150613d1b82613cda565b602082019050919050565b60006020820190508181036000830152613d3f81613d03565b9050919050565b6000602082019050613d5b6000830184613ca2565b92915050565b600060208284031215613d7757613d76612ffe565b5b6000613d8584828501613575565b91505092915050565b7f5056503a20494d00000000000000000000000000000000000000000000000000600082015250565b6000613dc4600783613893565b9150613dcf82613d8e565b602082019050919050565b60006020820190508181036000830152613df381613db7565b9050919050565b7f5056503a20467552690000000000000000000000000000000000000000000000600082015250565b6000613e30600983613893565b9150613e3b82613dfa565b602082019050919050565b60006020820190508181036000830152613e5f81613e23565b9050919050565b7f5056503a2052504f000000000000000000000000000000000000000000000000600082015250565b6000613e9c600883613893565b9150613ea782613e66565b602082019050919050565b60006020820190508181036000830152613ecb81613e8f565b9050919050565b7f5056503a20504c45000000000000000000000000000000000000000000000000600082015250565b6000613f08600883613893565b9150613f1382613ed2565b602082019050919050565b60006020820190508181036000830152613f3781613efb565b9050919050565b6000606082019050613f536000830186613351565b613f606020830185613351565b613f6d6040830184613327565b949350505050565b6000613f8082613008565b9150613f8b83613008565b925082821015613f9e57613f9d6139d2565b5b828203905092915050565b613fb28161358a565b82525050565b6000604082019050613fcd6000830185613fa9565b613fda6020830184613327565b9392505050565b6000608082019050613ff66000830187613327565b6140036020830186613ca2565b6140106040830185613327565b61401d6060830184613351565b95945050505050565b600061403182613008565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614063576140626139d2565b5b600182019050919050565b60006020820190506140836000830184613fa9565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140be81613008565b82525050565b60006140d083836140b5565b60208301905092915050565b6000602082019050919050565b60006140f482614089565b6140fe8185614094565b9350614109836140a5565b8060005b8381101561413a57815161412188826140c4565b975061412c836140dc565b92505060018101905061410d565b5085935050505092915050565b600060a08201905061415c6000830188613327565b6141696020830187613ca2565b818103604083015261417b81866140e9565b905061418a6060830185613327565b6141976080830184613327565b9695505050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141d7602083613893565b91506141e2826141a1565b602082019050919050565b60006020820190508181036000830152614206816141ca565b9050919050565b7f5056503a20545354500000000000000000000000000000000000000000000000600082015250565b6000614243600983613893565b915061424e8261420d565b602082019050919050565b6000602082019050818103600083015261427281614236565b9050919050565b7f205056503a204950000000000000000000000000000000000000000000000000600082015250565b60006142af600883613893565b91506142ba82614279565b602082019050919050565b600060208201905081810360008301526142de816142a2565b9050919050565b7f5056503a20466952610000000000000000000000000000000000000000000000600082015250565b600061431b600983613893565b9150614326826142e5565b602082019050919050565b6000602082019050818103600083015261434a8161430e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600062ffffff82169050919050565b600061439a82614380565b91506143a583614380565b92508162ffffff04831182151516156143c1576143c06139d2565b5b828202905092915050565b60006143d782614380565b91506143e283614380565b9250826143f2576143f1613a5b565b5b828204905092915050565b600060ff82169050919050565b6000614415826143fd565b9150614420836143fd565b92508260ff03821115614436576144356139d2565b5b828201905092915050565b600061444c82613220565b915061445783613220565b92508263ffffffff038211156144705761446f6139d2565b5b828201905092915050565b6000614486826143fd565b9150614491836143fd565b92508160ff04831182151516156144ab576144aa6139d2565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6144eb81613220565b82525050565b60006144fd83836144e2565b60208301905092915050565b6000602082019050919050565b6000614521826144b6565b61452b81856144c1565b9350614536836144d2565b8060005b8381101561456757815161454e88826144f1565b975061455983614509565b92505060018101905061453a565b5085935050505092915050565b60006040820190506145896000830185613327565b818103602083015261459b8184614516565b90509392505050565b60006145af826143fd565b91506145ba836143fd565b9250828210156145cd576145cc6139d2565b5b828203905092915050565b7f5056503a2063616c6c6572206973206e6f7420726577617264506f6f6c000000600082015250565b600061460e601d83613893565b9150614619826145d8565b602082019050919050565b6000602082019050818103600083015261463d81614601565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146a0602683613893565b91506146ab82614644565b604082019050919050565b600060208201905081810360008301526146cf81614693565b9050919050565b60006146e182613008565b91506146ec83613008565b9250826146fc576146fb613a5b565b5b828206905092915050565b600060408201905061471c6000830185613327565b6147296020830184613327565b9392505050565b60006020828403121561474657614745612ffe565b5b6000614754848285016135f0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614792816132bc565b82525050565b60006147a48383614789565b60208301905092915050565b6000602082019050919050565b60006147c88261475d565b6147d28185614768565b93506147dd83614779565b8060005b8381101561480e5781516147f58882614798565b9750614800836147b0565b9250506001810190506147e1565b5085935050505092915050565b6148248161369c565b82525050565b600060c082019050818103600083015261484481896147bd565b90506148536020830188613327565b6148606040830187613327565b61486d6060830186613327565b61487a608083018561481b565b61488760a0830184613327565b979650505050505050565b7f5056503a20415200000000000000000000000000000000000000000000000000600082015250565b60006148c8600783613893565b91506148d382614892565b602082019050919050565b600060208201905081810360008301526148f7816148bb565b9050919050565b6000602082019050818103600083015261491881846140e9565b905092915050565b600067ffffffffffffffff82111561493b5761493a613054565b5b602082029050602081019050919050565b614955816143fd565b811461496057600080fd5b50565b6000815190506149728161494c565b92915050565b600080fd5b600067ffffffffffffffff82111561499857614997613054565b5b6149a182613043565b9050602081019050919050565b60005b838110156149cc5780820151818401526020810190506149b1565b838111156149db576000848401525b50505050565b60006149f46149ef8461497d565b6130b4565b905082815260208101848484011115614a1057614a0f614978565b5b614a1b8482856149ae565b509392505050565b600082601f830112614a3857614a3761303e565b5b8151614a488482602086016149e1565b91505092915050565b60006101e08284031215614a6857614a676133a4565b5b614a736101e06130b4565b90506000614a83848285016133ae565b6000830152506020614a9784828501614963565b6020830152506040614aab84828501614963565b6040830152506060614abf84828501614963565b6060830152506080614ad384828501614963565b60808301525060a0614ae784828501614963565b60a08301525060c0614afb84828501614963565b60c08301525060e0614b0f84828501614963565b60e083015250610100614b2484828501613575565b61010083015250610120614b3a848285016136bf565b61012083015250610140614b50848285016136bf565b61014083015250610160614b66848285016136bf565b61016083015250610180614b7c848285016136bf565b610180830152506101a082015167ffffffffffffffff811115614ba257614ba16133a9565b5b614bae84828501614a23565b6101a0830152506101c082015167ffffffffffffffff811115614bd457614bd36133a9565b5b614be084828501614a23565b6101c08301525092915050565b6000614c00614bfb84614920565b6130b4565b90508083825260208201905060208402830185811115614c2357614c226130fb565b5b835b81811015614c6a57805167ffffffffffffffff811115614c4857614c4761303e565b5b808601614c558982614a51565b85526020850194505050602081019050614c25565b5050509392505050565b600082601f830112614c8957614c8861303e565b5b8151614c99848260208601614bed565b91505092915050565b600060208284031215614cb857614cb7612ffe565b5b600082015167ffffffffffffffff811115614cd657614cd5613003565b5b614ce284828501614c74565b91505092915050565b6000614cf68261358a565b9150614d018361358a565b92508261ffff03821115614d1857614d176139d2565b5b828201905092915050565b6000819050919050565b614d3681614d23565b82525050565b600067ffffffffffffffff82169050919050565b614d5981614d3c565b82525050565b614d6881613220565b82525050565b600060a082019050614d836000830188614d2d565b614d906020830187614d50565b614d9d6040830186613fa9565b614daa6060830185614d5f565b614db76080830184614d5f565b969550505050505056fea264697066735822122010d81ebc22bc5364b12fb5a40a538f4e8a1c6c1ebbbe9bcfe5bcab32965b893464736f6c634300080f0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in POL
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.