ETH Price: $3,280.84 (+1.03%)

Contract

0x9269C72D844AF5B3946cE864b5d5266dBd2D62c7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
Age
From
To
Transfer207876152024-09-19 22:25:59114 days ago1726784759IN
Frost Protocol: FROST Token
0 ETH0.000721197.26268121
Transfer139047672021-12-30 5:13:031108 days ago1640841183IN
Frost Protocol: FROST Token
0 ETH0.01139351114.75103829
Set Transfer Fee134722022021-10-23 6:26:461176 days ago1634970406IN
Frost Protocol: FROST Token
0 ETH0.0021454261.27523895
Approve134721932021-10-23 6:23:591176 days ago1634970239IN
Frost Protocol: FROST Token
0 ETH0.0025346654.44811653
Approve119440782021-02-28 5:52:381413 days ago1614491558IN
Frost Protocol: FROST Token
0 ETH0.0039117788
Approve116778222021-01-18 7:11:011454 days ago1610953861IN
Frost Protocol: FROST Token
0 ETH0.0020047845.1
Transfer116493892021-01-13 22:14:361459 days ago1610576076IN
Frost Protocol: FROST Token
0 ETH0.003051964
Approve116492222021-01-13 21:39:451459 days ago1610573985IN
Frost Protocol: FROST Token
0 ETH0.0017336239
Transfer116488582021-01-13 20:24:381459 days ago1610569478IN
Frost Protocol: FROST Token
0 ETH0.0050694551
Transfer116488562021-01-13 20:24:001459 days ago1610569440IN
Frost Protocol: FROST Token
0 ETH0.0089460990
Transfer116488312021-01-13 20:20:211459 days ago1610569221IN
Frost Protocol: FROST Token
0 ETH0.0073207100
Transfer116488192021-01-13 20:18:281459 days ago1610569108IN
Frost Protocol: FROST Token
0 ETH0.0050512869
Mint116488182021-01-13 20:18:161459 days ago1610569096IN
Frost Protocol: FROST Token
0 ETH0.002995167
Transfer116487192021-01-13 19:59:271459 days ago1610567967IN
Frost Protocol: FROST Token
0 ETH0.0064602865
Approve116477632021-01-13 16:31:291459 days ago1610555489IN
Frost Protocol: FROST Token
0 ETH0.0026671260
Approve116470122021-01-13 13:58:141459 days ago1610546294IN
Frost Protocol: FROST Token
0 ETH0.0022981651.7
Approve116467912021-01-13 13:13:141459 days ago1610543594IN
Frost Protocol: FROST Token
0 ETH0.0041784894
Approve116466962021-01-13 12:48:251459 days ago1610542105IN
Frost Protocol: FROST Token
0 ETH0.0017780840
Approve116465722021-01-13 12:22:161459 days ago1610540536IN
Frost Protocol: FROST Token
0 ETH0.0019558844
Approve116464962021-01-13 12:05:501459 days ago1610539550IN
Frost Protocol: FROST Token
0 ETH0.0021336948
Approve116464602021-01-13 11:58:421459 days ago1610539122IN
Frost Protocol: FROST Token
0 ETH0.0018225341.00000067
Approve116464262021-01-13 11:52:311459 days ago1610538751IN
Frost Protocol: FROST Token
0 ETH0.0029338366
Approve116463832021-01-13 11:43:151459 days ago1610538195IN
Frost Protocol: FROST Token
0 ETH0.0029338366
Approve116463662021-01-13 11:39:241459 days ago1610537964IN
Frost Protocol: FROST Token
0 ETH0.0029782867
Approve116463622021-01-13 11:38:321459 days ago1610537912IN
Frost Protocol: FROST Token
0 ETH0.0024188554.41506306
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FROST

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 62: FROST.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IUniswapV2Factory } from './IUniswapV2Factory.sol';
import { IUniswapV2Router02 } from './IUniswapV2Router02.sol';
import { IFROST } from "./IFROST.sol";
import { IAvalanche } from './IAvalanche.sol';
import { FROSTBase } from "./FROSTBase.sol";
contract FROST is IFROST, FROSTBase {
event EpochUpdated(address _address, uint256 _epoch, uint256 _phase);
uint256 public override constant MAX_SUPPLY = 21000 * 1e18; // max supply 21k
bool public override maxSupplyHit; // has max supply been reached
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 2 of 62: AccessControl.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./EnumerableSet.sol";
import "./Address.sol";
import "./Context.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 3 of 62: Address.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 <0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 4 of 62: AddressBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IAddressRegistry } from "./IAddressRegistry.sol";
import { UtilitiesBase } from "./UtilitiesBase.sol";
abstract contract AddressBase is UtilitiesBase {
address internal _addressRegistry;
function _setAddressRegistry(address _address)
internal
{
_addressRegistry = _address;
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 5 of 62: AddressRegistry.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { Ownable } from "./Ownable.sol";
import { IAddressRegistry } from "./IAddressRegistry.sol";
import { AddressStorage } from "./AddressStorage.sol";
contract AddressRegistry is IAddressRegistry, Ownable, AddressStorage {
event AvalancheUpdated(address indexed newAddress);
event LGEUpdated(address indexed newAddress);
event LodgeUpdated(address indexed newAddress);
event LoyaltyUpdated(address indexed newAddress);
event FrostUpdated(address indexed newAddress);
event FrostPoolUpdated(address indexed newAddress);
event SlopesUpdated(address indexed newAddress);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 6 of 62: AddressStorage.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
contract AddressStorage {
mapping(bytes32 => address) private addresses;
function getAddress(bytes32 _key) public view returns (address) {
return addresses[_key];
}
function _setAddress(bytes32 _key, address _value) internal {
addresses[_key] = _value;
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 7 of 62: AltitudeBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IAddressRegistry } from "./IAddressRegistry.sol";
import { ISnowPatrol } from "./ISnowPatrol.sol";
import { AddressBase } from "./AddressBase.sol";
abstract contract AltitudeBase is AddressBase {
modifier OnlyLGE {
require(
_msgSender() == lgeAddress(),
"Only the LGE contract can call this function"
);
_;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 8 of 62: Avalanche.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IERC20 } from './IERC20.sol';
import { AvalancheBase } from "./AvalancheBase.sol";
import { IAvalanche } from "./IAvalanche.sol";
import { IFROST } from "./IFROST.sol";
import { ILoyalty } from "./ILoyalty.sol";
import { ISlopes } from "./ISlopes.sol";
contract Avalanche is IAvalanche, AvalancheBase {
event Activated(address indexed user);
event Distribution(address indexed user, uint256 totalFrostRewards, uint256 payoutPerDay);
event Claim(address indexed user, uint256 frostAmount);
event Deposit(address indexed user, uint256 amount);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 9 of 62: AvalancheBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { LiquidityPoolBase } from "./LiquidityPoolBase.sol";
import { IERC20 } from './IERC20.sol';
import { SafeERC20 } from './SafeERC20.sol';
import { SafeMath } from './SafeMath.sol';
abstract contract AvalancheBase is LiquidityPoolBase {
using SafeMath for uint256;
using SafeERC20 for IERC20;
constructor(address addressRegistry) internal {
_setAddressRegistry(addressRegistry);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 10 of 62: console.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.8.0;
library console {
address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);
function _sendLogPayload(bytes memory payload) private view {
uint256 payloadLength = payload.length;
address consoleAddress = CONSOLE_ADDRESS;
assembly {
let payloadStart := add(payload, 32)
let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
}
}
function log() internal view {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 11 of 62: Context.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <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 GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 12 of 62: EnumerableSet.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 13 of 62: ERC1155.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./IERC1155.sol";
import "./IERC1155MetadataURI.sol";
import "./IERC1155Receiver.sol";
import "./Context.sol";
import "./ERC165.sol";
import "./SafeMath.sol";
import "./Address.sol";
/**
*
* @dev Implementation of the basic standard multi-token.
* See https://eips.ethereum.org/EIPS/eip-1155
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 14 of 62: ERC165.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts may inherit from this and call {_registerInterface} to declare
* their support of an interface.
*/
abstract contract ERC165 is IERC165 {
/*
* bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 15 of 62: ERC20.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./Context.sol";
import "./IERC20.sol";
import "./SafeMath.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
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 16 of 62: FROSTBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
// import { ERC20 } from "../utils/ERC20/ERC20.sol";
import { FROSTToken } from "./FROSTToken.sol";
import { PatrolBase } from "./PatrolBase.sol";
abstract contract FROSTBase is PatrolBase, FROSTToken {
constructor(
address addressRegistry,
string memory name_,
string memory symbol_
)
public
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 17 of 62: FROSTToken.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
// import { ERC20 } from "../utils/ERC20/ERC20.sol";
import { SafeMath } from "./SafeMath.sol";
import { IERC20 } from './IERC20.sol';
import { Context } from "./Context.sol";
// Standed ERC20 with internal _balances, virtual _transfer, and add'l helper funcs
// Modificiations made out of ecosystem necessity
abstract contract FROSTToken is IERC20, Context {
using SafeMath for uint256;
mapping (address => uint256) internal _balances;
mapping (address => mapping (address => uint256)) private _allowances;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 18 of 62: IAccessControl.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IAccessControl {
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
function DEFAULT_ADMIN_ROLE() external view returns (bytes32);
function hasRole(bytes32 role, address account) external view returns (bool);
function getRoleMemberCount(bytes32 role) external view returns (uint256);
function getRoleMember(bytes32 role, uint256 index) external view returns (address);
function getRoleAdmin(bytes32 role) external view returns (bytes32);
function grantRole(bytes32 role, address account) external;
function revokeRole(bytes32 role, address account) external;
function renounceRole(bytes32 role, address account) external;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 19 of 62: IAddressRegistry.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IAddressRegistry {
event AvalancheUpdated(address indexed newAddress);
event LGEUpdated(address indexed newAddress);
event LodgeUpdated(address indexed newAddress);
event LoyaltyUpdated(address indexed newAddress);
event FrostUpdated(address indexed newAddress);
event FrostPoolUpdated(address indexed newAddress);
event SlopesUpdated(address indexed newAddress);
event SnowPatrolUpdated(address indexed newAddress);
event TreasuryUpdated(address indexed newAddress);
event UniswapRouterUpdated(address indexed newAddress);
event VaultUpdated(address indexed newAddress);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 20 of 62: IAvalanche.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IAvalanche {
event Activated(address indexed user);
event Claim(address indexed user, uint256 frostAmount);
event Deposit(address indexed user, uint256 amount);
event Withdraw(address indexed user, uint256 amount);
event FrostRewardAdded(address indexed user, uint256 frostReward);
event EthRewardAdded(address indexed user, uint256 ethReward);
function active() external view returns (bool);
function activate() external;
function addFrostReward(address _from, uint256 _amount) external;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 21 of 62: IERC1155.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 <0.8.0;
import "./IERC165.sol";
/**
* @dev Required interface of an ERC1155 compliant contract, as defined in the
* https://eips.ethereum.org/EIPS/eip-1155[EIP].
*
* _Available since v3.1._
*/
interface IERC1155 is IERC165 {
/**
* @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 22 of 62: IERC1155MetadataURI.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.2 <0.8.0;
import "./IERC1155.sol";
/**
* @dev Interface of the optional ERC1155MetadataExtension interface, as defined
* in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
*
* _Available since v3.1._
*/
interface IERC1155MetadataURI is IERC1155 {
/**
* @dev Returns the URI for token type `id`.
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 23 of 62: IERC1155Receiver.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./IERC165.sol";
/**
* _Available since v3.1._
*/
interface IERC1155Receiver is IERC165 {
/**
@dev Handles the receipt of a single ERC1155 token type. This function is
called at the end of a `safeTransferFrom` after the balance has been updated.
To accept the transfer, this must return
`bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 24 of 62: IERC165.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 25 of 62: IERC20.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <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`.
*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 26 of 62: IFlashLoanReceiver.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IFlashLoanReceiver {
function executeOperation(
address _token,
uint256 _amount,
uint256 _fee,
bytes memory _params
) external;
// function executeOperation(
// address[] calldata _reserves,
// uint256[] calldata _amounts,
// uint256[] calldata _fees,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 27 of 62: IFROST.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pragma solidity ^0.6.12;
interface IFROST {
event EpochUpdated(address _address, uint256 _epoch, uint256 _phase);
function MAX_SUPPLY() external view returns (uint256);
function maxSupplyHit() external view returns (bool);
function transferFee() external view returns (uint256);
function currentEpoch() external view returns (uint256);
function currentPhase() external view returns (uint256);
function epochMaxSupply(uint _epoch) external view returns (uint256);
function epochBaseRate(uint _epoch) external view returns (uint256);
function accumulating() external view returns (bool);
function currentMaxSupply() external view returns (uint256);
function currentBaseRate() external view returns (uint256);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 28 of 62: ILendingPool.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface ILendingPool {
event FlashLoanCompleted(
address indexed _user,
address indexed _receiver,
address indexed _token,
uint256 _amount,
uint256 _totalFee
);
function flashLoan(
address _receiver,
address _token,
uint256 _amount,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 29 of 62: ILGE.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface ILGE {
event LiquidityEventStarted(address _address);
event LiquidityCapReached(address _address);
event LiquidityEventCompleted(address _address, uint256 totalContributors, uint256 totalContributed);
event UserContributed(address indexed _address, uint256 _amount);
event UserClaimed(address indexed _address, uint256 _amount);
function active() external view returns (bool);
function eventStartTimestamp() external view returns (uint256);
function eventEndTimestamp() external view returns (uint256);
function totalContributors() external view returns (uint256);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 30 of 62: ILodge.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface ILodge {
event TokenCreated(address user, uint256 id, uint256 supply);
function items(uint256 _token) external view returns(uint256);
function boost(uint256 _id) external view returns (uint256);
function setURI(string memory _newuri) external;
function mint(address _account, uint256 _id, uint256 _amount, uint256 _boost) external;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 31 of 62: ILoyalty.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface ILoyalty {
event TrancheUpdated(uint256 _tranche, uint256 _points);
event LoyaltyUpdated(address indexed _user, uint256 _tranche, uint256 _points);
event BaseFeeUpdated(address indexed _user, uint256 _baseFee);
event ProtocolFeeUpdated(address indexed _user, uint256 _protocolFee);
event DiscountMultiplierUpdated(address indexed _user, uint256 _multiplier);
event Deposit(address indexed _user, uint256 _id, uint256 _amount);
event Withdraw(address indexed _user, uint256 _id, uint256 _amount);
function staked(uint256 _id, address _address) external view returns (uint256);
function whitelistedTokens(uint256 _id) external view returns (bool);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 32 of 62: ISlopes.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface ISlopes {
event Activated(address user);
event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
event Claim(address indexed user, uint256 indexed pid, uint256 frostAmount, uint256 tokenAmount);
event ClaimAll(address indexed user, uint256 frostAmount, uint256[] tokenAmounts);
event Migrate(address indexed user, uint256 amount);
event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
// event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
event FrostPurchase(address indexed user, uint256 ethSpentOnFrost, uint256 frostBought);
function active() external view returns (bool);
function frostSentToAvalanche() external view returns (uint256);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 33 of 62: ISnowPatrol.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { AltitudeBase } from "./AltitudeBase.sol";
interface ISnowPatrol {
function ADMIN_ROLE() external pure returns (bytes32);
function LGE_ROLE() external pure returns (bytes32);
function FROST_ROLE() external pure returns (bytes32);
function SLOPES_ROLE() external pure returns (bytes32);
function LODGE_ROLE() external pure returns (bytes32);
function setCoreRoles() external;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 34 of 62: IUniswapV2Factory.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) external view returns (address pair);
function allPairs(uint) external view returns (address pair);
function allPairsLength() external view returns (uint);
function createPair(address tokenA, address tokenB) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 35 of 62: IUniswapV2Pair.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pragma solidity >=0.5.0;
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 36 of 62: IUniswapV2Router01.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pragma solidity >=0.6.2;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 37 of 62: IUniswapV2Router02.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pragma solidity >=0.6.2;
import './IUniswapV2Router01.sol';
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 38 of 62: IWETH.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IWETH {
event Approval(address indexed src, address indexed guy, uint wad);
event Transfer(address indexed src, address indexed dst, uint wad);
event Deposit(address indexed dst, uint wad);
event Withdrawal(address indexed src, uint wad);
function deposit() external payable;
function withdraw(uint wad) external;
function totalSupply() external view returns (uint);
function approve(address guy, uint wad) external returns (bool);
function transfer(address dst, uint wad) external returns (bool);
function transferFrom(address src, address dst, uint wad) external returns (bool);
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 39 of 62: LendingPoolBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IERC20 } from "./IERC20.sol";
import { SafeERC20 } from "./SafeERC20.sol";
import { SafeMath } from "./SafeMath.sol";
import { ReentrancyGuard } from "./ReentrancyGuard.sol";
import { IFlashLoanReceiver } from "./IFlashLoanReceiver.sol";
import { ILoyalty } from "./ILoyalty.sol";
import { ILendingPool } from "./ILendingPool.sol";
import { MultiPoolBase } from "./MultiPoolBase.sol";
contract LendingPoolBase is ILendingPool, MultiPoolBase {
using SafeMath for uint256;
using SafeERC20 for IERC20;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 40 of 62: LGE.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IERC20 } from "./IERC20.sol";
import { IERC1155 } from "./IERC1155.sol";
import { IERC1155Receiver } from "./IERC1155Receiver.sol";
import { IUniswapV2Router02 } from './IUniswapV2Router02.sol';
import { ILGE } from "./ILGE.sol";
import { ILodge } from "./ILodge.sol";
import { LGEBase } from "./LGEBase.sol";
import { IFROST } from "./IFROST.sol";
import { ISlopes } from "./ISlopes.sol";
import "./console.sol";
contract LGE is ILGE, IERC1155Receiver, LGEBase {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 41 of 62: LGEBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "./SafeERC20.sol";
import "./SafeMath.sol";
import { IERC20 } from "./IERC20.sol";
import { UniswapBase } from "./UniswapBase.sol";
abstract contract LGEBase is UniswapBase {
using SafeERC20 for IERC20;
using SafeMath for uint256;
constructor(address addressRegistry) internal {
_setAddressRegistry(addressRegistry);
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 42 of 62: LiquidityPoolBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { PoolBase } from "./PoolBase.sol";
contract LiquidityPoolBase is PoolBase {
struct UserInfo {
uint256 shares; // How many pool shares user owns, equal to staked tokens with bonuses applied
uint256 staked; // How many FROST-ETH LP tokens the user has staked
uint256 rewardDebt; // Reward debt. Works the same as in the Slopes contract
uint256 claimed; // Tracks the amount of FROST claimed by the user
}
mapping (address => UserInfo) public userInfo; // Info of each user that stakes FROST-ETH LP tokens
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 43 of 62: Lodge.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { ILodge } from "./ILodge.sol";
import { LodgeBase } from "./LodgeBase.sol";
import { LodgeToken } from "./LodgeToken.sol";
contract Lodge is ILodge, LodgeBase {
event TokenCreated(address user, uint256 id, uint256 supply);
uint256 public constant MASK_FROST = 0;
uint256 public constant GOGGLES_FROST = 1;
uint256 public constant JACK_FROST = 2;
mapping(uint256 => uint256) public override items; // total supply of each token
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 44 of 62: LodgeBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { PatrolBase } from "./PatrolBase.sol";
import { LodgeToken } from "./LodgeToken.sol";
abstract contract LodgeBase is PatrolBase, LodgeToken {
constructor(
address addressRegistry,
string memory _newuri
)
internal
LodgeToken(_newuri)
{
_setAddressRegistry(addressRegistry);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 45 of 62: LodgeToken.sol
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { ERC1155 } from "./ERC1155.sol";
abstract contract LodgeToken is ERC1155 {
constructor(string memory _newuri) internal ERC1155(_newuri) {}
function setURI(string memory _newuri) external virtual;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 46 of 62: Loyalty.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IERC1155 } from "./IERC1155.sol";
import { IERC1155Receiver } from "./IERC1155Receiver.sol";
import { ILoyalty } from "./ILoyalty.sol";
import { ILodge } from "./ILodge.sol";
import { ISlopes } from "./ISlopes.sol";
import { IAvalanche } from "./IAvalanche.sol";
import { LoyaltyBase } from "./LoyaltyBase.sol";
// contract to manage all bonuses
contract Loyalty is ILoyalty, IERC1155Receiver, LoyaltyBase {
event TrancheUpdated(uint256 _tranche, uint256 _points);
event LoyaltyUpdated(address indexed _user, uint256 _tranche, uint256 _points);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 47 of 62: LoyaltyBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "./SafeMath.sol";
import { PatrolBase } from "./PatrolBase.sol";
contract LoyaltyBase is PatrolBase {
using SafeMath for uint256;
constructor(address addressRegistry)
public
{
_setAddressRegistry(addressRegistry);
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 48 of 62: MultiPoolBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { PoolBase } from "./PoolBase.sol";
contract MultiPoolBase is PoolBase {
// At any point in time, the amount of FROST and tokens
// entitled to a user that is pending to be distributed is:
//
// pending_frost_reward = (user.shares * pool.accFrostPerShare) - user.rewardDebt
// pending_token_rewards = (user.staked * pool.accTokenPerShare) - user.tokenRewardDebt
//
// Shares are a notional value of tokens staked, shares are given in a 1:1 ratio with tokens staked
// If you have any NFTs staked in the Lodge, you earn additional shares according to the boost of the NFT.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 49 of 62: Ownable.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./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.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 50 of 62: PatrolBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { AltitudeBase } from "./AltitudeBase.sol";
import { IAddressRegistry } from "./IAddressRegistry.sol";
import { IAccessControl } from "./IAccessControl.sol";
contract PatrolBase is AltitudeBase {
modifier HasPatrol(bytes memory _patrol) {
require(
IAccessControl(snowPatrolAddress()).hasRole(keccak256(_patrol), address(_msgSender())),
"Account does not have sufficient role to call this function"
);
_;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 51 of 62: PoolBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IERC20 } from "./IERC20.sol";
import { IAddressRegistry } from "./IAddressRegistry.sol";
import { IAvalanche } from "./IAvalanche.sol";
import { IFROST } from "./IFROST.sol";
import { ReentrancyGuard } from "./ReentrancyGuard.sol";
import { UniswapBase } from "./UniswapBase.sol";
contract PoolBase is UniswapBase, ReentrancyGuard {
uint256 internal constant SECONDS_PER_YEAR = 360 * 24 * 60 * 60; // std business yr, used to calculatee APR
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 52 of 62: ReentrancyGuard.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 53 of 62: SafeERC20.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./IERC20.sol";
import "./SafeMath.sol";
import "./Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 54 of 62: SafeMath.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 55 of 62: Slopes.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IERC20 } from "./IERC20.sol";
import { ERC20 } from "./ERC20.sol";
import { IFROST } from "./IFROST.sol";
import { IAvalanche } from "./IAvalanche.sol";
import { ISlopes } from "./ISlopes.sol";
import { ILoyalty } from "./ILoyalty.sol";
import { SlopesBase } from "./SlopesBase.sol";
contract Slopes is ISlopes, SlopesBase {
event Activated(address indexed user);
event Claim(address indexed user, uint256 indexed pid, uint256 frostAmount, uint256 tokenAmount);
event ClaimAll(address indexed user, uint256 frostAmount, uint256[] tokenAmounts);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 56 of 62: SlopesBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IERC20 } from "./IERC20.sol";
import { SafeERC20 } from "./SafeERC20.sol";
import { SafeMath } from "./SafeMath.sol";
import { LendingPoolBase } from "./LendingPoolBase.sol";
abstract contract SlopesBase is LendingPoolBase {
using SafeMath for uint256;
using SafeERC20 for IERC20;
constructor(address addressRegistry) internal {
_setAddressRegistry(addressRegistry);
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 57 of 62: SnowPatrol.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { SnowPatrolBase } from "./SnowPatrolBase.sol";
import { ISnowPatrol } from "./ISnowPatrol.sol";
contract SnowPatrol is ISnowPatrol, SnowPatrolBase {
bytes32 public override constant ADMIN_ROLE = keccak256("ADMIN");
bytes32 public override constant LGE_ROLE = keccak256("LGE");
bytes32 public override constant FROST_ROLE = keccak256("FROST");
bytes32 public override constant SLOPES_ROLE = keccak256("SLOPES");
bytes32 public override constant LODGE_ROLE = keccak256("LODGE");
constructor(address addressRegistry)
public
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 58 of 62: SnowPatrolBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { AccessControl } from "./AccessControl.sol";
import { AddressBase } from "./AddressBase.sol";
abstract contract SnowPatrolBase is AccessControl, AddressBase {
constructor(address addressRegistry) internal {
_setAddressRegistry(addressRegistry);
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 59 of 62: UniswapBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { ERC20 } from './ERC20.sol';
import { IERC20 } from './IERC20.sol';
import { SafeERC20 } from './SafeERC20.sol';
import { SafeMath } from './SafeMath.sol';
import { IUniswapV2Pair } from './IUniswapV2Pair.sol';
import { IUniswapV2Router02 } from './IUniswapV2Router02.sol';
import { IAddressRegistry } from "./IAddressRegistry.sol";
import { IWETH } from "./IWETH.sol";
import { PatrolBase } from "./PatrolBase.sol";
abstract contract UniswapBase is PatrolBase {
using SafeMath for uint256;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 60 of 62: UtilitiesBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { IERC20 } from "./IERC20.sol";
import { Context } from "./Context.sol";
abstract contract UtilitiesBase is Context {
modifier NonZeroAmount(uint256 _amount) {
require(
_amount > 0,
"Amount must be greater than zero"
);
_;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 61 of 62: Vault.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { VaultBase } from "./VaultBase.sol";
import { IERC20 } from "./IERC20.sol";
import { SafeERC20 } from "./SafeERC20.sol";
import { SafeMath } from "./SafeMath.sol";
contract Vault is VaultBase {
using SafeMath for uint256;
using SafeERC20 for IERC20;
event VaultWithdrawal(address _user, address _token, uint256 _amount);
mapping(uint256 => bool) checkpointWithdrawn;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 62 of 62: VaultBase.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import { PatrolBase } from "./PatrolBase.sol";
contract VaultBase is PatrolBase {
constructor(address addressRegistry)
public
{
_setAddressRegistry(addressRegistry);
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"addressRegistry","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_phase","type":"uint256"}],"name":"EpochUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accumulating","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_addToSenderWhitelist","type":"bool"},{"internalType":"address","name":"_address","type":"address"}],"name":"addToTransferWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateUniswapPoolAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentBaseRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochBaseRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupplyHit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"recipientWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_removeFromSenderWhitelist","type":"bool"},{"internalType":"address","name":"_address","type":"address"}],"name":"removeFromTransferWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"senderWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_transferFee","type":"uint256"}],"name":"setTransferFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_epoch","type":"uint256"},{"internalType":"uint256","name":"_phase","type":"uint256"}],"name":"updateEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620022e5380380620022e5833981810160405260208110156200003757600080fd5b5051604080518082018252600e81526d119c9bdcdd08141c9bdd1bd8dbdb60921b602082810191825283518085019094526005845264119493d4d560da1b9084015281518493918391839162000091916004919062000207565b508051620000a790600590602084019062000207565b50506006805460ff1916601217905550620000c283620000db565b5050600f60075550620000d4620000fd565b50620002a3565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6200011469011c9a62d04ed0c800006000620001a2565b6200012c6902ce48b03e7dc5c80000610320620001a2565b620001446903a71fd6f59540480000610190620001a2565b6200015b6904138b6a5120fd88000060c8620001a2565b62000172690449c133fee6dc2800006064620001a2565b62000189690464dc18d5c9cb7800006032620001a2565b620001a0690472698b413b432000006019620001a2565b565b600a805460018181019092557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80192909255600b805492830181556000527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db990910155565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200024a57805160ff19168380011785556200027a565b828001600101855582156200027a579182015b828111156200027a5782518255916020019190600101906200025d565b50620002889291506200028c565b5090565b5b808211156200028857600081556001016200028d565b61203280620002b36000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806340c10f19116101045780638f02bb5b116100a2578063a9059cbb11610071578063a9059cbb14610529578063acb2ad6f14610555578063b41328701461055d578063dd62ed3e14610565576101cf565b80638f02bb5b146104b257806395d89b41146104cf578063a457c2d7146104d7578063a818655814610503576101cf565b806371e7a802116100de57806371e7a8021461044e57806376671808146104565780637b2bad2b1461045e5780638222f07d1461048c576101cf565b806340c10f19146103d957806353fdfab01461040557806370a0823114610428576101cf565b806318160ddd11610171578063308ee2481161014b578063308ee2481461037f578063313ce5671461038757806332cb6b0c146103a557806339509351146103ad576101cf565b806318160ddd1461031157806323b872dd146103195780632666ed0a1461034f576101cf565b80630db1d138116101ad5780630db1d138146102ab5780630fde9c05146102c8578063104aeef8146102ec57806313e3fb9e146102f4576101cf565b8063055ad42e146101d457806306fdde03146101ee578063095ea7b31461026b575b600080fd5b6101dc610593565b60408051918252519081900360200190f35b6101f6610599565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610230578181015183820152602001610218565b50505050905090810190601f16801561025d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102976004803603604081101561028157600080fd5b506001600160a01b03813516906020013561062f565b604080519115158252519081900360200190f35b6101dc600480360360208110156102c157600080fd5b503561064d565b6102d061066b565b604080516001600160a01b039092168252519081900360200190f35b6101dc6108c4565b6101dc6004803603602081101561030a57600080fd5b50356108e5565b6101dc6108f2565b6102976004803603606081101561032f57600080fd5b506001600160a01b038135811691602081013590911690604001356108f8565b61037d6004803603604081101561036557600080fd5b508035151590602001356001600160a01b031661097f565b005b610297610ac4565b61038f610aeb565b6040805160ff9092168252519081900360200190f35b6101dc610af4565b610297600480360360408110156103c357600080fd5b506001600160a01b038135169060200135610b02565b61037d600480360360408110156103ef57600080fd5b506001600160a01b038135169060200135610b50565b61037d6004803603604081101561041b57600080fd5b5080359060200135610de4565b6101dc6004803603602081101561043e57600080fd5b50356001600160a01b0316610fae565b6101dc610fc9565b6101dc610fda565b61037d6004803603604081101561047457600080fd5b508035151590602001356001600160a01b0316610fe0565b610297600480360360208110156104a257600080fd5b50356001600160a01b031661112a565b61037d600480360360208110156104c857600080fd5b503561113f565b6101f661128a565b610297600480360360408110156104ed57600080fd5b506001600160a01b0381351690602001356112eb565b6102976004803603602081101561051957600080fd5b50356001600160a01b0316611353565b6102976004803603604081101561053f57600080fd5b506001600160a01b038135169060200135611368565b6101dc61137c565b610297611382565b6101dc6004803603604081101561057b57600080fd5b506001600160a01b0381358116916020013516611390565b60095481565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b5050505050905090565b600061064361063c6113bb565b84846113bf565b5060015b92915050565b600b818154811061065a57fe5b600091825260209091200154905081565b60006040518060400160405280600581526020016420a226a4a760d91b8152506106936114ab565b6001600160a01b03166391d1485482805190602001206106b16113bb565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156106f557600080fd5b505afa158015610709573d6000803e3d6000fd5b505050506040513d602081101561071f57600080fd5b505161075c5760405162461bcd60e51b815260040180806020018281038252603b815260200180611f0b603b913960400191505060405180910390fd5b600061076661152b565b9050600061077261157a565b90506000826001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156107af57600080fd5b505afa1580156107c3573d6000803e3d6000fd5b505050506040513d60208110156107d957600080fd5b505190506000806001600160a01b03841630106107f75783306107fa565b30845b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529790941b9093166069840152607d8301959095527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528551808403909101815260bd90920190945280519301929092209550505050505090565b6000600a600854815481106108d557fe5b9060005260206000200154905090565b600a818154811061065a57fe5b60035490565b60006109058484846115c9565b610975846109116113bb565b61097085604051806060016040528060288152602001611f67602891396001600160a01b038a1660009081526002602052604081209061094f6113bb565b6001600160a01b031681526020810191909152604001600020549190611909565b6113bf565b5060019392505050565b6040518060400160405280600581526020016420a226a4a760d91b8152506109a56114ab565b6001600160a01b03166391d1485482805190602001206109c36113bb565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b158015610a0757600080fd5b505afa158015610a1b573d6000803e3d6000fd5b505050506040513d6020811015610a3157600080fd5b5051610a6e5760405162461bcd60e51b815260040180806020018281038252603b815260200180611f0b603b913960400191505060405180910390fd5b60018315151415610a9e576001600160a01b0382166000908152600c60205260409020805460ff19169055610abf565b6001600160a01b0382166000908152600d60205260409020805460ff191690555b505050565b600080600854118015610ada5750600660085411155b8015610ae65750600954155b905090565b60065460ff1690565b690472698b413b4320000081565b6000610643610b0f6113bb565b846109708560026000610b206113bb565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906119a0565b60095415610ba5576040805162461bcd60e51b815260206004820152601c60248201527f46524f5354206973206e6f7420696e20416363756d756c6174696f6e00000000604482015290519081900360640190fd5b600654610100900460ff1615610bec5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e846021913960400191505060405180910390fd5b610bf4611a01565b6001600160a01b0316336001600160a01b03161480610c2b5750610c16611a50565b6001600160a01b0316336001600160a01b0316145b80610c4e5750610c39611a9f565b6001600160a01b0316336001600160a01b0316145b610c895760405162461bcd60e51b8152600401808060200182810382526040815260200180611ea56040913960400191505060405180910390fd5b6000610c936108f2565b90506000600a60085481548110610ca657fe5b600091825260209091200154905080610cbf83856119a0565b10610dce57610cce8183611aee565b9250690472698b413b43200000610ce583856119a0565b10610cfa576006805461ff0019166101001790555b610d02611a01565b6001600160a01b0316630f15f4c06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610d3c57600080fd5b505af1158015610d50573d6000803e3d6000fd5b5050505060085460001415610d6d57600880546001019055610d77565b6009805460010190555b7fdfa95fe668d6ab10f33312099e193045aa32c97581c4e5e0b08ca0f6d14d71b7610da06113bb565b600854600954604080516001600160a01b039094168452602084019290925282820152519081900360600190a15b8215610dde57610dde8484611b30565b50505050565b610dec611a01565b6001600160a01b0316336001600160a01b03161480610e235750610e0e611a50565b6001600160a01b0316336001600160a01b0316145b80610e465750610e31611a9f565b6001600160a01b0316336001600160a01b0316145b610e815760405162461bcd60e51b8152600401808060200182810382526040815260200180611ea56040913960400191505060405180910390fd5b600954610eef5760085482148015610e995750806001145b610eea576040805162461bcd60e51b815260206004820152601f60248201527f496e76616c69642045706f6368205068617365205570646174652043616c6c00604482015290519081900360640190fd5b610f4f565b60085482118015610efe575080155b610f4f576040805162461bcd60e51b815260206004820152601960248201527f496e76616c69642045706f6368205570646174652043616c6c00000000000000604482015290519081900360640190fd5b600882905560098190557fdfa95fe668d6ab10f33312099e193045aa32c97581c4e5e0b08ca0f6d14d71b7610f826113bb565b604080516001600160a01b03909216825260208201859052818101849052519081900360600190a15050565b6001600160a01b031660009081526001602052604090205490565b6000600b600854815481106108d557fe5b60085481565b6040518060400160405280600581526020016420a226a4a760d91b8152506110066114ab565b6001600160a01b03166391d1485482805190602001206110246113bb565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b15801561106857600080fd5b505afa15801561107c573d6000803e3d6000fd5b505050506040513d602081101561109257600080fd5b50516110cf5760405162461bcd60e51b815260040180806020018281038252603b815260200180611f0b603b913960400191505060405180910390fd5b60018315151415611102576001600160a01b0382166000908152600c60205260409020805460ff19166001179055610abf565b6001600160a01b0382166000908152600d60205260409020805460ff19166001179055505050565b600c6020526000908152604090205460ff1681565b6040518060400160405280600581526020016420a226a4a760d91b8152506111656114ab565b6001600160a01b03166391d1485482805190602001206111836113bb565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156111c757600080fd5b505afa1580156111db573d6000803e3d6000fd5b505050506040513d60208110156111f157600080fd5b505161122e5760405162461bcd60e51b815260040180806020018281038252603b815260200180611f0b603b913960400191505060405180910390fd5b6032821115611284576040805162461bcd60e51b815260206004820152600760248201527f6f76657220352500000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600755565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106255780601f106105fa57610100808354040283529160200191610625565b60006106436112f86113bb565b8461097085604051806060016040528060258152602001611fd860259139600260006113226113bb565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611909565b600d6020526000908152604090205460ff1681565b60006106436113756113bb565b84846115c9565b60075481565b600654610100900460ff1681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166114045760405162461bcd60e51b8152600401808060200182810382526024815260200180611fb46024913960400191505060405180910390fd5b6001600160a01b0382166114495760405162461bcd60e51b8152600401808060200182810382526022815260200180611e626022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60008060009054906101000a90046001600160a01b03166001600160a01b0316637e221d626040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b505afa15801561150e573d6000803e3d6000fd5b505050506040513d602081101561152457600080fd5b5051905090565b60008060009054906101000a90046001600160a01b03166001600160a01b031663524900b56040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b031663107c279f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b6001600160a01b03831661160e5760405162461bcd60e51b8152600401808060200182810382526025815260200180611f8f6025913960400191505060405180910390fd5b6001600160a01b0382166116535760405162461bcd60e51b8152600401808060200182810382526023815260200180611e3f6023913960400191505060405180910390fd5b60008082156118b7576000611666611a01565b90506116728686611c22565b15156001146117955761169c6103e861169660075487611d4390919063ffffffff16565b90611d9c565b6001600160a01b0382166000908152600160205260409020549093506116c290846119a0565b6001600160a01b038083166000818152600160205260408082209490945583517fc0bd955c000000000000000000000000000000000000000000000000000000008152928a166004840152602483018790529251909263c0bd955c926044808201939182900301818387803b15801561173a57600080fd5b505af115801561174e573d6000803e3d6000fd5b50506040805186815290516001600160a01b0380861694508a1692507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35b61179f8484611aee565b91506117de82604051806060016040528060268152602001611ee5602691396001600160a01b0389166000908152600160205260409020549190611909565b6001600160a01b03871660009081526001602052604090205581156118b5576001600160a01b03851660009081526001602052604090205461182090836119a0565b6001600160a01b03808716600081815260016020526040902092909255821614156118b557806001600160a01b031663c0bd955c87846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561189c57600080fd5b505af11580156118b0573d6000803e3d6000fd5b505050505b505b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050505050565b600081848411156119985760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561195d578181015183820152602001611945565b50505050905090810190601f16801561198a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156119fa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008060009054906101000a90046001600160a01b03166001600160a01b031663129978476040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b0316633fe9d8036040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b0316634326e3d96040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b60006119fa83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611909565b6001600160a01b038216611b8b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611b9760008383610abf565b600354611ba490826119a0565b6003556001600160a01b038216600090815260016020526040902054611bca90826119a0565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000611c2c611a01565b6001600160a01b0316836001600160a01b03161480611c635750611c4e611a01565b6001600160a01b0316826001600160a01b0316145b80611c865750611c71611a50565b6001600160a01b0316836001600160a01b0316145b80611ca95750611c94611a50565b6001600160a01b0316826001600160a01b0316145b80611ccc5750611cb7611a9f565b6001600160a01b0316836001600160a01b0316145b80611cef5750611cda611a9f565b6001600160a01b0316826001600160a01b0316145b80611d1757506001600160a01b0383166000908152600c602052604090205460ff1615156001145b806119fa5750506001600160a01b03166000908152600d602052604090205460ff161515600114919050565b600082611d5257506000610647565b82820282848281611d5f57fe5b04146119fa5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f466021913960400191505060405180910390fd5b60006119fa83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060008183611e285760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561195d578181015183820152602001611945565b506000838581611e3457fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734d61782046524f535420537570706c7920686173206265656e20726561636865644f6e6c79204c47452c20536c6f7065732c20616e64204176616c616e63686520636f6e7472616374732063616e2063616c6c20746869732066756e6374696f6e45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654163636f756e7420646f6573206e6f7420686176652073756666696369656e7420726f6c6520746f2063616c6c20746869732066756e6374696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202e41d8b05ce95693298f3004b3f19c7d8d55f24274a443dd13516a53e2b240ea64736f6c634300060c0033000000000000000000000000f7ca0d26a8d8e2ae33fe2fc0e25e80961c1aaa2b

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806340c10f19116101045780638f02bb5b116100a2578063a9059cbb11610071578063a9059cbb14610529578063acb2ad6f14610555578063b41328701461055d578063dd62ed3e14610565576101cf565b80638f02bb5b146104b257806395d89b41146104cf578063a457c2d7146104d7578063a818655814610503576101cf565b806371e7a802116100de57806371e7a8021461044e57806376671808146104565780637b2bad2b1461045e5780638222f07d1461048c576101cf565b806340c10f19146103d957806353fdfab01461040557806370a0823114610428576101cf565b806318160ddd11610171578063308ee2481161014b578063308ee2481461037f578063313ce5671461038757806332cb6b0c146103a557806339509351146103ad576101cf565b806318160ddd1461031157806323b872dd146103195780632666ed0a1461034f576101cf565b80630db1d138116101ad5780630db1d138146102ab5780630fde9c05146102c8578063104aeef8146102ec57806313e3fb9e146102f4576101cf565b8063055ad42e146101d457806306fdde03146101ee578063095ea7b31461026b575b600080fd5b6101dc610593565b60408051918252519081900360200190f35b6101f6610599565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610230578181015183820152602001610218565b50505050905090810190601f16801561025d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102976004803603604081101561028157600080fd5b506001600160a01b03813516906020013561062f565b604080519115158252519081900360200190f35b6101dc600480360360208110156102c157600080fd5b503561064d565b6102d061066b565b604080516001600160a01b039092168252519081900360200190f35b6101dc6108c4565b6101dc6004803603602081101561030a57600080fd5b50356108e5565b6101dc6108f2565b6102976004803603606081101561032f57600080fd5b506001600160a01b038135811691602081013590911690604001356108f8565b61037d6004803603604081101561036557600080fd5b508035151590602001356001600160a01b031661097f565b005b610297610ac4565b61038f610aeb565b6040805160ff9092168252519081900360200190f35b6101dc610af4565b610297600480360360408110156103c357600080fd5b506001600160a01b038135169060200135610b02565b61037d600480360360408110156103ef57600080fd5b506001600160a01b038135169060200135610b50565b61037d6004803603604081101561041b57600080fd5b5080359060200135610de4565b6101dc6004803603602081101561043e57600080fd5b50356001600160a01b0316610fae565b6101dc610fc9565b6101dc610fda565b61037d6004803603604081101561047457600080fd5b508035151590602001356001600160a01b0316610fe0565b610297600480360360208110156104a257600080fd5b50356001600160a01b031661112a565b61037d600480360360208110156104c857600080fd5b503561113f565b6101f661128a565b610297600480360360408110156104ed57600080fd5b506001600160a01b0381351690602001356112eb565b6102976004803603602081101561051957600080fd5b50356001600160a01b0316611353565b6102976004803603604081101561053f57600080fd5b506001600160a01b038135169060200135611368565b6101dc61137c565b610297611382565b6101dc6004803603604081101561057b57600080fd5b506001600160a01b0381358116916020013516611390565b60095481565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b5050505050905090565b600061064361063c6113bb565b84846113bf565b5060015b92915050565b600b818154811061065a57fe5b600091825260209091200154905081565b60006040518060400160405280600581526020016420a226a4a760d91b8152506106936114ab565b6001600160a01b03166391d1485482805190602001206106b16113bb565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156106f557600080fd5b505afa158015610709573d6000803e3d6000fd5b505050506040513d602081101561071f57600080fd5b505161075c5760405162461bcd60e51b815260040180806020018281038252603b815260200180611f0b603b913960400191505060405180910390fd5b600061076661152b565b9050600061077261157a565b90506000826001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156107af57600080fd5b505afa1580156107c3573d6000803e3d6000fd5b505050506040513d60208110156107d957600080fd5b505190506000806001600160a01b03841630106107f75783306107fa565b30845b604080516bffffffffffffffffffffffff19606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529790941b9093166069840152607d8301959095527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808401919091528551808403909101815260bd90920190945280519301929092209550505050505090565b6000600a600854815481106108d557fe5b9060005260206000200154905090565b600a818154811061065a57fe5b60035490565b60006109058484846115c9565b610975846109116113bb565b61097085604051806060016040528060288152602001611f67602891396001600160a01b038a1660009081526002602052604081209061094f6113bb565b6001600160a01b031681526020810191909152604001600020549190611909565b6113bf565b5060019392505050565b6040518060400160405280600581526020016420a226a4a760d91b8152506109a56114ab565b6001600160a01b03166391d1485482805190602001206109c36113bb565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b158015610a0757600080fd5b505afa158015610a1b573d6000803e3d6000fd5b505050506040513d6020811015610a3157600080fd5b5051610a6e5760405162461bcd60e51b815260040180806020018281038252603b815260200180611f0b603b913960400191505060405180910390fd5b60018315151415610a9e576001600160a01b0382166000908152600c60205260409020805460ff19169055610abf565b6001600160a01b0382166000908152600d60205260409020805460ff191690555b505050565b600080600854118015610ada5750600660085411155b8015610ae65750600954155b905090565b60065460ff1690565b690472698b413b4320000081565b6000610643610b0f6113bb565b846109708560026000610b206113bb565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906119a0565b60095415610ba5576040805162461bcd60e51b815260206004820152601c60248201527f46524f5354206973206e6f7420696e20416363756d756c6174696f6e00000000604482015290519081900360640190fd5b600654610100900460ff1615610bec5760405162461bcd60e51b8152600401808060200182810382526021815260200180611e846021913960400191505060405180910390fd5b610bf4611a01565b6001600160a01b0316336001600160a01b03161480610c2b5750610c16611a50565b6001600160a01b0316336001600160a01b0316145b80610c4e5750610c39611a9f565b6001600160a01b0316336001600160a01b0316145b610c895760405162461bcd60e51b8152600401808060200182810382526040815260200180611ea56040913960400191505060405180910390fd5b6000610c936108f2565b90506000600a60085481548110610ca657fe5b600091825260209091200154905080610cbf83856119a0565b10610dce57610cce8183611aee565b9250690472698b413b43200000610ce583856119a0565b10610cfa576006805461ff0019166101001790555b610d02611a01565b6001600160a01b0316630f15f4c06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610d3c57600080fd5b505af1158015610d50573d6000803e3d6000fd5b5050505060085460001415610d6d57600880546001019055610d77565b6009805460010190555b7fdfa95fe668d6ab10f33312099e193045aa32c97581c4e5e0b08ca0f6d14d71b7610da06113bb565b600854600954604080516001600160a01b039094168452602084019290925282820152519081900360600190a15b8215610dde57610dde8484611b30565b50505050565b610dec611a01565b6001600160a01b0316336001600160a01b03161480610e235750610e0e611a50565b6001600160a01b0316336001600160a01b0316145b80610e465750610e31611a9f565b6001600160a01b0316336001600160a01b0316145b610e815760405162461bcd60e51b8152600401808060200182810382526040815260200180611ea56040913960400191505060405180910390fd5b600954610eef5760085482148015610e995750806001145b610eea576040805162461bcd60e51b815260206004820152601f60248201527f496e76616c69642045706f6368205068617365205570646174652043616c6c00604482015290519081900360640190fd5b610f4f565b60085482118015610efe575080155b610f4f576040805162461bcd60e51b815260206004820152601960248201527f496e76616c69642045706f6368205570646174652043616c6c00000000000000604482015290519081900360640190fd5b600882905560098190557fdfa95fe668d6ab10f33312099e193045aa32c97581c4e5e0b08ca0f6d14d71b7610f826113bb565b604080516001600160a01b03909216825260208201859052818101849052519081900360600190a15050565b6001600160a01b031660009081526001602052604090205490565b6000600b600854815481106108d557fe5b60085481565b6040518060400160405280600581526020016420a226a4a760d91b8152506110066114ab565b6001600160a01b03166391d1485482805190602001206110246113bb565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b15801561106857600080fd5b505afa15801561107c573d6000803e3d6000fd5b505050506040513d602081101561109257600080fd5b50516110cf5760405162461bcd60e51b815260040180806020018281038252603b815260200180611f0b603b913960400191505060405180910390fd5b60018315151415611102576001600160a01b0382166000908152600c60205260409020805460ff19166001179055610abf565b6001600160a01b0382166000908152600d60205260409020805460ff19166001179055505050565b600c6020526000908152604090205460ff1681565b6040518060400160405280600581526020016420a226a4a760d91b8152506111656114ab565b6001600160a01b03166391d1485482805190602001206111836113bb565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156111c757600080fd5b505afa1580156111db573d6000803e3d6000fd5b505050506040513d60208110156111f157600080fd5b505161122e5760405162461bcd60e51b815260040180806020018281038252603b815260200180611f0b603b913960400191505060405180910390fd5b6032821115611284576040805162461bcd60e51b815260206004820152600760248201527f6f76657220352500000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b50600755565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106255780601f106105fa57610100808354040283529160200191610625565b60006106436112f86113bb565b8461097085604051806060016040528060258152602001611fd860259139600260006113226113bb565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611909565b600d6020526000908152604090205460ff1681565b60006106436113756113bb565b84846115c9565b60075481565b600654610100900460ff1681565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166114045760405162461bcd60e51b8152600401808060200182810382526024815260200180611fb46024913960400191505060405180910390fd5b6001600160a01b0382166114495760405162461bcd60e51b8152600401808060200182810382526022815260200180611e626022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60008060009054906101000a90046001600160a01b03166001600160a01b0316637e221d626040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b505afa15801561150e573d6000803e3d6000fd5b505050506040513d602081101561152457600080fd5b5051905090565b60008060009054906101000a90046001600160a01b03166001600160a01b031663524900b56040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b031663107c279f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b6001600160a01b03831661160e5760405162461bcd60e51b8152600401808060200182810382526025815260200180611f8f6025913960400191505060405180910390fd5b6001600160a01b0382166116535760405162461bcd60e51b8152600401808060200182810382526023815260200180611e3f6023913960400191505060405180910390fd5b60008082156118b7576000611666611a01565b90506116728686611c22565b15156001146117955761169c6103e861169660075487611d4390919063ffffffff16565b90611d9c565b6001600160a01b0382166000908152600160205260409020549093506116c290846119a0565b6001600160a01b038083166000818152600160205260408082209490945583517fc0bd955c000000000000000000000000000000000000000000000000000000008152928a166004840152602483018790529251909263c0bd955c926044808201939182900301818387803b15801561173a57600080fd5b505af115801561174e573d6000803e3d6000fd5b50506040805186815290516001600160a01b0380861694508a1692507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35b61179f8484611aee565b91506117de82604051806060016040528060268152602001611ee5602691396001600160a01b0389166000908152600160205260409020549190611909565b6001600160a01b03871660009081526001602052604090205581156118b5576001600160a01b03851660009081526001602052604090205461182090836119a0565b6001600160a01b03808716600081815260016020526040902092909255821614156118b557806001600160a01b031663c0bd955c87846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561189c57600080fd5b505af11580156118b0573d6000803e3d6000fd5b505050505b505b836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050505050565b600081848411156119985760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561195d578181015183820152602001611945565b50505050905090810190601f16801561198a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828201838110156119fa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008060009054906101000a90046001600160a01b03166001600160a01b031663129978476040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b0316633fe9d8036040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b60008060009054906101000a90046001600160a01b03166001600160a01b0316634326e3d96040518163ffffffff1660e01b815260040160206040518083038186803b1580156114fa57600080fd5b60006119fa83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611909565b6001600160a01b038216611b8b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611b9760008383610abf565b600354611ba490826119a0565b6003556001600160a01b038216600090815260016020526040902054611bca90826119a0565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000611c2c611a01565b6001600160a01b0316836001600160a01b03161480611c635750611c4e611a01565b6001600160a01b0316826001600160a01b0316145b80611c865750611c71611a50565b6001600160a01b0316836001600160a01b0316145b80611ca95750611c94611a50565b6001600160a01b0316826001600160a01b0316145b80611ccc5750611cb7611a9f565b6001600160a01b0316836001600160a01b0316145b80611cef5750611cda611a9f565b6001600160a01b0316826001600160a01b0316145b80611d1757506001600160a01b0383166000908152600c602052604090205460ff1615156001145b806119fa5750506001600160a01b03166000908152600d602052604090205460ff161515600114919050565b600082611d5257506000610647565b82820282848281611d5f57fe5b04146119fa5760405162461bcd60e51b8152600401808060200182810382526021815260200180611f466021913960400191505060405180910390fd5b60006119fa83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060008183611e285760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561195d578181015183820152602001611945565b506000838581611e3457fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573734d61782046524f535420537570706c7920686173206265656e20726561636865644f6e6c79204c47452c20536c6f7065732c20616e64204176616c616e63686520636f6e7472616374732063616e2063616c6c20746869732066756e6374696f6e45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654163636f756e7420646f6573206e6f7420686176652073756666696369656e7420726f6c6520746f2063616c6c20746869732066756e6374696f6e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202e41d8b05ce95693298f3004b3f19c7d8d55f24274a443dd13516a53e2b240ea64736f6c634300060c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000f7ca0d26a8d8e2ae33fe2fc0e25e80961c1aaa2b

-----Decoded View---------------
Arg [0] : addressRegistry (address): 0xf7Ca0D26a8d8e2ae33FE2fC0e25e80961C1aaA2b

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f7ca0d26a8d8e2ae33fe2fc0e25e80961c1aaa2b


Deployed Bytecode Sourcemap

315:9318:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;715:36;;;:::i;:::-;;;;;;;;;;;;;;;;858:81:15;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1683:166;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1683:166:15;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;906:39:13;;;;;;;;;;;;;;;;-1:-1:-1;906:39:13;;:::i;6811:1056::-;;;:::i;:::-;;;;-1:-1:-1;;;;;6811:1056:13;;;;;;;;;;;;;;2652:160;;;:::i;810:40::-;;;;;;;;;;;;;;;;-1:-1:-1;810:40:13;;:::i;1123:98:15:-;;;:::i;1855:317::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1855:317:15;;;;;;;;;;;;;;;;;:::i;8646:335:13:-;;;;;;;;;;;;;;;;-1:-1:-1;8646:335:13;;;;;;;;-1:-1:-1;;;;;8646:335:13;;:::i;:::-;;2982:192;;;:::i;1036:81:15:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;432:58:13;;;:::i;2178:215:15:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2178:215:15;;;;;;;;:::i;4032:988:13:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4032:988:13;;;;;;;;:::i;3180:680::-;;;;;;;;;;;;;;;;-1:-1:-1;3180:680:13;;;;;;;:::i;1227:117:15:-;;;;;;;;;;;;;;;;-1:-1:-1;1227:117:15;-1:-1:-1;;;;;1227:117:15;;:::i;2818:158:13:-;;;:::i;673:36::-;;;:::i;8249:318::-;;;;;;;;;;;;;;;;-1:-1:-1;8249:318:13;;;;;;;;-1:-1:-1;;;;;8249:318:13;;:::i;1144:47::-;;;;;;;;;;;;;;;;-1:-1:-1;1144:47:13;-1:-1:-1;;;;;1144:47:13;;:::i;7974:201::-;;;;;;;;;;;;;;;;-1:-1:-1;7974:201:13;;:::i;945:85:15:-;;;:::i;2399:266::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2399:266:15;;;;;;;;:::i;1197:50:13:-;;;;;;;;;;;;;;;;-1:-1:-1;1197:50:13;-1:-1:-1;;;;;1197:50:13;;:::i;1350:172:15:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1350:172:15;;;;;;;;:::i;585:35:13:-;;;:::i;515:33::-;;;:::i;1528:149:15:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1528:149:15;;;;;;;;;;:::i;715:36:13:-;;;;:::o;858:81:15:-;927:5;920:12;;;;;;;;-1:-1:-1;;920:12:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;895:13;;920:12;;927:5;;920:12;;927:5;920:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;858:81;:::o;1683:166::-;1766:4;1782:39;1791:12;:10;:12::i;:::-;1805:7;1814:6;1782:8;:39::i;:::-;-1:-1:-1;1838:4:15;1683:166;;;;;:::o;906:39:13:-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;906:39:13;:::o;6811:1056::-;6926:7;267:261:48;;;;;;;;;;;;;-1:-1:-1;;;267:261:48;;;354:19;:17;:19::i;:::-;-1:-1:-1;;;;;339:43:48;;393:7;383:18;;;;;;411:12;:10;:12::i;:::-;339:86;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;339:86:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;339:86:48;318:192;;;;-1:-1:-1;;;318:192:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6949:21:13::1;6973:22;:20;:22::i;:::-;6949:46;;7005:19;7027:13;:11;:13::i;:::-;7005:35;;7125:22;7169:13;-1:-1:-1::0;;;;;7150:41:13::1;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;7150:43:13;;-1:-1:-1;7396:14:13::1;::::0;-1:-1:-1;;;;;7430:27:13;::::1;7438:4;7430:27;:115;;7518:11;7539:4;7430:115;;;7482:4;7489:11;7430:115;7731:32;::::0;;-1:-1:-1;;7731:32:13::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;7721:43;;;;::::1;::::0;7642:215:::1;::::0;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;7632:226;;;::::1;::::0;;;;;-1:-1:-1;;;;;6811:1056:13;;:::o;2652:160::-;2747:7;2777:14;2792:12;;2777:28;;;;;;;;;;;;;;;;2770:35;;2652:160;:::o;810:40::-;;;;;;;;;;1123:98:15;1202:12;;1123:98;:::o;1855:317::-;1961:4;1977:36;1987:6;1995:9;2006:6;1977:9;:36::i;:::-;2023:121;2032:6;2040:12;:10;:12::i;:::-;2054:89;2092:6;2054:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2054:19:15;;;;;;:11;:19;;;;;;2074:12;:10;:12::i;:::-;-1:-1:-1;;;;;2054:33:15;;;;;;;;;;;;-1:-1:-1;2054:33:15;;;:89;:37;:89::i;:::-;2023:8;:121::i;:::-;-1:-1:-1;2161:4:15;1855:317;;;;;:::o;8646:335:13:-;267:261:48;;;;;;;;;;;;;-1:-1:-1;;;267:261:48;;;354:19;:17;:19::i;:::-;-1:-1:-1;;;;;339:43:48;;393:7;383:18;;;;;;411:12;:10;:12::i;:::-;339:86;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;339:86:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;339:86:48;318:192;;;;-1:-1:-1;;;318:192:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8843:4:13::1;8813:34:::0;::::1;;;8809:166;;;-1:-1:-1::0;;;;;8863:25:13;::::1;8891:5;8863:25:::0;;;:15:::1;:25;::::0;;;;:33;;-1:-1:-1;;8863:33:13::1;::::0;;8809:166:::1;;;-1:-1:-1::0;;;;;8928:28:13;::::1;8959:5;8928:28:::0;;;:18:::1;:28;::::0;;;;:36;;-1:-1:-1;;8928:36:13::1;::::0;;8809:166:::1;8646:335:::0;;;:::o;2982:192::-;3070:4;3112:1;3097:12;;:16;:37;;;;;3133:1;3117:12;;:17;;3097:37;:70;;;;-1:-1:-1;3150:12:13;;:17;3097:70;3090:77;;2982:192;:::o;1036:81:15:-;1101:9;;;;1036:81;:::o;432:58:13:-;478:12;432:58;:::o;2178:215:15:-;2266:4;2282:83;2291:12;:10;:12::i;:::-;2305:7;2314:50;2353:10;2314:11;:25;2326:12;:10;:12::i;:::-;-1:-1:-1;;;;;2314:25:15;;;;;;;;;;;;;;;;;-1:-1:-1;2314:25:15;;;:34;;;;;;;;;;;:38;:50::i;4032:988:13:-;1307:12;;:17;1286:92;;;;;-1:-1:-1;;;1286:92:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;1454:12:::1;::::0;::::1;::::0;::::1;;;1453:13;1445:59;;;;-1:-1:-1::0;;;1445:59:13::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1597:18:::2;:16;:18::i;:::-;-1:-1:-1::0;;;;;1583:32:13::2;:10;-1:-1:-1::0;;;;;1583:32:13::2;;:74;;;;1645:12;:10;:12::i;:::-;-1:-1:-1::0;;;;;1631:26:13::2;:10;-1:-1:-1::0;;;;;1631:26:13::2;;1583:74;:119;;;;1687:15;:13;:15::i;:::-;-1:-1:-1::0;;;;;1673:29:13::2;:10;-1:-1:-1::0;;;;;1673:29:13::2;;1583:119;1562:230;;;;-1:-1:-1::0;;;1562:230:13::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4196:14:::3;4213:13;:11;:13::i;:::-;4196:30;;4236:19;4258:14;4273:12;;4258:28;;;;;;;;;::::0;;;::::3;::::0;;;::::3;::::0;;-1:-1:-1;4258:28:13;4369:19:::3;:6:::0;4380:7;4369:10:::3;:19::i;:::-;:34;4365:578;;4429:23;:11:::0;4445:6;4429:15:::3;:23::i;:::-;4419:33:::0;-1:-1:-1;478:12:13::3;4483:19;:6:::0;4419:33;4483:10:::3;:19::i;:::-;:33;4479:91;;4536:12;:19:::0;;-1:-1:-1;;4536:19:13::3;;;::::0;;4479:91:::3;4674:18;:16;:18::i;:::-;-1:-1:-1::0;;;;;4663:39:13::3;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;4735:12;;4751:1;4735:17;4731:129;;;4772:12;:17:::0;;4788:1:::3;4772:17;::::0;;4731:129:::3;;;4828:12;:17:::0;;4844:1:::3;4828:17;::::0;;4731:129:::3;4878:54;4891:12;:10;:12::i;:::-;4905;::::0;4919::::3;::::0;4878:54:::3;::::0;;-1:-1:-1;;;;;4878:54:13;;::::3;::::0;;::::3;::::0;::::3;::::0;;;;;;;;;;;;;;;;::::3;4365:578;4957:11:::0;;4953:61:::3;;4984:19;4990:3;4995:7;4984:5;:19::i;:::-;1802:1;;4032:988:::0;;:::o;3180:680::-;1597:18;:16;:18::i;:::-;-1:-1:-1;;;;;1583:32:13;:10;-1:-1:-1;;;;;1583:32:13;;:74;;;;1645:12;:10;:12::i;:::-;-1:-1:-1;;;;;1631:26:13;:10;-1:-1:-1;;;;;1631:26:13;;1583:74;:119;;;;1687:15;:13;:15::i;:::-;-1:-1:-1;;;;;1673:29:13;:10;-1:-1:-1;;;;;1673:29:13;;1583:119;1562:230;;;;-1:-1:-1;;;1562:230:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3346:12:::1;::::0;3342:391:::1;;3414:12;;3404:6;:22;:37;;;;;3430:6;3440:1;3430:11;3404:37;3379:127;;;::::0;;-1:-1:-1;;;3379:127:13;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;3342:391;;;3636:12;;3627:6;:21;:36;;;;-1:-1:-1::0;3652:11:13;;3627:36:::1;3602:120;;;::::0;;-1:-1:-1;;;3602:120:13;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;3743:12;:21:::0;;;3774:12:::1;:21:::0;;;3811:42:::1;3824:12;:10;:12::i;:::-;3811:42;::::0;;-1:-1:-1;;;;;3811:42:13;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;::::1;3180:680:::0;;:::o;1227:117:15:-;-1:-1:-1;;;;;1319:18:15;1293:7;1319:18;;;:9;:18;;;;;;;1227:117::o;2818:158:13:-;2912:7;2942:13;2956:12;;2942:27;;;;;;;673:36;;;;:::o;8249:318::-;267:261:48;;;;;;;;;;;;;-1:-1:-1;;;267:261:48;;;354:19;:17;:19::i;:::-;-1:-1:-1;;;;;339:43:48;;393:7;383:18;;;;;;411:12;:10;:12::i;:::-;339:86;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;339:86:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;339:86:48;318:192;;;;-1:-1:-1;;;318:192:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8432:4:13::1;8407:29:::0;::::1;;;8403:158;;;-1:-1:-1::0;;;;;8452:25:13;::::1;;::::0;;;:15:::1;:25;::::0;;;;:32;;-1:-1:-1;;8452:32:13::1;8480:4;8452:32;::::0;;8403:158:::1;;;-1:-1:-1::0;;;;;8515:28:13;::::1;;::::0;;;:18:::1;:28;::::0;;;;:35;;-1:-1:-1;;8515:35:13::1;8546:4;8515:35;::::0;;8249:318;;;:::o;1144:47::-;;;;;;;;;;;;;;;:::o;7974:201::-;267:261:48;;;;;;;;;;;;;-1:-1:-1;;;267:261:48;;;354:19;:17;:19::i;:::-;-1:-1:-1;;;;;339:43:48;;393:7;383:18;;;;;;411:12;:10;:12::i;:::-;339:86;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;339:86:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;339:86:48;318:192;;;;-1:-1:-1;;;318:192:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8118:2:13::1;8102:12;:18;;8094:38;;;::::0;;-1:-1:-1;;;8094:38:13;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;8142:11:13::1;:26:::0;7974:201::o;945:85:15:-;1016:7;1009:14;;;;;;;;-1:-1:-1;;1009:14:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;984:13;;1009:14;;1016:7;;1009:14;;1016:7;1009:14;;;;;;;;;;;;;;;;;;;;;;;;2399:266;2492:4;2508:129;2517:12;:10;:12::i;:::-;2531:7;2540:96;2579:15;2540:96;;;;;;;;;;;;;;;;;:11;:25;2552:12;:10;:12::i;:::-;-1:-1:-1;;;;;2540:25:15;;;;;;;;;;;;;;;;;-1:-1:-1;2540:25:15;;;:34;;;;;;;;;;;:96;:38;:96::i;1197:50:13:-;;;;;;;;;;;;;;;:::o;1350:172:15:-;1436:4;1452:42;1462:12;:10;:12::i;:::-;1476:9;1487:6;1452:9;:42::i;585:35:13:-;;;;:::o;515:33::-;;;;;;;;;:::o;1528:149:15:-;-1:-1:-1;;;;;1643:18:15;;;1617:7;1643:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;1528:149::o;598:104:8:-;685:10;598:104;:::o;3556:340:15:-;-1:-1:-1;;;;;3657:19:15;;3649:68;;;;-1:-1:-1;;;3649:68:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3735:21:15;;3727:68;;;;-1:-1:-1;;;3727:68:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3806:18:15;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;3857:32;;;;;;;;;;;;;;;;;3556:340;;;:::o;1910:135:5:-;1962:7;2005:16;;;;;;;;;-1:-1:-1;;;;;2005:16:5;-1:-1:-1;;;;;1988:48:5;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1988:50:5;;-1:-1:-1;1910:135:5;:::o;2188:141::-;2243:7;2286:16;;;;;;;;;-1:-1:-1;;;;;2286:16:5;-1:-1:-1;;;;;2269:51:5;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2466:123;2512:7;2555:16;;;;;;;;;-1:-1:-1;;;;;2555:16:5;-1:-1:-1;;;;;2538:42:5;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5103:1626:13;-1:-1:-1;;;;;5262:20:13;;5254:70;;;;-1:-1:-1;;;5254:70:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5342:23:13;;5334:71;;;;-1:-1:-1;;;5334:71:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5415:25;;5488:10;;5484:1179;;5514:24;5541:18;:16;:18::i;:::-;5514:45;;5675:41;5698:6;5706:9;5675:22;:41::i;:::-;:49;;5720:4;5675:49;5671:403;;5764:33;5792:4;5764:23;5775:11;;5764:6;:10;;:23;;;;:::i;:::-;:27;;:33::i;:::-;-1:-1:-1;;;;;5845:27:13;;;;;;:9;:27;;;;;;5744:53;;-1:-1:-1;5845:50:13;;5744:53;5845:31;:50::i;:::-;-1:-1:-1;;;;;5815:27:13;;;;;;;:9;:27;;;;;;:80;;;;5913:70;;;;;;;;;;;;;;;;;;;;5815:27;;5913:43;;:70;;;;;;;;;;;5815:27;;5913:70;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6006:53:13;;;;;;;;-1:-1:-1;;;;;6006:53:13;;;;-1:-1:-1;6006:53:13;;;-1:-1:-1;6006:53:13;;;;;;;;;5671:403;6106:29;:6;6117:17;6106:10;:29::i;:::-;6087:48;;6169:81;6191:16;6169:81;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6169:17:13;;;;;;:9;:17;;;;;;;:81;:21;:81::i;:::-;-1:-1:-1;;;;;6149:17:13;;;;;;:9;:17;;;;;:101;6269:20;;6265:387;;-1:-1:-1;;;;;6332:20:13;;;;;;:9;:20;;;;;;:42;;6357:16;6332:24;:42::i;:::-;-1:-1:-1;;;;;6309:20:13;;;;;;;:9;:20;;;;;:65;;;;6497:29;;;6493:145;;;6561:16;-1:-1:-1;;;;;6550:43:13;;6594:6;6602:16;6550:69;;;;;;;;;;;;;-1:-1:-1;;;;;6550:69:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6493:145;5484:1179;;6694:9;-1:-1:-1;;;;;6677:45:13;6686:6;-1:-1:-1;;;;;6677:45:13;;6705:16;6677:45;;;;;;;;;;;;;;;;;;5103:1626;;;;;:::o;1754:187:52:-;1840:7;1875:12;1867:6;;;;1859:29;;;;-1:-1:-1;;;1859:29:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1910:5:52;;;1754:187::o;882:176::-;940:7;971:5;;;994:6;;;;986:46;;;;;-1:-1:-1;;;986:46:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;1050:1;882:176;-1:-1:-1;;;882:176:52:o;975:133:5:-;1026:7;1069:16;;;;;;;;;-1:-1:-1;;;;;1069:16:5;-1:-1:-1;;;;;1052:47:5;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1114:121;1159:7;1202:16;;;;;;;;;-1:-1:-1;;;;;1202:16:5;-1:-1:-1;;;;;1185:41:5;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1777:127;1825:7;1868:16;;;;;;;;;-1:-1:-1;;;;;1868:16:5;-1:-1:-1;;;;;1851:44:5;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1329:134:52;1387:7;1413:43;1417:1;1420;1413:43;;;;;;;;;;;;;;;;;:3;:43::i;2764:370:15:-;-1:-1:-1;;;;;2847:21:15;;2839:65;;;;;-1:-1:-1;;;2839:65:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;2915:49;2944:1;2948:7;2957:6;2915:20;:49::i;:::-;2990:12;;:24;;3007:6;2990:16;:24::i;:::-;2975:12;:39;-1:-1:-1;;;;;3045:18:15;;;;;;:9;:18;;;;;;:30;;3068:6;3045:22;:30::i;:::-;-1:-1:-1;;;;;3024:18:15;;;;;;:9;:18;;;;;;;;:51;;;;3090:37;;;;;;;3024:18;;;;3090:37;;;;;;;;;;2764:370;;:::o;9096:535:13:-;9238:4;9336:18;:16;:18::i;:::-;-1:-1:-1;;;;;9325:29:13;:7;-1:-1:-1;;;;;9325:29:13;;:65;;;;9372:18;:16;:18::i;:::-;-1:-1:-1;;;;;9358:32:13;:10;-1:-1:-1;;;;;9358:32:13;;9325:65;:104;;;;9417:12;:10;:12::i;:::-;-1:-1:-1;;;;;9406:23:13;:7;-1:-1:-1;;;;;9406:23:13;;9325:104;:134;;;;9447:12;:10;:12::i;:::-;-1:-1:-1;;;;;9433:26:13;:10;-1:-1:-1;;;;;9433:26:13;;9325:134;:176;;;;9486:15;:13;:15::i;:::-;-1:-1:-1;;;;;9475:26:13;:7;-1:-1:-1;;;;;9475:26:13;;9325:176;:209;;;;9519:15;:13;:15::i;:::-;-1:-1:-1;;;;;9505:29:13;:10;-1:-1:-1;;;;;9505:29:13;;9325:209;:257;;;-1:-1:-1;;;;;;9550:24:13;;;;;;:15;:24;;;;;;;;:32;;:24;:32;9325:257;:299;;;-1:-1:-1;;;;;;;9586:30:13;;;;;:18;:30;;;;;;;;:38;;:30;:38;;;-1:-1:-1;9096:535:13:o;2188:459:52:-;2246:7;2487:6;2483:45;;-1:-1:-1;2516:1:52;2509:8;;2483:45;2550:5;;;2554:1;2550;:5;:1;2573:5;;;;;:10;2565:56;;;;-1:-1:-1;;;2565:56:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3109:130;3167:7;3193:39;3197:1;3200;3193:39;;;;;;;;;;;;;;;;;3807:7;3841:12;3834:5;3826:28;;;;-1:-1:-1;;;3826:28:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3864:9;3880:1;3876;:5;;;;;;;3721:272;-1:-1:-1;;;;;3721:272:52:o

Swarm Source

ipfs://2e41d8b05ce95693298f3004b3f19c7d8d55f24274a443dd13516a53e2b240ea

Block Age Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

A sustainable yield farming protocol alternating between cycles of fixed emission and fixed time periods.

Validator Index Block Age Amount
View All Withdrawals

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

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