Source Code
Latest 25 from a total of 123 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 2259128 | 1285 days ago | IN | 0 MOVR | 0.00068388 | ||||
| Withdraw | 1643528 | 1404 days ago | IN | 0 MOVR | 0.00059011 | ||||
| Deposit | 1639112 | 1406 days ago | IN | 0 MOVR | 0.00066559 | ||||
| Withdraw | 1246513 | 1483 days ago | IN | 0 MOVR | 0.00024327 | ||||
| Withdraw | 997714 | 1520 days ago | IN | 0 MOVR | 0.00026552 | ||||
| Withdraw | 941260 | 1530 days ago | IN | 0 MOVR | 0.00026551 | ||||
| Deposit | 926208 | 1532 days ago | IN | 0 MOVR | 0.00055333 | ||||
| Withdraw | 925249 | 1533 days ago | IN | 0 MOVR | 0.00037013 | ||||
| Deposit | 924694 | 1533 days ago | IN | 0 MOVR | 0.00059126 | ||||
| Deposit | 923251 | 1533 days ago | IN | 0 MOVR | 0.00059126 | ||||
| Withdraw | 922526 | 1533 days ago | IN | 0 MOVR | 0.00028475 | ||||
| Withdraw | 922512 | 1533 days ago | IN | 0 MOVR | 0.00028475 | ||||
| Deposit | 921861 | 1533 days ago | IN | 0 MOVR | 0.00062966 | ||||
| Deposit | 920718 | 1533 days ago | IN | 0 MOVR | 0.00029573 | ||||
| Deposit | 920590 | 1533 days ago | IN | 0 MOVR | 0.00031493 | ||||
| Deposit | 920440 | 1533 days ago | IN | 0 MOVR | 0.00125932 | ||||
| Deposit | 918933 | 1534 days ago | IN | 0 MOVR | 0.00125932 | ||||
| Deposit | 917523 | 1534 days ago | IN | 0 MOVR | 0.00125932 | ||||
| Withdraw | 914913 | 1534 days ago | IN | 0 MOVR | 0.00092932 | ||||
| Deposit | 912594 | 1535 days ago | IN | 0 MOVR | 0.00125932 | ||||
| Deposit | 911294 | 1535 days ago | IN | 0 MOVR | 0.00125932 | ||||
| Deposit | 907624 | 1536 days ago | IN | 0 MOVR | 0.0003315 | ||||
| Deposit | 907460 | 1536 days ago | IN | 0 MOVR | 0.00094449 | ||||
| Deposit | 906999 | 1536 days ago | IN | 0 MOVR | 0.00073178 | ||||
| Deposit | 906217 | 1536 days ago | IN | 0 MOVR | 0.00088689 |
View more zero value Internal Transactions in Advanced View mode
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PledgePoolVault
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/**
*Submitted for verification at moonriver.moonscan.io on 2021-11-04
*/
// File: @openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @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 () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), 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 {
emit OwnershipTransferred(_owner, address(0));
_owner = 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");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
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);
}
// File: @openzeppelin/contracts/math/SafeMath.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
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) {
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) {
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) {
// 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) {
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) {
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) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath: subtraction overflow");
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) {
if (a == 0) return 0;
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero");
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) {
require(b > 0, "SafeMath: modulo by zero");
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) {
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.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryDiv}.
*
* 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) {
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) {
require(b > 0, errorMessage);
return a % b;
}
}
// File: @openzeppelin/contracts/utils/Address.sol
pragma solidity >=0.6.2 <0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* 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;
// solhint-disable-next-line no-inline-assembly
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");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @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");
// solhint-disable-next-line avoid-low-level-calls
(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");
// solhint-disable-next-line avoid-low-level-calls
(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");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @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 SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @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'
// solhint-disable-next-line max-line-length
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).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_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
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// File: contracts/PledgePoolVault.sol
pragma solidity ^0.6.12;
interface IMasterChef {
function pendingOre(uint256 _pid, address _user) external view returns (uint256);
function getMultiplier(uint256 _from, uint256 _to) external view returns (uint256);
function orePerBlock() external view returns (uint256);
function totalAllocPoint() external view returns (uint256);
function deposit(uint256 _pid, uint256 _amount) external;
function withdraw(uint256 _pid, uint256 _amount) external;
function poolInfo(uint256 _pid) external view returns (address,uint256,uint256,uint256);
}
interface ICertificate {
function mint(address _to, uint256 _amount) external;
function burn(address _account, uint256 _amount) external;
function transferOwnership(address newOwner) external;
}
interface ICtoken {
function mint(uint256 mintAmount) external returns (uint256);
function redeemUnderlying(uint256 redeemAmount) external returns (uint256);
}
contract PledgePoolVault is Ownable {
using SafeERC20 for IERC20;
using SafeMath for uint256;
address public oretoken = 0x3Bf0880fd26E49c46d1A1e69ADb268889B4be840;
address public masterChef = 0x1E930c6a1Ec0E098617a2c202939eD0345A9641e;
address public certificate;
address public token;
address public cToken;
uint256 public pid;
uint256 public lpSupply = 0;
struct PoolInfo {
uint256 allocPoint;
uint256 lastRewardBlock;
uint256 accOrePerShare;
}
struct UserInfo {
uint256 amount;
uint256 rewardDebt;
uint256 created_at;
}
PoolInfo public poolInfo;
mapping (address => UserInfo) public userInfo;
event Deposit(address indexed user, uint256 amount);
event Withdraw(address indexed user, uint256 amount);
constructor(address _token, address _certificate, address _cToken, uint256 _pid) public
{
token = _token;
cToken = _cToken;
certificate = _certificate;
pid = _pid;
(,poolInfo.allocPoint,poolInfo.lastRewardBlock, poolInfo.accOrePerShare) = IMasterChef(masterChef).poolInfo(_pid);
IERC20(certificate).safeApprove(masterChef, 0);
IERC20(certificate).safeApprove(masterChef, uint(-1));
IERC20(token).safeApprove(cToken, 0);
IERC20(token).safeApprove(cToken, uint(-1));
}
function doApprove() public onlyOwner{
IERC20(certificate).safeApprove(masterChef, 0);
IERC20(certificate).safeApprove(masterChef, uint(-1));
IERC20(token).safeApprove(cToken, 0);
IERC20(token).safeApprove(cToken, uint(-1));
}
function setData(address _token, address _certificate, address _cToken, uint256 _pid) public onlyOwner {
token = _token;
cToken = _cToken;
certificate = _certificate;
pid = _pid;
(,uint256 _allocPoint,,) = IMasterChef(masterChef).poolInfo(_pid);
poolInfo.allocPoint = _allocPoint;
}
function mintCertificate(uint256 _amount) private{
IERC20(token).safeTransferFrom(address(msg.sender), address(this), _amount);
ICertificate(certificate).mint(address(this), _amount);
uint256 status = ICtoken(cToken).mint(_amount);
require(status == 0, "deposit: not good");
}
function burnCertificate(address _address, uint256 _amount) private{
ICertificate(certificate).burn(address(this), _amount);
uint256 status = ICtoken(cToken).redeemUnderlying(_amount);
require(status == 0, "withdraw: not good");
IERC20(token).transfer(_address, _amount);
}
function pendingOre(address _user) public view returns (uint256) {
UserInfo storage user = userInfo[_user];
(,uint256 _allocPoint,uint256 _lastRewardBlock,uint256 _accOrePerShare) = IMasterChef(masterChef).poolInfo(pid);
if (block.number > _lastRewardBlock && lpSupply != 0) {
uint256 multiplier = IMasterChef(masterChef).getMultiplier(_lastRewardBlock, block.number);
uint256 oreReward = multiplier.mul(IMasterChef(masterChef).orePerBlock()).mul(_allocPoint).div(IMasterChef(masterChef).totalAllocPoint());
_accOrePerShare = _accOrePerShare.add(oreReward.mul(1e12).div(lpSupply));
}
return user.amount.mul(_accOrePerShare).div(1e12).sub(user.rewardDebt);
}
function deposit(uint256 _amount) public {
UserInfo storage user = userInfo[msg.sender];
lpSupply = lpSupply.add(_amount);
IMasterChef(masterChef).deposit(pid, 0);
(,poolInfo.allocPoint,poolInfo.lastRewardBlock, poolInfo.accOrePerShare) = IMasterChef(masterChef).poolInfo(pid);
if (user.amount > 0) {
uint256 pending = user.amount.mul(poolInfo.accOrePerShare).div(1e12).sub(user.rewardDebt);
safeOreTransfer(msg.sender, pending);
}
mintCertificate(_amount);
IMasterChef(masterChef).deposit(pid, _amount);
user.amount = user.amount.add(_amount);
user.rewardDebt = user.amount.mul(poolInfo.accOrePerShare).div(1e12);
user.created_at = block.timestamp;
emit Deposit(msg.sender, _amount);
}
function withdraw(uint256 _amount) public {
UserInfo storage user = userInfo[msg.sender];
require(user.amount >= _amount, "withdraw: not good");
IMasterChef(masterChef).deposit(pid, 0);
(,poolInfo.allocPoint,poolInfo.lastRewardBlock, poolInfo.accOrePerShare) = IMasterChef(masterChef).poolInfo(pid);
uint256 pending = user.amount.mul(poolInfo.accOrePerShare).div(1e12).sub(user.rewardDebt);
IMasterChef(masterChef).withdraw(pid, _amount);
safeOreTransfer(msg.sender, pending);
user.amount = user.amount.sub(_amount);
user.rewardDebt = user.amount.mul(poolInfo.accOrePerShare).div(1e12);
burnCertificate(msg.sender, _amount);
lpSupply = lpSupply.sub(_amount);
emit Withdraw(msg.sender, _amount);
}
function emergencyWithdraw() public {
UserInfo storage user = userInfo[msg.sender];
IMasterChef(masterChef).withdraw(pid, user.amount);
burnCertificate(msg.sender, user.amount);
lpSupply = lpSupply.sub(user.amount);
user.amount = 0;
user.rewardDebt = 0;
}
function safeOreTransfer(address _to, uint256 _amount) internal {
uint256 oreBal = IERC20(oretoken).balanceOf(address(this));
if (_amount > oreBal) {
IERC20(oretoken).transfer(_to, oreBal);
}else{
IERC20(oretoken).transfer(_to, _amount);
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_certificate","type":"address"},{"internalType":"address","name":"_cToken","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"cToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"certificate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"doApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lpSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"masterChef","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oretoken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingOre","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolInfo","outputs":[{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accOrePerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_certificate","type":"address"},{"internalType":"address","name":"_cToken","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"setData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"},{"internalType":"uint256","name":"created_at","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052600180546001600160a01b0319908116733bf0880fd26e49c46d1a1e69adb268889b4be8401790915560028054909116731e930c6a1ec0e098617a2c202939ed0345a9641e17905560006007553480156200005e57600080fd5b506040516200218d3803806200218d833981810160405260808110156200008457600080fd5b50805160208201516040830151606090930151919290916000620000a76200027d565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b038087166001600160a01b03199283161783556005805486831690841617905560038054878316931692909217909155600683905560025460408051631526fe2760e01b815293840185905251911691631526fe27916024808301926080929190829003018186803b1580156200017257600080fd5b505afa15801562000187573d6000803e3d6000fd5b505050506040513d60808110156200019e57600080fd5b506020808201516040830151606090930151600a55600992909255600891909155600254600354620001ed926001600160a01b0391821692919091169060009062000f0f62000281821b17901c565b6002546003546200021a916001600160a01b03918216911660001962000281602090811b62000f0f17901c565b60055460045462000246916001600160a01b039182169116600062000281602090811b62000f0f17901c565b60055460045462000273916001600160a01b03918216911660001962000281602090811b62000f0f17901c565b5050505062000694565b3390565b8015806200030b575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015620002db57600080fd5b505afa158015620002f0573d6000803e3d6000fd5b505050506040513d60208110156200030757600080fd5b5051155b620003485760405162461bcd60e51b8152600401808060200182810382526036815260200180620021576036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620003a0918591620003a516565b505050565b606062000401826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200046160201b62001027179092919060201c565b805190915015620003a0578080602001905160208110156200042257600080fd5b5051620003a05760405162461bcd60e51b815260040180806020018281038252602a8152602001806200212d602a913960400191505060405180910390fd5b60606200047284846000856200047c565b90505b9392505050565b606082471015620004bf5760405162461bcd60e51b8152600401808060200182810382526026815260200180620021076026913960400191505060405180910390fd5b620004ca85620005e4565b6200051c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106200055d5780518252601f1990920191602091820191016200053c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114620005c1576040519150601f19603f3d011682016040523d82523d6000602084013e620005c6565b606091505b509092509050620005d9828286620005ea565b979650505050505050565b3b151590565b60608315620005fb57508162000475565b8251156200060c5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620006585781810151838201526020016200063e565b50505050905090810190601f168015620006865780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b611a6380620006a46000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063715018a6116100a2578063b6b55f2511610071578063b6b55f2514610256578063db2e21bc14610273578063f10684541461027b578063f2fde38b14610283578063fc0c546a146102a957610116565b8063715018a6146101e457806383c5d5d1146101ec5780638da5cb5b146102285780638ee299ca1461023057610116565b80633b22fc03116100e95780633b22fc03146101aa578063575a86b2146101c45780635a2f3d09146101cc5780635bb5ebbe146101d457806369e527da146101dc57610116565b806305019b231461011b5780631959a0021461013f5780632dbf7b98146101835780632e1a7d4d1461018b575b600080fd5b6101236102b1565b604080516001600160a01b039092168252519081900360200190f35b6101656004803603602081101561015557600080fd5b50356001600160a01b03166102c0565b60408051938452602084019290925282820152519081900360600190f35b6101236102e1565b6101a8600480360360208110156101a157600080fd5b50356102f0565b005b6101b261057c565b60408051918252519081900360200190f35b610123610582565b610165610591565b6101a861059d565b61012361067b565b6101a861068a565b6101a86004803603608081101561020257600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135610736565b610123610857565b6101b26004803603602081101561024657600080fd5b50356001600160a01b0316610866565b6101a86004803603602081101561026c57600080fd5b5035610b05565b6101a8610d51565b6101b2610df8565b6101a86004803603602081101561029957600080fd5b50356001600160a01b0316610dfe565b610123610f00565b6001546001600160a01b031681565b600b6020526000908152604090208054600182015460029092015490919083565b6003546001600160a01b031681565b336000908152600b60205260409020805482111561034a576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b60025460065460408051631c57762b60e31b8152600481019290925260006024830181905290516001600160a01b039093169263e2bbb15892604480820193929182900301818387803b1580156103a057600080fd5b505af11580156103b4573d6000803e3d6000fd5b505060025460065460408051631526fe2760e01b81526004810192909252516001600160a01b039092169350631526fe279250602480820192608092909190829003018186803b15801561040757600080fd5b505afa15801561041b573d6000803e3d6000fd5b505050506040513d608081101561043157600080fd5b5060208101516040820151606090920151600a8190556009929092556008556001820154825460009261047f92916104799164e8d4a510009161047391611040565b906110a2565b90611109565b60025460065460408051630441a3e760e41b8152600481019290925260248201879052519293506001600160a01b039091169163441a3e709160448082019260009290919082900301818387803b1580156104d957600080fd5b505af11580156104ed573d6000803e3d6000fd5b505050506104fb3382611166565b81546105079084611109565b808355600a546105229164e8d4a51000916104739190611040565b600183015561053133846112f6565b60075461053e9084611109565b60075560408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a2505050565b60075481565b6002546001600160a01b031681565b600854600954600a5483565b6105a5611480565b6001600160a01b03166105b6610857565b6001600160a01b0316146105ff576040805162461bcd60e51b815260206004820181905260248201526000805160206119ae833981519152604482015290519081900360640190fd5b60025460035461061d916001600160a01b0391821691166000610f0f565b60025460035461063c916001600160a01b039182169116600019610f0f565b60055460045461065a916001600160a01b0391821691166000610f0f565b600554600454610679916001600160a01b039182169116600019610f0f565b565b6005546001600160a01b031681565b610692611480565b6001600160a01b03166106a3610857565b6001600160a01b0316146106ec576040805162461bcd60e51b815260206004820181905260248201526000805160206119ae833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61073e611480565b6001600160a01b031661074f610857565b6001600160a01b031614610798576040805162461bcd60e51b815260206004820181905260248201526000805160206119ae833981519152604482015290519081900360640190fd5b600480546001600160a01b038087166001600160a01b03199283161783556005805486831690841617905560038054878316931692909217909155600683905560025460408051631526fe2760e01b8152938401859052516000939190921691631526fe2791602480820192608092909190829003018186803b15801561081e57600080fd5b505afa158015610832573d6000803e3d6000fd5b505050506040513d608081101561084857600080fd5b50602001516008555050505050565b6000546001600160a01b031690565b6001600160a01b038082166000908152600b60205260408082206002546006548351631526fe2760e01b815260048101919091529251939491938593849384931691631526fe2791602480820192608092909190829003018186803b1580156108ce57600080fd5b505afa1580156108e2573d6000803e3d6000fd5b505050506040513d60808110156108f857600080fd5b506020810151604082015160609092015190945090925090504382108015610921575060075415155b15610ad357600254604080516346dd8f1d60e11b81526004810185905243602482015290516000926001600160a01b031691638dbb1e3a916044808301926020929190829003018186803b15801561097857600080fd5b505afa15801561098c573d6000803e3d6000fd5b505050506040513d60208110156109a257600080fd5b5051600254604080516317caf6f160e01b81529051929350600092610aa4926001600160a01b0316916317caf6f1916004808301926020929190829003018186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d6020811015610a1a57600080fd5b505160025460408051632d09b9c760e01b81529051610473928a92610a9e926001600160a01b0390921691632d09b9c791600480820192602092909190829003018186803b158015610a6b57600080fd5b505afa158015610a7f573d6000803e3d6000fd5b505050506040513d6020811015610a9557600080fd5b50518790611040565b90611040565b9050610ace610ac760075461047364e8d4a510008561104090919063ffffffff16565b8490611484565b925050505b610afb846001015461047964e8d4a5100061047385896000015461104090919063ffffffff16565b9695505050505050565b336000908152600b60205260409020600754610b219083611484565b60075560025460065460408051631c57762b60e31b8152600481019290925260006024830181905290516001600160a01b039093169263e2bbb15892604480820193929182900301818387803b158015610b7a57600080fd5b505af1158015610b8e573d6000803e3d6000fd5b505060025460065460408051631526fe2760e01b81526004810192909252516001600160a01b039092169350631526fe279250602480820192608092909190829003018186803b158015610be157600080fd5b505afa158015610bf5573d6000803e3d6000fd5b505050506040513d6080811015610c0b57600080fd5b5060208101516040820151606090920151600a55600991909155600855805415610c6c576000610c5e826001015461047964e8d4a51000610473600860020154876000015461104090919063ffffffff16565b9050610c6a3382611166565b505b610c75826114de565b60025460065460408051631c57762b60e31b8152600481019290925260248201859052516001600160a01b039092169163e2bbb1589160448082019260009290919082900301818387803b158015610ccc57600080fd5b505af1158015610ce0573d6000803e3d6000fd5b50508254610cf19250905083611484565b808255600a54610d0c9164e8d4a51000916104739190611040565b600182015542600282015560408051838152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a25050565b336000908152600b602052604080822060025460065482548451630441a3e760e41b815260048101929092526024820152925191936001600160a01b039091169263441a3e70926044808301939282900301818387803b158015610db457600080fd5b505af1158015610dc8573d6000803e3d6000fd5b50505050610dda3382600001546112f6565b8054600754610de891611109565b6007556000808255600190910155565b60065481565b610e06611480565b6001600160a01b0316610e17610857565b6001600160a01b031614610e60576040805162461bcd60e51b815260206004820181905260248201526000805160206119ae833981519152604482015290519081900360640190fd5b6001600160a01b038116610ea55760405162461bcd60e51b81526004018080602001828103825260268152602001806119416026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b801580610f95575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610f6757600080fd5b505afa158015610f7b573d6000803e3d6000fd5b505050506040513d6020811015610f9157600080fd5b5051155b610fd05760405162461bcd60e51b81526004018080602001828103825260368152602001806119f86036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611022908490611629565b505050565b606061103684846000856116da565b90505b9392505050565b60008261104f5750600061109c565b8282028284828161105c57fe5b04146110995760405162461bcd60e51b815260040180806020018281038252602181526020018061198d6021913960400191505060405180910390fd5b90505b92915050565b60008082116110f8576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161110157fe5b049392505050565b600082821115611160576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156111b157600080fd5b505afa1580156111c5573d6000803e3d6000fd5b505050506040513d60208110156111db57600080fd5b505190508082111561126f576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561123d57600080fd5b505af1158015611251573d6000803e3d6000fd5b505050506040513d602081101561126757600080fd5b506110229050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156112c557600080fd5b505af11580156112d9573d6000803e3d6000fd5b505050506040513d60208110156112ef57600080fd5b5050505050565b60035460408051632770a7eb60e21b81523060048201526024810184905290516001600160a01b0390921691639dc29fac9160448082019260009290919082900301818387803b15801561134957600080fd5b505af115801561135d573d6000803e3d6000fd5b50506005546040805163852a12e360e01b8152600481018690529051600094506001600160a01b03909216925063852a12e391602480830192602092919082900301818787803b1580156113b057600080fd5b505af11580156113c4573d6000803e3d6000fd5b505050506040513d60208110156113da57600080fd5b505190508015611426576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b600480546040805163a9059cbb60e01b81526001600160a01b0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156112c557600080fd5b3390565b600082820183811015611099576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6004546114f6906001600160a01b0316333084611836565b600354604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561154957600080fd5b505af115801561155d573d6000803e3d6000fd5b50506005546040805163140e25ad60e31b8152600481018690529051600094506001600160a01b03909216925063a0712d6891602480830192602092919082900301818787803b1580156115b057600080fd5b505af11580156115c4573d6000803e3d6000fd5b505050506040513d60208110156115da57600080fd5b505190508015611625576040805162461bcd60e51b815260206004820152601160248201527019195c1bdcda5d0e881b9bdd0819dbdbd9607a1b604482015290519081900360640190fd5b5050565b606061167e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166110279092919063ffffffff16565b8051909150156110225780806020019051602081101561169d57600080fd5b50516110225760405162461bcd60e51b815260040180806020018281038252602a8152602001806119ce602a913960400191505060405180910390fd5b60608247101561171b5760405162461bcd60e51b81526004018080602001828103825260268152602001806119676026913960400191505060405180910390fd5b61172485611896565b611775576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106117b45780518252601f199092019160209182019101611795565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611816576040519150601f19603f3d011682016040523d82523d6000602084013e61181b565b606091505b509150915061182b82828661189c565b979650505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611890908590611629565b50505050565b3b151590565b606083156118ab575081611039565b8251156118bb5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119055781810151838201526020016118ed565b50505050905090810190601f1680156119325780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200f569e39dab77bda1e7903f9e32f88b1b39286606a9b074ae72c4b6e50061f3264736f6c634300060c0033416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000b44a9b6905af7c801311e8f4e76932ee959c663c000000000000000000000000cefc77d00991fddceca5357c1403aaf66b62820a0000000000000000000000001ea64325e194e0520a8e219c4d1227681cdbb2fe000000000000000000000000000000000000000000000000000000000000005b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063715018a6116100a2578063b6b55f2511610071578063b6b55f2514610256578063db2e21bc14610273578063f10684541461027b578063f2fde38b14610283578063fc0c546a146102a957610116565b8063715018a6146101e457806383c5d5d1146101ec5780638da5cb5b146102285780638ee299ca1461023057610116565b80633b22fc03116100e95780633b22fc03146101aa578063575a86b2146101c45780635a2f3d09146101cc5780635bb5ebbe146101d457806369e527da146101dc57610116565b806305019b231461011b5780631959a0021461013f5780632dbf7b98146101835780632e1a7d4d1461018b575b600080fd5b6101236102b1565b604080516001600160a01b039092168252519081900360200190f35b6101656004803603602081101561015557600080fd5b50356001600160a01b03166102c0565b60408051938452602084019290925282820152519081900360600190f35b6101236102e1565b6101a8600480360360208110156101a157600080fd5b50356102f0565b005b6101b261057c565b60408051918252519081900360200190f35b610123610582565b610165610591565b6101a861059d565b61012361067b565b6101a861068a565b6101a86004803603608081101561020257600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135610736565b610123610857565b6101b26004803603602081101561024657600080fd5b50356001600160a01b0316610866565b6101a86004803603602081101561026c57600080fd5b5035610b05565b6101a8610d51565b6101b2610df8565b6101a86004803603602081101561029957600080fd5b50356001600160a01b0316610dfe565b610123610f00565b6001546001600160a01b031681565b600b6020526000908152604090208054600182015460029092015490919083565b6003546001600160a01b031681565b336000908152600b60205260409020805482111561034a576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b60025460065460408051631c57762b60e31b8152600481019290925260006024830181905290516001600160a01b039093169263e2bbb15892604480820193929182900301818387803b1580156103a057600080fd5b505af11580156103b4573d6000803e3d6000fd5b505060025460065460408051631526fe2760e01b81526004810192909252516001600160a01b039092169350631526fe279250602480820192608092909190829003018186803b15801561040757600080fd5b505afa15801561041b573d6000803e3d6000fd5b505050506040513d608081101561043157600080fd5b5060208101516040820151606090920151600a8190556009929092556008556001820154825460009261047f92916104799164e8d4a510009161047391611040565b906110a2565b90611109565b60025460065460408051630441a3e760e41b8152600481019290925260248201879052519293506001600160a01b039091169163441a3e709160448082019260009290919082900301818387803b1580156104d957600080fd5b505af11580156104ed573d6000803e3d6000fd5b505050506104fb3382611166565b81546105079084611109565b808355600a546105229164e8d4a51000916104739190611040565b600183015561053133846112f6565b60075461053e9084611109565b60075560408051848152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a2505050565b60075481565b6002546001600160a01b031681565b600854600954600a5483565b6105a5611480565b6001600160a01b03166105b6610857565b6001600160a01b0316146105ff576040805162461bcd60e51b815260206004820181905260248201526000805160206119ae833981519152604482015290519081900360640190fd5b60025460035461061d916001600160a01b0391821691166000610f0f565b60025460035461063c916001600160a01b039182169116600019610f0f565b60055460045461065a916001600160a01b0391821691166000610f0f565b600554600454610679916001600160a01b039182169116600019610f0f565b565b6005546001600160a01b031681565b610692611480565b6001600160a01b03166106a3610857565b6001600160a01b0316146106ec576040805162461bcd60e51b815260206004820181905260248201526000805160206119ae833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61073e611480565b6001600160a01b031661074f610857565b6001600160a01b031614610798576040805162461bcd60e51b815260206004820181905260248201526000805160206119ae833981519152604482015290519081900360640190fd5b600480546001600160a01b038087166001600160a01b03199283161783556005805486831690841617905560038054878316931692909217909155600683905560025460408051631526fe2760e01b8152938401859052516000939190921691631526fe2791602480820192608092909190829003018186803b15801561081e57600080fd5b505afa158015610832573d6000803e3d6000fd5b505050506040513d608081101561084857600080fd5b50602001516008555050505050565b6000546001600160a01b031690565b6001600160a01b038082166000908152600b60205260408082206002546006548351631526fe2760e01b815260048101919091529251939491938593849384931691631526fe2791602480820192608092909190829003018186803b1580156108ce57600080fd5b505afa1580156108e2573d6000803e3d6000fd5b505050506040513d60808110156108f857600080fd5b506020810151604082015160609092015190945090925090504382108015610921575060075415155b15610ad357600254604080516346dd8f1d60e11b81526004810185905243602482015290516000926001600160a01b031691638dbb1e3a916044808301926020929190829003018186803b15801561097857600080fd5b505afa15801561098c573d6000803e3d6000fd5b505050506040513d60208110156109a257600080fd5b5051600254604080516317caf6f160e01b81529051929350600092610aa4926001600160a01b0316916317caf6f1916004808301926020929190829003018186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d6020811015610a1a57600080fd5b505160025460408051632d09b9c760e01b81529051610473928a92610a9e926001600160a01b0390921691632d09b9c791600480820192602092909190829003018186803b158015610a6b57600080fd5b505afa158015610a7f573d6000803e3d6000fd5b505050506040513d6020811015610a9557600080fd5b50518790611040565b90611040565b9050610ace610ac760075461047364e8d4a510008561104090919063ffffffff16565b8490611484565b925050505b610afb846001015461047964e8d4a5100061047385896000015461104090919063ffffffff16565b9695505050505050565b336000908152600b60205260409020600754610b219083611484565b60075560025460065460408051631c57762b60e31b8152600481019290925260006024830181905290516001600160a01b039093169263e2bbb15892604480820193929182900301818387803b158015610b7a57600080fd5b505af1158015610b8e573d6000803e3d6000fd5b505060025460065460408051631526fe2760e01b81526004810192909252516001600160a01b039092169350631526fe279250602480820192608092909190829003018186803b158015610be157600080fd5b505afa158015610bf5573d6000803e3d6000fd5b505050506040513d6080811015610c0b57600080fd5b5060208101516040820151606090920151600a55600991909155600855805415610c6c576000610c5e826001015461047964e8d4a51000610473600860020154876000015461104090919063ffffffff16565b9050610c6a3382611166565b505b610c75826114de565b60025460065460408051631c57762b60e31b8152600481019290925260248201859052516001600160a01b039092169163e2bbb1589160448082019260009290919082900301818387803b158015610ccc57600080fd5b505af1158015610ce0573d6000803e3d6000fd5b50508254610cf19250905083611484565b808255600a54610d0c9164e8d4a51000916104739190611040565b600182015542600282015560408051838152905133917fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c919081900360200190a25050565b336000908152600b602052604080822060025460065482548451630441a3e760e41b815260048101929092526024820152925191936001600160a01b039091169263441a3e70926044808301939282900301818387803b158015610db457600080fd5b505af1158015610dc8573d6000803e3d6000fd5b50505050610dda3382600001546112f6565b8054600754610de891611109565b6007556000808255600190910155565b60065481565b610e06611480565b6001600160a01b0316610e17610857565b6001600160a01b031614610e60576040805162461bcd60e51b815260206004820181905260248201526000805160206119ae833981519152604482015290519081900360640190fd5b6001600160a01b038116610ea55760405162461bcd60e51b81526004018080602001828103825260268152602001806119416026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b801580610f95575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610f6757600080fd5b505afa158015610f7b573d6000803e3d6000fd5b505050506040513d6020811015610f9157600080fd5b5051155b610fd05760405162461bcd60e51b81526004018080602001828103825260368152602001806119f86036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611022908490611629565b505050565b606061103684846000856116da565b90505b9392505050565b60008261104f5750600061109c565b8282028284828161105c57fe5b04146110995760405162461bcd60e51b815260040180806020018281038252602181526020018061198d6021913960400191505060405180910390fd5b90505b92915050565b60008082116110f8576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161110157fe5b049392505050565b600082821115611160576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156111b157600080fd5b505afa1580156111c5573d6000803e3d6000fd5b505050506040513d60208110156111db57600080fd5b505190508082111561126f576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561123d57600080fd5b505af1158015611251573d6000803e3d6000fd5b505050506040513d602081101561126757600080fd5b506110229050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156112c557600080fd5b505af11580156112d9573d6000803e3d6000fd5b505050506040513d60208110156112ef57600080fd5b5050505050565b60035460408051632770a7eb60e21b81523060048201526024810184905290516001600160a01b0390921691639dc29fac9160448082019260009290919082900301818387803b15801561134957600080fd5b505af115801561135d573d6000803e3d6000fd5b50506005546040805163852a12e360e01b8152600481018690529051600094506001600160a01b03909216925063852a12e391602480830192602092919082900301818787803b1580156113b057600080fd5b505af11580156113c4573d6000803e3d6000fd5b505050506040513d60208110156113da57600080fd5b505190508015611426576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b600480546040805163a9059cbb60e01b81526001600160a01b0387811694820194909452602481018690529051929091169163a9059cbb916044808201926020929091908290030181600087803b1580156112c557600080fd5b3390565b600082820183811015611099576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6004546114f6906001600160a01b0316333084611836565b600354604080516340c10f1960e01b81523060048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b15801561154957600080fd5b505af115801561155d573d6000803e3d6000fd5b50506005546040805163140e25ad60e31b8152600481018690529051600094506001600160a01b03909216925063a0712d6891602480830192602092919082900301818787803b1580156115b057600080fd5b505af11580156115c4573d6000803e3d6000fd5b505050506040513d60208110156115da57600080fd5b505190508015611625576040805162461bcd60e51b815260206004820152601160248201527019195c1bdcda5d0e881b9bdd0819dbdbd9607a1b604482015290519081900360640190fd5b5050565b606061167e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166110279092919063ffffffff16565b8051909150156110225780806020019051602081101561169d57600080fd5b50516110225760405162461bcd60e51b815260040180806020018281038252602a8152602001806119ce602a913960400191505060405180910390fd5b60608247101561171b5760405162461bcd60e51b81526004018080602001828103825260268152602001806119676026913960400191505060405180910390fd5b61172485611896565b611775576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106117b45780518252601f199092019160209182019101611795565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611816576040519150601f19603f3d011682016040523d82523d6000602084013e61181b565b606091505b509150915061182b82828661189c565b979650505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611890908590611629565b50505050565b3b151590565b606083156118ab575081611039565b8251156118bb5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119055781810151838201526020016118ed565b50505050905090810190601f1680156119325780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200f569e39dab77bda1e7903f9e32f88b1b39286606a9b074ae72c4b6e50061f3264736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b44a9b6905af7c801311e8f4e76932ee959c663c000000000000000000000000cefc77d00991fddceca5357c1403aaf66b62820a0000000000000000000000001ea64325e194e0520a8e219c4d1227681cdbb2fe000000000000000000000000000000000000000000000000000000000000005b
-----Decoded View---------------
Arg [0] : _token (address): 0xB44a9B6905aF7c801311e8F4E76932ee959c663C
Arg [1] : _certificate (address): 0xcEFC77d00991FdDCeCa5357C1403aAf66B62820a
Arg [2] : _cToken (address): 0x1eA64325E194E0520a8E219c4d1227681CdBb2fe
Arg [3] : _pid (uint256): 91
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000b44a9b6905af7c801311e8f4e76932ee959c663c
Arg [1] : 000000000000000000000000cefc77d00991fddceca5357c1403aaf66b62820a
Arg [2] : 0000000000000000000000001ea64325e194e0520a8e219c4d1227681cdbb2fe
Arg [3] : 000000000000000000000000000000000000000000000000000000000000005b
Deployed Bytecode Sourcemap
26397:5792:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26510:68;;;:::i;:::-;;;;-1:-1:-1;;;;;26510:68:0;;;;;;;;;;;;;;27099:45;;;;;;;;;;;;;;;;-1:-1:-1;27099:45:0;-1:-1:-1;;;;;27099:45:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;26666:26;;;:::i;30735:809::-;;;;;;;;;;;;;;;;-1:-1:-1;30735:809:0;;:::i;:::-;;26787:27;;;:::i;:::-;;;;;;;;;;;;;;;;26587:70;;;:::i;27066:24::-;;;:::i;27843:267::-;;;:::i;26730:21::-;;;:::i;2781:148::-;;;:::i;28118:341::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28118:341:0;;;;;;;;;;;;;;;;;;;;;;:::i;2130:87::-;;;:::i;29134:746::-;;;;;;;;;;;;;;;;-1:-1:-1;29134:746:0;-1:-1:-1;;;;;29134:746:0;;:::i;29890:835::-;;;;;;;;;;;;;;;;-1:-1:-1;29890:835:0;;:::i;31554:314::-;;;:::i;26760:18::-;;;:::i;3084:244::-;;;;;;;;;;;;;;;;-1:-1:-1;3084:244:0;-1:-1:-1;;;;;3084:244:0;;:::i;26701:20::-;;;:::i;26510:68::-;;;-1:-1:-1;;;;;26510:68:0;;:::o;27099:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26666:26::-;;;-1:-1:-1;;;;;26666:26:0;;:::o;30735:809::-;30821:10;30788:21;30812:20;;;:8;:20;;;;;30851:11;;:22;-1:-1:-1;30851:22:0;30843:53;;;;;-1:-1:-1;;;30843:53:0;;;;;;;;;;;;-1:-1:-1;;;30843:53:0;;;;;;;;;;;;;;;30919:10;;30939:3;;30907:39;;;-1:-1:-1;;;30907:39:0;;;;;;;;;30919:10;30907:39;;;;;;;;-1:-1:-1;;;;;30919:10:0;;;;30907:31;;:39;;;;;30919:10;30907:39;;;;;;30919:10;;30907:39;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31044:10:0;;31065:3;;31032:37;;;-1:-1:-1;;;31032:37:0;;;;;;;;;;-1:-1:-1;;;;;31044:10:0;;;;-1:-1:-1;31032:32:0;;-1:-1:-1;31032:37:0;;;;;;;;;;;;;;;31044:10;31032:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31032:37:0;;;;;;;;;;;;;31005:23;30957:112;;;30979:24;30957:112;;;;30959:8;30957:112;30979:24;31153:15;;;31098:11;;30959:19;;31098:71;;31153:15;31098:50;;31143:4;;31098:40;;:15;:40::i;:::-;:44;;:50::i;:::-;:54;;:71::i;:::-;31192:10;;31213:3;;31180:46;;;-1:-1:-1;;;31180:46:0;;;;;;;;;;;;;;;;31080:89;;-1:-1:-1;;;;;;31192:10:0;;;;31180:32;;:46;;;;;31192:10;;31180:46;;;;;;;;31192:10;;31180:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31237:36;31253:10;31265:7;31237:15;:36::i;:::-;31298:11;;:24;;31314:7;31298:15;:24::i;:::-;31284:38;;;31367:23;;31351:50;;31396:4;;31351:40;;31284:38;31351:15;:40::i;:50::-;31333:15;;;:68;31412:36;31428:10;31440:7;31412:15;:36::i;:::-;31470:8;;:21;;31483:7;31470:12;:21::i;:::-;31459:8;:32;31507:29;;;;;;;;31516:10;;31507:29;;;;;;;;;;30735:809;;;:::o;26787:27::-;;;;:::o;26587:70::-;;;-1:-1:-1;;;;;26587:70:0;;:::o;27066:24::-;;;;;;;;:::o;27843:267::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;27923:10:::1;::::0;27898:11:::1;::::0;27891:46:::1;::::0;-1:-1:-1;;;;;27898:11:0;;::::1;::::0;27923:10:::1;;27891:31;:46::i;:::-;27980:10;::::0;27955:11:::1;::::0;27948:53:::1;::::0;-1:-1:-1;;;;;27955:11:0;;::::1;::::0;27980:10:::1;-1:-1:-1::0;;27948:31:0::1;:53::i;:::-;28038:6;::::0;28019:5:::1;::::0;28012:36:::1;::::0;-1:-1:-1;;;;;28019:5:0;;::::1;::::0;28038:6:::1;;28012:25;:36::i;:::-;28085:6;::::0;28066:5:::1;::::0;28059:43:::1;::::0;-1:-1:-1;;;;;28066:5:0;;::::1;::::0;28085:6:::1;-1:-1:-1::0;;28059:25:0::1;:43::i;:::-;27843:267::o:0;26730:21::-;;;-1:-1:-1;;;;;26730:21:0;;:::o;2781:148::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;2888:1:::1;2872:6:::0;;2851:40:::1;::::0;-1:-1:-1;;;;;2872:6:0;;::::1;::::0;2851:40:::1;::::0;2888:1;;2851:40:::1;2919:1;2902:19:::0;;-1:-1:-1;;;;;;2902:19:0::1;::::0;;2781:148::o;28118:341::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;28232:5:::1;:14:::0;;-1:-1:-1;;;;;28232:14:0;;::::1;-1:-1:-1::0;;;;;;28232:14:0;;::::1;;::::0;;28257:6:::1;:16:::0;;;;::::1;::::0;;::::1;;::::0;;28284:11:::1;:26:::0;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;28321:3:::1;:10:::0;;;-1:-1:-1;28381:10:0;28369:38:::1;::::0;;-1:-1:-1;;;28369:38:0;;;;::::1;::::0;;;;28232:5:::1;::::0;28381:10;;;::::1;::::0;28369:32:::1;::::0;:38;;;;;::::1;::::0;;;;;;;;;28381:10;28369:38;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;28369:38:0::1;;::::0;28418:8:::1;:33:::0;-1:-1:-1;;;;;28118:341:0:o;2130:87::-;2176:7;2203:6;-1:-1:-1;;;;;2203:6:0;2130:87;:::o;29134:746::-;-1:-1:-1;;;;;29234:15:0;;;29190:7;29234:15;;;:8;:15;;;;;;29346:10;;29367:3;;29334:37;;-1:-1:-1;;;29334:37:0;;;;;;;;;;;29190:7;;29234:15;;29190:7;;;;;;29346:10;;29334:32;;:37;;;;;;;;;;;;;;;29346:10;29334:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29334:37:0;;;;;;;;;;;;;;;-1:-1:-1;29334:37:0;;-1:-1:-1;29334:37:0;-1:-1:-1;29386:12:0;:31;-1:-1:-1;29386:48:0;;;;-1:-1:-1;29421:8:0;;:13;;29386:48;29382:410;;;29484:10;;29472:69;;;-1:-1:-1;;;29472:69:0;;;;;;;;29528:12;29472:69;;;;;;29451:18;;-1:-1:-1;;;;;29484:10:0;;29472:37;;:69;;;;;;;;;;;;;;29484:10;29472:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29472:69:0;29663:10;;29651:41;;;-1:-1:-1;;;29651:41:0;;;;29472:69;;-1:-1:-1;29556:17:0;;29576:117;;-1:-1:-1;;;;;29663:10:0;;29651:39;;:41;;;;;29472:69;;29651:41;;;;;;;29663:10;29651:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29651:41:0;29603:10;;29591:37;;;-1:-1:-1;;;29591:37:0;;;;29576:70;;29634:11;;29576:53;;-1:-1:-1;;;;;29603:10:0;;;;29591:35;;:37;;;;;29651:41;;29591:37;;;;;;;;29603:10;29591:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29591:37:0;29576:10;;:14;:53::i;:::-;:57;;:70::i;:117::-;29556:137;;29726:54;29746:33;29770:8;;29746:19;29760:4;29746:9;:13;;:19;;;;:::i;:33::-;29726:15;;:19;:54::i;:::-;29708:72;;29382:410;;;29809:63;29856:4;:15;;;29809:42;29846:4;29809:32;29825:15;29809:4;:11;;;:15;;:32;;;;:::i;:63::-;29802:70;29134:746;-1:-1:-1;;;;;;29134:746:0:o;29890:835::-;29975:10;29942:21;29966:20;;;:8;:20;;;;;30008:8;;:21;;30021:7;30008:12;:21::i;:::-;29997:8;:32;30052:10;;30072:3;;30040:39;;;-1:-1:-1;;;30040:39:0;;;;;;;;;30052:10;30040:39;;;;;;;;-1:-1:-1;;;;;30052:10:0;;;;30040:31;;:39;;;;;30052:10;30040:39;;;;;;30052:10;;30040:39;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30177:10:0;;30198:3;;30165:37;;;-1:-1:-1;;;30165:37:0;;;;;;;;;;-1:-1:-1;;;;;30177:10:0;;;;-1:-1:-1;30165:32:0;;-1:-1:-1;30165:37:0;;;;;;;;;;;;;;;30177:10;30165:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30165:37:0;;;;;;;;;;;;;30138:23;30090:112;30112:24;30090:112;;;;30092:8;30090:112;30217:11;;:15;30213:188;;30249:15;30267:71;30322:4;:15;;;30267:50;30312:4;30267:40;30283:8;:23;;;30267:4;:11;;;:15;;:40;;;;:::i;:71::-;30249:89;;30353:36;30369:10;30381:7;30353:15;:36::i;:::-;30213:188;;30411:24;30427:7;30411:15;:24::i;:::-;30458:10;;30478:3;;30446:45;;;-1:-1:-1;;;30446:45:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30458:10:0;;;;30446:31;;:45;;;;;30458:10;;30446:45;;;;;;;;30458:10;;30446:45;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30516:11:0;;:24;;-1:-1:-1;30516:11:0;-1:-1:-1;30532:7:0;30516:15;:24::i;:::-;30502:38;;;30585:23;;30569:50;;30614:4;;30569:40;;30502:38;30569:15;:40::i;:50::-;30551:15;;;:68;30648:15;30630;;;:33;30689:28;;;;;;;;30697:10;;30689:28;;;;;;;;;;29890:835;;:::o;31554:314::-;31634:10;31601:21;31625:20;;;:8;:20;;;;;;31668:10;;31689:3;;31694:11;;31656:50;;-1:-1:-1;;;31656:50:0;;;;;;;;;;;;;;;31625:20;;-1:-1:-1;;;;;31668:10:0;;;;31656:32;;:50;;;;;31601:21;31656:50;;;;;31601:21;31668:10;31656:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31717:40;31733:10;31745:4;:11;;;31717:15;:40::i;:::-;31792:11;;31779:8;;:25;;:12;:25::i;:::-;31768:8;:36;31829:1;31815:15;;;31841;;;;:19;31554:314::o;26760:18::-;;;;:::o;3084:244::-;2361:12;:10;:12::i;:::-;-1:-1:-1;;;;;2350:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;2350:23:0;;2342:68;;;;;-1:-1:-1;;;2342:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2342:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3173:22:0;::::1;3165:73;;;;-1:-1:-1::0;;;3165:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3275:6;::::0;;3254:38:::1;::::0;-1:-1:-1;;;;;3254:38:0;;::::1;::::0;3275:6;::::1;::::0;3254:38:::1;::::0;::::1;3303:6;:17:::0;;-1:-1:-1;;;;;;3303:17:0::1;-1:-1:-1::0;;;;;3303:17:0;;;::::1;::::0;;;::::1;::::0;;3084:244::o;26701:20::-;;;-1:-1:-1;;;;;26701:20:0;;:::o;22960:622::-;23330:10;;;23329:62;;-1:-1:-1;23346:39:0;;;-1:-1:-1;;;23346:39:0;;23370:4;23346:39;;;;-1:-1:-1;;;;;23346:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23346:39:0;:44;23329:62;23321:152;;;;-1:-1:-1;;;23321:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23511:62;;;-1:-1:-1;;;;;23511:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23511:62:0;-1:-1:-1;;;23511:62:0;;;23484:90;;23504:5;;23484:19;:90::i;:::-;22960:622;;;:::o;17296:195::-;17399:12;17431:52;17453:6;17461:4;17467:1;17470:12;17431:21;:52::i;:::-;17424:59;;17296:195;;;;;;:::o;9818:220::-;9876:7;9900:6;9896:20;;-1:-1:-1;9915:1:0;9908:8;;9896:20;9939:5;;;9943:1;9939;:5;:1;9963:5;;;;;:10;9955:56;;;;-1:-1:-1;;;9955:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10029:1;-1:-1:-1;9818:220:0;;;;;:::o;10516:153::-;10574:7;10606:1;10602;:5;10594:44;;;;;-1:-1:-1;;;10594:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10660:1;10656;:5;;;;;;;10516:153;-1:-1:-1;;;10516:153:0:o;9401:158::-;9459:7;9492:1;9487;:6;;9479:49;;;;;-1:-1:-1;;;9479:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9546:5:0;;;9401:158::o;31876:308::-;31975:8;;31968:41;;;-1:-1:-1;;;31968:41:0;;32003:4;31968:41;;;;;;31951:14;;-1:-1:-1;;;;;31975:8:0;;31968:26;;:41;;;;;;;;;;;;;;31975:8;31968:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31968:41:0;;-1:-1:-1;32024:16:0;;;32020:157;;;32064:8;;32057:38;;;-1:-1:-1;;;32057:38:0;;-1:-1:-1;;;;;32057:38:0;;;;;;;;;;;;;;;32064:8;;;;;32057:25;;:38;;;;;;;;;;;;;;32064:8;;32057:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32020:157:0;;-1:-1:-1;32020:157:0;;32133:8;;32126:39;;;-1:-1:-1;;;32126:39:0;;-1:-1:-1;;;;;32126:39:0;;;;;;;;;;;;;;;32133:8;;;;;32126:25;;:39;;;;;;;;;;;;;;32133:8;;32126:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31876:308:0;;;:::o;28798:324::-;28889:11;;28876:54;;;-1:-1:-1;;;28876:54:0;;28915:4;28876:54;;;;;;;;;;;;-1:-1:-1;;;;;28889:11:0;;;;28876:30;;:54;;;;;28889:11;;28876:54;;;;;;;;28889:11;;28876:54;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28966:6:0;;28958:41;;;-1:-1:-1;;;28958:41:0;;;;;;;;;;28941:14;;-1:-1:-1;;;;;;28966:6:0;;;;-1:-1:-1;28958:32:0;;:41;;;;;;;;;;;;;;28941:14;28966:6;28958:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28958:41:0;;-1:-1:-1;29018:11:0;;29010:42;;;;;-1:-1:-1;;;29010:42:0;;;;;;;;;;;;-1:-1:-1;;;29010:42:0;;;;;;;;;;;;;;;29070:5;;;29063:41;;;-1:-1:-1;;;29063:41:0;;-1:-1:-1;;;;;29063:41:0;;;;;;;;;;;;;;;;;;29070:5;;;;;29063:22;;:41;;;;;;;;;;;;;;;29070:5;;29063:41;;;;;;;;;;667:106;755:10;667:106;:::o;8939:179::-;8997:7;9029:5;;;9053:6;;;;9045:46;;;;;-1:-1:-1;;;9045:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;28469:317;28536:5;;28529:75;;-1:-1:-1;;;;;28536:5:0;28568:10;28589:4;28596:7;28529:30;:75::i;:::-;28628:11;;28615:54;;;-1:-1:-1;;;28615:54:0;;28654:4;28615:54;;;;;;;;;;;;-1:-1:-1;;;;;28628:11:0;;;;28615:30;;:54;;;;;28628:11;;28615:54;;;;;;;;28628:11;;28615:54;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28705:6:0;;28697:29;;;-1:-1:-1;;;28697:29:0;;;;;;;;;;28680:14;;-1:-1:-1;;;;;;28705:6:0;;;;-1:-1:-1;28697:20:0;;:29;;;;;;;;;;;;;;28680:14;28705:6;28697:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28697:29:0;;-1:-1:-1;28745:11:0;;28737:41;;;;;-1:-1:-1;;;28737:41:0;;;;;;;;;;;;-1:-1:-1;;;28737:41:0;;;;;;;;;;;;;;;28469:317;;:::o;24606:761::-;25030:23;25056:69;25084:4;25056:69;;;;;;;;;;;;;;;;;25064:5;-1:-1:-1;;;;;25056:27:0;;;:69;;;;;:::i;:::-;25140:17;;25030:95;;-1:-1:-1;25140:21:0;25136:224;;25282:10;25271:30;;;;;;;;;;;;;;;-1:-1:-1;25271:30:0;25263:85;;;;-1:-1:-1;;;25263:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18348:530;18475:12;18533:5;18508:21;:30;;18500:81;;;;-1:-1:-1;;;18500:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18600:18;18611:6;18600:10;:18::i;:::-;18592:60;;;;;-1:-1:-1;;;18592:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18726:12;18740:23;18767:6;-1:-1:-1;;;;;18767:11:0;18787:5;18795:4;18767:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18767:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18725:75;;;;18818:52;18836:7;18845:10;18857:12;18818:17;:52::i;:::-;18811:59;18348:530;-1:-1:-1;;;;;;;18348:530:0:o;22486:205::-;22614:68;;;-1:-1:-1;;;;;22614:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22614:68:0;-1:-1:-1;;;22614:68:0;;;22587:96;;22607:5;;22587:19;:96::i;:::-;22486:205;;;;:::o;14378:422::-;14745:20;14784:8;;;14378:422::o;20888:742::-;21003:12;21032:7;21028:595;;;-1:-1:-1;21063:10:0;21056:17;;21028:595;21177:17;;:21;21173:439;;21440:10;21434:17;21501:15;21488:10;21484:2;21480:19;21473:44;21388:148;21583:12;21576:20;;-1:-1:-1;;;21576:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://0f569e39dab77bda1e7903f9e32f88b1b39286606a9b074ae72c4b6e50061f32
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in MOVR
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.