Skip to content

Instantly share code, notes, and snippets.

View utkarsh-aryan's full-sized avatar
🎯
Focusing

Utkarsh Aryan utkarsh-aryan

🎯
Focusing
View GitHub Profile
@utkarsh-aryan
utkarsh-aryan / smmm.sol
Created March 27, 2023 17:55
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.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.6.12;
contract SupplyChain {
event Added(uint256 index);
struct State{
string description;
@utkarsh-aryan
utkarsh-aryan / artifacts...SupplyChain.json
Created March 26, 2023 17:24
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.6.0+commit.26b70077.js&optimize=false&runs=200&gist=
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
@utkarsh-aryan
utkarsh-aryan / SMARTCONT.sol
Created March 26, 2023 17:24
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.6.0+commit.26b70077.js&optimize=false&runs=200&gist=
pragma solidity ^0.6.0;
contract SupplyChain {
event Added(uint256 index);
struct State{
string description;
address person;
}