false
false
0

Contract Address Details

0x7a433e94C4ab4DE0f09AFbf2F7eD0EBa6E5Ad1d0

Contract Name
Graphicslibrary
Creator
0xebe894–7a24f6 at 0x4f2f1d–a3f868
Balance
0 CLO
Tokens
Fetching tokens...
Transactions
1 Transactions
Transfers
0 Transfers
Gas Used
590,407
Last Balance Update
16287145
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
Contract name:
Graphicslibrary




Optimization enabled
true
Compiler version
v0.8.16+commit.07a7930e




Optimization runs
200
EVM Version
default




Verified at
2024-11-13T16:26:49.578893Z

Contract source code

// SPDX-License-Identifier: GPL-3.0-only
// author: Upaut (CallistoDAO)

pragma solidity ^0.8.16;

contract Graphicslibrary {

    mapping(string => string) private GraphicsLib;

    function addIcon(string memory _name, string memory _icon_base64) external {
        GraphicsLib[_name] = _icon_base64;
    }

    function getIcon(string memory _name) public view returns (string memory) {
        return (GraphicsLib[_name]);
    }    
}
        

Contract ABI

[{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addIcon","inputs":[{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_icon_base64","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"getIcon","inputs":[{"type":"string","name":"_name","internalType":"string"}]}]
              

Contract Creation Code

Verify & Publish
0x608060405234801561001057600080fd5b5061048e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634572c5641461003b578063c35ef19c14610064575b600080fd5b61004e6100493660046101fc565b610079565b60405161005b919061025d565b60405180910390f35b610077610072366004610290565b610129565b005b606060008260405161008b91906102f4565b908152602001604051809103902080546100a490610310565b80601f01602080910402602001604051908101604052809291908181526020018280546100d090610310565b801561011d5780601f106100f25761010080835404028352916020019161011d565b820191906000526020600020905b81548152906001019060200180831161010057829003601f168201915b50505050509050919050565b8060008360405161013a91906102f4565b908152602001604051809103902090816101549190610398565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261018057600080fd5b813567ffffffffffffffff8082111561019b5761019b610159565b604051601f8301601f19908116603f011681019082821181831017156101c3576101c3610159565b816040528381528660208588010111156101dc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561020e57600080fd5b813567ffffffffffffffff81111561022557600080fd5b6102318482850161016f565b949350505050565b60005b8381101561025457818101518382015260200161023c565b50506000910152565b602081526000825180602084015261027c816040850160208701610239565b601f01601f19169190910160400192915050565b600080604083850312156102a357600080fd5b823567ffffffffffffffff808211156102bb57600080fd5b6102c78683870161016f565b935060208501359150808211156102dd57600080fd5b506102ea8582860161016f565b9150509250929050565b60008251610306818460208701610239565b9190910192915050565b600181811c9082168061032457607f821691505b60208210810361034457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561015457600081815260208120601f850160051c810160208610156103715750805b601f850160051c820191505b818110156103905782815560010161037d565b505050505050565b815167ffffffffffffffff8111156103b2576103b2610159565b6103c6816103c08454610310565b8461034a565b602080601f8311600181146103fb57600084156103e35750858301515b600019600386901b1c1916600185901b178555610390565b600085815260208120601f198616915b8281101561042a5788860151825594840194600190910190840161040b565b50858210156104485787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220847fe03ca767798900234cc648b1cd4d5ca5574f134fee557af097cc055ab6b464736f6c63430008100033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634572c5641461003b578063c35ef19c14610064575b600080fd5b61004e6100493660046101fc565b610079565b60405161005b919061025d565b60405180910390f35b610077610072366004610290565b610129565b005b606060008260405161008b91906102f4565b908152602001604051809103902080546100a490610310565b80601f01602080910402602001604051908101604052809291908181526020018280546100d090610310565b801561011d5780601f106100f25761010080835404028352916020019161011d565b820191906000526020600020905b81548152906001019060200180831161010057829003601f168201915b50505050509050919050565b8060008360405161013a91906102f4565b908152602001604051809103902090816101549190610398565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261018057600080fd5b813567ffffffffffffffff8082111561019b5761019b610159565b604051601f8301601f19908116603f011681019082821181831017156101c3576101c3610159565b816040528381528660208588010111156101dc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561020e57600080fd5b813567ffffffffffffffff81111561022557600080fd5b6102318482850161016f565b949350505050565b60005b8381101561025457818101518382015260200161023c565b50506000910152565b602081526000825180602084015261027c816040850160208701610239565b601f01601f19169190910160400192915050565b600080604083850312156102a357600080fd5b823567ffffffffffffffff808211156102bb57600080fd5b6102c78683870161016f565b935060208501359150808211156102dd57600080fd5b506102ea8582860161016f565b9150509250929050565b60008251610306818460208701610239565b9190910192915050565b600181811c9082168061032457607f821691505b60208210810361034457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561015457600081815260208120601f850160051c810160208610156103715750805b601f850160051c820191505b818110156103905782815560010161037d565b505050505050565b815167ffffffffffffffff8111156103b2576103b2610159565b6103c6816103c08454610310565b8461034a565b602080601f8311600181146103fb57600084156103e35750858301515b600019600386901b1c1916600185901b178555610390565b600085815260208120601f198616915b8281101561042a5788860151825594840194600190910190840161040b565b50858210156104485787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220847fe03ca767798900234cc648b1cd4d5ca5574f134fee557af097cc055ab6b464736f6c63430008100033