Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 1 from a total of 1 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Initialize | 16281827 | 1164 days ago | IN | 0 ETH | 0.0005921 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
StakedTokenIncentivesController
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import {SafeERC20} from '@aave/aave-stake/contracts/lib/SafeERC20.sol';
import {SafeMath} from '../lib/SafeMath.sol';
import {DistributionTypes} from '../lib/DistributionTypes.sol';
import {VersionedInitializable} from '@aave/aave-stake/contracts/utils/VersionedInitializable.sol';
import {DistributionManager} from './DistributionManager.sol';
import {IStakedTokenWithConfig} from '../interfaces/IStakedTokenWithConfig.sol';
import {IERC20} from '@aave/aave-stake/contracts/interfaces/IERC20.sol';
import {IScaledBalanceToken} from '../interfaces/IScaledBalanceToken.sol';
import {IAaveIncentivesController} from '../interfaces/IAaveIncentivesController.sol';
/**
* @title StakedTokenIncentivesController
* @notice Distributor contract for rewards to the Aave protocol, using a staked token as rewards asset.
* The contract stakes the rewards before redistributing them to the Aave protocol participants.
* The reference staked token implementation is at https://github.com/aave/aave-stake-v2
* @author Aave
**/
contract StakedTokenIncentivesController is
IAaveIncentivesController,
VersionedInitializable,
DistributionManager
{
using SafeMath for uint256;
using SafeERC20 for IERC20;
uint256 public constant REVISION = 2;
IStakedTokenWithConfig public immutable STAKE_TOKEN;
mapping(address => uint256) internal _usersUnclaimedRewards;
// this mapping allows whitelisted addresses to claim on behalf of others
// useful for contracts that hold tokens to be rewarded but don't have any native logic to claim Liquidity Mining rewards
mapping(address => address) internal _authorizedClaimers;
modifier onlyAuthorizedClaimers(address claimer, address user) {
require(_authorizedClaimers[user] == claimer, 'CLAIMER_UNAUTHORIZED');
_;
}
constructor(IStakedTokenWithConfig stakeToken, address emissionManager)
DistributionManager(emissionManager)
{
STAKE_TOKEN = stakeToken;
}
/**
* @dev Initialize IStakedTokenIncentivesController. Empty after REVISION 1, but maintains the expected interface.
**/
function initialize(address) external initializer {}
/// @inheritdoc IAaveIncentivesController
function configureAssets(address[] calldata assets, uint256[] calldata emissionsPerSecond)
external
override
onlyEmissionManager
{
require(assets.length == emissionsPerSecond.length, 'INVALID_CONFIGURATION');
DistributionTypes.AssetConfigInput[] memory assetsConfig =
new DistributionTypes.AssetConfigInput[](assets.length);
for (uint256 i = 0; i < assets.length; i++) {
assetsConfig[i].underlyingAsset = assets[i];
assetsConfig[i].emissionPerSecond = uint104(emissionsPerSecond[i]);
require(assetsConfig[i].emissionPerSecond == emissionsPerSecond[i], 'INVALID_CONFIGURATION');
assetsConfig[i].totalStaked = IScaledBalanceToken(assets[i]).scaledTotalSupply();
}
_configureAssets(assetsConfig);
}
/// @inheritdoc IAaveIncentivesController
function handleAction(
address user,
uint256 totalSupply,
uint256 userBalance
) external override {
uint256 accruedRewards = _updateUserAssetInternal(user, msg.sender, userBalance, totalSupply);
if (accruedRewards != 0) {
_usersUnclaimedRewards[user] = _usersUnclaimedRewards[user].add(accruedRewards);
emit RewardsAccrued(user, accruedRewards);
}
}
/// @inheritdoc IAaveIncentivesController
function getRewardsBalance(address[] calldata assets, address user)
external
view
override
returns (uint256)
{
uint256 unclaimedRewards = _usersUnclaimedRewards[user];
DistributionTypes.UserStakeInput[] memory userState =
new DistributionTypes.UserStakeInput[](assets.length);
for (uint256 i = 0; i < assets.length; i++) {
userState[i].underlyingAsset = assets[i];
(userState[i].stakedByUser, userState[i].totalStaked) = IScaledBalanceToken(assets[i])
.getScaledUserBalanceAndSupply(user);
}
unclaimedRewards = unclaimedRewards.add(_getUnclaimedRewards(user, userState));
return unclaimedRewards;
}
/// @inheritdoc IAaveIncentivesController
function claimRewards(
address[] calldata assets,
uint256 amount,
address to
) external override returns (uint256) {
require(to != address(0), 'INVALID_TO_ADDRESS');
return _claimRewards(assets, amount, msg.sender, msg.sender, to);
}
/// @inheritdoc IAaveIncentivesController
function claimRewardsOnBehalf(
address[] calldata assets,
uint256 amount,
address user,
address to
) external override onlyAuthorizedClaimers(msg.sender, user) returns (uint256) {
require(user != address(0), 'INVALID_USER_ADDRESS');
require(to != address(0), 'INVALID_TO_ADDRESS');
return _claimRewards(assets, amount, msg.sender, user, to);
}
/// @inheritdoc IAaveIncentivesController
function claimRewardsToSelf(address[] calldata assets, uint256 amount)
external
override
returns (uint256)
{
return _claimRewards(assets, amount, msg.sender, msg.sender, msg.sender);
}
/**
* @dev Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards.
* @param amount Amount of rewards to claim
* @param user Address to check and claim rewards
* @param to Address that will be receiving the rewards
* @return Rewards claimed
**/
/// @inheritdoc IAaveIncentivesController
function setClaimer(address user, address caller) external override onlyEmissionManager {
_authorizedClaimers[user] = caller;
emit ClaimerSet(user, caller);
}
/// @inheritdoc IAaveIncentivesController
function getClaimer(address user) external view override returns (address) {
return _authorizedClaimers[user];
}
/// @inheritdoc IAaveIncentivesController
function getUserUnclaimedRewards(address _user) external view override returns (uint256) {
return _usersUnclaimedRewards[_user];
}
/// @inheritdoc IAaveIncentivesController
function REWARD_TOKEN() external view override returns (address) {
return address(STAKE_TOKEN);
}
/**
* @dev returns the revision of the implementation contract
*/
function getRevision() internal pure override returns (uint256) {
return REVISION;
}
/**
* @dev Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards.
* @param amount Amount of rewards to claim
* @param user Address to check and claim rewards
* @param to Address that will be receiving the rewards
* @return Rewards claimed
**/
function _claimRewards(
address[] calldata assets,
uint256 amount,
address claimer,
address user,
address to
) internal returns (uint256) {
if (amount == 0) {
return 0;
}
uint256 unclaimedRewards = _usersUnclaimedRewards[user];
DistributionTypes.UserStakeInput[] memory userState =
new DistributionTypes.UserStakeInput[](assets.length);
for (uint256 i = 0; i < assets.length; i++) {
userState[i].underlyingAsset = assets[i];
(userState[i].stakedByUser, userState[i].totalStaked) = IScaledBalanceToken(assets[i])
.getScaledUserBalanceAndSupply(user);
}
uint256 accruedRewards = _claimRewards(user, userState);
if (accruedRewards != 0) {
unclaimedRewards = unclaimedRewards.add(accruedRewards);
emit RewardsAccrued(user, accruedRewards);
}
if (unclaimedRewards == 0) {
return 0;
}
uint256 amountToClaim = amount > unclaimedRewards ? unclaimedRewards : amount;
_usersUnclaimedRewards[user] = unclaimedRewards - amountToClaim; // Safe due to the previous line
STAKE_TOKEN.stake(to, amountToClaim);
emit RewardsClaimed(user, to, claimer, amountToClaim);
return amountToClaim;
}
}// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import {IAaveDistributionManager} from '../interfaces/IAaveDistributionManager.sol';
import {SafeMath} from '../lib/SafeMath.sol';
import {DistributionTypes} from '../lib/DistributionTypes.sol';
/**
* @title DistributionManager
* @notice Accounting contract to manage multiple staking distributions
* @author Aave
**/
contract DistributionManager is IAaveDistributionManager {
using SafeMath for uint256;
struct AssetData {
uint104 emissionPerSecond;
uint104 index;
uint40 lastUpdateTimestamp;
mapping(address => uint256) users;
}
address public immutable EMISSION_MANAGER;
uint8 public constant PRECISION = 18;
mapping(address => AssetData) public assets;
uint256 internal _distributionEnd;
modifier onlyEmissionManager() {
require(msg.sender == EMISSION_MANAGER, 'ONLY_EMISSION_MANAGER');
_;
}
constructor(address emissionManager) {
EMISSION_MANAGER = emissionManager;
}
/// @inheritdoc IAaveDistributionManager
function setDistributionEnd(uint256 distributionEnd) external override onlyEmissionManager {
_distributionEnd = distributionEnd;
emit DistributionEndUpdated(distributionEnd);
}
/// @inheritdoc IAaveDistributionManager
function getDistributionEnd() external view override returns (uint256) {
return _distributionEnd;
}
/// @inheritdoc IAaveDistributionManager
function DISTRIBUTION_END() external view override returns (uint256) {
return _distributionEnd;
}
/// @inheritdoc IAaveDistributionManager
function getUserAssetData(address user, address asset) public view override returns (uint256) {
return assets[asset].users[user];
}
/// @inheritdoc IAaveDistributionManager
function getAssetData(address asset) public view override returns (uint256, uint256, uint256) {
return (assets[asset].index, assets[asset].emissionPerSecond, assets[asset].lastUpdateTimestamp);
}
/**
* @dev Configure the assets for a specific emission
* @param assetsConfigInput The array of each asset configuration
**/
function _configureAssets(DistributionTypes.AssetConfigInput[] memory assetsConfigInput)
internal
{
for (uint256 i = 0; i < assetsConfigInput.length; i++) {
AssetData storage assetConfig = assets[assetsConfigInput[i].underlyingAsset];
_updateAssetStateInternal(
assetsConfigInput[i].underlyingAsset,
assetConfig,
assetsConfigInput[i].totalStaked
);
assetConfig.emissionPerSecond = assetsConfigInput[i].emissionPerSecond;
emit AssetConfigUpdated(
assetsConfigInput[i].underlyingAsset,
assetsConfigInput[i].emissionPerSecond
);
}
}
/**
* @dev Updates the state of one distribution, mainly rewards index and timestamp
* @param asset The address of the asset being updated
* @param assetConfig Storage pointer to the distribution's config
* @param totalStaked Current total of staked assets for this distribution
* @return The new distribution index
**/
function _updateAssetStateInternal(
address asset,
AssetData storage assetConfig,
uint256 totalStaked
) internal returns (uint256) {
uint256 oldIndex = assetConfig.index;
uint256 emissionPerSecond = assetConfig.emissionPerSecond;
uint128 lastUpdateTimestamp = assetConfig.lastUpdateTimestamp;
if (block.timestamp == lastUpdateTimestamp) {
return oldIndex;
}
uint256 newIndex =
_getAssetIndex(oldIndex, emissionPerSecond, lastUpdateTimestamp, totalStaked);
if (newIndex != oldIndex) {
require(uint104(newIndex) == newIndex, 'Index overflow');
//optimization: storing one after another saves one SSTORE
assetConfig.index = uint104(newIndex);
assetConfig.lastUpdateTimestamp = uint40(block.timestamp);
emit AssetIndexUpdated(asset, newIndex);
} else {
assetConfig.lastUpdateTimestamp = uint40(block.timestamp);
}
return newIndex;
}
/**
* @dev Updates the state of an user in a distribution
* @param user The user's address
* @param asset The address of the reference asset of the distribution
* @param stakedByUser Amount of tokens staked by the user in the distribution at the moment
* @param totalStaked Total tokens staked in the distribution
* @return The accrued rewards for the user until the moment
**/
function _updateUserAssetInternal(
address user,
address asset,
uint256 stakedByUser,
uint256 totalStaked
) internal returns (uint256) {
AssetData storage assetData = assets[asset];
uint256 userIndex = assetData.users[user];
uint256 accruedRewards = 0;
uint256 newIndex = _updateAssetStateInternal(asset, assetData, totalStaked);
if (userIndex != newIndex) {
if (stakedByUser != 0) {
accruedRewards = _getRewards(stakedByUser, newIndex, userIndex);
}
assetData.users[user] = newIndex;
emit UserIndexUpdated(user, asset, newIndex);
}
return accruedRewards;
}
/**
* @dev Used by "frontend" stake contracts to update the data of an user when claiming rewards from there
* @param user The address of the user
* @param stakes List of structs of the user data related with his stake
* @return The accrued rewards for the user until the moment
**/
function _claimRewards(address user, DistributionTypes.UserStakeInput[] memory stakes)
internal
returns (uint256)
{
uint256 accruedRewards = 0;
for (uint256 i = 0; i < stakes.length; i++) {
accruedRewards = accruedRewards.add(
_updateUserAssetInternal(
user,
stakes[i].underlyingAsset,
stakes[i].stakedByUser,
stakes[i].totalStaked
)
);
}
return accruedRewards;
}
/**
* @dev Return the accrued rewards for an user over a list of distribution
* @param user The address of the user
* @param stakes List of structs of the user data related with his stake
* @return The accrued rewards for the user until the moment
**/
function _getUnclaimedRewards(address user, DistributionTypes.UserStakeInput[] memory stakes)
internal
view
returns (uint256)
{
uint256 accruedRewards = 0;
for (uint256 i = 0; i < stakes.length; i++) {
AssetData storage assetConfig = assets[stakes[i].underlyingAsset];
uint256 assetIndex =
_getAssetIndex(
assetConfig.index,
assetConfig.emissionPerSecond,
assetConfig.lastUpdateTimestamp,
stakes[i].totalStaked
);
accruedRewards = accruedRewards.add(
_getRewards(stakes[i].stakedByUser, assetIndex, assetConfig.users[user])
);
}
return accruedRewards;
}
/**
* @dev Internal function for the calculation of user's rewards on a distribution
* @param principalUserBalance Amount staked by the user on a distribution
* @param reserveIndex Current index of the distribution
* @param userIndex Index stored for the user, representation his staking moment
* @return The rewards
**/
function _getRewards(
uint256 principalUserBalance,
uint256 reserveIndex,
uint256 userIndex
) internal pure returns (uint256) {
return principalUserBalance.mul(reserveIndex.sub(userIndex)) / 10**uint256(PRECISION);
}
/**
* @dev Calculates the next value of an specific distribution index, with validations
* @param currentIndex Current index of the distribution
* @param emissionPerSecond Representing the total rewards distributed per second per asset unit, on the distribution
* @param lastUpdateTimestamp Last moment this distribution was updated
* @param totalBalance of tokens considered for the distribution
* @return The new index.
**/
function _getAssetIndex(
uint256 currentIndex,
uint256 emissionPerSecond,
uint128 lastUpdateTimestamp,
uint256 totalBalance
) internal view returns (uint256) {
uint256 distributionEnd = _distributionEnd;
if (
emissionPerSecond == 0 ||
totalBalance == 0 ||
lastUpdateTimestamp == block.timestamp ||
lastUpdateTimestamp >= distributionEnd
) {
return currentIndex;
}
uint256 currentTimestamp =
block.timestamp > distributionEnd ? distributionEnd : block.timestamp;
uint256 timeDelta = currentTimestamp.sub(lastUpdateTimestamp);
return
emissionPerSecond.mul(timeDelta).mul(10**uint256(PRECISION)).div(totalBalance).add(
currentIndex
);
}
}// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import {DistributionTypes} from '../lib/DistributionTypes.sol';
interface IAaveDistributionManager {
event AssetConfigUpdated(address indexed asset, uint256 emission);
event AssetIndexUpdated(address indexed asset, uint256 index);
event UserIndexUpdated(address indexed user, address indexed asset, uint256 index);
event DistributionEndUpdated(uint256 newDistributionEnd);
/**
* @dev Sets the end date for the distribution
* @param distributionEnd The end date timestamp
**/
function setDistributionEnd(uint256 distributionEnd) external;
/**
* @dev Gets the end date for the distribution
* @return The end of the distribution
**/
function getDistributionEnd() external view returns (uint256);
/**
* @dev for backwards compatibility with the previous DistributionManager used
* @return The end of the distribution
**/
function DISTRIBUTION_END() external view returns(uint256);
/**
* @dev Returns the data of an user on a distribution
* @param user Address of the user
* @param asset The address of the reference asset of the distribution
* @return The new index
**/
function getUserAssetData(address user, address asset) external view returns (uint256);
/**
* @dev Returns the configuration of the distribution for a certain asset
* @param asset The address of the reference asset of the distribution
* @return The asset index, the emission per second and the last updated timestamp
**/
function getAssetData(address asset) external view returns (uint256, uint256, uint256);
}// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.7.5;
/// @title Optimized overflow and underflow safe math operations
/// @notice Contains methods for doing math operations that revert on overflow or underflow for minimal gas cost
/// inspired by uniswap V3
library SafeMath {
/// @notice Returns x + y, reverts if sum overflows uint256
/// @param x The augend
/// @param y The addend
/// @return z The sum of x and y
function add(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x + y) >= x);
}
/// @notice Returns x - y, reverts if underflows
/// @param x The minuend
/// @param y The subtrahend
/// @return z The difference of x and y
function sub(uint256 x, uint256 y) internal pure returns (uint256 z) {
require((z = x - y) <= x);
}
/// @notice Returns x * y, reverts if overflows
/// @param x The multiplicand
/// @param y The multiplier
/// @return z The product of x and y
function mul(uint256 x, uint256 y) internal pure returns (uint256 z) {
require(x == 0 || (z = x * y) / x == y);
}
function div(uint256 x, uint256 y) internal pure returns(uint256) {
// no need to check for division by zero - solidity already reverts
return x / y;
}
}// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
library DistributionTypes {
struct AssetConfigInput {
uint104 emissionPerSecond;
uint256 totalStaked;
address underlyingAsset;
}
struct UserStakeInput {
address underlyingAsset;
uint256 stakedByUser;
uint256 totalStaked;
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
import {IERC20} from '../interfaces/IERC20.sol';
import {SafeMath} from './SafeMath.sol';
import {Address} from './Address.sol';
/**
* @title SafeERC20
* @dev From https://github.com/OpenZeppelin/openzeppelin-contracts
* Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value
) internal {
callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
function safeApprove(
IERC20 token,
address spender,
uint256 value
) internal {
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
'SafeERC20: approve from non-zero to non-zero allowance'
);
callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function callOptionalReturn(IERC20 token, bytes memory data) private {
require(address(token).isContract(), 'SafeERC20: call to non-contract');
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = address(token).call(data);
require(success, 'SafeERC20: low-level call failed');
if (returndata.length > 0) {
// Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), 'SafeERC20: ERC20 operation did not succeed');
}
}
}// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.5;
/**
* @title VersionedInitializable
*
* @dev Helper contract to support initializer functions. To use it, replace
* the constructor with a function that has the `initializer` modifier.
* WARNING: Unlike constructors, initializer functions must be manually
* invoked. This applies both to deploying an Initializable contract, as well
* as extending an Initializable contract via inheritance.
* WARNING: When used with inheritance, manual care must be taken to not invoke
* a parent initializer twice, or ensure that all initializers are idempotent,
* because this is not dealt with automatically as with constructors.
*
* @author Aave, inspired by the OpenZeppelin Initializable contract
*/
abstract contract VersionedInitializable {
/**
* @dev Indicates that the contract has been initialized.
*/
uint256 internal lastInitializedRevision = 0;
/**
* @dev Modifier to use in the initializer function of a contract.
*/
modifier initializer() {
uint256 revision = getRevision();
require(revision > lastInitializedRevision, 'Contract instance has already been initialized');
lastInitializedRevision = revision;
_;
}
/// @dev returns the revision number of the contract.
/// Needs to be defined in the inherited class as a constant.
function getRevision() internal pure virtual returns (uint256);
// Reserved storage space to allow for layout changes in the future.
uint256[50] private ______gap;
}// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.7.5;
import {IStakedToken} from '@aave/aave-stake/contracts/interfaces/IStakedToken.sol';
interface IStakedTokenWithConfig is IStakedToken {
function STAKED_TOKEN() external view returns(address);
}// SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
* From https://github.com/OpenZeppelin/openzeppelin-contracts
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.5;
interface IScaledBalanceToken {
/**
* @dev Returns the scaled balance of the user. The scaled balance is the sum of all the
* updated stored balance divided by the reserve's liquidity index at the moment of the update
* @param user The user whose balance is calculated
* @return The scaled balance of the user
**/
function scaledBalanceOf(address user) external view returns (uint256);
/**
* @dev Returns the scaled balance of the user and the scaled total supply.
* @param user The address of the user
* @return The scaled balance of the user
* @return The scaled balance and the scaled total supply
**/
function getScaledUserBalanceAndSupply(address user) external view returns (uint256, uint256);
/**
* @dev Returns the scaled total supply of the token. Represents sum(debt/index)
* @return The scaled total supply
**/
function scaledTotalSupply() external view returns (uint256);
}// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;
import {IAaveDistributionManager} from '../interfaces/IAaveDistributionManager.sol';
interface IAaveIncentivesController is IAaveDistributionManager {
event RewardsAccrued(address indexed user, uint256 amount);
event RewardsClaimed(
address indexed user,
address indexed to,
address indexed claimer,
uint256 amount
);
event ClaimerSet(address indexed user, address indexed claimer);
/**
* @dev Whitelists an address to claim the rewards on behalf of another address
* @param user The address of the user
* @param claimer The address of the claimer
*/
function setClaimer(address user, address claimer) external;
/**
* @dev Returns the whitelisted claimer for a certain address (0x0 if not set)
* @param user The address of the user
* @return The claimer address
*/
function getClaimer(address user) external view returns (address);
/**
* @dev Configure assets for a certain rewards emission
* @param assets The assets to incentivize
* @param emissionsPerSecond The emission for each asset
*/
function configureAssets(address[] calldata assets, uint256[] calldata emissionsPerSecond)
external;
/**
* @dev Called by the corresponding asset on any update that affects the rewards distribution
* @param asset The address of the user
* @param userBalance The balance of the user of the asset in the lending pool
* @param totalSupply The total supply of the asset in the lending pool
**/
function handleAction(
address asset,
uint256 userBalance,
uint256 totalSupply
) external;
/**
* @dev Returns the total of rewards of an user, already accrued + not yet accrued
* @param user The address of the user
* @return The rewards
**/
function getRewardsBalance(address[] calldata assets, address user)
external
view
returns (uint256);
/**
* @dev Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards
* @param amount Amount of rewards to claim
* @param to Address that will be receiving the rewards
* @return Rewards claimed
**/
function claimRewards(
address[] calldata assets,
uint256 amount,
address to
) external returns (uint256);
/**
* @dev Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must
* be whitelisted via "allowClaimOnBehalf" function by the RewardsAdmin role manager
* @param amount Amount of rewards to claim
* @param user Address to check and claim rewards
* @param to Address that will be receiving the rewards
* @return Rewards claimed
**/
function claimRewardsOnBehalf(
address[] calldata assets,
uint256 amount,
address user,
address to
) external returns (uint256);
/**
* @dev Claims rewards for a user, on the specified assets of the lending pool, distributing the pending rewards to self
* @param assets Incentivized assets on which to claim rewards
* @param amount Amount of rewards to claim
* @return Rewards claimed
**/
function claimRewardsToSelf(address[] calldata assets, uint256 amount) external returns (uint256);
/**
* @dev returns the unclaimed rewards of the user
* @param user the address of the user
* @return the unclaimed user rewards
*/
function getUserUnclaimedRewards(address user) external view returns (uint256);
/**
* @dev for backward compatibility with previous implementation of the Incentives controller
*/
function REWARD_TOKEN() external view returns (address);
}// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.5;
/**
* @dev From https://github.com/OpenZeppelin/openzeppelin-contracts
* Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, 'SafeMath: addition overflow');
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, 'SafeMath: subtraction overflow');
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, 'SafeMath: multiplication overflow');
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, 'SafeMath: division by zero');
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
// Solidity only automatically asserts when dividing by 0
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, 'SafeMath: modulo by zero');
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.7.5;
/**
* @dev Collection of functions related to the address type
* From https://github.com/OpenZeppelin/openzeppelin-contracts
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly {
codehash := extcodehash(account)
}
return (codehash != accountHash && codehash != 0x0);
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, 'Address: insufficient balance');
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{value: amount}('');
require(success, 'Address: unable to send value, recipient may have reverted');
}
}// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.7.5;
interface IStakedToken {
function stake(address to, uint256 amount) external;
function redeem(address to, uint256 amount) external;
function cooldown() external;
function claimRewards(address to, uint256 amount) external;
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "istanbul",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IStakedTokenWithConfig","name":"stakeToken","type":"address"},{"internalType":"address","name":"emissionManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"asset","type":"address"},{"indexed":false,"internalType":"uint256","name":"emission","type":"uint256"}],"name":"AssetConfigUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"asset","type":"address"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"AssetIndexUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"claimer","type":"address"}],"name":"ClaimerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDistributionEnd","type":"uint256"}],"name":"DistributionEndUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsAccrued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"asset","type":"address"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"UserIndexUpdated","type":"event"},{"inputs":[],"name":"DISTRIBUTION_END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMISSION_MANAGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRECISION","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKE_TOKEN","outputs":[{"internalType":"contract IStakedTokenWithConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"assets","outputs":[{"internalType":"uint104","name":"emissionPerSecond","type":"uint104"},{"internalType":"uint104","name":"index","type":"uint104"},{"internalType":"uint40","name":"lastUpdateTimestamp","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"assets","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"claimRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"assets","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"claimRewardsOnBehalf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"assets","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimRewardsToSelf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"assets","type":"address[]"},{"internalType":"uint256[]","name":"emissionsPerSecond","type":"uint256[]"}],"name":"configureAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getAssetData","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getClaimer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDistributionEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"assets","type":"address[]"},{"internalType":"address","name":"user","type":"address"}],"name":"getRewardsBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"asset","type":"address"}],"name":"getUserAssetData","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getUserUnclaimedRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"userBalance","type":"uint256"}],"name":"handleAction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"caller","type":"address"}],"name":"setClaimer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"distributionEnd","type":"uint256"}],"name":"setDistributionEnd","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60c0604052600080553480156200001557600080fd5b5060405162001a8538038062001a85833981016040819052620000389162000058565b6001600160601b0319606091821b811660805291901b1660a052620000af565b600080604083850312156200006b578182fd5b8251620000788162000096565b60208401519092506200008b8162000096565b809150509250929050565b6001600160a01b0381168114620000ac57600080fd5b50565b60805160601c60a05160601c611993620000f26000398061032752806109e25280610db652508061046452806105c95280610a5d5280610ac652506119936000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806379f171b2116100b8578063c4d66de81161007c578063c4d66de81461026e578063cbcbb50714610281578063cc69afec14610249578063dde43cba14610289578063f11b818814610291578063f5cf673b146102b357610137565b806379f171b2146102235780638b599f2614610236578063919cd40f1461024957806399248ea714610251578063aaf5eb681461025957610137565b80633373ee4c116100ff5780633373ee4c146101c457806339ccbdd3146101d757806341485304146101ea5780636d34b96e146101fd57806374d945ec1461021057610137565b80631652e7b71461013c578063198fa81e146101675780631c39b672146101875780633111e7b31461019c57806331873e2e146101af575b600080fd5b61014f61014a3660046114ec565b6102c6565b60405161015e9392919061190b565b60405180910390f35b61017a6101753660046114ec565b610306565b60405161015e9190611902565b61018f610325565b60405161015e9190611789565b61017a6101aa36600461166f565b610349565b6101c26101bd366004611538565b610393565b005b61017a6101d2366004611506565b610428565b6101c26101e5366004611736565b610459565b61017a6101f8366004611625565b6104e1565b61017a61020b3660046116ca565b6104fb565b61018f61021e3660046114ec565b6105a0565b6101c26102313660046115bc565b6105be565b61017a61024436600461156a565b610823565b61017a6109da565b61018f6109e0565b610261610a04565b60405161015e9190611921565b6101c261027c3660046114ec565b610a09565b61018f610a5b565b61017a610a7f565b6102a461029f3660046114ec565b610a84565b60405161015e939291906118d8565b6101c26102c1366004611506565b610abb565b6001600160a01b0316600090815260336020526040902054600160681b81046001600160681b039081169290821691600160d01b900464ffffffffff1690565b6001600160a01b0381166000908152603560205260409020545b919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160a01b03821661037a5760405162461bcd60e51b8152600401610371906117e4565b60405180910390fd5b610388858585333387610b5a565b90505b949350505050565b60006103a184338486610e82565b90508015610422576001600160a01b0384166000908152603560205260409020546103cc9082610f41565b6001600160a01b038516600081815260356020526040908190209290925590517f2468f9268c60ad90e2d49edb0032c8a001e733ae888b3ab8e982edf535be1a7690610419908490611902565b60405180910390a25b50505050565b6001600160a01b03808216600090815260336020908152604080832093861683526001909301905220545b92915050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146104a15760405162461bcd60e51b815260040161037190611867565b60348190556040517f1cc1849a6602c3e91f2088cadea4381cc5717f2f28584197060ed2ebb434c16f906104d6908390611902565b60405180910390a150565b60006104f1848484333333610b5a565b90505b9392505050565b6001600160a01b0380831660009081526036602052604081205490913391859116821461053a5760405162461bcd60e51b815260040161037190611896565b6001600160a01b0385166105605760405162461bcd60e51b8152600401610371906117b6565b6001600160a01b0384166105865760405162461bcd60e51b8152600401610371906117e4565b610594888888338989610b5a565b98975050505050505050565b6001600160a01b039081166000908152603660205260409020541690565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106065760405162461bcd60e51b815260040161037190611867565b8281146106255760405162461bcd60e51b815260040161037190611810565b60608367ffffffffffffffff8111801561063e57600080fd5b5060405190808252806020026020018201604052801561067857816020015b610665611442565b81526020019060019003908161065d5790505b50905060005b848110156108125785858281811061069257fe5b90506020020160208101906106a791906114ec565b8282815181106106b357fe5b6020026020010151604001906001600160a01b031690816001600160a01b0316815250508383828181106106e357fe5b905060200201358282815181106106f657fe5b60209081029190910101516001600160681b03909116905283838281811061071a57fe5b9050602002013582828151811061072d57fe5b6020026020010151600001516001600160681b03161461075f5760405162461bcd60e51b815260040161037190611810565b85858281811061076b57fe5b905060200201602081019061078091906114ec565b6001600160a01b031663b1bf962d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107b857600080fd5b505afa1580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f0919061174e565b8282815181106107fc57fe5b602090810291909101810151015260010161067e565b5061081c81610f51565b5050505050565b6001600160a01b03811660009081526035602052604081205460608467ffffffffffffffff8111801561085557600080fd5b5060405190808252806020026020018201604052801561088f57816020015b61087c611462565b8152602001906001900390816108745790505b50905060005b858110156109bb578686828181106108a957fe5b90506020020160208101906108be91906114ec565b8282815181106108ca57fe5b60209081029190910101516001600160a01b0390911690528686828181106108ee57fe5b905060200201602081019061090391906114ec565b6001600160a01b0316630afbcdc9866040518263ffffffff1660e01b815260040161092e9190611789565b604080518083038186803b15801561094557600080fd5b505afa158015610959573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097d9190611766565b83838151811061098957fe5b60200260200101516020018484815181106109a057fe5b60209081029190910101516040019190915252600101610895565b506109d06109c9858361108d565b8390610f41565b9695505050505050565b60345490565b7f000000000000000000000000000000000000000000000000000000000000000090565b601281565b6000610a1361118b565b90506000548111610a555760405162461bcd60e51b815260040180806020018281038252602e815260200180611930602e913960400191505060405180910390fd5b60005550565b7f000000000000000000000000000000000000000000000000000000000000000081565b600281565b6033602052600090815260409020546001600160681b0380821691600160681b810490911690600160d01b900464ffffffffff1683565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610b035760405162461bcd60e51b815260040161037190611867565b6001600160a01b0382811660008181526036602052604080822080546001600160a01b0319169486169485179055517f4925eafc82d0c4d67889898eeed64b18488ab19811e61620f387026dec126a289190a35050565b600084610b69575060006109d0565b6001600160a01b03831660009081526035602052604090205460608767ffffffffffffffff81118015610b9b57600080fd5b50604051908082528060200260200182016040528015610bd557816020015b610bc2611462565b815260200190600190039081610bba5790505b50905060005b88811015610d0157898982818110610bef57fe5b9050602002016020810190610c0491906114ec565b828281518110610c1057fe5b60209081029190910101516001600160a01b039091169052898982818110610c3457fe5b9050602002016020810190610c4991906114ec565b6001600160a01b0316630afbcdc9876040518263ffffffff1660e01b8152600401610c749190611789565b604080518083038186803b158015610c8b57600080fd5b505afa158015610c9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc39190611766565b838381518110610ccf57fe5b6020026020010151602001848481518110610ce657fe5b60209081029190910101516040019190915252600101610bdb565b506000610d0e8683611190565b90508015610d6457610d208382610f41565b9250856001600160a01b03167f2468f9268c60ad90e2d49edb0032c8a001e733ae888b3ab8e982edf535be1a7682604051610d5b9190611902565b60405180910390a25b82610d7557600093505050506109d0565b6000838911610d845788610d86565b835b6001600160a01b03808916600090815260356020526040908190208388039055516356e4bb9760e11b81529192507f0000000000000000000000000000000000000000000000000000000000000000169063adc9772e90610ded908990859060040161179d565b600060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b50505050876001600160a01b0316866001600160a01b0316886001600160a01b03167f5637d7f962248a7f05a7ab69eec6446e31f3d0a299d997f135a65c62806e789184604051610e6c9190611902565b60405180910390a49a9950505050505050505050565b6001600160a01b0380841660009081526033602090815260408083209388168352600184019091528120549091908280610ebd8885886111fc565b9050808314610f35578615610eda57610ed787828561132c565b91505b6001600160a01b03808a1660008181526001870160205260409081902084905551918a16917fbb123b5c06d5408bbea3c4fef481578175cfb432e3b482c6186f02ed9086585b90610f2c908590611902565b60405180910390a35b50979650505050505050565b8082018281101561045357600080fd5b60005b815181101561108957600060336000848481518110610f6f57fe5b6020026020010151604001516001600160a01b03166001600160a01b031681526020019081526020016000209050610fd6838381518110610fac57fe5b60200260200101516040015182858581518110610fc557fe5b6020026020010151602001516111fc565b50828281518110610fe357fe5b60209081029190910101515181546cffffffffffffffffffffffffff19166001600160681b03909116178155825183908390811061101d57fe5b6020026020010151604001516001600160a01b03167f87fa03892a0556cb6b8f97e6d533a150d4d55fcbf275fff5fa003fa636bcc7fa84848151811061105f57fe5b60200260200101516000015160405161107891906118c4565b60405180910390a250600101610f54565b5050565b600080805b8351811015611183576000603360008684815181106110ad57fe5b602090810291909101810151516001600160a01b0316825281019190915260400160009081208054875191935061112291600160681b82046001600160681b039081169290811691600160d01b90910464ffffffffff16908a908890811061111157fe5b60200260200101516040015161135b565b905061117761117087858151811061113657fe5b602002602001015160200151838560010160008c6001600160a01b03166001600160a01b031681526020019081526020016000205461132c565b8590610f41565b93505050600101611092565b509392505050565b600290565b600080805b8351811015611183576111f26109c9868684815181106111b157fe5b6020026020010151600001518785815181106111c957fe5b6020026020010151602001518886815181106111e157fe5b602002602001015160400151610e82565b9150600101611195565b81546000906001600160681b03600160681b82048116919081169064ffffffffff600160d01b9091041642811415611239578293505050506104f4565b60006112478484848961135b565b90508381146113025780816001600160681b0316146112785760405162461bcd60e51b81526004016103719061183f565b86546cffffffffffffffffffffffffff60681b1916600160681b6001600160681b038316021764ffffffffff60d01b1916600160d01b4264ffffffffff16021787556040516001600160a01b038916907f5777ca300dfe5bead41006fbce4389794dbc0ed8d6cccebfaf94630aa04184bc906112f5908490611902565b60405180910390a2611321565b865464ffffffffff60d01b1916600160d01b4264ffffffffff16021787555b979650505050505050565b6000670de0b6b3a764000061134b61134485856113fb565b869061140b565b8161135257fe5b04949350505050565b60345460009084158061136c575082155b8061137f575042846001600160801b0316145b80611393575080846001600160801b031610155b156113a1578591505061038b565b60008142116113b057426113b2565b815b905060006113c9826001600160801b0388166113fb565b9050610594886113f5876113ef670de0b6b3a76400006113e98d8861140b565b9061140b565b9061142f565b90610f41565b8082038281111561045357600080fd5b60008215806114265750508181028183828161142357fe5b04145b61045357600080fd5b600081838161143a57fe5b049392505050565b604080516060810182526000808252602082018190529181019190915290565b604051806060016040528060006001600160a01b0316815260200160008152602001600081525090565b80356001600160a01b038116811461032057600080fd5b60008083601f8401126114b4578182fd5b50813567ffffffffffffffff8111156114cb578182fd5b60208301915083602080830285010111156114e557600080fd5b9250929050565b6000602082840312156114fd578081fd5b6104f48261148c565b60008060408385031215611518578081fd5b6115218361148c565b915061152f6020840161148c565b90509250929050565b60008060006060848603121561154c578081fd5b6115558461148c565b95602085013595506040909401359392505050565b60008060006040848603121561157e578283fd5b833567ffffffffffffffff811115611594578384fd5b6115a0868287016114a3565b90945092506115b390506020850161148c565b90509250925092565b600080600080604085870312156115d1578081fd5b843567ffffffffffffffff808211156115e8578283fd5b6115f4888389016114a3565b9096509450602087013591508082111561160c578283fd5b50611619878288016114a3565b95989497509550505050565b600080600060408486031215611639578283fd5b833567ffffffffffffffff81111561164f578384fd5b61165b868287016114a3565b909790965060209590950135949350505050565b60008060008060608587031215611684578384fd5b843567ffffffffffffffff81111561169a578485fd5b6116a6878288016114a3565b909550935050602085013591506116bf6040860161148c565b905092959194509250565b6000806000806000608086880312156116e1578081fd5b853567ffffffffffffffff8111156116f7578182fd5b611703888289016114a3565b9096509450506020860135925061171c6040870161148c565b915061172a6060870161148c565b90509295509295909350565b600060208284031215611747578081fd5b5035919050565b60006020828403121561175f578081fd5b5051919050565b60008060408385031215611778578182fd5b505080516020909101519092909150565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b602080825260149082015273494e56414c49445f555345525f4144445245535360601b604082015260600190565b602080825260129082015271494e56414c49445f544f5f4144445245535360701b604082015260600190565b60208082526015908201527424a72b20a624a22fa1a7a72324a3aaa920aa24a7a760591b604082015260600190565b6020808252600e908201526d496e646578206f766572666c6f7760901b604082015260600190565b60208082526015908201527427a7262cafa2a6a4a9a9a4a7a72fa6a0a720a3a2a960591b604082015260600190565b60208082526014908201527310d3105253515497d5539055551213d49256915160621b604082015260600190565b6001600160681b0391909116815260200190565b6001600160681b03938416815291909216602082015264ffffffffff909116604082015260600190565b90815260200190565b9283526020830191909152604082015260600190565b60ff9190911681526020019056fe436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564a26469706673582212204e55ba81be283f95a8fbd5cd467a70e07e6bbf42411d1890d365397d6a348b5c64736f6c634300070500330000000000000000000000004da27a545c0c5b758a6ba100e3a049001de870f5000000000000000000000000ee56e2b3d491590b5b31738cc34d5232f378a8d5
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c806379f171b2116100b8578063c4d66de81161007c578063c4d66de81461026e578063cbcbb50714610281578063cc69afec14610249578063dde43cba14610289578063f11b818814610291578063f5cf673b146102b357610137565b806379f171b2146102235780638b599f2614610236578063919cd40f1461024957806399248ea714610251578063aaf5eb681461025957610137565b80633373ee4c116100ff5780633373ee4c146101c457806339ccbdd3146101d757806341485304146101ea5780636d34b96e146101fd57806374d945ec1461021057610137565b80631652e7b71461013c578063198fa81e146101675780631c39b672146101875780633111e7b31461019c57806331873e2e146101af575b600080fd5b61014f61014a3660046114ec565b6102c6565b60405161015e9392919061190b565b60405180910390f35b61017a6101753660046114ec565b610306565b60405161015e9190611902565b61018f610325565b60405161015e9190611789565b61017a6101aa36600461166f565b610349565b6101c26101bd366004611538565b610393565b005b61017a6101d2366004611506565b610428565b6101c26101e5366004611736565b610459565b61017a6101f8366004611625565b6104e1565b61017a61020b3660046116ca565b6104fb565b61018f61021e3660046114ec565b6105a0565b6101c26102313660046115bc565b6105be565b61017a61024436600461156a565b610823565b61017a6109da565b61018f6109e0565b610261610a04565b60405161015e9190611921565b6101c261027c3660046114ec565b610a09565b61018f610a5b565b61017a610a7f565b6102a461029f3660046114ec565b610a84565b60405161015e939291906118d8565b6101c26102c1366004611506565b610abb565b6001600160a01b0316600090815260336020526040902054600160681b81046001600160681b039081169290821691600160d01b900464ffffffffff1690565b6001600160a01b0381166000908152603560205260409020545b919050565b7f0000000000000000000000004da27a545c0c5b758a6ba100e3a049001de870f581565b60006001600160a01b03821661037a5760405162461bcd60e51b8152600401610371906117e4565b60405180910390fd5b610388858585333387610b5a565b90505b949350505050565b60006103a184338486610e82565b90508015610422576001600160a01b0384166000908152603560205260409020546103cc9082610f41565b6001600160a01b038516600081815260356020526040908190209290925590517f2468f9268c60ad90e2d49edb0032c8a001e733ae888b3ab8e982edf535be1a7690610419908490611902565b60405180910390a25b50505050565b6001600160a01b03808216600090815260336020908152604080832093861683526001909301905220545b92915050565b336001600160a01b037f000000000000000000000000ee56e2b3d491590b5b31738cc34d5232f378a8d516146104a15760405162461bcd60e51b815260040161037190611867565b60348190556040517f1cc1849a6602c3e91f2088cadea4381cc5717f2f28584197060ed2ebb434c16f906104d6908390611902565b60405180910390a150565b60006104f1848484333333610b5a565b90505b9392505050565b6001600160a01b0380831660009081526036602052604081205490913391859116821461053a5760405162461bcd60e51b815260040161037190611896565b6001600160a01b0385166105605760405162461bcd60e51b8152600401610371906117b6565b6001600160a01b0384166105865760405162461bcd60e51b8152600401610371906117e4565b610594888888338989610b5a565b98975050505050505050565b6001600160a01b039081166000908152603660205260409020541690565b336001600160a01b037f000000000000000000000000ee56e2b3d491590b5b31738cc34d5232f378a8d516146106065760405162461bcd60e51b815260040161037190611867565b8281146106255760405162461bcd60e51b815260040161037190611810565b60608367ffffffffffffffff8111801561063e57600080fd5b5060405190808252806020026020018201604052801561067857816020015b610665611442565b81526020019060019003908161065d5790505b50905060005b848110156108125785858281811061069257fe5b90506020020160208101906106a791906114ec565b8282815181106106b357fe5b6020026020010151604001906001600160a01b031690816001600160a01b0316815250508383828181106106e357fe5b905060200201358282815181106106f657fe5b60209081029190910101516001600160681b03909116905283838281811061071a57fe5b9050602002013582828151811061072d57fe5b6020026020010151600001516001600160681b03161461075f5760405162461bcd60e51b815260040161037190611810565b85858281811061076b57fe5b905060200201602081019061078091906114ec565b6001600160a01b031663b1bf962d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107b857600080fd5b505afa1580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f0919061174e565b8282815181106107fc57fe5b602090810291909101810151015260010161067e565b5061081c81610f51565b5050505050565b6001600160a01b03811660009081526035602052604081205460608467ffffffffffffffff8111801561085557600080fd5b5060405190808252806020026020018201604052801561088f57816020015b61087c611462565b8152602001906001900390816108745790505b50905060005b858110156109bb578686828181106108a957fe5b90506020020160208101906108be91906114ec565b8282815181106108ca57fe5b60209081029190910101516001600160a01b0390911690528686828181106108ee57fe5b905060200201602081019061090391906114ec565b6001600160a01b0316630afbcdc9866040518263ffffffff1660e01b815260040161092e9190611789565b604080518083038186803b15801561094557600080fd5b505afa158015610959573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097d9190611766565b83838151811061098957fe5b60200260200101516020018484815181106109a057fe5b60209081029190910101516040019190915252600101610895565b506109d06109c9858361108d565b8390610f41565b9695505050505050565b60345490565b7f0000000000000000000000004da27a545c0c5b758a6ba100e3a049001de870f590565b601281565b6000610a1361118b565b90506000548111610a555760405162461bcd60e51b815260040180806020018281038252602e815260200180611930602e913960400191505060405180910390fd5b60005550565b7f000000000000000000000000ee56e2b3d491590b5b31738cc34d5232f378a8d581565b600281565b6033602052600090815260409020546001600160681b0380821691600160681b810490911690600160d01b900464ffffffffff1683565b336001600160a01b037f000000000000000000000000ee56e2b3d491590b5b31738cc34d5232f378a8d51614610b035760405162461bcd60e51b815260040161037190611867565b6001600160a01b0382811660008181526036602052604080822080546001600160a01b0319169486169485179055517f4925eafc82d0c4d67889898eeed64b18488ab19811e61620f387026dec126a289190a35050565b600084610b69575060006109d0565b6001600160a01b03831660009081526035602052604090205460608767ffffffffffffffff81118015610b9b57600080fd5b50604051908082528060200260200182016040528015610bd557816020015b610bc2611462565b815260200190600190039081610bba5790505b50905060005b88811015610d0157898982818110610bef57fe5b9050602002016020810190610c0491906114ec565b828281518110610c1057fe5b60209081029190910101516001600160a01b039091169052898982818110610c3457fe5b9050602002016020810190610c4991906114ec565b6001600160a01b0316630afbcdc9876040518263ffffffff1660e01b8152600401610c749190611789565b604080518083038186803b158015610c8b57600080fd5b505afa158015610c9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc39190611766565b838381518110610ccf57fe5b6020026020010151602001848481518110610ce657fe5b60209081029190910101516040019190915252600101610bdb565b506000610d0e8683611190565b90508015610d6457610d208382610f41565b9250856001600160a01b03167f2468f9268c60ad90e2d49edb0032c8a001e733ae888b3ab8e982edf535be1a7682604051610d5b9190611902565b60405180910390a25b82610d7557600093505050506109d0565b6000838911610d845788610d86565b835b6001600160a01b03808916600090815260356020526040908190208388039055516356e4bb9760e11b81529192507f0000000000000000000000004da27a545c0c5b758a6ba100e3a049001de870f5169063adc9772e90610ded908990859060040161179d565b600060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b50505050876001600160a01b0316866001600160a01b0316886001600160a01b03167f5637d7f962248a7f05a7ab69eec6446e31f3d0a299d997f135a65c62806e789184604051610e6c9190611902565b60405180910390a49a9950505050505050505050565b6001600160a01b0380841660009081526033602090815260408083209388168352600184019091528120549091908280610ebd8885886111fc565b9050808314610f35578615610eda57610ed787828561132c565b91505b6001600160a01b03808a1660008181526001870160205260409081902084905551918a16917fbb123b5c06d5408bbea3c4fef481578175cfb432e3b482c6186f02ed9086585b90610f2c908590611902565b60405180910390a35b50979650505050505050565b8082018281101561045357600080fd5b60005b815181101561108957600060336000848481518110610f6f57fe5b6020026020010151604001516001600160a01b03166001600160a01b031681526020019081526020016000209050610fd6838381518110610fac57fe5b60200260200101516040015182858581518110610fc557fe5b6020026020010151602001516111fc565b50828281518110610fe357fe5b60209081029190910101515181546cffffffffffffffffffffffffff19166001600160681b03909116178155825183908390811061101d57fe5b6020026020010151604001516001600160a01b03167f87fa03892a0556cb6b8f97e6d533a150d4d55fcbf275fff5fa003fa636bcc7fa84848151811061105f57fe5b60200260200101516000015160405161107891906118c4565b60405180910390a250600101610f54565b5050565b600080805b8351811015611183576000603360008684815181106110ad57fe5b602090810291909101810151516001600160a01b0316825281019190915260400160009081208054875191935061112291600160681b82046001600160681b039081169290811691600160d01b90910464ffffffffff16908a908890811061111157fe5b60200260200101516040015161135b565b905061117761117087858151811061113657fe5b602002602001015160200151838560010160008c6001600160a01b03166001600160a01b031681526020019081526020016000205461132c565b8590610f41565b93505050600101611092565b509392505050565b600290565b600080805b8351811015611183576111f26109c9868684815181106111b157fe5b6020026020010151600001518785815181106111c957fe5b6020026020010151602001518886815181106111e157fe5b602002602001015160400151610e82565b9150600101611195565b81546000906001600160681b03600160681b82048116919081169064ffffffffff600160d01b9091041642811415611239578293505050506104f4565b60006112478484848961135b565b90508381146113025780816001600160681b0316146112785760405162461bcd60e51b81526004016103719061183f565b86546cffffffffffffffffffffffffff60681b1916600160681b6001600160681b038316021764ffffffffff60d01b1916600160d01b4264ffffffffff16021787556040516001600160a01b038916907f5777ca300dfe5bead41006fbce4389794dbc0ed8d6cccebfaf94630aa04184bc906112f5908490611902565b60405180910390a2611321565b865464ffffffffff60d01b1916600160d01b4264ffffffffff16021787555b979650505050505050565b6000670de0b6b3a764000061134b61134485856113fb565b869061140b565b8161135257fe5b04949350505050565b60345460009084158061136c575082155b8061137f575042846001600160801b0316145b80611393575080846001600160801b031610155b156113a1578591505061038b565b60008142116113b057426113b2565b815b905060006113c9826001600160801b0388166113fb565b9050610594886113f5876113ef670de0b6b3a76400006113e98d8861140b565b9061140b565b9061142f565b90610f41565b8082038281111561045357600080fd5b60008215806114265750508181028183828161142357fe5b04145b61045357600080fd5b600081838161143a57fe5b049392505050565b604080516060810182526000808252602082018190529181019190915290565b604051806060016040528060006001600160a01b0316815260200160008152602001600081525090565b80356001600160a01b038116811461032057600080fd5b60008083601f8401126114b4578182fd5b50813567ffffffffffffffff8111156114cb578182fd5b60208301915083602080830285010111156114e557600080fd5b9250929050565b6000602082840312156114fd578081fd5b6104f48261148c565b60008060408385031215611518578081fd5b6115218361148c565b915061152f6020840161148c565b90509250929050565b60008060006060848603121561154c578081fd5b6115558461148c565b95602085013595506040909401359392505050565b60008060006040848603121561157e578283fd5b833567ffffffffffffffff811115611594578384fd5b6115a0868287016114a3565b90945092506115b390506020850161148c565b90509250925092565b600080600080604085870312156115d1578081fd5b843567ffffffffffffffff808211156115e8578283fd5b6115f4888389016114a3565b9096509450602087013591508082111561160c578283fd5b50611619878288016114a3565b95989497509550505050565b600080600060408486031215611639578283fd5b833567ffffffffffffffff81111561164f578384fd5b61165b868287016114a3565b909790965060209590950135949350505050565b60008060008060608587031215611684578384fd5b843567ffffffffffffffff81111561169a578485fd5b6116a6878288016114a3565b909550935050602085013591506116bf6040860161148c565b905092959194509250565b6000806000806000608086880312156116e1578081fd5b853567ffffffffffffffff8111156116f7578182fd5b611703888289016114a3565b9096509450506020860135925061171c6040870161148c565b915061172a6060870161148c565b90509295509295909350565b600060208284031215611747578081fd5b5035919050565b60006020828403121561175f578081fd5b5051919050565b60008060408385031215611778578182fd5b505080516020909101519092909150565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b602080825260149082015273494e56414c49445f555345525f4144445245535360601b604082015260600190565b602080825260129082015271494e56414c49445f544f5f4144445245535360701b604082015260600190565b60208082526015908201527424a72b20a624a22fa1a7a72324a3aaa920aa24a7a760591b604082015260600190565b6020808252600e908201526d496e646578206f766572666c6f7760901b604082015260600190565b60208082526015908201527427a7262cafa2a6a4a9a9a4a7a72fa6a0a720a3a2a960591b604082015260600190565b60208082526014908201527310d3105253515497d5539055551213d49256915160621b604082015260600190565b6001600160681b0391909116815260200190565b6001600160681b03938416815291909216602082015264ffffffffff909116604082015260600190565b90815260200190565b9283526020830191909152604082015260600190565b60ff9190911681526020019056fe436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564a26469706673582212204e55ba81be283f95a8fbd5cd467a70e07e6bbf42411d1890d365397d6a348b5c64736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004da27a545c0c5b758a6ba100e3a049001de870f5000000000000000000000000ee56e2b3d491590b5b31738cc34d5232f378a8d5
-----Decoded View---------------
Arg [0] : stakeToken (address): 0x4da27a545c0c5B758a6BA100e3a049001de870f5
Arg [1] : emissionManager (address): 0xEE56e2B3D491590B5b31738cC34d5232F378a8D5
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004da27a545c0c5b758a6ba100e3a049001de870f5
Arg [1] : 000000000000000000000000ee56e2b3d491590b5b31738cc34d5232f378a8d5
Deployed Bytecode Sourcemap
1115:6789:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1795:201:6;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;5909:136:7;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1342:51::-;;;:::i;:::-;;;;;;;:::i;4228:257::-;;;;;;:::i;:::-;;:::i;3074:389::-;;;;;;:::i;:::-;;:::i;:::-;;1611:137:6;;;;;;:::i;:::-;;:::i;1076:186::-;;;;;;:::i;:::-;;:::i;4956:204:7:-;;;;;;:::i;:::-;;:::i;4533:375::-;;;;;;:::i;:::-;;:::i;5743:118::-;;;;;;:::i;:::-;;:::i;2261:765::-;;;;;;:::i;:::-;;:::i;3511:669::-;;;;;;:::i;:::-;;:::i;1461:103:6:-;;;:::i;6093::7:-;;;:::i;703:36:6:-;;;:::i;:::-;;;;;;;:::i;2161:52:7:-;;;;;;:::i;:::-;;:::i;657:41:6:-;;;:::i;1301:36:7:-;;;:::i;744:43:6:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;5527:168:7:-;;;;;;:::i;:::-;;:::i;1795:201:6:-;-1:-1:-1;;;;;1903:13:6;1862:7;1903:13;;;:6;:13;;;;;:19;-1:-1:-1;;;1903:19:6;;-1:-1:-1;;;;;1903:19:6;;;;1924:31;;;;-1:-1:-1;;;1957:33:6;;;;;1795:201::o;5909:136:7:-;-1:-1:-1;;;;;6011:29:7;;5989:7;6011:29;;;:22;:29;;;;;;5909:136;;;;:::o;1342:51::-;;;:::o;4228:257::-;4348:7;-1:-1:-1;;;;;4371:16:7;;4363:47;;;;-1:-1:-1;;;4363:47:7;;;;;;;:::i;:::-;;;;;;;;;4423:57;4437:6;;4445;4453:10;4465;4477:2;4423:13;:57::i;:::-;4416:64;;4228:257;;;;;;;:::o;3074:389::-;3192:22;3217:68;3242:4;3248:10;3260:11;3273;3217:24;:68::i;:::-;3192:93;-1:-1:-1;3295:19:7;;3291:168;;-1:-1:-1;;;;;3355:28:7;;;;;;:22;:28;;;;;;:48;;3388:14;3355:32;:48::i;:::-;-1:-1:-1;;;;;3324:28:7;;;;;;:22;:28;;;;;;;:79;;;;3416:36;;;;;;3437:14;;3416:36;:::i;:::-;;;;;;;;3291:168;3074:389;;;;:::o;1611:137:6:-;-1:-1:-1;;;;;1718:13:6;;;1696:7;1718:13;;;:6;:13;;;;;;;;:25;;;;;:19;;;;:25;;;;1611:137;;;;;:::o;1076:186::-;875:10;-1:-1:-1;;;;;889:16:6;875:30;;867:64;;;;-1:-1:-1;;;867:64:6;;;;;;;:::i;:::-;1173:16:::1;:34:::0;;;1218:39:::1;::::0;::::1;::::0;::::1;::::0;1192:15;;1218:39:::1;:::i;:::-;;;;;;;;1076:186:::0;:::o;4956:204:7:-;5066:7;5090:65;5104:6;;5112;5120:10;5132;5144;5090:13;:65::i;:::-;5083:72;;4956:204;;;;;;:::o;4533:375::-;-1:-1:-1;;;;;1800:25:7;;;4720:7;1800:25;;;:19;:25;;;;;;4720:7;;4693:10;;4705:4;;1800:25;:36;;1792:69;;;;-1:-1:-1;;;1792:69:7;;;;;;;:::i;:::-;-1:-1:-1;;;;;4743:18:7;::::1;4735:51;;;;-1:-1:-1::0;;;4735:51:7::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;4800:16:7;::::1;4792:47;;;;-1:-1:-1::0;;;4792:47:7::1;;;;;;;:::i;:::-;4852:51;4866:6;;4874;4882:10;4894:4;4900:2;4852:13;:51::i;:::-;4845:58:::0;4533:375;-1:-1:-1;;;;;;;;4533:375:7:o;5743:118::-;-1:-1:-1;;;;;5831:25:7;;;5809:7;5831:25;;;:19;:25;;;;;;;;5743:118::o;2261:765::-;875:10:6;-1:-1:-1;;;;;889:16:6;875:30;;867:64;;;;-1:-1:-1;;;867:64:6;;;;;;;:::i;:::-;2418:42:7;;::::1;2410:76;;;;-1:-1:-1::0;;;2410:76:7::1;;;;;;;:::i;:::-;2493:56;2599:6:::0;2558:55:::1;::::0;::::1;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2493:120;;2625:9;2620:366;2640:17:::0;;::::1;2620:366;;;2706:6;;2713:1;2706:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;2672:12;2685:1;2672:15;;;;;;;;;;;;;;:31;;:43;-1:-1:-1::0;;;;;2672:43:7::1;;;-1:-1:-1::0;;;;;2672:43:7::1;;;::::0;::::1;2767:18;;2786:1;2767:21;;;;;;;;;;;;;2723:12;2736:1;2723:15;;;;;;;;;::::0;;::::1;::::0;;;;;;-1:-1:-1;;;;;2723:66:7;;::::1;::::0;;2843:18;;2862:1;2843:21;;::::1;;;;;;;;;;;2806:12;2819:1;2806:15;;;;;;;;;;;;;;:33;;;-1:-1:-1::0;;;;;2806:58:7::1;;2798:92;;;;-1:-1:-1::0;;;2798:92:7::1;;;;;;;:::i;:::-;2949:6;;2956:1;2949:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;2929:48:7::1;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2899:12;2912:1;2899:15;;;;;;;;;::::0;;::::1;::::0;;;;;;;:27:::1;:80:::0;2659:3:::1;;2620:366;;;;2991:30;3008:12;2991:16;:30::i;:::-;937:1:6;2261:765:7::0;;;;:::o;3511:669::-;-1:-1:-1;;;;;3671:28:7;;3627:7;3671:28;;;:22;:28;;;;;;3706:51;3805:6;3766:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;3706:113;;3830:9;3825:238;3845:17;;;3825:238;;;3908:6;;3915:1;3908:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;3877;3887:1;3877:12;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3877:40:7;;;;;4001:6;;4008:1;4001:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3981:69:7;;4051:4;3981:75;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3926:9;3936:1;3926:12;;;;;;;;;;;;;;:25;;3953:9;3963:1;3953:12;;;;;;;;;;;;;;;;;;:24;;3925:131;;;;;3864:3;;3825:238;;;;4087:59;4108:37;4129:4;4135:9;4108:20;:37::i;:::-;4087:16;;:20;:59::i;:::-;4068:78;3511:669;-1:-1:-1;;;;;;3511:669:7:o;1461:103:6:-;1543:16;;1461:103;:::o;6093::7:-;6179:11;6093:103;:::o;703:36:6:-;737:2;703:36;:::o;2161:52:7:-;1040:16:5;1059:13;:11;:13::i;:::-;1040:32;;1097:23;;1086:8;:34;1078:93;;;;-1:-1:-1;;;1078:93:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1178:23;:34;-1:-1:-1;2161:52:7:o;657:41:6:-;;;:::o;1301:36:7:-;1336:1;1301:36;:::o;744:43:6:-;;;;;;;;;;;;-1:-1:-1;;;;;744:43:6;;;;-1:-1:-1;;;744:43:6;;;;;;-1:-1:-1;;;744:43:6;;;;;:::o;5527:168:7:-;875:10:6;-1:-1:-1;;;;;889:16:6;875:30;;867:64;;;;-1:-1:-1;;;867:64:6;;;;;;;:::i;:::-;-1:-1:-1;;;;;5621:25:7;;::::1;;::::0;;;:19:::1;:25;::::0;;;;;:34;;-1:-1:-1;;;;;;5621:34:7::1;::::0;;::::1;::::0;;::::1;::::0;;5666:24;::::1;::::0;5621:25;5666:24:::1;5527:168:::0;;:::o;6686:1216::-;6837:7;6856:11;6852:40;;-1:-1:-1;6884:1:7;6877:8;;6852:40;-1:-1:-1;;;;;6924:28:7;;6897:24;6924:28;;;:22;:28;;;;;;6959:51;7058:6;7019:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;6959:113;;7083:9;7078:238;7098:17;;;7078:238;;;7161:6;;7168:1;7161:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;7130;7140:1;7130:12;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7130:40:7;;;;;7254:6;;7261:1;7254:9;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;7234:69:7;;7304:4;7234:75;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7179:9;7189:1;7179:12;;;;;;;;;;;;;;:25;;7206:9;7216:1;7206:12;;;;;;;;;;;;;;;;;;:24;;7178:131;;;;;7117:3;;7078:238;;;;7322:22;7347:30;7361:4;7367:9;7347:13;:30::i;:::-;7322:55;-1:-1:-1;7387:19:7;;7383:144;;7435:36;:16;7456:14;7435:20;:36::i;:::-;7416:55;;7499:4;-1:-1:-1;;;;;7484:36:7;;7505:14;7484:36;;;;;;:::i;:::-;;;;;;;;7383:144;7537:21;7533:50;;7575:1;7568:8;;;;;;;7533:50;7589:21;7622:16;7613:6;:25;:53;;7660:6;7613:53;;;7641:16;7613:53;-1:-1:-1;;;;;7672:28:7;;;;;;;:22;:28;;;;;;;7703:32;;;7672:63;;7775:36;-1:-1:-1;;;7775:36:7;;7589:77;;-1:-1:-1;7775:11:7;:17;;;;:36;;7793:2;;7589:77;;7775:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7847:7;-1:-1:-1;;;;;7822:48:7;7843:2;-1:-1:-1;;;;;7822:48:7;7837:4;-1:-1:-1;;;;;7822:48:7;;7856:13;7822:48;;;;;;:::i;:::-;;;;;;;;7884:13;6686:1216;-1:-1:-1;;;;;;;;;;6686:1216:7:o;4445:641:6:-;-1:-1:-1;;;;;4634:13:6;;;4589:7;4634:13;;;:6;:13;;;;;;;;4673:21;;;;;:15;;;:21;;;;;;4589:7;;4634:13;4589:7;;4752:56;4641:5;4634:13;4796:11;4752:25;:56::i;:::-;4733:75;;4832:8;4819:9;:21;4815:239;;4854:17;;4850:105;;4900:46;4912:12;4926:8;4936:9;4900:11;:46::i;:::-;4883:63;;4850:105;-1:-1:-1;;;;;4963:21:6;;;;;;;:15;;;:21;;;;;;;:32;;;5008:39;;;;;;;;;4987:8;;5008:39;:::i;:::-;;;;;;;;4815:239;-1:-1:-1;5067:14:6;4445:641;-1:-1:-1;;;;;;;4445:641:6:o;448:111:13:-;540:5;;;535:16;;;;527:25;;;;;2136:624:6;2251:9;2246:510;2270:17;:24;2266:1;:28;2246:510;;;2309:29;2341:6;:44;2348:17;2366:1;2348:20;;;;;;;;;;;;;;:36;;;-1:-1:-1;;;;;2341:44:6;-1:-1:-1;;;;;2341:44:6;;;;;;;;;;;;2309:76;;2394:142;2429:17;2447:1;2429:20;;;;;;;;;;;;;;:36;;;2475:11;2496:17;2514:1;2496:20;;;;;;;;;;;;;;:32;;;2394:25;:142::i;:::-;;2577:17;2595:1;2577:20;;;;;;;;;;;;;;;;;;:38;2545:70;;-1:-1:-1;;2545:70:6;-1:-1:-1;;;;;2545:70:6;;;;;;2657:20;;;;2675:1;;2657:20;;;;;;;;;;;;:36;;;-1:-1:-1;;;;;2629:120:6;;2703:17;2721:1;2703:20;;;;;;;;;;;;;;:38;;;2629:120;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;2296:3:6;;2246:510;;;;2136:624;:::o;6124:675::-;6253:7;;;6303:465;6327:6;:13;6323:1;:17;6303:465;;;6355:29;6387:6;:33;6394:6;6401:1;6394:9;;;;;;;;;;;;;;;;;;;:25;-1:-1:-1;;;;;6387:33:6;;;;;;;;;;;-1:-1:-1;6387:33:6;;;6483:17;;6596:9;;6387:33;;-1:-1:-1;6457:170:6;;-1:-1:-1;;;6483:17:6;;-1:-1:-1;;;;;6483:17:6;;;;6512:29;;;;-1:-1:-1;;;6553:31:6;;;;;;6596:9;;6603:1;;6596:9;;;;;;;;;;;;:21;;;6457:14;:170::i;:::-;6428:199;;6653:108;6681:72;6693:6;6700:1;6693:9;;;;;;;;;;;;;;:22;;;6717:10;6729:11;:17;;:23;6747:4;-1:-1:-1;;;;;6729:23:6;-1:-1:-1;;;;;6729:23:6;;;;;;;;;;;;;6681:11;:72::i;:::-;6653:14;;:18;:108::i;:::-;6636:125;-1:-1:-1;;;6342:3:6;;6303:465;;;-1:-1:-1;6780:14:6;6124:675;-1:-1:-1;;;6124:675:6:o;6274:90:7:-;1336:1;6274:90;:::o;5390:461:6:-;5503:7;;;5553:266;5577:6;:13;5573:1;:17;5553:266;;;5622:190;5650:154;5686:4;5702:6;5709:1;5702:9;;;;;;;;;;;;;;:25;;;5739:6;5746:1;5739:9;;;;;;;;;;;;;;:22;;;5773:6;5780:1;5773:9;;;;;;;;;;;;;;:21;;;5650:24;:154::i;5622:190::-;5605:207;-1:-1:-1;5592:3:6;;5553:266;;3104:936;3274:17;;3240:7;;-1:-1:-1;;;;;;;;3274:17:6;;;;;3325:29;;;;3390:31;-1:-1:-1;;;3390:31:6;;;;3432:15;:38;;3428:74;;;3487:8;3480:15;;;;;;;3428:74;3508:16;3533:77;3548:8;3558:17;3577:19;3598:11;3533:14;:77::i;:::-;3508:102;;3633:8;3621;:20;3617:397;;3680:8;3667;-1:-1:-1;;;;;3659:29:6;;3651:56;;;;-1:-1:-1;;;3651:56:6;;;;;;;:::i;:::-;3780:37;;-1:-1:-1;;;;3780:37:6;-1:-1:-1;;;;;;;;3780:37:6;;;;-1:-1:-1;;;;3825:57:6;-1:-1:-1;;;3866:15:6;3825:57;;;;;;3895:34;;-1:-1:-1;;;;;3895:34:6;;;;;;;3780:37;;3895:34;:::i;:::-;;;;;;;;3617:397;;;3950:57;;-1:-1:-1;;;;3950:57:6;-1:-1:-1;;;3991:15:6;3950:57;;;;;;3617:397;4027:8;3104:936;-1:-1:-1;;;;;;;3104:936:6:o;7144:236::-;7275:7;7353:22;7297:53;7322:27;:12;7339:9;7322:16;:27::i;:::-;7297:20;;:24;:53::i;:::-;:78;;;;;;;7144:236;-1:-1:-1;;;;7144:236:6:o;7833:738::-;8041:16;;8000:7;;8074:22;;;:49;;-1:-1:-1;8106:17:6;;8074:49;:97;;;;8156:15;8133:19;-1:-1:-1;;;;;8133:38:6;;8074:97;:145;;;;8204:15;8181:19;-1:-1:-1;;;;;8181:38:6;;;8074:145;8063:197;;;8241:12;8234:19;;;;;8063:197;8266:24;8317:15;8299;:33;:69;;8353:15;8299:69;;;8335:15;8299:69;8266:102;-1:-1:-1;8374:17:6;8394:41;8266:102;-1:-1:-1;;;;;8394:41:6;;:20;:41::i;:::-;8374:61;-1:-1:-1;8454:112:6;8546:12;8454:78;8519:12;8454:60;8491:22;8454:32;:17;8374:61;8454:21;:32::i;:::-;:36;;:60::i;:::-;:64;;:78::i;:::-;:82;;:112::i;723:111:13:-;815:5;;;810:16;;;;802:25;;;;;999:125;1057:9;1086:6;;;:30;;-1:-1:-1;;1101:5:13;;;1115:1;1110;1101:5;1110:1;1096:15;;;;;:20;1086:30;1078:39;;;;;1130:171;1187:7;1293:1;1289;:5;;;;;;;1130:171;-1:-1:-1;;;1130:171:13:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:175:14:-;84:20;;-1:-1:-1;;;;;133:31:14;;123:42;;113:2;;179:1;176;169:12;194:404;;;327:3;320:4;312:6;308:17;304:27;294:2;;352:8;342;335:26;294:2;-1:-1:-1;382:20:14;;425:18;414:30;;411:2;;;464:8;454;447:26;411:2;508:4;500:6;496:17;484:29;;571:3;564:4;556;548:6;544:17;536:6;532:30;528:41;525:50;522:2;;;588:1;585;578:12;522:2;284:314;;;;;:::o;603:198::-;;715:2;703:9;694:7;690:23;686:32;683:2;;;736:6;728;721:22;683:2;764:31;785:9;764:31;:::i;806:274::-;;;935:2;923:9;914:7;910:23;906:32;903:2;;;956:6;948;941:22;903:2;984:31;1005:9;984:31;:::i;:::-;974:41;;1034:40;1070:2;1059:9;1055:18;1034:40;:::i;:::-;1024:50;;893:187;;;;;:::o;1085:334::-;;;;1231:2;1219:9;1210:7;1206:23;1202:32;1199:2;;;1252:6;1244;1237:22;1199:2;1280:31;1301:9;1280:31;:::i;:::-;1270:41;1358:2;1343:18;;1330:32;;-1:-1:-1;1409:2:14;1394:18;;;1381:32;;1189:230;-1:-1:-1;;;1189:230:14:o;1424:539::-;;;;1588:2;1576:9;1567:7;1563:23;1559:32;1556:2;;;1609:6;1601;1594:22;1556:2;1654:9;1641:23;1687:18;1679:6;1676:30;1673:2;;;1724:6;1716;1709:22;1673:2;1768:76;1836:7;1827:6;1816:9;1812:22;1768:76;:::i;:::-;1863:8;;-1:-1:-1;1742:102:14;-1:-1:-1;1917:40:14;;-1:-1:-1;1953:2:14;1938:18;;1917:40;:::i;:::-;1907:50;;1546:417;;;;;:::o;1968:815::-;;;;;2167:2;2155:9;2146:7;2142:23;2138:32;2135:2;;;2188:6;2180;2173:22;2135:2;2233:9;2220:23;2262:18;2303:2;2295:6;2292:14;2289:2;;;2324:6;2316;2309:22;2289:2;2368:76;2436:7;2427:6;2416:9;2412:22;2368:76;:::i;:::-;2463:8;;-1:-1:-1;2342:102:14;-1:-1:-1;2551:2:14;2536:18;;2523:32;;-1:-1:-1;2567:16:14;;;2564:2;;;2601:6;2593;2586:22;2564:2;;2645:78;2715:7;2704:8;2693:9;2689:24;2645:78;:::i;:::-;2125:658;;;;-1:-1:-1;2742:8:14;-1:-1:-1;;;;2125:658:14:o;2788:531::-;;;;2952:2;2940:9;2931:7;2927:23;2923:32;2920:2;;;2973:6;2965;2958:22;2920:2;3018:9;3005:23;3051:18;3043:6;3040:30;3037:2;;;3088:6;3080;3073:22;3037:2;3132:76;3200:7;3191:6;3180:9;3176:22;3132:76;:::i;:::-;3227:8;;3106:102;;-1:-1:-1;3309:2:14;3294:18;;;;3281:32;;2910:409;-1:-1:-1;;;;2910:409:14:o;3324:607::-;;;;;3505:2;3493:9;3484:7;3480:23;3476:32;3473:2;;;3526:6;3518;3511:22;3473:2;3571:9;3558:23;3604:18;3596:6;3593:30;3590:2;;;3641:6;3633;3626:22;3590:2;3685:76;3753:7;3744:6;3733:9;3729:22;3685:76;:::i;:::-;3780:8;;-1:-1:-1;3659:102:14;-1:-1:-1;;3862:2:14;3847:18;;3834:32;;-1:-1:-1;3885:40:14;3921:2;3906:18;;3885:40;:::i;:::-;3875:50;;3463:468;;;;;;;:::o;3936:684::-;;;;;;4134:3;4122:9;4113:7;4109:23;4105:33;4102:2;;;4156:6;4148;4141:22;4102:2;4201:9;4188:23;4234:18;4226:6;4223:30;4220:2;;;4271:6;4263;4256:22;4220:2;4315:76;4383:7;4374:6;4363:9;4359:22;4315:76;:::i;:::-;4410:8;;-1:-1:-1;4289:102:14;-1:-1:-1;;4492:2:14;4477:18;;4464:32;;-1:-1:-1;4515:40:14;4551:2;4536:18;;4515:40;:::i;:::-;4505:50;;4574:40;4610:2;4599:9;4595:18;4574:40;:::i;:::-;4564:50;;4092:528;;;;;;;;:::o;4625:190::-;;4737:2;4725:9;4716:7;4712:23;4708:32;4705:2;;;4758:6;4750;4743:22;4705:2;-1:-1:-1;4786:23:14;;4695:120;-1:-1:-1;4695:120:14:o;4820:194::-;;4943:2;4931:9;4922:7;4918:23;4914:32;4911:2;;;4964:6;4956;4949:22;4911:2;-1:-1:-1;4992:16:14;;4901:113;-1:-1:-1;4901:113:14:o;5019:255::-;;;5159:2;5147:9;5138:7;5134:23;5130:32;5127:2;;;5180:6;5172;5165:22;5127:2;-1:-1:-1;;5208:16:14;;5264:2;5249:18;;;5243:25;5208:16;;5243:25;;-1:-1:-1;5117:157:14:o;5279:203::-;-1:-1:-1;;;;;5443:32:14;;;;5425:51;;5413:2;5398:18;;5380:102::o;5487:274::-;-1:-1:-1;;;;;5679:32:14;;;;5661:51;;5743:2;5728:18;;5721:34;5649:2;5634:18;;5616:145::o;6005:344::-;6207:2;6189:21;;;6246:2;6226:18;;;6219:30;-1:-1:-1;;;6280:2:14;6265:18;;6258:50;6340:2;6325:18;;6179:170::o;6354:342::-;6556:2;6538:21;;;6595:2;6575:18;;;6568:30;-1:-1:-1;;;6629:2:14;6614:18;;6607:48;6687:2;6672:18;;6528:168::o;6701:345::-;6903:2;6885:21;;;6942:2;6922:18;;;6915:30;-1:-1:-1;;;6976:2:14;6961:18;;6954:51;7037:2;7022:18;;6875:171::o;7051:338::-;7253:2;7235:21;;;7292:2;7272:18;;;7265:30;-1:-1:-1;;;7326:2:14;7311:18;;7304:44;7380:2;7365:18;;7225:164::o;7394:345::-;7596:2;7578:21;;;7635:2;7615:18;;;7608:30;-1:-1:-1;;;7669:2:14;7654:18;;7647:51;7730:2;7715:18;;7568:171::o;7744:344::-;7946:2;7928:21;;;7985:2;7965:18;;;7958:30;-1:-1:-1;;;8019:2:14;8004:18;;7997:50;8079:2;8064:18;;7918:170::o;8093:212::-;-1:-1:-1;;;;;8257:41:14;;;;8239:60;;8227:2;8212:18;;8194:111::o;8310:401::-;-1:-1:-1;;;;;8575:15:14;;;8557:34;;8627:15;;;;8622:2;8607:18;;8600:43;8691:12;8679:25;;;8674:2;8659:18;;8652:53;8498:2;8483:18;;8465:246::o;8716:177::-;8862:25;;;8850:2;8835:18;;8817:76::o;8898:319::-;9100:25;;;9156:2;9141:18;;9134:34;;;;9199:2;9184:18;;9177:34;9088:2;9073:18;;9055:162::o;9222:184::-;9394:4;9382:17;;;;9364:36;;9352:2;9337:18;;9319:87::o
Swarm Source
ipfs://4e55ba81be283f95a8fbd5cd467a70e07e6bbf42411d1890d365397d6a348b5c
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.