S Price: $0.519303 (+1.13%)

Contract

0x349A94812521a22c8c1811054298f86FB8c72693

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MyBucks

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 1 : MyBucks.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;

contract MyBucks {
    string public name;
    uint256 public totalSupply;

    constructor(string memory _name, uint256 _initialSupply) {
        name = _name;
        totalSupply = _initialSupply;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060405161043d38038061043d83398101604081905261002f9161005b565b600061003b83826101b4565b5060015550610272565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561006e57600080fd5b82516001600160401b0381111561008457600080fd5b8301601f8101851361009557600080fd5b80516001600160401b038111156100ae576100ae610045565b604051601f8201601f19908116603f011681016001600160401b03811182821017156100dc576100dc610045565b6040528181528282016020018710156100f457600080fd5b60005b82811015610113576020818501810151838301820152016100f7565b50600060209282018301529401519395939450505050565b600181811c9082168061013f57607f821691505b60208210810361015f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101af57806000526020600020601f840160051c8101602085101561018c5750805b601f840160051c820191505b818110156101ac5760008155600101610198565b50505b505050565b81516001600160401b038111156101cd576101cd610045565b6101e1816101db845461012b565b84610165565b6020601f82116001811461021557600083156101fd5750848201515b600019600385901b1c1916600184901b1784556101ac565b600084815260208120601f198516915b828110156102455787850151825560209485019460019092019101610225565b50848210156102635786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b6101bc806102816000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806306fdde031461003b57806318160ddd14610059575b600080fd5b610043610070565b60405161005091906100fe565b60405180910390f35b61006260015481565b604051908152602001610050565b6000805461007d9061014c565b80601f01602080910402602001604051908101604052809291908181526020018280546100a99061014c565b80156100f65780601f106100cb576101008083540402835291602001916100f6565b820191906000526020600020905b8154815290600101906020018083116100d957829003601f168201915b505050505081565b602081526000825180602084015260005b8181101561012c576020818601810151604086840101520161010f565b506000604082850101526040601f19601f83011684010191505092915050565b600181811c9082168061016057607f821691505b60208210810361018057634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220e28ab9a77f533ddecde71929e7e9b9c9ed40c71b9676991e2cfb694d9f036f9964736f6c634300081c0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000074d794275636b7300000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c806306fdde031461003b57806318160ddd14610059575b600080fd5b610043610070565b60405161005091906100fe565b60405180910390f35b61006260015481565b604051908152602001610050565b6000805461007d9061014c565b80601f01602080910402602001604051908101604052809291908181526020018280546100a99061014c565b80156100f65780601f106100cb576101008083540402835291602001916100f6565b820191906000526020600020905b8154815290600101906020018083116100d957829003601f168201915b505050505081565b602081526000825180602084015260005b8181101561012c576020818601810151604086840101520161010f565b506000604082850101526040601f19601f83011684010191505092915050565b600181811c9082168061016057607f821691505b60208210810361018057634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220e28ab9a77f533ddecde71929e7e9b9c9ed40c71b9676991e2cfb694d9f036f9964736f6c634300081c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000074d794275636b7300000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): MyBucks
Arg [1] : _initialSupply (uint256): 1000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [3] : 4d794275636b7300000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits

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.