Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 793 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Migrate Se PSP1A... | 21263425 | 2 days ago | IN | 0 ETH | 0.0032652 | ||||
Migrate Se PSP1A... | 21259366 | 3 days ago | IN | 0 ETH | 0.00407568 | ||||
Migrate Se PSP1A... | 21235350 | 6 days ago | IN | 0.01705395 ETH | 0.00365023 | ||||
Migrate Se PSP1A... | 21227701 | 7 days ago | IN | 0.05827886 ETH | 0.00297989 | ||||
Migrate Se PSP1A... | 21198055 | 11 days ago | IN | 0.01119216 ETH | 0.00509259 | ||||
Migrate Se PSP1A... | 21179090 | 14 days ago | IN | 0.49698942 ETH | 0.02034392 | ||||
Migrate Se PSP1A... | 21143486 | 19 days ago | IN | 0.01740943 ETH | 0.0087922 | ||||
Migrate Se PSP1A... | 21142437 | 19 days ago | IN | 0.03230149 ETH | 0.0041856 | ||||
Migrate Se PSP1A... | 21141441 | 19 days ago | IN | 0 ETH | 0.00359796 | ||||
Migrate Se PSP1A... | 21124542 | 21 days ago | IN | 0.01428087 ETH | 0.00190605 | ||||
Migrate Se PSP1A... | 21123414 | 22 days ago | IN | 0.01664104 ETH | 0.00339776 | ||||
Migrate Se PSP1A... | 21119964 | 22 days ago | IN | 0 ETH | 0.00200553 | ||||
Migrate Se PSP1A... | 21118603 | 22 days ago | IN | 0.00420655 ETH | 0.00124409 | ||||
Migrate Se PSP1A... | 21115133 | 23 days ago | IN | 0.03658494 ETH | 0.00243901 | ||||
Migrate Se PSP1A... | 21114484 | 23 days ago | IN | 0.00633879 ETH | 0.00225941 | ||||
Migrate Se PSP1A... | 21114440 | 23 days ago | IN | 0.04513831 ETH | 0.00134541 | ||||
Migrate Se PSP1A... | 21098145 | 25 days ago | IN | 0 ETH | 0.00140908 | ||||
Migrate Se PSP1A... | 21060204 | 30 days ago | IN | 0 ETH | 0.00207736 | ||||
Migrate Se PSP1A... | 21059844 | 30 days ago | IN | 0.01353222 ETH | 0.00278431 | ||||
Migrate Se PSP1A... | 21059790 | 30 days ago | IN | 0.08127375 ETH | 0.00375158 | ||||
Migrate Se PSP1A... | 21048840 | 32 days ago | IN | 0.00417016 ETH | 0.00139963 | ||||
Migrate Se PSP1A... | 21047551 | 32 days ago | IN | 0 ETH | 0.0017482 | ||||
Migrate Se PSP1A... | 21003468 | 38 days ago | IN | 0.01160454 ETH | 0.00179411 | ||||
Migrate Se PSP1A... | 20988024 | 40 days ago | IN | 0.00268768 ETH | 0.00321221 | ||||
Migrate Se PSP1A... | 20971590 | 43 days ago | IN | 0.00158813 ETH | 0.01185612 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
21235350 | 6 days ago | 0.01705395 ETH | ||||
21227701 | 7 days ago | 0.05827886 ETH | ||||
21198055 | 11 days ago | 0.01119216 ETH | ||||
21179090 | 14 days ago | 0.49698942 ETH | ||||
21143486 | 19 days ago | 0.01740943 ETH | ||||
21142437 | 19 days ago | 0.03230149 ETH | ||||
21124542 | 21 days ago | 0.01428087 ETH | ||||
21123414 | 22 days ago | 0.01664104 ETH | ||||
21118603 | 22 days ago | 0.00420655 ETH | ||||
21115133 | 23 days ago | 0.03658494 ETH | ||||
21114484 | 23 days ago | 0.00633879 ETH | ||||
21114440 | 23 days ago | 0.04513831 ETH | ||||
21059844 | 30 days ago | 0.01353222 ETH | ||||
21059790 | 30 days ago | 0.08127375 ETH | ||||
21048840 | 32 days ago | 0.00417016 ETH | ||||
21003468 | 38 days ago | 0.01160454 ETH | ||||
20988024 | 40 days ago | 0.00268768 ETH | ||||
20971590 | 43 days ago | 0.00158813 ETH | ||||
20956903 | 45 days ago | 0.00428277 ETH | ||||
20919988 | 50 days ago | 0.02533579 ETH | ||||
20918204 | 50 days ago | 0.00270554 ETH | ||||
20914330 | 51 days ago | 0.00321011 ETH | ||||
20914037 | 51 days ago | 0.01331435 ETH | ||||
20899849 | 53 days ago | 0.02660136 ETH | ||||
20858271 | 59 days ago | 0.00758892 ETH |
Loading...
Loading
Contract Name:
sePSPStakingMigratorV1
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.19; import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol"; import "./utils/Utils.sol"; interface I_sePSP2 is IERC20 { function depositPSPAndEth( uint256 pspAmount, uint256 minBptOut, bytes memory pspPermit ) external payable; function depositPSPAndWeth( uint256 pspAmount, uint256 wethAmount, uint256 minBptOut, bytes memory pspPermit ) external; } contract sePSPStakingMigratorV1 { IERC20 public immutable PSP; IERC20 public immutable WETH; IERC20 public immutable sePSP; I_sePSP2 public immutable sePSP2; address public immutable PSP_Supplier; constructor( IERC20 _PSP, IERC20 _WETH, IERC20 _sePSP, I_sePSP2 _sePSP2, address _PSP_Supplier ) { PSP = _PSP; WETH = _WETH; sePSP = _sePSP; sePSP2 = _sePSP2; PSP_Supplier = _PSP_Supplier; // pre-approve PSP.approve(address(sePSP2), type(uint).max); WETH.approve(address(sePSP2), type(uint).max); } function migrateSePSP1AndWETHtoSePSP2( uint256 sePSP1Amount, uint256 wethAmount, uint256 minBptOut, bytes calldata sePSPPermit ) external { /** 0.1 Migrator contract has allowance from PSP_Supplier for some amount of PSP 0.2 Migrator contract has allowance from user for some amount of WETH 1. User gives allowance or permit for sePSP1 to Migrator contract 2. sePSP1 is transferred to PSP_Supplier 3. equivalent PSP is transferred from PSP_Supplier, and WETH from user 4. PSP + WETH (from user) is deposited into Balancer Pool through sePSP2 5. resulting sePSP2 is transferred to user */ if (sePSP.allowance(msg.sender, address(this)) < sePSP1Amount) { Utils.permit(sePSP, sePSPPermit); } sePSP.transferFrom(msg.sender, PSP_Supplier, sePSP1Amount); WETH.transferFrom(msg.sender, address(this), wethAmount); PSP.transferFrom(PSP_Supplier, address(this), sePSP1Amount); sePSP2.depositPSPAndWeth(sePSP1Amount, wethAmount, minBptOut, ""); uint256 sePSP2Balance = sePSP2.balanceOf(address(this)); sePSP2.transfer(msg.sender, sePSP2Balance); } function migrateSePSP1AndETHtoSePSP2( uint256 sePSP1Amount, uint256 minBptOut, bytes calldata sePSPPermit ) external payable { /** 0. Migrator contract has allowance from PSP_Supplier for some amount of PSP 1. User gives allowance or permit for sePSP1 to Migrator contract 2. sePSP1 is transferred to PSP_Supplier 3. equivalent PSP is transferred from PSP_Supplier 4. PSP + ETH (from user) is deposited into Balancer Pool through sePSP2 5. resulting sePSP2 is transferred to user */ if (sePSP.allowance(msg.sender, address(this)) < sePSP1Amount) { Utils.permit(sePSP, sePSPPermit); } sePSP.transferFrom(msg.sender, PSP_Supplier, sePSP1Amount); PSP.transferFrom(PSP_Supplier, address(this), sePSP1Amount); sePSP2.depositPSPAndEth{ value: msg.value }(sePSP1Amount, minBptOut, ""); uint256 sePSP2Balance = sePSP2.balanceOf(address(this)); sePSP2.transfer(msg.sender, sePSP2Balance); } }
pragma solidity ^0.8.6; import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol"; import "openzeppelin-solidity/contracts/token/ERC20/extensions/draft-IERC20Permit.sol"; error PermitFailed(); error TransferEthFailed(); library Utils { function permit(IERC20 token, bytes memory permit) internal { if (permit.length == 32 * 7) { (bool success, ) = address(token).call(abi.encodePacked(IERC20Permit.permit.selector, permit)); if (!success) { revert PermitFailed(); } } } function transferETH(address payable destination, uint256 amount) internal { if (amount > 0) { (bool result, ) = destination.call{ value: amount }(""); if (!result) { revert TransferEthFailed(); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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 v4.4.1 (token/ERC20/extensions/draft-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. */ 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]. */ 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); }
{ "optimizer": { "enabled": true, "runs": 1000000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_PSP","type":"address"},{"internalType":"contract IERC20","name":"_WETH","type":"address"},{"internalType":"contract IERC20","name":"_sePSP","type":"address"},{"internalType":"contract I_sePSP2","name":"_sePSP2","type":"address"},{"internalType":"address","name":"_PSP_Supplier","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"PermitFailed","type":"error"},{"inputs":[],"name":"PSP","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PSP_Supplier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sePSP1Amount","type":"uint256"},{"internalType":"uint256","name":"minBptOut","type":"uint256"},{"internalType":"bytes","name":"sePSPPermit","type":"bytes"}],"name":"migrateSePSP1AndETHtoSePSP2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sePSP1Amount","type":"uint256"},{"internalType":"uint256","name":"wethAmount","type":"uint256"},{"internalType":"uint256","name":"minBptOut","type":"uint256"},{"internalType":"bytes","name":"sePSPPermit","type":"bytes"}],"name":"migrateSePSP1AndWETHtoSePSP2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sePSP","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sePSP2","outputs":[{"internalType":"contract I_sePSP2","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6101206040523480156200001257600080fd5b506040516200126e3803806200126e833981016040819052620000359162000170565b6001600160a01b03858116608081905285821660a05284821660c05283821660e08190529183166101005260405163095ea7b360e01b8152600481019290925260001960248301529063095ea7b3906044016020604051808303816000875af1158015620000a7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000cd9190620001f0565b5060a05160e05160405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801562000125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014b9190620001f0565b5050505050506200021b565b6001600160a01b03811681146200016d57600080fd5b50565b600080600080600060a086880312156200018957600080fd5b8551620001968162000157565b6020870151909550620001a98162000157565b6040870151909450620001bc8162000157565b6060870151909350620001cf8162000157565b6080870151909250620001e28162000157565b809150509295509295909350565b6000602082840312156200020357600080fd5b815180151581146200021457600080fd5b9392505050565b60805160a05160c05160e05161010051610f8b620002e36000396000818161011801528181610336015281816104100152818161083c01526109d40152600081816087015281816104f7015281816105990152818161065301528181610ac201528181610b630152610c1c01526000818160e40152818161020d0152818161029801528181610365015281816107130152818161079e015261086b0152600081816101610152610914015260008181610195015281816104450152610a090152610f8b6000f3fe6080604052600436106100705760003560e01c806396fd98d41161004e57806396fd98d41461013a578063ad5c46481461014f578063f821902d14610183578063fd0acfaa146101b757600080fd5b80631a73dbb5146100755780631cef99b0146100d25780637421b9e414610106575b600080fd5b34801561008157600080fd5b506100a97f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100de57600080fd5b506100a97f000000000000000000000000000000000000000000000000000000000000000081565b34801561011257600080fd5b506100a97f000000000000000000000000000000000000000000000000000000000000000081565b61014d610148366004610de7565b6101d7565b005b34801561015b57600080fd5b506100a97f000000000000000000000000000000000000000000000000000000000000000081565b34801561018f57600080fd5b506100a97f000000000000000000000000000000000000000000000000000000000000000081565b3480156101c357600080fd5b5061014d6101d2366004610e3a565b6106dd565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815233600482015230602482015284907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063dd62ed3e90604401602060405180830381865afa158015610269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028d9190610e9b565b10156102f3576102f37f000000000000000000000000000000000000000000000000000000000000000083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610ca792505050565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166024830152604482018690527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906064016020604051808303816000875af11580156103ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d29190610eb4565b506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152306024830152604482018690527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906064016020604051808303816000875af115801561048e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b29190610eb4565b506040517f18818ccd000000000000000000000000000000000000000000000000000000008152600481018590526024810184905260606044820152600060648201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906318818ccd9034906084016000604051808303818588803b15801561055157600080fd5b505af1158015610565573d6000803e3d6000fd5b50506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600093507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1692506370a082319150602401602060405180830381865afa1580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190610e9b565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a9059cbb906044016020604051808303816000875af11580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190610eb4565b505050505050565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815233600482015230602482015285907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063dd62ed3e90604401602060405180830381865afa15801561076f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107939190610e9b565b10156107f9576107f97f000000000000000000000000000000000000000000000000000000000000000083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610ca792505050565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166024830152604482018790527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906064016020604051808303816000875af11580156108b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d89190610eb4565b506040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018590527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906323b872dd906064016020604051808303816000875af1158015610972573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109969190610eb4565b506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000081166004830152306024830152604482018790527f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906064016020604051808303816000875af1158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610eb4565b506040517f1ad66ed800000000000000000000000000000000000000000000000000000000815260048101869052602481018590526044810184905260806064820152600060848201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1690631ad66ed89060a401600060405180830381600087803b158015610b1b57600080fd5b505af1158015610b2f573d6000803e3d6000fd5b50506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600092507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1691506370a0823190602401602060405180830381865afa158015610bc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be49190610e9b565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a9059cbb906044016020604051808303816000875af1158015610c7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9e9190610eb4565b50505050505050565b805160e003610d9a5760008273ffffffffffffffffffffffffffffffffffffffff1663d505accf60e01b83604051602001610ce3929190610f0d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610d1b91610f49565b6000604051808303816000865af19150503d8060008114610d58576040519150601f19603f3d011682016040523d82523d6000602084013e610d5d565b606091505b5050905080610d98576040517fb78cb0dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b5050565b60008083601f840112610db057600080fd5b50813567ffffffffffffffff811115610dc857600080fd5b602083019150836020828501011115610de057600080fd5b9250929050565b60008060008060608587031215610dfd57600080fd5b8435935060208501359250604085013567ffffffffffffffff811115610e2257600080fd5b610e2e87828801610d9e565b95989497509550505050565b600080600080600060808688031215610e5257600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff811115610e7e57600080fd5b610e8a88828901610d9e565b969995985093965092949392505050565b600060208284031215610ead57600080fd5b5051919050565b600060208284031215610ec657600080fd5b81518015158114610ed657600080fd5b9392505050565b6000815160005b81811015610efe5760208185018101518683015201610ee4565b50600093019283525090919050565b7fffffffff00000000000000000000000000000000000000000000000000000000831681526000610f416004830184610edd565b949350505050565b6000610ed68284610edd56fea26469706673582212209850d7747a52748ca1c5203bd9077ddf9f1c4340d217fb580fd3b1246de659a164736f6c63430008130033000000000000000000000000cafe001067cdef266afb7eb5a286dcfd277f3de5000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c4850000000000000000000000007f791276b7a90487f24188d0be45c15a40a5fb37
Deployed Bytecode
0x6080604052600436106100705760003560e01c806396fd98d41161004e57806396fd98d41461013a578063ad5c46481461014f578063f821902d14610183578063fd0acfaa146101b757600080fd5b80631a73dbb5146100755780631cef99b0146100d25780637421b9e414610106575b600080fd5b34801561008157600080fd5b506100a97f000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c48581565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100de57600080fd5b506100a97f000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab81565b34801561011257600080fd5b506100a97f0000000000000000000000007f791276b7a90487f24188d0be45c15a40a5fb3781565b61014d610148366004610de7565b6101d7565b005b34801561015b57600080fd5b506100a97f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b34801561018f57600080fd5b506100a97f000000000000000000000000cafe001067cdef266afb7eb5a286dcfd277f3de581565b3480156101c357600080fd5b5061014d6101d2366004610e3a565b6106dd565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815233600482015230602482015284907f000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab73ffffffffffffffffffffffffffffffffffffffff169063dd62ed3e90604401602060405180830381865afa158015610269573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028d9190610e9b565b10156102f3576102f37f000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610ca792505050565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000007f791276b7a90487f24188d0be45c15a40a5fb3781166024830152604482018690527f000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab16906323b872dd906064016020604051808303816000875af11580156103ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d29190610eb4565b506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000007f791276b7a90487f24188d0be45c15a40a5fb3781166004830152306024830152604482018690527f000000000000000000000000cafe001067cdef266afb7eb5a286dcfd277f3de516906323b872dd906064016020604051808303816000875af115801561048e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b29190610eb4565b506040517f18818ccd000000000000000000000000000000000000000000000000000000008152600481018590526024810184905260606044820152600060648201527f000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c48573ffffffffffffffffffffffffffffffffffffffff16906318818ccd9034906084016000604051808303818588803b15801561055157600080fd5b505af1158015610565573d6000803e3d6000fd5b50506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600093507f000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c48573ffffffffffffffffffffffffffffffffffffffff1692506370a082319150602401602060405180830381865afa1580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190610e9b565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091507f000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c48573ffffffffffffffffffffffffffffffffffffffff169063a9059cbb906044016020604051808303816000875af11580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190610eb4565b505050505050565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815233600482015230602482015285907f000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab73ffffffffffffffffffffffffffffffffffffffff169063dd62ed3e90604401602060405180830381865afa15801561076f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107939190610e9b565b10156107f9576107f97f000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610ca792505050565b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000007f791276b7a90487f24188d0be45c15a40a5fb3781166024830152604482018790527f000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab16906323b872dd906064016020604051808303816000875af11580156108b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d89190610eb4565b506040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018590527f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16906323b872dd906064016020604051808303816000875af1158015610972573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109969190610eb4565b506040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000007f791276b7a90487f24188d0be45c15a40a5fb3781166004830152306024830152604482018790527f000000000000000000000000cafe001067cdef266afb7eb5a286dcfd277f3de516906323b872dd906064016020604051808303816000875af1158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190610eb4565b506040517f1ad66ed800000000000000000000000000000000000000000000000000000000815260048101869052602481018590526044810184905260806064820152600060848201527f000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c48573ffffffffffffffffffffffffffffffffffffffff1690631ad66ed89060a401600060405180830381600087803b158015610b1b57600080fd5b505af1158015610b2f573d6000803e3d6000fd5b50506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600092507f000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c48573ffffffffffffffffffffffffffffffffffffffff1691506370a0823190602401602060405180830381865afa158015610bc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be49190610e9b565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091507f000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c48573ffffffffffffffffffffffffffffffffffffffff169063a9059cbb906044016020604051808303816000875af1158015610c7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9e9190610eb4565b50505050505050565b805160e003610d9a5760008273ffffffffffffffffffffffffffffffffffffffff1663d505accf60e01b83604051602001610ce3929190610f0d565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610d1b91610f49565b6000604051808303816000865af19150503d8060008114610d58576040519150601f19603f3d011682016040523d82523d6000602084013e610d5d565b606091505b5050905080610d98576040517fb78cb0dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b5050565b60008083601f840112610db057600080fd5b50813567ffffffffffffffff811115610dc857600080fd5b602083019150836020828501011115610de057600080fd5b9250929050565b60008060008060608587031215610dfd57600080fd5b8435935060208501359250604085013567ffffffffffffffff811115610e2257600080fd5b610e2e87828801610d9e565b95989497509550505050565b600080600080600060808688031215610e5257600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff811115610e7e57600080fd5b610e8a88828901610d9e565b969995985093965092949392505050565b600060208284031215610ead57600080fd5b5051919050565b600060208284031215610ec657600080fd5b81518015158114610ed657600080fd5b9392505050565b6000815160005b81811015610efe5760208185018101518683015201610ee4565b50600093019283525090919050565b7fffffffff00000000000000000000000000000000000000000000000000000000831681526000610f416004830184610edd565b949350505050565b6000610ed68284610edd56fea26469706673582212209850d7747a52748ca1c5203bd9077ddf9f1c4340d217fb580fd3b1246de659a164736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000cafe001067cdef266afb7eb5a286dcfd277f3de5000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c4850000000000000000000000007f791276b7a90487f24188d0be45c15a40a5fb37
-----Decoded View---------------
Arg [0] : _PSP (address): 0xcAfE001067cDEF266AfB7Eb5A286dCFD277f3dE5
Arg [1] : _WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [2] : _sePSP (address): 0x716fBC68E0c761684D9280484243FF094CC5FfAB
Arg [3] : _sePSP2 (address): 0x593F39A4Ba26A9c8ed2128ac95D109E8e403C485
Arg [4] : _PSP_Supplier (address): 0x7f791276b7a90487F24188d0BE45c15A40a5fB37
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000cafe001067cdef266afb7eb5a286dcfd277f3de5
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [2] : 000000000000000000000000716fbc68e0c761684d9280484243ff094cc5ffab
Arg [3] : 000000000000000000000000593f39a4ba26a9c8ed2128ac95d109e8e403c485
Arg [4] : 0000000000000000000000007f791276b7a90487f24188d0be45c15a40a5fb37
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.