Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
10,000 friends.tech Airdrop Badge
Holders
7,706
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
FriendsRecipient
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-08-21 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; contract FriendsRecipient { uint256 public totalSupply = 10000; address friend; constructor(address _delegate) { friend = _delegate; } fallback() external payable { (bool success, bytes memory data) = friend.delegatecall(msg.data); // Properly return the response if (success) { assembly { return(add(data, 0x20), mload(data)) } } else { // In the case the delegatecall failed, revert with the returned error data assembly { let returndataSize := returndatasize() returndatacopy(0, 0, returndataSize) revert(0, returndataSize) } } } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_delegate","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526127105f55348015610014575f80fd5b506040516102c73803806102c7833981810160405281019061003691906100da565b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610105565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6100a982610080565b9050919050565b6100b98161009f565b81146100c3575f80fd5b50565b5f815190506100d4816100b0565b92915050565b5f602082840312156100ef576100ee61007c565b5b5f6100fc848285016100c6565b91505092915050565b6101b5806101125f395ff3fe608060405260043610610021575f3560e01c806318160ddd146100cb57610028565b3661002857005b5f8060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff165f36604051610072929190610136565b5f60405180830381855af49150503d805f81146100aa576040519150601f19603f3d011682016040523d82523d5f602084013e6100af565b606091505b509150915081156100c257805160208201f35b3d805f803e805ffd5b3480156100d6575f80fd5b506100df6100f5565b6040516100ec9190610166565b60405180910390f35b5f5481565b5f81905092915050565b828183375f83830152505050565b5f61011d83856100fa565b935061012a838584610104565b82840190509392505050565b5f610142828486610112565b91508190509392505050565b5f819050919050565b6101608161014e565b82525050565b5f6020820190506101795f830184610157565b9291505056fea26469706673582212202d9dd544a44e3d453f310a38e8df84ccc16cc12d33eb33efec512397362e044e64736f6c63430008140033000000000000000000000000ea1f7e3fd7e94966c94047ac48a62f33aa2ac396
Deployed Bytecode
0x608060405260043610610021575f3560e01c806318160ddd146100cb57610028565b3661002857005b5f8060015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff165f36604051610072929190610136565b5f60405180830381855af49150503d805f81146100aa576040519150601f19603f3d011682016040523d82523d5f602084013e6100af565b606091505b509150915081156100c257805160208201f35b3d805f803e805ffd5b3480156100d6575f80fd5b506100df6100f5565b6040516100ec9190610166565b60405180910390f35b5f5481565b5f81905092915050565b828183375f83830152505050565b5f61011d83856100fa565b935061012a838584610104565b82840190509392505050565b5f610142828486610112565b91508190509392505050565b5f819050919050565b6101608161014e565b82525050565b5f6020820190506101795f830184610157565b9291505056fea26469706673582212202d9dd544a44e3d453f310a38e8df84ccc16cc12d33eb33efec512397362e044e64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ea1f7e3fd7e94966c94047ac48a62f33aa2ac396
-----Decoded View---------------
Arg [0] : _delegate (address): 0xeA1f7E3fD7E94966c94047aC48a62f33Aa2AC396
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ea1f7e3fd7e94966c94047ac48a62f33aa2ac396
Deployed Bytecode Sourcemap
63:797:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;278:12;292:17;313:6;;;;;;;;;;;:19;;333:8;;313:29;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;277:65;;;;400:7;396:417;;;482:4;476:11;469:4;463;459:15;452:36;396:417;674:16;729:14;726:1;723;708:36;772:14;769:1;762:25;98:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::o;7:147:1:-;108:11;145:3;130:18;;7:147;;;;:::o;160:146::-;257:6;252:3;247;234:30;298:1;289:6;284:3;280:16;273:27;160:146;;;:::o;334:327::-;448:3;469:88;550:6;545:3;469:88;:::i;:::-;462:95;;567:56;616:6;611:3;604:5;567:56;:::i;:::-;648:6;643:3;639:16;632:23;;334:327;;;;;:::o;667:291::-;807:3;829:103;928:3;919:6;911;829:103;:::i;:::-;822:110;;949:3;942:10;;667:291;;;;;:::o;964:77::-;1001:7;1030:5;1019:16;;964:77;;;:::o;1047:118::-;1134:24;1152:5;1134:24;:::i;:::-;1129:3;1122:37;1047:118;;:::o;1171:222::-;1264:4;1302:2;1291:9;1287:18;1279:26;;1315:71;1383:1;1372:9;1368:17;1359:6;1315:71;:::i;:::-;1171:222;;;;:::o
Swarm Source
ipfs://2d9dd544a44e3d453f310a38e8df84ccc16cc12d33eb33efec512397362e044e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.