Source Code
Overview
GLMR Balance
GLMR Value
$0.00Latest 25 from a total of 460 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer Ownersh... | 8227184 | 447 days ago | IN | 0 GLMR | 0.011504 | ||||
| Distribute | 8226575 | 447 days ago | IN | 0 GLMR | 1.13957168 | ||||
| Distribute | 8212421 | 448 days ago | IN | 0 GLMR | 1.7068053 | ||||
| Distribute | 8198207 | 449 days ago | IN | 0 GLMR | 1.13957168 | ||||
| Distribute | 8183976 | 450 days ago | IN | 0 GLMR | 1.70059158 | ||||
| Distribute | 8169684 | 451 days ago | IN | 0 GLMR | 1.12423129 | ||||
| Distribute | 8155483 | 452 days ago | IN | 0 GLMR | 1.12423129 | ||||
| Distribute | 8141231 | 453 days ago | IN | 0 GLMR | 1.12423129 | ||||
| Distribute | 8126996 | 454 days ago | IN | 0 GLMR | 1.33680524 | ||||
| Distribute | 8112846 | 455 days ago | IN | 0 GLMR | 1.12642277 | ||||
| Distribute | 8098686 | 456 days ago | IN | 0 GLMR | 1.22723104 | ||||
| Distribute | 8084535 | 457 days ago | IN | 0 GLMR | 2.37407374 | ||||
| Distribute | 8070388 | 458 days ago | IN | 0 GLMR | 1.18924531 | ||||
| Distribute | 8056309 | 459 days ago | IN | 0 GLMR | 1.18832564 | ||||
| Distribute | 8042034 | 460 days ago | IN | 0 GLMR | 1.25718132 | ||||
| Distribute | 8027833 | 461 days ago | IN | 0 GLMR | 1.18976104 | ||||
| Distribute | 8013764 | 462 days ago | IN | 0 GLMR | 1.2601033 | ||||
| Distribute | 7999743 | 463 days ago | IN | 0 GLMR | 1.32950029 | ||||
| Distribute | 7986044 | 464 days ago | IN | 0 GLMR | 1.29662803 | ||||
| Distribute | 7972005 | 465 days ago | IN | 0 GLMR | 1.36918664 | ||||
| Distribute | 7957933 | 466 days ago | IN | 0 GLMR | 1.22745018 | ||||
| Distribute | 7943721 | 467 days ago | IN | 0 GLMR | 5.81765952 | ||||
| Distribute | 7929489 | 468 days ago | IN | 0 GLMR | 1.13957168 | ||||
| Distribute | 7915260 | 469 days ago | IN | 0 GLMR | 1.41715965 | ||||
| Distribute | 7901025 | 470 days ago | IN | 0 GLMR | 3.03838383 |
View more zero value Internal Transactions in Advanced View mode
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PulsarFeeShare
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
// P1 - P3: OK
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
contract PulsarFeeShare is Ownable {
using SafeMath for uint256;
using SafeERC20 for IERC20;
address public feeCollector;
address public treasury;
address public buyback;
address public partner;
uint256 public treasuryFees;
uint256 public buybackFees;
uint256 public partnerFees;
uint256 feeDenominator = 100000;
constructor(
address _feeCollector,
address _treasury,
uint256 _treasuryFees,
address _buyback,
uint256 _buybackFees,
address _partner,
uint256 _partnerFees
) public {
feeCollector = _feeCollector;
treasury = _treasury;
buyback = _buyback;
partner = _partner;
treasuryFees = _treasuryFees;
buybackFees = _buybackFees;
partnerFees = _partnerFees;
}
function distribute(address[] calldata tokens) payable external {
uint256 len = tokens.length;
for (uint256 i = 0; i < len; i++) {
uint256 balanceToken = IERC20(tokens[i]).balanceOf(feeCollector);
uint256 treasuryValue = (balanceToken * treasuryFees) / feeDenominator;
uint256 buybackValue = (balanceToken * buybackFees) / feeDenominator;
uint256 partnerValue = (balanceToken * partnerFees) / feeDenominator;
safeTransferFrom(tokens[i], feeCollector, treasury, treasuryValue);
safeTransferFrom(tokens[i], feeCollector, buyback, buybackValue);
safeTransferFrom(tokens[i], feeCollector, partner, partnerValue);
}
uint256 balanceEth = msg.value;
safeTransferETH(treasury, (balanceEth * treasuryFees) / feeDenominator);
safeTransferETH(buyback, (balanceEth * buybackFees) / feeDenominator);
safeTransferETH(partner, (balanceEth * partnerFees) / feeDenominator);
}
function safeTransferFrom(address token, address from, address to, uint value) internal {
// bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
(bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');
}
function safeTransferETH(address to, uint value) internal {
(bool success,) = to.call{value:value}(new bytes(0));
require(success, 'TransferHelper: ETH_TRANSFER_FAILED');
}
function setFees(
uint256 _treasuryFees,
uint256 _buybackFees,
uint256 _partnerFees
) external onlyOwner {
treasuryFees = _treasuryFees;
buybackFees = _buybackFees;
partnerFees = _partnerFees;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// 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 (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @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) {
return a + b;
}
/**
* @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 a - b;
}
/**
* @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) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting 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 a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting 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) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* 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) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
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));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(
IERC20 token,
address spender,
uint256 value
) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
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 safeIncreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) {
// Return data is optional
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `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: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_feeCollector","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"uint256","name":"_treasuryFees","type":"uint256"},{"internalType":"address","name":"_buyback","type":"address"},{"internalType":"uint256","name":"_buybackFees","type":"uint256"},{"internalType":"address","name":"_partner","type":"address"},{"internalType":"uint256","name":"_partnerFees","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"buyback","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buybackFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"distribute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"partner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"partnerFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFees","type":"uint256"},{"internalType":"uint256","name":"_buybackFees","type":"uint256"},{"internalType":"uint256","name":"_partnerFees","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6080604052620186a06008553480156200001857600080fd5b50604051620017293803806200172983398181016040528101906200003e9190620002f5565b6200005e620000526200018460201b60201c565b6200018c60201b60201c565b86600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600581905550826006819055508060078190555050505050505050620003a8565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002828262000255565b9050919050565b620002948162000275565b8114620002a057600080fd5b50565b600081519050620002b48162000289565b92915050565b6000819050919050565b620002cf81620002ba565b8114620002db57600080fd5b50565b600081519050620002ef81620002c4565b92915050565b600080600080600080600060e0888a03121562000317576200031662000250565b5b6000620003278a828b01620002a3565b97505060206200033a8a828b01620002a3565b96505060406200034d8a828b01620002de565b9550506060620003608a828b01620002a3565b9450506080620003738a828b01620002de565b93505060a0620003868a828b01620002a3565b92505060c0620003998a828b01620002de565b91505092959891949750929550565b61137180620003b86000396000f3fe6080604052600436106100a75760003560e01c8063be10862b11610064578063be10862b1461018b578063c12c4c23146101b6578063c415b95c146101e1578063cec10c111461020c578063f2fde38b14610235578063f8ec69111461025e576100a7565b80631b9163da146100ac5780636138889b146100d757806361d027b3146100f3578063715018a61461011e5780638da5cb5b146101355780639a67430f14610160575b600080fd5b3480156100b857600080fd5b506100c1610289565b6040516100ce9190610c20565b60405180910390f35b6100f160048036038101906100ec9190610caa565b61028f565b005b3480156100ff57600080fd5b50610108610620565b6040516101159190610d38565b60405180910390f35b34801561012a57600080fd5b50610133610646565b005b34801561014157600080fd5b5061014a6106ce565b6040516101579190610d38565b60405180910390f35b34801561016c57600080fd5b506101756106f7565b6040516101829190610c20565b60405180910390f35b34801561019757600080fd5b506101a06106fd565b6040516101ad9190610d38565b60405180910390f35b3480156101c257600080fd5b506101cb610723565b6040516101d89190610c20565b60405180910390f35b3480156101ed57600080fd5b506101f6610729565b6040516102039190610d38565b60405180910390f35b34801561021857600080fd5b50610233600480360381019061022e9190610d7f565b61074f565b005b34801561024157600080fd5b5061025c60048036038101906102579190610dfe565b6107e5565b005b34801561026a57600080fd5b506102736108dc565b6040516102809190610d38565b60405180910390f35b60065481565b600082829050905060005b818110156105425760008484838181106102b7576102b6610e2b565b5b90506020020160208101906102cc9190610dfe565b73ffffffffffffffffffffffffffffffffffffffff166370a08231600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016103269190610d38565b602060405180830381865afa158015610343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103679190610e6f565b905060006008546005548361037c9190610ecb565b6103869190610f3c565b905060006008546006548461039b9190610ecb565b6103a59190610f3c565b90506000600854600754856103ba9190610ecb565b6103c49190610f3c565b905061043d8888878181106103dc576103db610e2b565b5b90506020020160208101906103f19190610dfe565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686610902565b6104b488888781811061045357610452610e2b565b5b90506020020160208101906104689190610dfe565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685610902565b61052b8888878181106104ca576104c9610e2b565b5b90506020020160208101906104df9190610dfe565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610902565b50505050808061053a90610f6d565b91505061029a565b50600034905061058e600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166008546005548461057f9190610ecb565b6105899190610f3c565b610a3b565b6105d4600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600854600654846105c59190610ecb565b6105cf9190610f3c565b610a3b565b61061a600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166008546007548461060b9190610ecb565b6106159190610f3c565b610a3b565b50505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61064e610b3b565b73ffffffffffffffffffffffffffffffffffffffff1661066c6106ce565b73ffffffffffffffffffffffffffffffffffffffff16146106c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b990611012565b60405180910390fd5b6106cc6000610b43565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60055481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610757610b3b565b73ffffffffffffffffffffffffffffffffffffffff166107756106ce565b73ffffffffffffffffffffffffffffffffffffffff16146107cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c290611012565b60405180910390fd5b826005819055508160068190555080600781905550505050565b6107ed610b3b565b73ffffffffffffffffffffffffffffffffffffffff1661080b6106ce565b73ffffffffffffffffffffffffffffffffffffffff1614610861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085890611012565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c7906110a4565b60405180910390fd5b6108d981610b43565b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401610936939291906110c4565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610984919061116c565b6000604051808303816000865af19150503d80600081146109c1576040519150601f19603f3d011682016040523d82523d6000602084013e6109c6565b606091505b50915091508180156109f457506000815114806109f35750808060200190518101906109f291906111bb565b5b5b610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a9061125a565b60405180910390fd5b505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682600067ffffffffffffffff811115610a7057610a6f61127a565b5b6040519080825280601f01601f191660200182016040528015610aa25781602001600182028036833780820191505090505b50604051610ab0919061116c565b60006040518083038185875af1925050503d8060008114610aed576040519150601f19603f3d011682016040523d82523d6000602084013e610af2565b606091505b5050905080610b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2d9061131b565b60405180910390fd5b505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000819050919050565b610c1a81610c07565b82525050565b6000602082019050610c356000830184610c11565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c6a57610c69610c45565b5b8235905067ffffffffffffffff811115610c8757610c86610c4a565b5b602083019150836020820283011115610ca357610ca2610c4f565b5b9250929050565b60008060208385031215610cc157610cc0610c3b565b5b600083013567ffffffffffffffff811115610cdf57610cde610c40565b5b610ceb85828601610c54565b92509250509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d2282610cf7565b9050919050565b610d3281610d17565b82525050565b6000602082019050610d4d6000830184610d29565b92915050565b610d5c81610c07565b8114610d6757600080fd5b50565b600081359050610d7981610d53565b92915050565b600080600060608486031215610d9857610d97610c3b565b5b6000610da686828701610d6a565b9350506020610db786828701610d6a565b9250506040610dc886828701610d6a565b9150509250925092565b610ddb81610d17565b8114610de657600080fd5b50565b600081359050610df881610dd2565b92915050565b600060208284031215610e1457610e13610c3b565b5b6000610e2284828501610de9565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050610e6981610d53565b92915050565b600060208284031215610e8557610e84610c3b565b5b6000610e9384828501610e5a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610ed682610c07565b9150610ee183610c07565b9250828202610eef81610c07565b91508282048414831517610f0657610f05610e9c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610f4782610c07565b9150610f5283610c07565b925082610f6257610f61610f0d565b5b828204905092915050565b6000610f7882610c07565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610faa57610fa9610e9c565b5b600182019050919050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610ffc602083610fb5565b915061100782610fc6565b602082019050919050565b6000602082019050818103600083015261102b81610fef565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061108e602683610fb5565b915061109982611032565b604082019050919050565b600060208201905081810360008301526110bd81611081565b9050919050565b60006060820190506110d96000830186610d29565b6110e66020830185610d29565b6110f36040830184610c11565b949350505050565b600081519050919050565b600081905092915050565b60005b8381101561112f578082015181840152602081019050611114565b60008484015250505050565b6000611146826110fb565b6111508185611106565b9350611160818560208601611111565b80840191505092915050565b6000611178828461113b565b915081905092915050565b60008115159050919050565b61119881611183565b81146111a357600080fd5b50565b6000815190506111b58161118f565b92915050565b6000602082840312156111d1576111d0610c3b565b5b60006111df848285016111a6565b91505092915050565b7f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f464160008201527f494c454400000000000000000000000000000000000000000000000000000000602082015250565b6000611244602483610fb5565b915061124f826111e8565b604082019050919050565b6000602082019050818103600083015261127381611237565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960008201527f4c45440000000000000000000000000000000000000000000000000000000000602082015250565b6000611305602383610fb5565b9150611310826112a9565b604082019050919050565b60006020820190508181036000830152611334816112f8565b905091905056fea26469706673582212208e29ce1b6dc5c1755dd6b5777c793b0b37d03c10fc6684d0502e8af8c057426a64736f6c63430008110033000000000000000000000000dc9e1af9869b8771a9cf3b2d17264019c6aad2c6000000000000000000000000ce86f05a3568fc973c51c3cf76850df456391f1400000000000000000000000000000000000000000000000000000000000096ec000000000000000000000000ea91b5e687a490380c52d264d5d36558d79f4188000000000000000000000000000000000000000000000000000000000000cc300000000000000000000000001d8b6fa722230153be08c4fa4aa4b4c7cd01a95a0000000000000000000000000000000000000000000000000000000000002382
Deployed Bytecode
0x6080604052600436106100a75760003560e01c8063be10862b11610064578063be10862b1461018b578063c12c4c23146101b6578063c415b95c146101e1578063cec10c111461020c578063f2fde38b14610235578063f8ec69111461025e576100a7565b80631b9163da146100ac5780636138889b146100d757806361d027b3146100f3578063715018a61461011e5780638da5cb5b146101355780639a67430f14610160575b600080fd5b3480156100b857600080fd5b506100c1610289565b6040516100ce9190610c20565b60405180910390f35b6100f160048036038101906100ec9190610caa565b61028f565b005b3480156100ff57600080fd5b50610108610620565b6040516101159190610d38565b60405180910390f35b34801561012a57600080fd5b50610133610646565b005b34801561014157600080fd5b5061014a6106ce565b6040516101579190610d38565b60405180910390f35b34801561016c57600080fd5b506101756106f7565b6040516101829190610c20565b60405180910390f35b34801561019757600080fd5b506101a06106fd565b6040516101ad9190610d38565b60405180910390f35b3480156101c257600080fd5b506101cb610723565b6040516101d89190610c20565b60405180910390f35b3480156101ed57600080fd5b506101f6610729565b6040516102039190610d38565b60405180910390f35b34801561021857600080fd5b50610233600480360381019061022e9190610d7f565b61074f565b005b34801561024157600080fd5b5061025c60048036038101906102579190610dfe565b6107e5565b005b34801561026a57600080fd5b506102736108dc565b6040516102809190610d38565b60405180910390f35b60065481565b600082829050905060005b818110156105425760008484838181106102b7576102b6610e2b565b5b90506020020160208101906102cc9190610dfe565b73ffffffffffffffffffffffffffffffffffffffff166370a08231600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016103269190610d38565b602060405180830381865afa158015610343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103679190610e6f565b905060006008546005548361037c9190610ecb565b6103869190610f3c565b905060006008546006548461039b9190610ecb565b6103a59190610f3c565b90506000600854600754856103ba9190610ecb565b6103c49190610f3c565b905061043d8888878181106103dc576103db610e2b565b5b90506020020160208101906103f19190610dfe565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686610902565b6104b488888781811061045357610452610e2b565b5b90506020020160208101906104689190610dfe565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685610902565b61052b8888878181106104ca576104c9610e2b565b5b90506020020160208101906104df9190610dfe565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610902565b50505050808061053a90610f6d565b91505061029a565b50600034905061058e600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166008546005548461057f9190610ecb565b6105899190610f3c565b610a3b565b6105d4600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600854600654846105c59190610ecb565b6105cf9190610f3c565b610a3b565b61061a600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166008546007548461060b9190610ecb565b6106159190610f3c565b610a3b565b50505050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61064e610b3b565b73ffffffffffffffffffffffffffffffffffffffff1661066c6106ce565b73ffffffffffffffffffffffffffffffffffffffff16146106c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b990611012565b60405180910390fd5b6106cc6000610b43565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60055481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610757610b3b565b73ffffffffffffffffffffffffffffffffffffffff166107756106ce565b73ffffffffffffffffffffffffffffffffffffffff16146107cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c290611012565b60405180910390fd5b826005819055508160068190555080600781905550505050565b6107ed610b3b565b73ffffffffffffffffffffffffffffffffffffffff1661080b6106ce565b73ffffffffffffffffffffffffffffffffffffffff1614610861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085890611012565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c7906110a4565b60405180910390fd5b6108d981610b43565b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401610936939291906110c4565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610984919061116c565b6000604051808303816000865af19150503d80600081146109c1576040519150601f19603f3d011682016040523d82523d6000602084013e6109c6565b606091505b50915091508180156109f457506000815114806109f35750808060200190518101906109f291906111bb565b5b5b610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a9061125a565b60405180910390fd5b505050505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682600067ffffffffffffffff811115610a7057610a6f61127a565b5b6040519080825280601f01601f191660200182016040528015610aa25781602001600182028036833780820191505090505b50604051610ab0919061116c565b60006040518083038185875af1925050503d8060008114610aed576040519150601f19603f3d011682016040523d82523d6000602084013e610af2565b606091505b5050905080610b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2d9061131b565b60405180910390fd5b505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000819050919050565b610c1a81610c07565b82525050565b6000602082019050610c356000830184610c11565b92915050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112610c6a57610c69610c45565b5b8235905067ffffffffffffffff811115610c8757610c86610c4a565b5b602083019150836020820283011115610ca357610ca2610c4f565b5b9250929050565b60008060208385031215610cc157610cc0610c3b565b5b600083013567ffffffffffffffff811115610cdf57610cde610c40565b5b610ceb85828601610c54565b92509250509250929050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610d2282610cf7565b9050919050565b610d3281610d17565b82525050565b6000602082019050610d4d6000830184610d29565b92915050565b610d5c81610c07565b8114610d6757600080fd5b50565b600081359050610d7981610d53565b92915050565b600080600060608486031215610d9857610d97610c3b565b5b6000610da686828701610d6a565b9350506020610db786828701610d6a565b9250506040610dc886828701610d6a565b9150509250925092565b610ddb81610d17565b8114610de657600080fd5b50565b600081359050610df881610dd2565b92915050565b600060208284031215610e1457610e13610c3b565b5b6000610e2284828501610de9565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050610e6981610d53565b92915050565b600060208284031215610e8557610e84610c3b565b5b6000610e9384828501610e5a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610ed682610c07565b9150610ee183610c07565b9250828202610eef81610c07565b91508282048414831517610f0657610f05610e9c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610f4782610c07565b9150610f5283610c07565b925082610f6257610f61610f0d565b5b828204905092915050565b6000610f7882610c07565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610faa57610fa9610e9c565b5b600182019050919050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610ffc602083610fb5565b915061100782610fc6565b602082019050919050565b6000602082019050818103600083015261102b81610fef565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061108e602683610fb5565b915061109982611032565b604082019050919050565b600060208201905081810360008301526110bd81611081565b9050919050565b60006060820190506110d96000830186610d29565b6110e66020830185610d29565b6110f36040830184610c11565b949350505050565b600081519050919050565b600081905092915050565b60005b8381101561112f578082015181840152602081019050611114565b60008484015250505050565b6000611146826110fb565b6111508185611106565b9350611160818560208601611111565b80840191505092915050565b6000611178828461113b565b915081905092915050565b60008115159050919050565b61119881611183565b81146111a357600080fd5b50565b6000815190506111b58161118f565b92915050565b6000602082840312156111d1576111d0610c3b565b5b60006111df848285016111a6565b91505092915050565b7f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f464160008201527f494c454400000000000000000000000000000000000000000000000000000000602082015250565b6000611244602483610fb5565b915061124f826111e8565b604082019050919050565b6000602082019050818103600083015261127381611237565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960008201527f4c45440000000000000000000000000000000000000000000000000000000000602082015250565b6000611305602383610fb5565b9150611310826112a9565b604082019050919050565b60006020820190508181036000830152611334816112f8565b905091905056fea26469706673582212208e29ce1b6dc5c1755dd6b5777c793b0b37d03c10fc6684d0502e8af8c057426a64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000dc9e1af9869b8771a9cf3b2d17264019c6aad2c6000000000000000000000000ce86f05a3568fc973c51c3cf76850df456391f1400000000000000000000000000000000000000000000000000000000000096ec000000000000000000000000ea91b5e687a490380c52d264d5d36558d79f4188000000000000000000000000000000000000000000000000000000000000cc300000000000000000000000001d8b6fa722230153be08c4fa4aa4b4c7cd01a95a0000000000000000000000000000000000000000000000000000000000002382
-----Decoded View---------------
Arg [0] : _feeCollector (address): 0xDC9E1af9869B8771a9cf3b2D17264019c6aAD2c6
Arg [1] : _treasury (address): 0xce86F05a3568Fc973C51c3cf76850dF456391f14
Arg [2] : _treasuryFees (uint256): 38636
Arg [3] : _buyback (address): 0xEA91B5E687a490380C52d264D5d36558d79F4188
Arg [4] : _buybackFees (uint256): 52272
Arg [5] : _partner (address): 0x1d8b6fA722230153BE08C4Fa4Aa4B4c7cd01A95a
Arg [6] : _partnerFees (uint256): 9090
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000dc9e1af9869b8771a9cf3b2d17264019c6aad2c6
Arg [1] : 000000000000000000000000ce86f05a3568fc973c51c3cf76850df456391f14
Arg [2] : 00000000000000000000000000000000000000000000000000000000000096ec
Arg [3] : 000000000000000000000000ea91b5e687a490380c52d264d5d36558d79f4188
Arg [4] : 000000000000000000000000000000000000000000000000000000000000cc30
Arg [5] : 0000000000000000000000001d8b6fa722230153be08c4fa4aa4b4c7cd01a95a
Arg [6] : 0000000000000000000000000000000000000000000000000000000000002382
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in GLMR
Multichain Portfolio | 35 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.