Source Code
Overview
MNT Balance
728.8 MNT
More Info
ContractCreator
Multichain Info
N/A
| Transaction Hash |
Method
|
Block
|
From
|
To
|
Amount
|
||||
|---|---|---|---|---|---|---|---|---|---|
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x3bb361C3...3a492821e The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
MockUniswapStrategy
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 1000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
/**
* @title MockUniswapStrategy
* @notice Mock implementation of Uniswap V3 LP strategy for demo/testing
* @dev Simulates Uniswap LP positions with fake trading fees
*/
contract MockUniswapStrategy is Ownable, ReentrancyGuard {
// Strategy info
string public constant name = "Mock Uniswap V3 LP Strategy";
uint256 public constant BASE_APY = 1230; // 12.3% in basis points
// State
uint256 public totalDeposited;
uint256 public lastHarvestTime;
uint256 public accumulatedFees;
uint256 public totalTradingVolume; // Mock trading volume
// Vault address
address public vault;
// Events
event Deposited(uint256 amount, uint256 timestamp);
event Withdrawn(uint256 amount, uint256 timestamp);
event FeesHarvested(uint256 amount, uint256 timestamp);
event TradingVolumeGenerated(uint256 volume, uint256 timestamp);
modifier onlyVault() {
require(msg.sender == vault, "Only vault can call");
_;
}
constructor(address _vault) {
vault = _vault;
lastHarvestTime = block.timestamp;
}
/**
* @notice Deposit ETH to simulate Uniswap LP position
*/
function deposit() external payable onlyVault nonReentrant {
require(msg.value > 0, "Amount must be > 0");
totalDeposited += msg.value;
// Simulate some initial trading volume
_generateMockVolume();
emit Deposited(msg.value, block.timestamp);
}
/**
* @notice Withdraw ETH from strategy
*/
function withdraw(
uint256 amount
) external onlyVault nonReentrant returns (uint256) {
require(amount <= totalDeposited, "Insufficient balance");
totalDeposited -= amount;
(bool success, ) = vault.call{value: amount}("");
require(success, "Transfer failed");
emit Withdrawn(amount, block.timestamp);
return amount;
}
/**
* @notice Harvest trading fees and send to vault
* @dev Simulates Uniswap V3 fee collection
*/
function harvest() external onlyVault nonReentrant returns (uint256) {
// Generate mock trading volume
_generateMockVolume();
uint256 timeElapsed = block.timestamp - lastHarvestTime;
// Calculate mock fees: (totalDeposited * APY * timeElapsed) / (365 days * 10000)
uint256 fees = (totalDeposited * BASE_APY * timeElapsed) /
(365 days * 10000);
if (fees > 0) {
accumulatedFees += fees;
lastHarvestTime = block.timestamp;
emit FeesHarvested(fees, block.timestamp);
}
return fees;
}
/**
* @notice Generate mock trading volume
*/
function _generateMockVolume() internal {
// Simulate random trading volume (5-20x the deposited amount per day)
uint256 mockVolume = totalDeposited * (5 + (block.timestamp % 16));
totalTradingVolume += mockVolume;
emit TradingVolumeGenerated(mockVolume, block.timestamp);
}
/**
* @notice Get current APY
*/
function getAPY() external pure returns (uint256) {
return BASE_APY; // 12.3%
}
/**
* @notice Get strategy balance
*/
function getBalance() external view returns (uint256) {
return totalDeposited;
}
/**
* @notice Get estimated pending fees
*/
function getPendingYield() external view returns (uint256) {
uint256 timeElapsed = block.timestamp - lastHarvestTime;
return (totalDeposited * BASE_APY * timeElapsed) / (365 days * 10000);
}
/**
* @notice Get mock trading statistics
*/
function getTradingStats()
external
view
returns (uint256 volume, uint256 feesCollected, uint256 positionValue)
{
return (totalTradingVolume, accumulatedFees, totalDeposited);
}
/**
* @notice Emergency withdraw all funds
*/
function emergencyWithdraw() external onlyOwner {
uint256 balance = address(this).balance;
(bool success, ) = vault.call{value: balance}("");
require(success, "Transfer failed");
}
/**
* @notice Update vault address
*/
function setVault(address _vault) external onlyOwner {
require(_vault != address(0), "Invalid address");
vault = _vault;
}
// Receive function to accept ETH
receive() external payable {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(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");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
/**
* @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
* `nonReentrant` function in the call stack.
*/
function _reentrancyGuardEntered() internal view returns (bool) {
return _status == _ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}{
"remappings": [
"forge-std/=lib/forge-std/src/",
"@openzeppelin/=lib/openzeppelin-contracts/",
"ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin/=lib/openzeppelin-contracts/contracts/"
],
"optimizer": {
"enabled": true,
"runs": 1000
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": true
}Contract ABI
API[{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"FeesHarvested","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":false,"internalType":"uint256","name":"volume","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TradingVolumeGenerated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"BASE_APY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accumulatedFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAPY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPendingYield","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTradingStats","outputs":[{"internalType":"uint256","name":"volume","type":"uint256"},{"internalType":"uint256","name":"feesCollected","type":"uint256"},{"internalType":"uint256","name":"positionValue","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastHarvestTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalDeposited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTradingVolume","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
0x6080346100af57601f610b4d38819003918201601f19168301916001600160401b038311848410176100b4578084926020946040528339810103126100af57516001600160a01b0390818116908190036100af5760005460018060a01b0319903382821617600055604051933391167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a360018055600654161760065542600355610a8290816100cb8239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604081815260049182361015610022575b505050361561002057600080fd5b005b600092833560e01c91826306fdde03146107555750816312065fe0146107365781631f2413ed146106d157816320b288f6146106a15781632e1a7d4d146105bd5781634641257d146104e35781634ca19fd61461029e578163587f5ed7146104c55781636817031b14610426578163715018a6146103c05781638da5cb5b1461039a578163ceb0f6261461037b578163d0e30db0146102bb578163d2cbf7ad1461029e578163db2e21bc1461025b578163dfb0886b1461023c578163f2fde38b1461014b57508063fbfa77cf146101245763ff50abdc146101035780610012565b346101205781600319360112610120576020906002549051908152f35b5080fd5b50346101205781600319360112610120576020906001600160a01b03600654169051908152f35b91905034610238576020366003190112610238578135916001600160a01b03918284168094036102345761017d6109f4565b83156101cb57505082548273ffffffffffffffffffffffffffffffffffffffff198216178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8480fd5b8280fd5b5050346101205781600319360112610120576020906005549051908152f35b833461029b578060031936011261029b576102746109f4565b61029881808080476001600160a01b03600654165af161029261088a565b506108eb565b80f35b80fd5b505034610120578160031936011261012057602090516104ce8152f35b905082600319360112610238576102de6001600160a01b0360065416331461083f565b6102e6610943565b341561033957507f06da3309189fa49284f335d2c2bcb4cb0b8ad2a59ad92a9bdebeeb8f1ceba5119061031b34600254610936565b600255610326610998565b8051348152426020820152a16001805580f35b6020606492519162461bcd60e51b8352820152601260248201527f416d6f756e74206d757374206265203e203000000000000000000000000000006044820152fd5b5050346101205781600319360112610120576020906003549051908152f35b5050346101205781600319360112610120576001600160a01b0360209254169051908152f35b833461029b578060031936011261029b576103d96109f4565b806001600160a01b03815473ffffffffffffffffffffffffffffffffffffffff1981168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b905034610238576020366003190112610238578035916001600160a01b0383168093036104c1576104556109f4565b821561047e57505073ffffffffffffffffffffffffffffffffffffffff19600654161760065580f35b906020606492519162461bcd60e51b8352820152600f60248201527f496e76616c6964206164647265737300000000000000000000000000000000006044820152fd5b8380fd5b90503461023857826003193601126102385760209250549051908152f35b9190503461023857826003193601126102385761050c6001600160a01b0360065416331461083f565b610514610943565b61051c610998565b61052860035442610809565b6002546104ce908181029181830414901517156105aa576020945064496cebb800916105539161082c565b049182610566575b506001805551908152f35b610571838254610936565b9055426003557fdbea52dddfd8e616bf8eb8aba23388332cfff06845e748b06f71d49924f621498180518481524286820152a13861055b565b602485601186634e487b7160e01b835252fd5b9050823461029b57602036600319011261029b578135916001600160a01b03906105ec8260065416331461083f565b6105f4610943565b6002549081851161065e57509180808086610627956106168260209b99610809565b600255600654165af161029261088a565b7f0c875c8d391179c5cf7ad8303d268efd50b8beb78b671f85cd54bfb91eb8ef408180518481524286820152a16001805551908152f35b606490602087519162461bcd60e51b8352820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b91905034610238578260031936011261023857606092506005549154906002549181519384526020840152820152f35b82843461029b578060031936011261029b576106ef60035442610809565b90600254906104ce918281029281840414901517156107235760208464496cebb80061071b868661082c565b049051908152f35b80601186634e487b7160e01b6024945252fd5b5050346101205781600319360112610120576020906002549051908152f35b9150346104c157836003193601126104c1578282019082821067ffffffffffffffff8311176107f657508252601b81526020907f4d6f636b20556e6973776170205633204c5020537472617465677900000000006020820152825193849260208452825192836020860152825b8481106107e057505050828201840152601f01601f19168101030190f35b81810183015188820188015287955082016107c2565b846041602492634e487b7160e01b835252fd5b9190820391821161081657565b634e487b7160e01b600052601160045260246000fd5b8181029291811591840414171561081657565b1561084657565b606460405162461bcd60e51b815260206004820152601360248201527f4f6e6c79207661756c742063616e2063616c6c000000000000000000000000006044820152fd5b3d156108e65767ffffffffffffffff903d8281116108d05760405192601f8201601f19908116603f01168401908111848210176108d05760405282523d6000602084013e565b634e487b7160e01b600052604160045260246000fd5b606090565b156108f257565b606460405162461bcd60e51b815260206004820152600f60248201527f5472616e73666572206661696c656400000000000000000000000000000000006044820152fd5b9190820180921161081657565b600260015414610954576002600155565b606460405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b600254600f421660050180600511610816576109d76040917f2288e0a5b9f0f8463acd5269b5f22f886478c949ca2f835db62bd7bfa7ed8a2b9361082c565b6109e381600554610936565b6005558151908152426020820152a1565b6001600160a01b03600054163303610a0857565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea26469706673582212206bbff21ecb22f3d9d57ce8e56544b2dcb9272629f86a588de6162854deae2b1b64736f6c63430008180033000000000000000000000000466d0cd933a966d22577b55f2e9e5b67080e6938
Deployed Bytecode
0x6080604081815260049182361015610022575b505050361561002057600080fd5b005b600092833560e01c91826306fdde03146107555750816312065fe0146107365781631f2413ed146106d157816320b288f6146106a15781632e1a7d4d146105bd5781634641257d146104e35781634ca19fd61461029e578163587f5ed7146104c55781636817031b14610426578163715018a6146103c05781638da5cb5b1461039a578163ceb0f6261461037b578163d0e30db0146102bb578163d2cbf7ad1461029e578163db2e21bc1461025b578163dfb0886b1461023c578163f2fde38b1461014b57508063fbfa77cf146101245763ff50abdc146101035780610012565b346101205781600319360112610120576020906002549051908152f35b5080fd5b50346101205781600319360112610120576020906001600160a01b03600654169051908152f35b91905034610238576020366003190112610238578135916001600160a01b03918284168094036102345761017d6109f4565b83156101cb57505082548273ffffffffffffffffffffffffffffffffffffffff198216178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b8480fd5b8280fd5b5050346101205781600319360112610120576020906005549051908152f35b833461029b578060031936011261029b576102746109f4565b61029881808080476001600160a01b03600654165af161029261088a565b506108eb565b80f35b80fd5b505034610120578160031936011261012057602090516104ce8152f35b905082600319360112610238576102de6001600160a01b0360065416331461083f565b6102e6610943565b341561033957507f06da3309189fa49284f335d2c2bcb4cb0b8ad2a59ad92a9bdebeeb8f1ceba5119061031b34600254610936565b600255610326610998565b8051348152426020820152a16001805580f35b6020606492519162461bcd60e51b8352820152601260248201527f416d6f756e74206d757374206265203e203000000000000000000000000000006044820152fd5b5050346101205781600319360112610120576020906003549051908152f35b5050346101205781600319360112610120576001600160a01b0360209254169051908152f35b833461029b578060031936011261029b576103d96109f4565b806001600160a01b03815473ffffffffffffffffffffffffffffffffffffffff1981168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b905034610238576020366003190112610238578035916001600160a01b0383168093036104c1576104556109f4565b821561047e57505073ffffffffffffffffffffffffffffffffffffffff19600654161760065580f35b906020606492519162461bcd60e51b8352820152600f60248201527f496e76616c6964206164647265737300000000000000000000000000000000006044820152fd5b8380fd5b90503461023857826003193601126102385760209250549051908152f35b9190503461023857826003193601126102385761050c6001600160a01b0360065416331461083f565b610514610943565b61051c610998565b61052860035442610809565b6002546104ce908181029181830414901517156105aa576020945064496cebb800916105539161082c565b049182610566575b506001805551908152f35b610571838254610936565b9055426003557fdbea52dddfd8e616bf8eb8aba23388332cfff06845e748b06f71d49924f621498180518481524286820152a13861055b565b602485601186634e487b7160e01b835252fd5b9050823461029b57602036600319011261029b578135916001600160a01b03906105ec8260065416331461083f565b6105f4610943565b6002549081851161065e57509180808086610627956106168260209b99610809565b600255600654165af161029261088a565b7f0c875c8d391179c5cf7ad8303d268efd50b8beb78b671f85cd54bfb91eb8ef408180518481524286820152a16001805551908152f35b606490602087519162461bcd60e51b8352820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b91905034610238578260031936011261023857606092506005549154906002549181519384526020840152820152f35b82843461029b578060031936011261029b576106ef60035442610809565b90600254906104ce918281029281840414901517156107235760208464496cebb80061071b868661082c565b049051908152f35b80601186634e487b7160e01b6024945252fd5b5050346101205781600319360112610120576020906002549051908152f35b9150346104c157836003193601126104c1578282019082821067ffffffffffffffff8311176107f657508252601b81526020907f4d6f636b20556e6973776170205633204c5020537472617465677900000000006020820152825193849260208452825192836020860152825b8481106107e057505050828201840152601f01601f19168101030190f35b81810183015188820188015287955082016107c2565b846041602492634e487b7160e01b835252fd5b9190820391821161081657565b634e487b7160e01b600052601160045260246000fd5b8181029291811591840414171561081657565b1561084657565b606460405162461bcd60e51b815260206004820152601360248201527f4f6e6c79207661756c742063616e2063616c6c000000000000000000000000006044820152fd5b3d156108e65767ffffffffffffffff903d8281116108d05760405192601f8201601f19908116603f01168401908111848210176108d05760405282523d6000602084013e565b634e487b7160e01b600052604160045260246000fd5b606090565b156108f257565b606460405162461bcd60e51b815260206004820152600f60248201527f5472616e73666572206661696c656400000000000000000000000000000000006044820152fd5b9190820180921161081657565b600260015414610954576002600155565b606460405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b600254600f421660050180600511610816576109d76040917f2288e0a5b9f0f8463acd5269b5f22f886478c949ca2f835db62bd7bfa7ed8a2b9361082c565b6109e381600554610936565b6005558151908152426020820152a1565b6001600160a01b03600054163303610a0857565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea26469706673582212206bbff21ecb22f3d9d57ce8e56544b2dcb9272629f86a588de6162854deae2b1b64736f6c63430008180033
Loading...
Loading
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.