Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
InkContract
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.19; contract InkContract { string public greeting = "Hello, Ink!"; function setGreeting(string memory _greeting) public { greeting = _greeting; } }
{ "remappings": [ "forge-std/=lib/forge-std/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "cancun", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"greeting","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_greeting","type":"string"}],"name":"setGreeting","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600b60809081526a48656c6c6f2c20496e6b2160a81b60a0525f9061002990826100d3565b50348015610035575f5ffd5b5061018d565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061006357607f821691505b60208210810361008157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156100ce57805f5260205f20601f840160051c810160208510156100ac5750805b601f840160051c820191505b818110156100cb575f81556001016100b8565b50505b505050565b81516001600160401b038111156100ec576100ec61003b565b610100816100fa845461004f565b84610087565b6020601f821160018114610132575f831561011b5750848201515b5f19600385901b1c1916600184901b1784556100cb565b5f84815260208120601f198516915b828110156101615787850151825560209485019460019092019101610141565b508482101561017e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6103768061019a5f395ff3fe608060405234801561000f575f5ffd5b5060043610610034575f3560e01c8063a413686214610038578063ef690cc01461004d575b5f5ffd5b61004b610046366004610119565b61006b565b005b61005561007a565b60405161006291906101cc565b60405180910390f35b5f6100768282610285565b5050565b5f805461008690610201565b80601f01602080910402602001604051908101604052809291908181526020018280546100b290610201565b80156100fd5780601f106100d4576101008083540402835291602001916100fd565b820191905f5260205f20905b8154815290600101906020018083116100e057829003601f168201915b505050505081565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610129575f5ffd5b813567ffffffffffffffff81111561013f575f5ffd5b8201601f8101841361014f575f5ffd5b803567ffffffffffffffff81111561016957610169610105565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561019857610198610105565b6040528181528282016020018610156101af575f5ffd5b816020840160208301375f91810160200191909152949350505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b600181811c9082168061021557607f821691505b60208210810361023357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561028057805f5260205f20601f840160051c8101602085101561025e5750805b601f840160051c820191505b8181101561027d575f815560010161026a565b50505b505050565b815167ffffffffffffffff81111561029f5761029f610105565b6102b3816102ad8454610201565b84610239565b6020601f8211600181146102e5575f83156102ce5750848201515b5f19600385901b1c1916600184901b17845561027d565b5f84815260208120601f198516915b8281101561031457878501518255602094850194600190920191016102f4565b508482101561033157868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fea26469706673582212202725378183d5536679f475c632e91fb496562f26a3b7c203842a90cc4d592c5564736f6c634300081c0033
Deployed Bytecode
0x608060405234801561000f575f5ffd5b5060043610610034575f3560e01c8063a413686214610038578063ef690cc01461004d575b5f5ffd5b61004b610046366004610119565b61006b565b005b61005561007a565b60405161006291906101cc565b60405180910390f35b5f6100768282610285565b5050565b5f805461008690610201565b80601f01602080910402602001604051908101604052809291908181526020018280546100b290610201565b80156100fd5780601f106100d4576101008083540402835291602001916100fd565b820191905f5260205f20905b8154815290600101906020018083116100e057829003601f168201915b505050505081565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215610129575f5ffd5b813567ffffffffffffffff81111561013f575f5ffd5b8201601f8101841361014f575f5ffd5b803567ffffffffffffffff81111561016957610169610105565b604051601f8201601f19908116603f0116810167ffffffffffffffff8111828210171561019857610198610105565b6040528181528282016020018610156101af575f5ffd5b816020840160208301375f91810160200191909152949350505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b600181811c9082168061021557607f821691505b60208210810361023357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561028057805f5260205f20601f840160051c8101602085101561025e5750805b601f840160051c820191505b8181101561027d575f815560010161026a565b50505b505050565b815167ffffffffffffffff81111561029f5761029f610105565b6102b3816102ad8454610201565b84610239565b6020601f8211600181146102e5575f83156102ce5750848201515b5f19600385901b1c1916600184901b17845561027d565b5f84815260208120601f198516915b8281101561031457878501518255602094850194600190920191016102f4565b508482101561033157868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fea26469706673582212202725378183d5536679f475c632e91fb496562f26a3b7c203842a90cc4d592c5564736f6c634300081c0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.