Skip to content

Instantly share code, notes, and snippets.

View Pr01sh01nt's full-sized avatar
🎯
Focusing

Pr01sh01nt

🎯
Focusing
View GitHub Profile
#include <bits/stdc++.h>
using namespace std;
class Shape
{
public:
virtual void draw() = 0;
virtual ~Shape() = default;
};
@Pr01sh01nt
Pr01sh01nt / Abstaract.sol
Last active March 27, 2024 11:33
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.24+commit.e11b9ed9.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;
abstract contract abst{
uint public val = 3;
function imp() public pure virtual returns(uint);