Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60c06040 | 19206341 | 208 days ago | IN | 0 ETH | 0.0314593 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ConnectV2InstaPoolV5
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Instapool. * @dev Inbuilt Flash Loan in DSA */ import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { AccountInterface } from "./interfaces.sol"; import { Stores } from "../../common/stores.sol"; import { Variables } from "./variables.sol"; import { Events } from "./events.sol"; contract LiquidityResolver is Stores, Variables, Events { using SafeERC20 for IERC20; /** * @dev Borrow Flashloan and Cast spells. * @notice Borrow Flashloan and Cast spells. * @param token Token Address. * @param amt Token Amount. * @param route Flashloan source route. * @param data targets & data for cast. * @param extraData to be kept bytes(0) in most cases. Can be useful to decide data for some particular routes */ function flashBorrowAndCast( address token, uint amt, uint route, bytes memory data, bytes memory extraData ) external payable returns (string memory _eventName, bytes memory _eventParam) { AccountInterface(address(this)).enable(address(instaPool)); (string[] memory _targets, bytes[] memory callDatas) = abi.decode(data, (string[], bytes[])); bytes memory callData_ = abi.encodeWithSignature("cast(string[],bytes[],address)", _targets, callDatas, address(instaPool)); address[] memory tokens_ = new address[](1); tokens_[0] = token; uint[] memory amts_ = new uint[](1); amts_[0] = amt; instaPool.flashLoan(tokens_, amts_, route, callData_, extraData); AccountInterface(address(this)).disable(address(instaPool)); _eventName = "LogFlashBorrow(address,uint256)"; _eventParam = abi.encode(token, amt); } /** * @dev Return token to InstaPool. * @notice Return token to InstaPool. * @param token Token Address. * @param amt Token Amount. * @param getId Get token amount at this ID from `InstaMemory` Contract. * @param setId Set token amount at this ID in `InstaMemory` Contract. */ function flashPayback( address token, uint amt, uint getId, uint setId ) external payable returns (string memory _eventName, bytes memory _eventParam) { uint _amt = getUint(getId, amt); IERC20 tokenContract = IERC20(token); tokenContract.safeTransfer(address(instaPool), _amt); setUint(setId, _amt); _eventName = "LogFlashPayback(address,uint256)"; _eventParam = abi.encode(token, amt); } /** * @dev Borrow multi-tokens Flashloan and Cast spells. * @notice Borrow multi-tokens Flashloan and Cast spells. * @param tokens_ Array of Token Addresses. * @param amts_ Array of Token Amounts. * @param route Flashloan source route. * @param data targets & data for cast. * @param extraData to be kept bytes(0) in most cases. Can be useful to decide data for some particular routes */ function flashMultiBorrowAndCast( address[] memory tokens_, uint[] memory amts_, uint route, bytes memory data, bytes memory extraData ) external payable returns (string memory _eventName, bytes memory _eventParam) { AccountInterface(address(this)).enable(address(instaPool)); (string[] memory _targets, bytes[] memory callDatas) = abi.decode(data, (string[], bytes[])); bytes memory callData_ = abi.encodeWithSignature("cast(string[],bytes[],address)", _targets, callDatas, address(instaPool)); instaPool.flashLoan(tokens_, amts_, route, callData_, extraData); AccountInterface(address(this)).disable(address(instaPool)); _eventName = "LogFlashMultiBorrow(address[],uint256[])"; _eventParam = abi.encode(tokens_, amts_); } /** * @dev Return multi-tokens to InstaPool. * @notice Return multi-tokens to InstaPool. * @param tokens_ Array of Token Addresses. * @param amts_ Array of Token Amounts. * @param getIds Array of getId token amounts. * @param setIds Array of setId token amounts. */ function flashMultiPayback( address[] memory tokens_, uint[] memory amts_, uint[] memory getIds, uint[] memory setIds ) external payable returns (string memory _eventName, bytes memory _eventParam) { for (uint i = 0; i < tokens_.length; i++) { amts_[i] = getUint(getIds[i], amts_[i]); IERC20(tokens_[i]).safeTransfer(address(instaPool), amts_[i]); setUint(setIds[i], amts_[i]); } _eventName = "LogFlashMultiPayback(address[],uint256[])"; _eventParam = abi.encode(tokens_, amts_); } } contract ConnectV2InstaPoolV5 is LiquidityResolver { string public name = "Instapool-v5"; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.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; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ 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)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ 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"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @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"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @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). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // 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 cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.2; interface TokenInterface { function approve(address, uint256) external; function transfer(address, uint) external; function transferFrom(address, address, uint) external; function deposit() external payable; function withdraw(uint) external; function balanceOf(address) external view returns (uint); function decimals() external view returns (uint); function totalSupply() external view returns (uint); function allowance(address owner, address spender) external view returns (uint256); } interface MemoryInterface { function getUint(uint id) external returns (uint num); function setUint(uint id, uint val) external; } interface InstaMapping { function cTokenMapping(address) external view returns (address); function gemJoinMapping(bytes32) external view returns (address); } interface AccountInterface { function enable(address) external; function disable(address) external; function isAuth(address) external view returns (bool); function cast( string[] calldata _targetNames, bytes[] calldata _datas, address _origin ) external payable returns (bytes32[] memory responses); } interface ListInterface { function accountID(address) external returns (uint64); } interface InstaConnectors { function isConnectors(string[] calldata) external returns (bool, address[] memory); }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import { MemoryInterface, InstaMapping, ListInterface, InstaConnectors } from "./interfaces.sol"; abstract contract Stores { /** * @dev Return ethereum address */ address constant internal ethAddr = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; /** * @dev Return Wrapped ETH address */ address constant internal wethAddr = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; /** * @dev Return memory variable address */ MemoryInterface constant internal instaMemory = MemoryInterface(0x8a5419CfC711B2343c17a6ABf4B2bAFaBb06957F); /** * @dev Return InstaDApp Mapping Addresses */ InstaMapping constant internal instaMapping = InstaMapping(0xe81F70Cc7C0D46e12d70efc60607F16bbD617E88); /** * @dev Return InstaList Address */ ListInterface internal constant instaList = ListInterface(0x4c8a1BEb8a87765788946D6B19C6C6355194AbEb); /** * @dev Return connectors registry address */ InstaConnectors internal constant instaConnectors = InstaConnectors(0x97b0B3A8bDeFE8cB9563a3c610019Ad10DB8aD11); /** * @dev Get Uint value from InstaMemory Contract. */ function getUint(uint getId, uint val) internal returns (uint returnVal) { returnVal = getId == 0 ? val : instaMemory.getUint(getId); } /** * @dev Set Uint value in InstaMemory Contract. */ function setUint(uint setId, uint val) virtual internal { if (setId != 0) instaMemory.setUint(setId, val); } }
//SPDX-License-Identifier: MIT pragma solidity >=0.8.0; contract Events { event LogFlashBorrow(address token, uint256 tokenAmt); event LogFlashPayback(address token, uint256 tokenAmt); event LogFlashMultiBorrow(address[] token, uint256[] tokenAmts); event LogFlashMultiPayback(address[] token, uint256[] tokenAmts); }
//SPDX-License-Identifier: MIT pragma solidity >=0.8.0; interface InstaFlashV5Interface { function flashLoan(address[] memory tokens, uint256[] memory amts, uint route, bytes memory data, bytes memory extraData) external; } interface AccountInterface { function enable(address) external; function disable(address) external; }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import { InstaFlashV5Interface } from "./interfaces.sol"; contract Variables { /** * @dev Instapool contract proxy */ InstaFlashV5Interface public constant instaPool = InstaFlashV5Interface(0xAB50Dd1C57938218627Df2311ef65b4e2e84aF48); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmt","type":"uint256"}],"name":"LogFlashBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"token","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"tokenAmts","type":"uint256[]"}],"name":"LogFlashMultiBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"token","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"tokenAmts","type":"uint256[]"}],"name":"LogFlashMultiPayback","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmt","type":"uint256"}],"name":"LogFlashPayback","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"route","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"flashBorrowAndCast","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens_","type":"address[]"},{"internalType":"uint256[]","name":"amts_","type":"uint256[]"},{"internalType":"uint256","name":"route","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"flashMultiBorrowAndCast","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens_","type":"address[]"},{"internalType":"uint256[]","name":"amts_","type":"uint256[]"},{"internalType":"uint256[]","name":"getIds","type":"uint256[]"},{"internalType":"uint256[]","name":"setIds","type":"uint256[]"}],"name":"flashMultiPayback","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amt","type":"uint256"},{"internalType":"uint256","name":"getId","type":"uint256"},{"internalType":"uint256","name":"setId","type":"uint256"}],"name":"flashPayback","outputs":[{"internalType":"string","name":"_eventName","type":"string"},{"internalType":"bytes","name":"_eventParam","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"instaPool","outputs":[{"internalType":"contract InstaFlashV5Interface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c0604052600c60809081526b496e737461706f6f6c2d763560a01b60a0526000906200002d9082620000e7565b503480156200003b57600080fd5b50620001b3565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200006d57607f821691505b6020821081036200008e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620000e257600081815260208120601f850160051c81016020861015620000bd5750805b601f850160051c820191505b81811015620000de57828155600101620000c9565b5050505b505050565b81516001600160401b0381111562000103576200010362000042565b6200011b8162000114845462000058565b8462000094565b602080601f8311600181146200015357600084156200013a5750858301515b600019600386901b1c1916600185901b178555620000de565b600085815260208120601f198616915b82811015620001845788860151825594840194600190910190840162000163565b5085821015620001a35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61154880620001c36000396000f3fe6080604052600436106100555760003560e01c806306fdde031461005a578063213980e81461008557806340aa3b2c146100a65780634cb38df5146100b9578063ab4cf226146100cc578063f13fa6be1461010c575b600080fd5b34801561006657600080fd5b5061006f61011f565b60405161007c9190610c8c565b60405180910390f35b610098610093366004610cbb565b6101ad565b60405161007c929190610cf4565b6100986100b4366004610ed3565b610258565b6100986100c7366004610f8a565b610453565b3480156100d857600080fd5b506100f473ab50dd1c57938218627df2311ef65b4e2e84af4881565b6040516001600160a01b03909116815260200161007c565b61009861011a366004610fd6565b610714565b6000805461012c90611083565b80601f016020809104026020016040519081016040528092919081815260200182805461015890611083565b80156101a55780601f1061017a576101008083540402835291602001916101a5565b820191906000526020600020905b81548152906001019060200180831161018857829003601f168201915b505050505081565b60608060006101bc8587610878565b9050866101e76001600160a01b03821673ab50dd1c57938218627df2311ef65b4e2e84af4884610904565b6101f1858361095b565b505060408051808201825260208082527f4c6f67466c6173685061796261636b28616464726573732c75696e74323536298183015282516001600160a01b039990991690890152878201969096528051808803820181526060909701905250929492505050565b604051630b7f436d60e31b815273ab50dd1c57938218627df2311ef65b4e2e84af48600482015260609081903090635bfa1b6890602401600060405180830381600087803b1580156102a957600080fd5b505af11580156102bd573d6000803e3d6000fd5b50505050600080858060200190518101906102d89190611182565b915091506000828273ab50dd1c57938218627df2311ef65b4e2e84af486040516024016103079392919061126f565b60408051601f198184030181529181526020820180516001600160e01b03166324c1324d60e21b1790525163095627e960e01b815290915073ab50dd1c57938218627df2311ef65b4e2e84af489063095627e990610371908d908d908d9087908d906004016113a9565b600060405180830381600087803b15801561038b57600080fd5b505af115801561039f573d6000803e3d6000fd5b505060405163e6c09edf60e01b815273ab50dd1c57938218627df2311ef65b4e2e84af48600482015230925063e6c09edf9150602401600060405180830381600087803b1580156103ef57600080fd5b505af1158015610403573d6000803e3d6000fd5b505050506040518060600160405280602881526020016114eb6028913994508989604051602001610435929190611408565b60405160208183030381529060405293505050509550959350505050565b604051630b7f436d60e31b815273ab50dd1c57938218627df2311ef65b4e2e84af48600482015260609081903090635bfa1b6890602401600060405180830381600087803b1580156104a457600080fd5b505af11580156104b8573d6000803e3d6000fd5b50505050600080858060200190518101906104d39190611182565b915091506000828273ab50dd1c57938218627df2311ef65b4e2e84af486040516024016105029392919061126f565b60408051601f19818403018152918152602080830180516001600160e01b03166324c1324d60e21b17905281516001808252818401909352929350600092919082810190803683370190505090508a816000815181106105645761056461142d565b6001600160a01b0392909216602092830291909101909101526040805160018082528183019092526000918160200160208202803683370190505090508a816000815181106105b5576105b561142d565b602090810291909101015260405163095627e960e01b815273ab50dd1c57938218627df2311ef65b4e2e84af489063095627e9906105ff90859085908f9089908f906004016113a9565b600060405180830381600087803b15801561061957600080fd5b505af115801561062d573d6000803e3d6000fd5b505060405163e6c09edf60e01b815273ab50dd1c57938218627df2311ef65b4e2e84af48600482015230925063e6c09edf9150602401600060405180830381600087803b15801561067d57600080fd5b505af1158015610691573d6000803e3d6000fd5b505050506040518060400160405280601f81526020017f4c6f67466c617368426f72726f7728616464726573732c75696e74323536290081525096508b8b6040516020016106f49291906001600160a01b03929092168252602082015260400190565b604051602081830303815290604052955050505050509550959350505050565b60608060005b865181101561082f5761075f8582815181106107385761073861142d565b60200260200101518783815181106107525761075261142d565b6020026020010151610878565b8682815181106107715761077161142d565b6020026020010181815250506107e173ab50dd1c57938218627df2311ef65b4e2e84af488783815181106107a7576107a761142d565b60200260200101518984815181106107c1576107c161142d565b60200260200101516001600160a01b03166109049092919063ffffffff16565b61081d8482815181106107f6576107f661142d565b60200260200101518783815181106108105761081061142d565b602002602001015161095b565b8061082781611443565b91505061071a565b506040518060600160405280602981526020016114c2602991399150858560405160200161085e929190611408565b604051602081830303815290604052905094509492505050565b600082156108fb576040516354e3875560e11b815260048101849052738a5419cfc711b2343c17a6abf4b2bafabb06957f9063a9c70eaa906024016020604051808303816000875af11580156108d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f6919061146a565b6108fd565b815b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109569084906109d2565b505050565b81156109ce57604051631878f25160e21b81526004810183905260248101829052738a5419cfc711b2343c17a6abf4b2bafabb06957f906361e3c94490604401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050505b5050565b6000610a27826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610aac9092919063ffffffff16565b9050805160001480610a48575080806020019051810190610a489190611483565b6109565760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b6060610abb8484600085610ac3565b949350505050565b606082471015610b245760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610aa3565b600080866001600160a01b03168587604051610b4091906114a5565b60006040518083038185875af1925050503d8060008114610b7d576040519150601f19603f3d011682016040523d82523d6000602084013e610b82565b606091505b5091509150610b9387838387610b9e565b979650505050505050565b60608315610c0d578251600003610c06576001600160a01b0385163b610c065760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610aa3565b5081610abb565b610abb8383815115610c225781518083602001fd5b8060405162461bcd60e51b8152600401610aa39190610c8c565b60005b83811015610c57578181015183820152602001610c3f565b50506000910152565b60008151808452610c78816020860160208601610c3c565b601f01601f19169290920160200192915050565b6020815260006108fd6020830184610c60565b80356001600160a01b0381168114610cb657600080fd5b919050565b60008060008060808587031215610cd157600080fd5b610cda85610c9f565b966020860135965060408601359560600135945092505050565b604081526000610d076040830185610c60565b8281036020840152610d198185610c60565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610d6157610d61610d22565b604052919050565b600067ffffffffffffffff821115610d8357610d83610d22565b5060051b60200190565b600082601f830112610d9e57600080fd5b81356020610db3610dae83610d69565b610d38565b82815260059290921b84018101918181019086841115610dd257600080fd5b8286015b84811015610df457610de781610c9f565b8352918301918301610dd6565b509695505050505050565b600082601f830112610e1057600080fd5b81356020610e20610dae83610d69565b82815260059290921b84018101918181019086841115610e3f57600080fd5b8286015b84811015610df45780358352918301918301610e43565b600067ffffffffffffffff821115610e7457610e74610d22565b50601f01601f191660200190565b600082601f830112610e9357600080fd5b8135610ea1610dae82610e5a565b818152846020838601011115610eb657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215610eeb57600080fd5b853567ffffffffffffffff80821115610f0357600080fd5b610f0f89838a01610d8d565b96506020880135915080821115610f2557600080fd5b610f3189838a01610dff565b9550604088013594506060880135915080821115610f4e57600080fd5b610f5a89838a01610e82565b93506080880135915080821115610f7057600080fd5b50610f7d88828901610e82565b9150509295509295909350565b600080600080600060a08688031215610fa257600080fd5b610fab86610c9f565b94506020860135935060408601359250606086013567ffffffffffffffff80821115610f4e57600080fd5b60008060008060808587031215610fec57600080fd5b843567ffffffffffffffff8082111561100457600080fd5b61101088838901610d8d565b9550602087013591508082111561102657600080fd5b61103288838901610dff565b9450604087013591508082111561104857600080fd5b61105488838901610dff565b9350606087013591508082111561106a57600080fd5b5061107787828801610dff565b91505092959194509250565b600181811c9082168061109757607f821691505b6020821081036110b757634e487b7160e01b600052602260045260246000fd5b50919050565b60006110cb610dae84610e5a565b90508281528383830111156110df57600080fd5b6108fd836020830184610c3c565b600082601f8301126110fe57600080fd5b8151602061110e610dae83610d69565b82815260059290921b8401810191818101908684111561112d57600080fd5b8286015b84811015610df457805167ffffffffffffffff8111156111515760008081fd5b8701603f810189136111635760008081fd5b6111748986830151604084016110bd565b845250918301918301611131565b600080604080848603121561119657600080fd5b835167ffffffffffffffff808211156111ae57600080fd5b818601915086601f8301126111c257600080fd5b815160206111d2610dae83610d69565b82815260059290921b8401810191818101908a8411156111f157600080fd5b8286015b8481101561123d5780518681111561120d5760008081fd5b8701603f81018d1361121f5760008081fd5b61122f8d868301518b84016110bd565b8452509183019183016111f5565b509189015191975090945050508083111561125757600080fd5b5050611265858286016110ed565b9150509250929050565b6000606082016060835280865180835260808501915060808160051b8601019250602080890160005b838110156112c657607f198887030185526112b4868351610c60565b95509382019390820190600101611298565b505085840381870152875180855281850193509150600582901b8401810188820160005b8481101561131857601f19878403018652611306838351610c60565b958401959250908301906001016112ea565b50506001600160a01b03881660408801529450610abb9350505050565b600081518084526020808501945080840160005b8381101561136e5781516001600160a01b031687529582019590820190600101611349565b509495945050505050565b600081518084526020808501945080840160005b8381101561136e5781518752958201959082019060010161138d565b60a0815260006113bc60a0830188611335565b82810360208401526113ce8188611379565b905085604084015282810360608401526113e88186610c60565b905082810360808401526113fc8185610c60565b98975050505050505050565b60408152600061141b6040830185611335565b8281036020840152610d198185611379565b634e487b7160e01b600052603260045260246000fd5b60006001820161146357634e487b7160e01b600052601160045260246000fd5b5060010190565b60006020828403121561147c57600080fd5b5051919050565b60006020828403121561149557600080fd5b815180151581146108fd57600080fd5b600082516114b7818460208701610c3c565b919091019291505056fe4c6f67466c6173684d756c74695061796261636b28616464726573735b5d2c75696e743235365b5d294c6f67466c6173684d756c7469426f72726f7728616464726573735b5d2c75696e743235365b5d29a264697066735822122000d3c611beb68194057d9426736afe292d7bd3a40aef2ffb86873947d69c5d2b64736f6c63430008130033
Deployed Bytecode
0x6080604052600436106100555760003560e01c806306fdde031461005a578063213980e81461008557806340aa3b2c146100a65780634cb38df5146100b9578063ab4cf226146100cc578063f13fa6be1461010c575b600080fd5b34801561006657600080fd5b5061006f61011f565b60405161007c9190610c8c565b60405180910390f35b610098610093366004610cbb565b6101ad565b60405161007c929190610cf4565b6100986100b4366004610ed3565b610258565b6100986100c7366004610f8a565b610453565b3480156100d857600080fd5b506100f473ab50dd1c57938218627df2311ef65b4e2e84af4881565b6040516001600160a01b03909116815260200161007c565b61009861011a366004610fd6565b610714565b6000805461012c90611083565b80601f016020809104026020016040519081016040528092919081815260200182805461015890611083565b80156101a55780601f1061017a576101008083540402835291602001916101a5565b820191906000526020600020905b81548152906001019060200180831161018857829003601f168201915b505050505081565b60608060006101bc8587610878565b9050866101e76001600160a01b03821673ab50dd1c57938218627df2311ef65b4e2e84af4884610904565b6101f1858361095b565b505060408051808201825260208082527f4c6f67466c6173685061796261636b28616464726573732c75696e74323536298183015282516001600160a01b039990991690890152878201969096528051808803820181526060909701905250929492505050565b604051630b7f436d60e31b815273ab50dd1c57938218627df2311ef65b4e2e84af48600482015260609081903090635bfa1b6890602401600060405180830381600087803b1580156102a957600080fd5b505af11580156102bd573d6000803e3d6000fd5b50505050600080858060200190518101906102d89190611182565b915091506000828273ab50dd1c57938218627df2311ef65b4e2e84af486040516024016103079392919061126f565b60408051601f198184030181529181526020820180516001600160e01b03166324c1324d60e21b1790525163095627e960e01b815290915073ab50dd1c57938218627df2311ef65b4e2e84af489063095627e990610371908d908d908d9087908d906004016113a9565b600060405180830381600087803b15801561038b57600080fd5b505af115801561039f573d6000803e3d6000fd5b505060405163e6c09edf60e01b815273ab50dd1c57938218627df2311ef65b4e2e84af48600482015230925063e6c09edf9150602401600060405180830381600087803b1580156103ef57600080fd5b505af1158015610403573d6000803e3d6000fd5b505050506040518060600160405280602881526020016114eb6028913994508989604051602001610435929190611408565b60405160208183030381529060405293505050509550959350505050565b604051630b7f436d60e31b815273ab50dd1c57938218627df2311ef65b4e2e84af48600482015260609081903090635bfa1b6890602401600060405180830381600087803b1580156104a457600080fd5b505af11580156104b8573d6000803e3d6000fd5b50505050600080858060200190518101906104d39190611182565b915091506000828273ab50dd1c57938218627df2311ef65b4e2e84af486040516024016105029392919061126f565b60408051601f19818403018152918152602080830180516001600160e01b03166324c1324d60e21b17905281516001808252818401909352929350600092919082810190803683370190505090508a816000815181106105645761056461142d565b6001600160a01b0392909216602092830291909101909101526040805160018082528183019092526000918160200160208202803683370190505090508a816000815181106105b5576105b561142d565b602090810291909101015260405163095627e960e01b815273ab50dd1c57938218627df2311ef65b4e2e84af489063095627e9906105ff90859085908f9089908f906004016113a9565b600060405180830381600087803b15801561061957600080fd5b505af115801561062d573d6000803e3d6000fd5b505060405163e6c09edf60e01b815273ab50dd1c57938218627df2311ef65b4e2e84af48600482015230925063e6c09edf9150602401600060405180830381600087803b15801561067d57600080fd5b505af1158015610691573d6000803e3d6000fd5b505050506040518060400160405280601f81526020017f4c6f67466c617368426f72726f7728616464726573732c75696e74323536290081525096508b8b6040516020016106f49291906001600160a01b03929092168252602082015260400190565b604051602081830303815290604052955050505050509550959350505050565b60608060005b865181101561082f5761075f8582815181106107385761073861142d565b60200260200101518783815181106107525761075261142d565b6020026020010151610878565b8682815181106107715761077161142d565b6020026020010181815250506107e173ab50dd1c57938218627df2311ef65b4e2e84af488783815181106107a7576107a761142d565b60200260200101518984815181106107c1576107c161142d565b60200260200101516001600160a01b03166109049092919063ffffffff16565b61081d8482815181106107f6576107f661142d565b60200260200101518783815181106108105761081061142d565b602002602001015161095b565b8061082781611443565b91505061071a565b506040518060600160405280602981526020016114c2602991399150858560405160200161085e929190611408565b604051602081830303815290604052905094509492505050565b600082156108fb576040516354e3875560e11b815260048101849052738a5419cfc711b2343c17a6abf4b2bafabb06957f9063a9c70eaa906024016020604051808303816000875af11580156108d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f6919061146a565b6108fd565b815b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109569084906109d2565b505050565b81156109ce57604051631878f25160e21b81526004810183905260248101829052738a5419cfc711b2343c17a6abf4b2bafabb06957f906361e3c94490604401600060405180830381600087803b1580156109b557600080fd5b505af11580156109c9573d6000803e3d6000fd5b505050505b5050565b6000610a27826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610aac9092919063ffffffff16565b9050805160001480610a48575080806020019051810190610a489190611483565b6109565760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b6060610abb8484600085610ac3565b949350505050565b606082471015610b245760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610aa3565b600080866001600160a01b03168587604051610b4091906114a5565b60006040518083038185875af1925050503d8060008114610b7d576040519150601f19603f3d011682016040523d82523d6000602084013e610b82565b606091505b5091509150610b9387838387610b9e565b979650505050505050565b60608315610c0d578251600003610c06576001600160a01b0385163b610c065760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610aa3565b5081610abb565b610abb8383815115610c225781518083602001fd5b8060405162461bcd60e51b8152600401610aa39190610c8c565b60005b83811015610c57578181015183820152602001610c3f565b50506000910152565b60008151808452610c78816020860160208601610c3c565b601f01601f19169290920160200192915050565b6020815260006108fd6020830184610c60565b80356001600160a01b0381168114610cb657600080fd5b919050565b60008060008060808587031215610cd157600080fd5b610cda85610c9f565b966020860135965060408601359560600135945092505050565b604081526000610d076040830185610c60565b8281036020840152610d198185610c60565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610d6157610d61610d22565b604052919050565b600067ffffffffffffffff821115610d8357610d83610d22565b5060051b60200190565b600082601f830112610d9e57600080fd5b81356020610db3610dae83610d69565b610d38565b82815260059290921b84018101918181019086841115610dd257600080fd5b8286015b84811015610df457610de781610c9f565b8352918301918301610dd6565b509695505050505050565b600082601f830112610e1057600080fd5b81356020610e20610dae83610d69565b82815260059290921b84018101918181019086841115610e3f57600080fd5b8286015b84811015610df45780358352918301918301610e43565b600067ffffffffffffffff821115610e7457610e74610d22565b50601f01601f191660200190565b600082601f830112610e9357600080fd5b8135610ea1610dae82610e5a565b818152846020838601011115610eb657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215610eeb57600080fd5b853567ffffffffffffffff80821115610f0357600080fd5b610f0f89838a01610d8d565b96506020880135915080821115610f2557600080fd5b610f3189838a01610dff565b9550604088013594506060880135915080821115610f4e57600080fd5b610f5a89838a01610e82565b93506080880135915080821115610f7057600080fd5b50610f7d88828901610e82565b9150509295509295909350565b600080600080600060a08688031215610fa257600080fd5b610fab86610c9f565b94506020860135935060408601359250606086013567ffffffffffffffff80821115610f4e57600080fd5b60008060008060808587031215610fec57600080fd5b843567ffffffffffffffff8082111561100457600080fd5b61101088838901610d8d565b9550602087013591508082111561102657600080fd5b61103288838901610dff565b9450604087013591508082111561104857600080fd5b61105488838901610dff565b9350606087013591508082111561106a57600080fd5b5061107787828801610dff565b91505092959194509250565b600181811c9082168061109757607f821691505b6020821081036110b757634e487b7160e01b600052602260045260246000fd5b50919050565b60006110cb610dae84610e5a565b90508281528383830111156110df57600080fd5b6108fd836020830184610c3c565b600082601f8301126110fe57600080fd5b8151602061110e610dae83610d69565b82815260059290921b8401810191818101908684111561112d57600080fd5b8286015b84811015610df457805167ffffffffffffffff8111156111515760008081fd5b8701603f810189136111635760008081fd5b6111748986830151604084016110bd565b845250918301918301611131565b600080604080848603121561119657600080fd5b835167ffffffffffffffff808211156111ae57600080fd5b818601915086601f8301126111c257600080fd5b815160206111d2610dae83610d69565b82815260059290921b8401810191818101908a8411156111f157600080fd5b8286015b8481101561123d5780518681111561120d5760008081fd5b8701603f81018d1361121f5760008081fd5b61122f8d868301518b84016110bd565b8452509183019183016111f5565b509189015191975090945050508083111561125757600080fd5b5050611265858286016110ed565b9150509250929050565b6000606082016060835280865180835260808501915060808160051b8601019250602080890160005b838110156112c657607f198887030185526112b4868351610c60565b95509382019390820190600101611298565b505085840381870152875180855281850193509150600582901b8401810188820160005b8481101561131857601f19878403018652611306838351610c60565b958401959250908301906001016112ea565b50506001600160a01b03881660408801529450610abb9350505050565b600081518084526020808501945080840160005b8381101561136e5781516001600160a01b031687529582019590820190600101611349565b509495945050505050565b600081518084526020808501945080840160005b8381101561136e5781518752958201959082019060010161138d565b60a0815260006113bc60a0830188611335565b82810360208401526113ce8188611379565b905085604084015282810360608401526113e88186610c60565b905082810360808401526113fc8185610c60565b98975050505050505050565b60408152600061141b6040830185611335565b8281036020840152610d198185611379565b634e487b7160e01b600052603260045260246000fd5b60006001820161146357634e487b7160e01b600052601160045260246000fd5b5060010190565b60006020828403121561147c57600080fd5b5051919050565b60006020828403121561149557600080fd5b815180151581146108fd57600080fd5b600082516114b7818460208701610c3c565b919091019291505056fe4c6f67466c6173684d756c74695061796261636b28616464726573735b5d2c75696e743235365b5d294c6f67466c6173684d756c7469426f72726f7728616464726573735b5d2c75696e743235365b5d29a264697066735822122000d3c611beb68194057d9426736afe292d7bd3a40aef2ffb86873947d69c5d2b64736f6c63430008130033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.