Source Code
Overview
ETH Balance
0 ETH
ETH Value
$0.00Multichain Info
N/A
Loading...
Loading
Contract Name:
KatanaDog
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at KatanaScan.com on 2025-08-01 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract KatanaDog { string public message; constructor(string memory _message) { message = _message; } function setMessage(string calldata _newMessage) external { message = _newMessage; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"message","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_newMessage","type":"string"}],"name":"setMessage","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516104db3803806104db83398101604081905261002f916100e2565b8051610042906000906020840190610049565b50506101f5565b828054610055906101a4565b90600052602060002090601f01602090048101928261007757600085556100bd565b82601f1061009057805160ff19168380011785556100bd565b828001600101855582156100bd579182015b828111156100bd5782518255916020019190600101906100a2565b506100c99291506100cd565b5090565b5b808211156100c957600081556001016100ce565b600060208083850312156100f4578182fd5b82516001600160401b038082111561010a578384fd5b818501915085601f83011261011d578384fd5b81518181111561012f5761012f6101df565b604051601f8201601f1916810185018381118282101715610152576101526101df565b6040528181528382018501881015610168578586fd5b8592505b81831015610189578383018501518184018601529184019161016c565b8183111561019957858583830101525b979650505050505050565b6002810460018216806101b857607f821691505b602082108114156101d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6102d7806102046000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063368b87721461003b578063e21f37ce14610050575b600080fd5b61004e6100493660046101a6565b61006e565b005b61005861007f565b6040516100659190610213565b60405180910390f35b61007a6000838361010d565b505050565b6000805461008c90610266565b80601f01602080910402602001604051908101604052809291908181526020018280546100b890610266565b80156101055780601f106100da57610100808354040283529160200191610105565b820191906000526020600020905b8154815290600101906020018083116100e857829003601f168201915b505050505081565b82805461011990610266565b90600052602060002090601f01602090048101928261013b5760008555610181565b82601f106101545782800160ff19823516178555610181565b82800160010185558215610181579182015b82811115610181578235825591602001919060010190610166565b5061018d929150610191565b5090565b5b8082111561018d5760008155600101610192565b600080602083850312156101b8578182fd5b823567ffffffffffffffff808211156101cf578384fd5b818501915085601f8301126101e2578384fd5b8135818111156101f0578485fd5b866020828501011115610201578485fd5b60209290920196919550909350505050565b6000602080835283518082850152825b8181101561023f57858101830151858201604001528201610223565b818111156102505783604083870101525b50601f01601f1916929092016040019392505050565b60028104600182168061027a57607f821691505b6020821081141561029b57634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220ddbee879edb65c89fbb317863e0d8324c39edacde59db4685ad33c0062f15a9864736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001148656c6c6f2c204b6174616e61446f6721000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063368b87721461003b578063e21f37ce14610050575b600080fd5b61004e6100493660046101a6565b61006e565b005b61005861007f565b6040516100659190610213565b60405180910390f35b61007a6000838361010d565b505050565b6000805461008c90610266565b80601f01602080910402602001604051908101604052809291908181526020018280546100b890610266565b80156101055780601f106100da57610100808354040283529160200191610105565b820191906000526020600020905b8154815290600101906020018083116100e857829003601f168201915b505050505081565b82805461011990610266565b90600052602060002090601f01602090048101928261013b5760008555610181565b82601f106101545782800160ff19823516178555610181565b82800160010185558215610181579182015b82811115610181578235825591602001919060010190610166565b5061018d929150610191565b5090565b5b8082111561018d5760008155600101610192565b600080602083850312156101b8578182fd5b823567ffffffffffffffff808211156101cf578384fd5b818501915085601f8301126101e2578384fd5b8135818111156101f0578485fd5b866020828501011115610201578485fd5b60209290920196919550909350505050565b6000602080835283518082850152825b8181101561023f57858101830151858201604001528201610223565b818111156102505783604083870101525b50601f01601f1916929092016040019392505050565b60028104600182168061027a57607f821691505b6020821081141561029b57634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220ddbee879edb65c89fbb317863e0d8324c39edacde59db4685ad33c0062f15a9864736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001148656c6c6f2c204b6174616e61446f6721000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _message (string): Hello, KatanaDog!
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [2] : 48656c6c6f2c204b6174616e61446f6721000000000000000000000000000000
Deployed Bytecode Sourcemap
60:238:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;197:98;;;;;;:::i;:::-;;:::i;:::-;;86:21;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;197:98;266:21;:7;276:11;;266:21;:::i;:::-;;197:98;;:::o;86:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:642:1;;;146:2;134:9;125:7;121:23;117:32;114:2;;;167:6;159;152:22;114:2;212:9;199:23;241:18;282:2;274:6;271:14;268:2;;;303:6;295;288:22;268:2;346:6;335:9;331:22;321:32;;391:7;384:4;380:2;376:13;372:27;362:2;;418:6;410;403:22;362:2;463;450:16;489:2;481:6;478:14;475:2;;;510:6;502;495:22;475:2;560:7;555:2;546:6;542:2;538:15;534:24;531:37;528:2;;;586:6;578;571:22;528:2;622;614:11;;;;;644:6;;-1:-1:-1;104:552:1;;-1:-1:-1;;;;104:552:1:o;661:603::-;;802:2;831;820:9;813:21;863:6;857:13;906:6;901:2;890:9;886:18;879:34;931:4;944:140;958:6;955:1;952:13;944:140;;;1053:14;;;1049:23;;1043:30;1019:17;;;1038:2;1015:26;1008:66;973:10;;944:140;;;1102:6;1099:1;1096:13;1093:2;;;1172:4;1167:2;1158:6;1147:9;1143:22;1139:31;1132:45;1093:2;-1:-1:-1;1248:2:1;1227:15;-1:-1:-1;;1223:29:1;1208:45;;;;1255:2;1204:54;;782:482;-1:-1:-1;;;782:482:1:o;1269:380::-;1354:1;1344:12;;1401:1;1391:12;;;1412:2;;1466:4;1458:6;1454:17;1444:27;;1412:2;1519;1511:6;1508:14;1488:18;1485:38;1482:2;;;1565:10;1560:3;1556:20;1553:1;1546:31;1600:4;1597:1;1590:15;1628:4;1625:1;1618:15;1482:2;;1324:325;;;:::o
Swarm Source
ipfs://ddbee879edb65c89fbb317863e0d8324c39edacde59db4685ad33c0062f15a98
Loading...
Loading
Loading...
Loading

Loading...
Loading
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.