Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 14570332 | 966 days ago | IN | 0 ETH | 0.06270419 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x377553c8...0c1EC90Cb The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
LosslessReporting
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "./Interfaces/ILosslessERC20.sol"; import "./Interfaces/ILosslessController.sol"; import "./Interfaces/ILosslessGovernance.sol"; import "./Interfaces/ILosslessReporting.sol"; /// @title Lossless Reporting Contract /// @author Lossless.cash /// @notice The Reporting smart contract is in charge of handling all the parts related to creating new reports contract LosslessReporting is ILssReporting, Initializable, ContextUpgradeable, PausableUpgradeable { uint256 override public reporterReward; uint256 override public losslessReward; uint256 override public stakersReward; uint256 override public committeeReward; uint256 override public reportLifetime; uint256 override public reportingAmount; uint256 override public reportCount; uint256 public constant HUNDRED = 1e2; ILERC20 override public stakingToken; ILssController override public losslessController; ILssGovernance override public losslessGovernance; struct TokenReports { mapping(address => uint256) reports; } mapping(ILERC20 => TokenReports) private tokenReports; //mapping(uint256 => bool) private reporterClaimStatus; struct Report { address reporter; address reportedAddress; address secondReportedAddress; uint256 reportTimestamps; ILERC20 reportTokens; bool secondReports; bool reporterClaimStatus; } mapping(uint256 => Report) reportInfo; // --- MODIFIERS --- /// @notice Avoids execution from other than the Lossless Admin modifier onlyLosslessAdmin() { require(msg.sender == losslessController.admin(), "LSS: Must be admin"); _; } /// @notice Avoids execution from other than the Pause Admin modifier onlyPauseAdmin() { require(msg.sender == losslessController.pauseAdmin(), "LSS: Must be pauseAdmin"); _; } /// @notice Avoids execution from blacklisted addresses modifier notBlacklisted() { require(!losslessController.blacklist(msg.sender), "LSS: You cannot operate"); _; } /// @notice Avoids execution from other than the Lossless Governance modifier onlyLosslessGov { require(msg.sender == address(losslessGovernance), "LSS: Lss SC only"); _; } /// @notice Avoids rewards to exceed a hundrer percent modifier cannotExceedHundred() { _; require(reporterReward + losslessReward + committeeReward + stakersReward <= 100, "LSS: Total exceed 100"); } function initialize(ILssController _losslessController) public initializer { reportCount = 0; losslessController = _losslessController; } // --- SETTERS --- /// @notice This function pauses the contract function pause() override public onlyPauseAdmin{ _pause(); } /// @notice This function unpauses the contract function unpause() override public onlyPauseAdmin{ _unpause(); } /// @notice This function sets the address of the Lossless Governance Token /// @dev Only can be called by the Lossless Admin /// @param _stakingToken Address corresponding to the Lossless Governance Token function setStakingToken(ILERC20 _stakingToken) override public onlyLosslessAdmin { require(address(_stakingToken) != address(0), "LSS: Cannot be zero address"); require(_stakingToken != stakingToken, "LSS: Cannot be same address"); stakingToken = _stakingToken; emit NewStakingToken(stakingToken); } /// @notice This function sets the address of the Lossless Governance smart contract /// @dev Only can be called by the Lossless Admin /// @param _losslessGovernance Address corresponding to the Lossless Governance smart contract function setLosslessGovernance(ILssGovernance _losslessGovernance) override public onlyLosslessAdmin { require(address(_losslessGovernance) != address(0), "LSS: Cannot be zero address"); require(_losslessGovernance != losslessGovernance, "LSS: Cannot be same address"); losslessGovernance = _losslessGovernance; emit NewGovernanceContract(losslessGovernance); } /// @notice This function sets the amount of tokens to be staked when reporting /// @param _reportingAmount Amount to generate a report function setReportingAmount(uint256 _reportingAmount) override public onlyLosslessAdmin { require(reportingAmount != _reportingAmount, "LSS: Already set to that amount"); reportingAmount = _reportingAmount; emit NewReportingAmount(_reportingAmount); } /// @notice This function sets the default reporter reward /// @param _reward Percentage rewarded to the reporter when a report gets resolved positively function setReporterReward(uint256 _reward) override public onlyLosslessAdmin cannotExceedHundred { require(_reward != reporterReward, "LSS: Already set to that amount"); reporterReward = _reward; emit NewReporterReward(_reward); } /// @notice This function sets the default Lossless Reward /// @param _reward Percentage attributed to Lossless when a report gets resolved positively function setLosslessReward(uint256 _reward) override public onlyLosslessAdmin cannotExceedHundred { require(_reward != losslessReward, "LSS: Already set to that amount"); losslessReward = _reward; emit NewLosslessReward(_reward); } /// @notice This function sets the default Stakers Reward /// @param _reward Percentage attributed to Stakers when a report gets resolved positively function setStakersReward(uint256 _reward) override public onlyLosslessAdmin cannotExceedHundred { require(_reward != stakersReward, "LSS: Already set to that amount"); stakersReward = _reward; emit NewStakersReward(_reward); } /// @notice This function sets the default Committee Reward /// @param _reward Percentage attributed to committee when a report gets resolved positively function setCommitteeReward(uint256 _reward) override public onlyLosslessAdmin cannotExceedHundred { require(_reward != committeeReward, "LSS: Already set to that amount"); committeeReward = _reward; emit NewCommitteeReward(_reward); } /// @notice This function sets the default lifetime of the reports /// @param _lifetime Time frame of which a report is active function setReportLifetime(uint256 _lifetime) override public onlyLosslessAdmin { require(_lifetime != reportLifetime, "LSS: Already set to that amount"); reportLifetime = _lifetime; emit NewReportLifetime(reportLifetime); } // --- GETTERS --- /// @notice This function gets the contract version /// @return Version of the contract function getVersion() override external pure returns (uint256) { return 1; } /// @notice This function will return the reward amount for all parties /// @return _reporter Returns the reporter reward /// @return _lossless Returns the Lossless Reward /// @return _committee Returns the committee Reward /// @return _stakers Returns the stakers Reward function getRewards() override external view returns (uint256 _reporter, uint256 _lossless, uint256 _committee, uint256 _stakers) { return (reporterReward, losslessReward, committeeReward, stakersReward); } /// @notice This function will return the admin of the repoted token /// @param _reportId Report Id to get admin /// @return reporter /// @return reportedAddress /// @return secondReportedAddress /// @return reportTimestamps /// @return reportTokens /// @return secondReports /// @return reporterClaimStatus function getReportInfo(uint256 _reportId) override external view returns(address reporter, address reportedAddress, address secondReportedAddress, uint256 reportTimestamps, ILERC20 reportTokens, bool secondReports, bool reporterClaimStatus) { Report storage queriedReport = reportInfo[_reportId]; return (queriedReport.reporter, queriedReport.reportedAddress, queriedReport.secondReportedAddress, queriedReport.reportTimestamps, queriedReport.reportTokens, queriedReport.secondReports, queriedReport.reporterClaimStatus); } // --- REPORTS --- /// @notice This function will generate a report /// @dev This function must be called by a non blacklisted/reported address. /// It will generate a report for an address linked to a token. /// Lossless Contracts, Admin addresses and Dexes cannot be reported. /// @param _token Token address of the stolen funds /// @param _account Potential malicious address function report(ILERC20 _token, address _account) override public notBlacklisted whenNotPaused returns (uint256){ require(_account != address(0), "LSS: Cannot report zero address"); require(!losslessController.whitelist(_account), "LSS: Cannot report LSS protocol"); require(!losslessController.dexList(_account), "LSS: Cannot report Dex"); uint256 reportId = tokenReports[_token].reports[_account]; require(reportId == 0 || reportInfo[reportId].reportTimestamps + reportLifetime < block.timestamp || losslessGovernance.isReportSolved(reportId) && !losslessGovernance.reportResolution(reportId), "LSS: Report already exists"); reportCount += 1; reportId = reportCount; reportInfo[reportId].reporter = msg.sender; tokenReports[_token].reports[_account] = reportId; reportInfo[reportId].reportTimestamps = block.timestamp; reportInfo[reportId].reportTokens = _token; require(stakingToken.transferFrom(msg.sender, address(this), reportingAmount), "LSS: Reporting stake failed"); losslessController.addToBlacklist(_account); reportInfo[reportId].reportedAddress = _account; losslessController.activateEmergency(_token); emit ReportSubmission(_token, _account, reportId, reportingAmount); return reportId; } /// @notice This function will add a second address to a given report. /// @dev This funtion must be called by a non blacklisted/reported address. /// It will generate a second report linked to the first one created. /// This can be used in the event that the malicious actor is able to frontrun the first report by swapping the tokens or transfering. /// @param _reportId Report that was previously generated. /// @param _account Potential malicious address function secondReport(uint256 _reportId, address _account) override public whenNotPaused { require(_account != address(0), "LSS: Cannot report zero address"); require(!losslessGovernance.isReportSolved(_reportId) && !losslessGovernance.reportResolution(_reportId), "LSS: Report already solved"); require(!losslessController.whitelist(_account), "LSS: Cannot report LSS protocol"); require(!losslessController.dexList(_account), "LSS: Cannot report Dex"); Report storage queriedReport = reportInfo[_reportId]; uint256 reportTimestamp = queriedReport.reportTimestamps; ILERC20 token = queriedReport.reportTokens; require(_reportId != 0 && reportTimestamp + reportLifetime > block.timestamp, "LSS: report does not exists"); require(queriedReport.secondReports == false, "LSS: Another already submitted"); require(msg.sender == queriedReport.reporter, "LSS: invalid reporter"); queriedReport.secondReports = true; tokenReports[token].reports[_account] = _reportId; losslessController.addToBlacklist(_account); queriedReport.secondReportedAddress = _account; emit SecondReportSubmission(token, _account, _reportId); } /// @notice This function is for the reporter to claim their rewards /// @param _reportId Staked report function reporterClaim(uint256 _reportId) override public whenNotPaused { require(reportInfo[_reportId].reporter == msg.sender, "LSS: Only reporter"); require(losslessGovernance.reportResolution(_reportId), "LSS: Report solved negatively"); Report storage queriedReport = reportInfo[_reportId]; require(!queriedReport.reporterClaimStatus, "LSS: You already claimed"); queriedReport.reporterClaimStatus = true; uint256 amountToClaim = reporterClaimableAmount(_reportId); require(queriedReport.reportTokens.transfer(msg.sender, amountToClaim), "LSS: Token transfer failed"); require(stakingToken.transfer(msg.sender, reportingAmount), "LSS: Reporting stake failed"); emit ReporterClaim(msg.sender, _reportId, amountToClaim); } // --- CLAIM --- /// @notice This function returns the claimable amount by the reporter /// @dev The reporter has a fixed percentage as reward. /// @param _reportId Staked report function reporterClaimableAmount(uint256 _reportId) override public view returns (uint256) { uint256 reportedAmount = losslessGovernance.getAmountReported(_reportId); return reportedAmount * reporterReward / HUNDRED; } /// @notice This function allows the governance token to retribute an erroneous report /// @param _adr retribution address /// @param _amount amount to be retrieved function retrieveCompensation(address _adr, uint256 _amount) override public onlyLosslessGov { require(stakingToken.transfer(_adr, _amount), "LSS: Compensation retrieve fail"); emit CompensationRetrieve(_adr, _amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { __Context_init_unchained(); } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal onlyInitializing { __Context_init_unchained(); __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (proxy/utils/Initializable.sol) pragma solidity ^0.8.0; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { // If the contract is initializing we ignore whether _initialized is set in order to support multiple // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the // contract may have been reentered. require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} modifier, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } function _isConstructor() private view returns (bool) { return !AddressUpgradeable.isContract(address(this)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ILERC20 { function name() external view returns (string memory); function admin() external view returns (address); function getAdmin() external view returns (address); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address _account) external view returns (uint256); function transfer(address _recipient, uint256 _amount) external returns (bool); function allowance(address _owner, address _spender) external view returns (uint256); function approve(address _spender, uint256 _amount) external returns (bool); function transferFrom(address _sender, address _recipient, uint256 _amount) external returns (bool); function increaseAllowance(address _spender, uint256 _addedValue) external returns (bool); function decreaseAllowance(address _spender, uint256 _subtractedValue) external returns (bool); function transferOutBlacklistedFunds(address[] calldata _from) external; function setLosslessAdmin(address _newAdmin) external; function transferRecoveryAdminOwnership(address _candidate, bytes32 _keyHash) external; function acceptRecoveryAdminOwnership(bytes memory _key) external; function proposeLosslessTurnOff() external; function executeLosslessTurnOff() external; function executeLosslessTurnOn() external; event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); event NewAdmin(address indexed _newAdmin); event NewRecoveryAdminProposal(address indexed _candidate); event NewRecoveryAdmin(address indexed _newAdmin); event LosslessTurnOffProposal(uint256 _turnOffDate); event LosslessOff(); event LosslessOn(); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ILosslessERC20.sol"; import "./ILosslessGovernance.sol"; import "./ILosslessStaking.sol"; import "./ILosslessReporting.sol"; import "./IProtectionStrategy.sol"; interface ILssController { // function getLockedAmount(ILERC20 _token, address _account) returns (uint256); // function getAvailableAmount(ILERC20 _token, address _account) external view returns (uint256 amount); function retrieveBlacklistedFunds(address[] calldata _addresses, ILERC20 _token, uint256 _reportId) external returns(uint256); function whitelist(address _adr) external view returns (bool); function dexList(address _dexAddress) external returns (bool); function blacklist(address _adr) external view returns (bool); function admin() external view returns (address); function pauseAdmin() external view returns (address); function recoveryAdmin() external view returns (address); function guardian() external view returns (address); function losslessStaking() external view returns (ILssStaking); function losslessReporting() external view returns (ILssReporting); function losslessGovernance() external view returns (ILssGovernance); function dexTranferThreshold() external view returns (uint256); function settlementTimeLock() external view returns (uint256); function pause() external; function unpause() external; function setAdmin(address _newAdmin) external; function setRecoveryAdmin(address _newRecoveryAdmin) external; function setPauseAdmin(address _newPauseAdmin) external; function setSettlementTimeLock(uint256 _newTimelock) external; function setDexTransferThreshold(uint256 _newThreshold) external; function setDexList(address[] calldata _dexList, bool _value) external; function setWhitelist(address[] calldata _addrList, bool _value) external; function addToBlacklist(address _adr) external; function resolvedNegatively(address _adr) external; function setStakingContractAddress(ILssStaking _adr) external; function setReportingContractAddress(ILssReporting _adr) external; function setGovernanceContractAddress(ILssGovernance _adr) external; function proposeNewSettlementPeriod(ILERC20 _token, uint256 _seconds) external; function executeNewSettlementPeriod(ILERC20 _token) external; function activateEmergency(ILERC20 _token) external; function deactivateEmergency(ILERC20 _token) external; function setGuardian(address _newGuardian) external; function removeProtectedAddress(ILERC20 _token, address _protectedAddresss) external; function beforeTransfer(address _sender, address _recipient, uint256 _amount) external; function beforeTransferFrom(address _msgSender, address _sender, address _recipient, uint256 _amount) external; function beforeApprove(address _sender, address _spender, uint256 _amount) external; function beforeIncreaseAllowance(address _msgSender, address _spender, uint256 _addedValue) external; function beforeDecreaseAllowance(address _msgSender, address _spender, uint256 _subtractedValue) external; function beforeMint(address _to, uint256 _amount) external; function beforeBurn(address _account, uint256 _amount) external; function setProtectedAddress(ILERC20 _token, address _protectedAddress, ProtectionStrategy _strategy) external; event AdminChange(address indexed _newAdmin); event RecoveryAdminChange(address indexed _newAdmin); event PauseAdminChange(address indexed _newAdmin); event GuardianSet(address indexed _oldGuardian, address indexed _newGuardian); event NewProtectedAddress(ILERC20 indexed _token, address indexed _protectedAddress, address indexed _strategy); event RemovedProtectedAddress(ILERC20 indexed _token, address indexed _protectedAddress); event NewSettlementPeriodProposal(ILERC20 indexed _token, uint256 _seconds); event SettlementPeriodChange(ILERC20 indexed _token, uint256 _proposedTokenLockTimeframe); event NewSettlementTimelock(uint256 indexed _timelock); event NewDexThreshold(uint256 indexed _newThreshold); event NewDex(address indexed _dexAddress); event DexRemoval(address indexed _dexAddress); event NewWhitelistedAddress(address indexed _whitelistAdr); event WhitelistedAddressRemoval(address indexed _whitelistAdr); event NewBlacklistedAddress(address indexed _blacklistedAddres); event AccountBlacklistRemoval(address indexed _adr); event NewStakingContract(ILssStaking indexed _newAdr); event NewReportingContract(ILssReporting indexed _newAdr); event NewGovernanceContract(ILssGovernance indexed _newAdr); event EmergencyActive(ILERC20 indexed _token); event EmergencyDeactivation(ILERC20 indexed _token); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ILosslessERC20.sol"; import "./ILosslessStaking.sol"; import "./ILosslessReporting.sol"; import "./ILosslessController.sol"; interface ILssGovernance { function LSS_TEAM_INDEX() external view returns(uint256); function TOKEN_OWNER_INDEX() external view returns(uint256); function COMMITEE_INDEX() external view returns(uint256); function committeeMembersCount() external view returns(uint256); function walletDisputePeriod() external view returns(uint256); function losslessStaking() external view returns (ILssStaking); function losslessReporting() external view returns (ILssReporting); function losslessController() external view returns (ILssController); function isCommitteeMember(address _account) external view returns(bool); function getIsVoted(uint256 _reportId, uint256 _voterIndex) external view returns(bool); function getVote(uint256 _reportId, uint256 _voterIndex) external view returns(bool); function isReportSolved(uint256 _reportId) external view returns(bool); function reportResolution(uint256 _reportId) external view returns(bool); function getAmountReported(uint256 _reportId) external view returns(uint256); function setDisputePeriod(uint256 _timeFrame) external; function addCommitteeMembers(address[] memory _members) external; function removeCommitteeMembers(address[] memory _members) external; function losslessVote(uint256 _reportId, bool _vote) external; function tokenOwnersVote(uint256 _reportId, bool _vote) external; function committeeMemberVote(uint256 _reportId, bool _vote) external; function resolveReport(uint256 _reportId) external; function proposeWallet(uint256 _reportId, address wallet) external; function rejectWallet(uint256 _reportId) external; function retrieveFunds(uint256 _reportId) external; function retrieveCompensation() external; function claimCommitteeReward(uint256 _reportId) external; function setCompensationAmount(uint256 _amount) external; function losslessClaim(uint256 _reportId) external; function setRevshareAdmin(address _address) external; function setRevsharePercentage(uint256 _amount) external; function revshareClaim(uint256 _reportId) external; event NewCommitteeMembers(address[] _members); event CommitteeMembersRemoval(address[] _members); event LosslessTeamPositiveVote(uint256 indexed _reportId); event LosslessTeamNegativeVote(uint256 indexed _reportId); event TokenOwnersPositiveVote(uint256 indexed _reportId); event TokenOwnersNegativeVote(uint256 indexed _reportId); event CommitteeMemberPositiveVote(uint256 indexed _reportId, address indexed _member); event CommitteeMemberNegativeVote(uint256 indexed _reportId, address indexed _member); event ReportResolve(uint256 indexed _reportId, bool indexed _resolution); event WalletProposal(uint256 indexed _reportId, address indexed _wallet); event CommitteeMemberClaim(uint256 indexed _reportId, address indexed _member, uint256 indexed _amount); event CommitteeMajorityReach(uint256 indexed _reportId, bool indexed _result); event NewDisputePeriod(uint256 indexed _newPeriod); event WalletRejection(uint256 indexed _reportId); event FundsRetrieval(uint256 indexed _reportId, uint256 indexed _amount); event CompensationRetrieval(address indexed _wallet, uint256 indexed _amount); event LosslessClaim(ILERC20 indexed _token, uint256 indexed _reportID, uint256 indexed _amount); event NewCompensationPercentage(uint256 indexed _compensationPercentage); event NewRevshareAdmin(address indexed _revshareAdmin); event NewRevsharePercentage(uint256 indexed _revsharePercentage); event RevshareClaim(ILERC20 indexed _token, uint256 indexed _reportID, uint256 indexed _amount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ILosslessERC20.sol"; import "./ILosslessGovernance.sol"; import "./ILosslessStaking.sol"; import "./ILosslessController.sol"; interface ILssReporting { function reporterReward() external returns(uint256); function losslessReward() external returns(uint256); function stakersReward() external returns(uint256); function committeeReward() external returns(uint256); function reportLifetime() external view returns(uint256); function reportingAmount() external returns(uint256); function reportCount() external returns(uint256); function stakingToken() external returns(ILERC20); function losslessController() external returns(ILssController); function losslessGovernance() external returns(ILssGovernance); function getVersion() external pure returns (uint256); function getRewards() external view returns (uint256 _reporter, uint256 _lossless, uint256 _committee, uint256 _stakers); function report(ILERC20 _token, address _account) external returns (uint256); function reporterClaimableAmount(uint256 _reportId) external view returns (uint256); function getReportInfo(uint256 _reportId) external view returns(address _reporter, address _reportedAddress, address _secondReportedAddress, uint256 _reportTimestamps, ILERC20 _reportTokens, bool _secondReports, bool _reporterClaimStatus); function pause() external; function unpause() external; function setStakingToken(ILERC20 _stakingToken) external; function setLosslessGovernance(ILssGovernance _losslessGovernance) external; function setReportingAmount(uint256 _reportingAmount) external; function setReporterReward(uint256 _reward) external; function setLosslessReward(uint256 _reward) external; function setStakersReward(uint256 _reward) external; function setCommitteeReward(uint256 _reward) external; function setReportLifetime(uint256 _lifetime) external; function secondReport(uint256 _reportId, address _account) external; function reporterClaim(uint256 _reportId) external; function retrieveCompensation(address _adr, uint256 _amount) external; event ReportSubmission(ILERC20 indexed _token, address indexed _account, uint256 indexed _reportId, uint256 _amount); event SecondReportSubmission(ILERC20 indexed _token, address indexed _account, uint256 indexed _reportId); event NewReportingAmount(uint256 indexed _newAmount); event NewStakingToken(ILERC20 indexed _token); event NewGovernanceContract(ILssGovernance indexed _adr); event NewReporterReward(uint256 indexed _newValue); event NewLosslessReward(uint256 indexed _newValue); event NewStakersReward(uint256 indexed _newValue); event NewCommitteeReward(uint256 indexed _newValue); event NewReportLifetime(uint256 indexed _newValue); event ReporterClaim(address indexed _reporter, uint256 indexed _reportId, uint256 indexed _amount); event CompensationRetrieve(address indexed _adr, uint256 indexed _amount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ILosslessERC20.sol"; import "./ILosslessGovernance.sol"; import "./ILosslessReporting.sol"; import "./ILosslessController.sol"; interface ILssStaking { function stakingToken() external returns(ILERC20); function losslessReporting() external returns(ILssReporting); function losslessController() external returns(ILssController); function losslessGovernance() external returns(ILssGovernance); function stakingAmount() external returns(uint256); function getVersion() external pure returns (uint256); function getIsAccountStaked(uint256 _reportId, address _account) external view returns(bool); function getStakerCoefficient(uint256 _reportId, address _address) external view returns (uint256); function stakerClaimableAmount(uint256 _reportId) external view returns (uint256); function pause() external; function unpause() external; function setLssReporting(ILssReporting _losslessReporting) external; function setStakingToken(ILERC20 _stakingToken) external; function setLosslessGovernance(ILssGovernance _losslessGovernance) external; function setStakingAmount(uint256 _stakingAmount) external; function stake(uint256 _reportId) external; function stakerClaim(uint256 _reportId) external; event NewStake(ILERC20 indexed _token, address indexed _account, uint256 indexed _reportId, uint256 _amount); event StakerClaim(address indexed _staker, ILERC20 indexed _token, uint256 indexed _reportID, uint256 _amount); event NewStakingAmount(uint256 indexed _newAmount); event NewStakingToken(ILERC20 indexed _newToken); event NewReportingContract(ILssReporting indexed _newContract); event NewGovernanceContract(ILssGovernance indexed _newContract); }
pragma solidity ^0.8.0; interface ProtectionStrategy { function isTransferAllowed(address token, address sender, address recipient, uint256 amount) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_adr","type":"address"},{"indexed":true,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"CompensationRetrieve","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"NewCommitteeReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract ILssGovernance","name":"_adr","type":"address"}],"name":"NewGovernanceContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"NewLosslessReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"NewReportLifetime","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"NewReporterReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"NewReportingAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newValue","type":"uint256"}],"name":"NewStakersReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract ILERC20","name":"_token","type":"address"}],"name":"NewStakingToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract ILERC20","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_account","type":"address"},{"indexed":true,"internalType":"uint256","name":"_reportId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ReportSubmission","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reporter","type":"address"},{"indexed":true,"internalType":"uint256","name":"_reportId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ReporterClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract ILERC20","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_account","type":"address"},{"indexed":true,"internalType":"uint256","name":"_reportId","type":"uint256"}],"name":"SecondReportSubmission","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"HUNDRED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"committeeReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reportId","type":"uint256"}],"name":"getReportInfo","outputs":[{"internalType":"address","name":"reporter","type":"address"},{"internalType":"address","name":"reportedAddress","type":"address"},{"internalType":"address","name":"secondReportedAddress","type":"address"},{"internalType":"uint256","name":"reportTimestamps","type":"uint256"},{"internalType":"contract ILERC20","name":"reportTokens","type":"address"},{"internalType":"bool","name":"secondReports","type":"bool"},{"internalType":"bool","name":"reporterClaimStatus","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewards","outputs":[{"internalType":"uint256","name":"_reporter","type":"uint256"},{"internalType":"uint256","name":"_lossless","type":"uint256"},{"internalType":"uint256","name":"_committee","type":"uint256"},{"internalType":"uint256","name":"_stakers","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getVersion","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"contract ILssController","name":"_losslessController","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"losslessController","outputs":[{"internalType":"contract ILssController","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"losslessGovernance","outputs":[{"internalType":"contract ILssGovernance","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"losslessReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract ILERC20","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"}],"name":"report","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reportCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reportLifetime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reportId","type":"uint256"}],"name":"reporterClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reportId","type":"uint256"}],"name":"reporterClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reporterReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reportingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_adr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"retrieveCompensation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reportId","type":"uint256"},{"internalType":"address","name":"_account","type":"address"}],"name":"secondReport","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reward","type":"uint256"}],"name":"setCommitteeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ILssGovernance","name":"_losslessGovernance","type":"address"}],"name":"setLosslessGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reward","type":"uint256"}],"name":"setLosslessReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lifetime","type":"uint256"}],"name":"setReportLifetime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reward","type":"uint256"}],"name":"setReporterReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reportingAmount","type":"uint256"}],"name":"setReportingAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reward","type":"uint256"}],"name":"setStakersReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ILERC20","name":"_stakingToken","type":"address"}],"name":"setStakingToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakersReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract ILERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80637fa601a01161010f578063c8eca387116100a2578063ddb4694511610071578063ddb4694514610468578063f005ce611461047b578063f85fc0ab1461048e578063fc0cf0121461049657600080fd5b8063c8eca38714610426578063cfc97d6914610439578063d0ab12261461044c578063db6a5d541461045f57600080fd5b80639254047a116100de5780639254047a146103e4578063a8dfddad146103ed578063b68a23cb14610400578063c4d66de81461041357600080fd5b80637fa601a01461031b5780638456cb59146103ca57806384d8e67d146103d25780638ca77fdd146103db57600080fd5b80631fe2a95911610187578063411d2b3311610156578063411d2b33146102be5780635c975abb146102c75780636a00f42e146102dd57806372f702f3146102f057600080fd5b80631fe2a959146102875780632337cc8a1461029a5780633d359abf146102ad5780633f4ba83a146102b657600080fd5b80630d8e6e2c116101c35780630d8e6e2c146102515780630fb861f014610258578063185c6f841461026b5780631e9b12ef1461027457600080fd5b80630572b0cc146101ea57806309dbca4b1461021b5780630bf81b4214610230575b600080fd5b6065546066546068546067546040805194855260208501939093529183015260608201526080015b60405180910390f35b61022e610229366004612580565b6104a9565b005b61024361023e366004612580565b61062f565b604051908152602001610212565b6001610243565b61022e6102663660046124e1565b6106d3565b610243606b5481565b61022e61028236600461252c565b61082c565b61022e6102953660046125b0565b6109e0565b61022e6102a8366004612580565b610f52565b61024360665481565b61022e61105d565b61024360685481565b60335460ff166040519015158152602001610212565b6102436102eb366004612548565b611147565b606c54610303906001600160a01b031681565b6040516001600160a01b039091168152602001610212565b61037f610329366004612580565b600090815260706020526040902080546001820154600283015460038401546004909401546001600160a01b0393841695928416949184169391929181169160ff600160a01b8304811692600160a81b90041690565b604080516001600160a01b0398891681529688166020880152948716948601949094526060850192909252909316608083015291151560a082015290151560c082015260e001610212565b61022e611849565b610243606a5481565b61024360655481565b61024360695481565b61022e6103fb366004612580565b611931565b61022e61040e366004612580565b611a51565b61022e61042136600461252c565b611b71565b61022e61043436600461252c565b611c4b565b61022e610447366004612580565b611dff565b606e54610303906001600160a01b031681565b61024360675481565b61022e610476366004612580565b6121af565b61022e610489366004612580565b6122ba565b610243606481565b606d54610303906001600160a01b031681565b606d60009054906101000a90046001600160a01b03166001600160a01b031663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b1580156104f757600080fd5b505afa15801561050b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052f91906124c5565b6001600160a01b0316336001600160a01b0316146105685760405162461bcd60e51b815260040161055f906125d4565b60405180910390fd5b60665481141561058a5760405162461bcd60e51b815260040161055f9061262a565b606681905560405181907fa541140f0e2766edd981ed85d94c876a8235c08da1fc2639228bc185c9d4288190600090a260646067546068546066546065546105d29190612661565b6105dc9190612661565b6105e69190612661565b111561062c5760405162461bcd60e51b815260206004820152601560248201527404c53533a20546f74616c206578636565642031303605c1b604482015260640161055f565b50565b606e546040516327b4317760e21b81526004810183905260009182916001600160a01b0390911690639ed0c5dc9060240160206040518083038186803b15801561067857600080fd5b505afa15801561068c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b09190612598565b90506064606554826106c29190612699565b6106cc9190612679565b9392505050565b606e546001600160a01b031633146107205760405162461bcd60e51b815260206004820152601060248201526f4c53533a204c7373205343206f6e6c7960801b604482015260640161055f565b606c5460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b15801561076e57600080fd5b505af1158015610782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a6919061250c565b6107f25760405162461bcd60e51b815260206004820152601f60248201527f4c53533a20436f6d70656e736174696f6e207265747269657665206661696c00604482015260640161055f565b60405181906001600160a01b038416907f22dd40ff7382975ed05c4811f2ddf8c4b4694b851e84a67ae0c4f66e042c12d390600090a35050565b606d60009054906101000a90046001600160a01b03166001600160a01b031663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b15801561087a57600080fd5b505afa15801561088e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b291906124c5565b6001600160a01b0316336001600160a01b0316146108e25760405162461bcd60e51b815260040161055f906125d4565b6001600160a01b0381166109385760405162461bcd60e51b815260206004820152601b60248201527f4c53533a2043616e6e6f74206265207a65726f20616464726573730000000000604482015260640161055f565b606c546001600160a01b03828116911614156109965760405162461bcd60e51b815260206004820152601b60248201527f4c53533a2043616e6e6f742062652073616d6520616464726573730000000000604482015260640161055f565b606c80546001600160a01b0319166001600160a01b0383169081179091556040517f440200cffeb6e2a5452bfbf38f210983589ee79d8f9277b2bd9e64d93ba5d24390600090a250565b60335460ff1615610a035760405162461bcd60e51b815260040161055f90612600565b6001600160a01b038116610a595760405162461bcd60e51b815260206004820152601f60248201527f4c53533a2043616e6e6f74207265706f7274207a65726f206164647265737300604482015260640161055f565b606e54604051630b18acb760e21b8152600481018490526001600160a01b0390911690632c62b2dc9060240160206040518083038186803b158015610a9d57600080fd5b505afa158015610ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad5919061250c565b158015610b5b5750606e5460405163c3d8ca2f60e01b8152600481018490526001600160a01b039091169063c3d8ca2f9060240160206040518083038186803b158015610b2157600080fd5b505afa158015610b35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b59919061250c565b155b610ba75760405162461bcd60e51b815260206004820152601a60248201527f4c53533a205265706f727420616c726561647920736f6c766564000000000000604482015260640161055f565b606d54604051634d8c928d60e11b81526001600160a01b03838116600483015290911690639b19251a9060240160206040518083038186803b158015610bec57600080fd5b505afa158015610c00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c24919061250c565b15610c715760405162461bcd60e51b815260206004820152601f60248201527f4c53533a2043616e6e6f74207265706f7274204c53532070726f746f636f6c00604482015260640161055f565b606d54604051630de6793560e11b81526001600160a01b03838116600483015290911690631bccf26a90602401602060405180830381600087803b158015610cb857600080fd5b505af1158015610ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf0919061250c565b15610d365760405162461bcd60e51b8152602060048201526016602482015275098a6a6744086c2dcdcdee840e4cae0dee4e84088caf60531b604482015260640161055f565b6000828152607060205260409020600381015460048201546001600160a01b03168415801590610d7257504260695483610d709190612661565b115b610dbe5760405162461bcd60e51b815260206004820152601b60248201527f4c53533a207265706f727420646f6573206e6f74206578697374730000000000604482015260640161055f565b6004830154600160a01b900460ff1615610e1a5760405162461bcd60e51b815260206004820152601e60248201527f4c53533a20416e6f7468657220616c7265616479207375626d69747465640000604482015260640161055f565b82546001600160a01b03163314610e6b5760405162461bcd60e51b81526020600482015260156024820152742629a99d1034b73b30b634b2103932b837b93a32b960591b604482015260640161055f565b6004838101805460ff60a01b1916600160a01b1790556001600160a01b038281166000908152606f60209081526040808320898516808552925291829020899055606d5491516344337ea160e01b81529384015216906344337ea190602401600060405180830381600087803b158015610ee457600080fd5b505af1158015610ef8573d6000803e3d6000fd5b505050506002830180546001600160a01b0319166001600160a01b0386811691821790925560405187928416907f57b24a5e43670bc970bdb990f514431dd52083ca07c76331e7b2d587c3fd815190600090a45050505050565b606d60009054906101000a90046001600160a01b03166001600160a01b031663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b158015610fa057600080fd5b505afa158015610fb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd891906124c5565b6001600160a01b0316336001600160a01b0316146110085760405162461bcd60e51b815260040161055f906125d4565b60695481141561102a5760405162461bcd60e51b815260040161055f9061262a565b606981905560405181907f9f92e7b8b720b941cbbb3fab387cb8b9b23f68468990ee330b2ebcf2b044fd2490600090a250565b606d60009054906101000a90046001600160a01b03166001600160a01b0316632f11d6536040518163ffffffff1660e01b815260040160206040518083038186803b1580156110ab57600080fd5b505afa1580156110bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e391906124c5565b6001600160a01b0316336001600160a01b03161461113d5760405162461bcd60e51b81526020600482015260176024820152762629a99d1026bab9ba103132903830bab9b2a0b236b4b760491b604482015260640161055f565b6111456123da565b565b606d54604051633e7e4af960e21b81523360048201526000916001600160a01b03169063f9f92be49060240160206040518083038186803b15801561118b57600080fd5b505afa15801561119f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c3919061250c565b156112105760405162461bcd60e51b815260206004820152601760248201527f4c53533a20596f752063616e6e6f74206f706572617465000000000000000000604482015260640161055f565b60335460ff16156112335760405162461bcd60e51b815260040161055f90612600565b6001600160a01b0382166112895760405162461bcd60e51b815260206004820152601f60248201527f4c53533a2043616e6e6f74207265706f7274207a65726f206164647265737300604482015260640161055f565b606d54604051634d8c928d60e11b81526001600160a01b03848116600483015290911690639b19251a9060240160206040518083038186803b1580156112ce57600080fd5b505afa1580156112e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611306919061250c565b156113535760405162461bcd60e51b815260206004820152601f60248201527f4c53533a2043616e6e6f74207265706f7274204c53532070726f746f636f6c00604482015260640161055f565b606d54604051630de6793560e11b81526001600160a01b03848116600483015290911690631bccf26a90602401602060405180830381600087803b15801561139a57600080fd5b505af11580156113ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d2919061250c565b156114185760405162461bcd60e51b8152602060048201526016602482015275098a6a6744086c2dcdcdee840e4cae0dee4e84088caf60531b604482015260640161055f565b6001600160a01b038084166000908152606f60209081526040808320938616835292905220548015806114685750606954600082815260706020526040902060030154429161146691612661565b105b8061156f5750606e54604051630b18acb760e21b8152600481018390526001600160a01b0390911690632c62b2dc9060240160206040518083038186803b1580156114b257600080fd5b505afa1580156114c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ea919061250c565b801561156f5750606e5460405163c3d8ca2f60e01b8152600481018390526001600160a01b039091169063c3d8ca2f9060240160206040518083038186803b15801561153557600080fd5b505afa158015611549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156d919061250c565b155b6115bb5760405162461bcd60e51b815260206004820152601a60248201527f4c53533a205265706f727420616c726561647920657869737473000000000000604482015260640161055f565b6001606b60008282546115ce9190612661565b9091555050606b5460008181526070602081815260408084208054336001600160a01b0319918216811783556001600160a01b038c8116808952606f87528589208d83168a5287528589208a9055978990529590945242600383015560049182018054909116909517909455606c54606a5491516323b872dd60e01b815294850192909252306024850152604484015292935091909116906323b872dd90606401602060405180830381600087803b15801561168957600080fd5b505af115801561169d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c1919061250c565b61170d5760405162461bcd60e51b815260206004820152601b60248201527f4c53533a205265706f7274696e67207374616b65206661696c65640000000000604482015260640161055f565b606d546040516344337ea160e01b81526001600160a01b038581166004830152909116906344337ea190602401600060405180830381600087803b15801561175457600080fd5b505af1158015611768573d6000803e3d6000fd5b5050506000828152607060205260409081902060010180546001600160a01b0319166001600160a01b0387811691909117909155606d5491516333be4fc360e21b815287821660048201529116915063cef93f0c90602401600060405180830381600087803b1580156117da57600080fd5b505af11580156117ee573d6000803e3d6000fd5b5050505080836001600160a01b0316856001600160a01b03167f92e9d368ed104b8cb9eaf4301c7e3381330904ba2dbab066a2b87b9aa2ade182606a5460405161183a91815260200190565b60405180910390a49392505050565b606d60009054906101000a90046001600160a01b03166001600160a01b0316632f11d6536040518163ffffffff1660e01b815260040160206040518083038186803b15801561189757600080fd5b505afa1580156118ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cf91906124c5565b6001600160a01b0316336001600160a01b0316146119295760405162461bcd60e51b81526020600482015260176024820152762629a99d1026bab9ba103132903830bab9b2a0b236b4b760491b604482015260640161055f565b61114561246d565b606d60009054906101000a90046001600160a01b03166001600160a01b031663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b15801561197f57600080fd5b505afa158015611993573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b791906124c5565b6001600160a01b0316336001600160a01b0316146119e75760405162461bcd60e51b815260040161055f906125d4565b606754811415611a095760405162461bcd60e51b815260040161055f9061262a565b606781905560405181907f286a6076d6f092a586a37b483571815698ca6052d304b4aa62c2240f970d638b90600090a260646067546068546066546065546105d29190612661565b606d60009054906101000a90046001600160a01b03166001600160a01b031663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b158015611a9f57600080fd5b505afa158015611ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad791906124c5565b6001600160a01b0316336001600160a01b031614611b075760405162461bcd60e51b815260040161055f906125d4565b606854811415611b295760405162461bcd60e51b815260040161055f9061262a565b606881905560405181907f50180f977fd6b8a623d5dfc1a5c07358f673e46b4068575873f7af7c63799ad890600090a260646067546068546066546065546105d29190612661565b600054610100900460ff16611b8c5760005460ff1615611b90565b303b155b611bf35760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161055f565b600054610100900460ff16158015611c15576000805461ffff19166101011790555b6000606b55606d80546001600160a01b0319166001600160a01b0384161790558015611c47576000805461ff00191690555b5050565b606d60009054906101000a90046001600160a01b03166001600160a01b031663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b158015611c9957600080fd5b505afa158015611cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd191906124c5565b6001600160a01b0316336001600160a01b031614611d015760405162461bcd60e51b815260040161055f906125d4565b6001600160a01b038116611d575760405162461bcd60e51b815260206004820152601b60248201527f4c53533a2043616e6e6f74206265207a65726f20616464726573730000000000604482015260640161055f565b606e546001600160a01b0382811691161415611db55760405162461bcd60e51b815260206004820152601b60248201527f4c53533a2043616e6e6f742062652073616d6520616464726573730000000000604482015260640161055f565b606e80546001600160a01b0319166001600160a01b0383169081179091556040517ffb63970612c4356d3217d8f62d2e878e96269335085c35374c27b713cfa3e9b990600090a250565b60335460ff1615611e225760405162461bcd60e51b815260040161055f90612600565b6000818152607060205260409020546001600160a01b03163314611e7d5760405162461bcd60e51b81526020600482015260126024820152712629a99d1027b7363c903932b837b93a32b960711b604482015260640161055f565b606e5460405163c3d8ca2f60e01b8152600481018390526001600160a01b039091169063c3d8ca2f9060240160206040518083038186803b158015611ec157600080fd5b505afa158015611ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef9919061250c565b611f455760405162461bcd60e51b815260206004820152601d60248201527f4c53533a205265706f727420736f6c766564206e656761746976656c79000000604482015260640161055f565b60008181526070602052604090206004810154600160a81b900460ff1615611faf5760405162461bcd60e51b815260206004820152601860248201527f4c53533a20596f7520616c726561647920636c61696d65640000000000000000604482015260640161055f565b60048101805460ff60a81b1916600160a81b1790556000611fcf8361062f565b60048381015460405163a9059cbb60e01b81523392810192909252602482018390529192506001600160a01b039091169063a9059cbb90604401602060405180830381600087803b15801561202357600080fd5b505af1158015612037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205b919061250c565b6120a75760405162461bcd60e51b815260206004820152601a60248201527f4c53533a20546f6b656e207472616e73666572206661696c6564000000000000604482015260640161055f565b606c54606a5460405163a9059cbb60e01b815233600482015260248101919091526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156120f757600080fd5b505af115801561210b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212f919061250c565b61217b5760405162461bcd60e51b815260206004820152601b60248201527f4c53533a205265706f7274696e67207374616b65206661696c65640000000000604482015260640161055f565b6040518190849033907f863545f27822d259c84600f7fff4b2f00300c6bc3110cc34d3766c120d11ee0190600090a4505050565b606d60009054906101000a90046001600160a01b03166001600160a01b031663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b1580156121fd57600080fd5b505afa158015612211573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223591906124c5565b6001600160a01b0316336001600160a01b0316146122655760405162461bcd60e51b815260040161055f906125d4565b80606a5414156122875760405162461bcd60e51b815260040161055f9061262a565b606a81905560405181907f7244d4e293a4118a019957569f7f98d6c9192473e513f040f50246e33dfc6fb890600090a250565b606d60009054906101000a90046001600160a01b03166001600160a01b031663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b15801561230857600080fd5b505afa15801561231c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234091906124c5565b6001600160a01b0316336001600160a01b0316146123705760405162461bcd60e51b815260040161055f906125d4565b6065548114156123925760405162461bcd60e51b815260040161055f9061262a565b606581905560405181907f6ba592e51cd5e91d041b4695b1c4fa1d8eb187bd268ae9c01aeac311dbbf331090600090a260646067546068546066546065546105d29190612661565b60335460ff166124235760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161055f565b6033805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60335460ff16156124905760405162461bcd60e51b815260040161055f90612600565b6033805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586124503390565b6000602082840312156124d6578081fd5b81516106cc816126ce565b600080604083850312156124f3578081fd5b82356124fe816126ce565b946020939093013593505050565b60006020828403121561251d578081fd5b815180151581146106cc578182fd5b60006020828403121561253d578081fd5b81356106cc816126ce565b6000806040838503121561255a578182fd5b8235612565816126ce565b91506020830135612575816126ce565b809150509250929050565b600060208284031215612591578081fd5b5035919050565b6000602082840312156125a9578081fd5b5051919050565b600080604083850312156125c2578182fd5b823591506020830135612575816126ce565b6020808252601290820152712629a99d1026bab9ba1031329030b236b4b760711b604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601f908201527f4c53533a20416c72656164792073657420746f207468617420616d6f756e7400604082015260600190565b60008219821115612674576126746126b8565b500190565b60008261269457634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156126b3576126b36126b8565b500290565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461062c57600080fdfea264697066735822122016469786169303395cb3ced292000176cdc66901a070d10c775fe984044719f864736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 29 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.