Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x61052661 | 19365275 | 179 days ago | IN | 0 ETH | 0.02399858 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ERC20ByMetadropParamDecoder
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 90 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 // Metadrop Contracts (v2.1.0) pragma solidity 0.8.21; library ERC20ByMetadropParamDecoder { /** * @dev function {decodeBaseParams} * * Decode NFT Parameters * * @param encodedBaseParams_ The base params encoded into a bytes array */ function decodeBaseParams( bytes memory encodedBaseParams_ ) pure public returns (string memory name, string memory symbol, address[] memory recipients, uint256[] memory amounts){ bytes memory distribution; // Decoding the initial parameters including the distribution bytes array. (name, symbol, , , distribution) = abi.decode(encodedBaseParams_, (string, string, bool, bool, bytes)); // Decoding the distribution into recipients and amounts. (recipients, amounts) = abi.decode(distribution, (address[], uint256[])); return (name, symbol, recipients, amounts); } }
{ "optimizer": { "enabled": true, "runs": 90 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes","name":"encodedBaseParams_","type":"bytes"}],"name":"decodeBaseParams","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"pure","type":"function"}]
Contract Creation Code
610526610035600b8282823980515f1a60731461002957634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe7300000000000000000000000000000000000000003014608060405260043610610034575f3560e01c806338841e7514610038575b5f80fd5b61004b610046366004610118565b610064565b60405161005b94939291906101de565b60405180910390f35b60608060608060608580602001905181019061008091906102ec565b80519499509297509193506100a19284016020908101925084019050610426565b9093509150509193509193565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b03811182821017156100ea576100ea6100ae565b604052919050565b5f6001600160401b0382111561010a5761010a6100ae565b50601f01601f191660200190565b5f60208284031215610128575f80fd5b81356001600160401b0381111561013d575f80fd5b8201601f8101841361014d575f80fd5b803561016061015b826100f2565b6100c2565b818152856020838501011115610174575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f5b838110156101ab578181015183820152602001610193565b50505f910152565b5f81518084526101ca816020860160208601610191565b601f01601f19169290920160200192915050565b608081525f6101f060808301876101b3565b60208382038185015261020382886101b3565b848103604086015286518082528288019350908201905f5b818110156102405784516001600160a01b03168352938301939183019160010161021b565b5050848103606086015285518082529082019250818601905f5b818110156102765782518552938301939183019160010161025a565b50929998505050505050505050565b5f61029261015b846100f2565b90508281528383830111156102a5575f80fd5b6102b3836020830184610191565b9392505050565b5f82601f8301126102c9575f80fd5b6102b383835160208501610285565b805180151581146102e7575f80fd5b919050565b5f805f805f60a08688031215610300575f80fd5b85516001600160401b0380821115610316575f80fd5b61032289838a016102ba565b96506020880151915080821115610337575f80fd5b61034389838a016102ba565b9550610351604089016102d8565b945061035f606089016102d8565b93506080880151915080821115610374575f80fd5b508601601f81018813610385575f80fd5b61039488825160208401610285565b9150509295509295909350565b5f6001600160401b038211156103b9576103b96100ae565b5060051b60200190565b5f82601f8301126103d2575f80fd5b815160206103e261015b836103a1565b82815260059290921b84018101918181019086841115610400575f80fd5b8286015b8481101561041b5780518352918301918301610404565b509695505050505050565b5f8060408385031215610437575f80fd5b82516001600160401b038082111561044d575f80fd5b818501915085601f830112610460575f80fd5b8151602061047061015b836103a1565b82815260059290921b8401810191818101908984111561048e575f80fd5b948201945b838610156104c15785516001600160a01b03811681146104b2575f8081fd5b82529482019490820190610493565b918801519196509093505050808211156104d9575f80fd5b506104e6858286016103c3565b915050925092905056fea26469706673582212209f88dc63ed48347a25b951ef566431821903de443977ff1d3f5cae611d11ed5b64736f6c63430008150033
Deployed Bytecode
0x73aec9d11ebd2e87c9e084c90ff65c977fb10f0c453014608060405260043610610034575f3560e01c806338841e7514610038575b5f80fd5b61004b610046366004610118565b610064565b60405161005b94939291906101de565b60405180910390f35b60608060608060608580602001905181019061008091906102ec565b80519499509297509193506100a19284016020908101925084019050610426565b9093509150509193509193565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b03811182821017156100ea576100ea6100ae565b604052919050565b5f6001600160401b0382111561010a5761010a6100ae565b50601f01601f191660200190565b5f60208284031215610128575f80fd5b81356001600160401b0381111561013d575f80fd5b8201601f8101841361014d575f80fd5b803561016061015b826100f2565b6100c2565b818152856020838501011115610174575f80fd5b816020840160208301375f91810160200191909152949350505050565b5f5b838110156101ab578181015183820152602001610193565b50505f910152565b5f81518084526101ca816020860160208601610191565b601f01601f19169290920160200192915050565b608081525f6101f060808301876101b3565b60208382038185015261020382886101b3565b848103604086015286518082528288019350908201905f5b818110156102405784516001600160a01b03168352938301939183019160010161021b565b5050848103606086015285518082529082019250818601905f5b818110156102765782518552938301939183019160010161025a565b50929998505050505050505050565b5f61029261015b846100f2565b90508281528383830111156102a5575f80fd5b6102b3836020830184610191565b9392505050565b5f82601f8301126102c9575f80fd5b6102b383835160208501610285565b805180151581146102e7575f80fd5b919050565b5f805f805f60a08688031215610300575f80fd5b85516001600160401b0380821115610316575f80fd5b61032289838a016102ba565b96506020880151915080821115610337575f80fd5b61034389838a016102ba565b9550610351604089016102d8565b945061035f606089016102d8565b93506080880151915080821115610374575f80fd5b508601601f81018813610385575f80fd5b61039488825160208401610285565b9150509295509295909350565b5f6001600160401b038211156103b9576103b96100ae565b5060051b60200190565b5f82601f8301126103d2575f80fd5b815160206103e261015b836103a1565b82815260059290921b84018101918181019086841115610400575f80fd5b8286015b8481101561041b5780518352918301918301610404565b509695505050505050565b5f8060408385031215610437575f80fd5b82516001600160401b038082111561044d575f80fd5b818501915085601f830112610460575f80fd5b8151602061047061015b836103a1565b82815260059290921b8401810191818101908984111561048e575f80fd5b948201945b838610156104c15785516001600160a01b03811681146104b2575f8081fd5b82529482019490820190610493565b918801519196509093505050808211156104d9575f80fd5b506104e6858286016103c3565b915050925092905056fea26469706673582212209f88dc63ed48347a25b951ef566431821903de443977ff1d3f5cae611d11ed5b64736f6c63430008150033
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.