Skip to content

Instantly share code, notes, and snippets.

View Hayza23's full-sized avatar

Hayza23

  • Joined Sep 17, 2025
View GitHub Profile
@Hayza23
Hayza23 / .deps...remix-tests...remix_accounts.sol
Created September 22, 2025 14:41
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.30+commit.73712a01.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
return address(0);
}
}
@Hayza23
Hayza23 / .deps...remix-tests...remix_accounts.sol
Created September 22, 2025 14:41
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.30+commit.73712a01.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
return address(0);
}
}
@Hayza23
Hayza23 / Ref-Ref.vy
Created September 20, 2025 10:37
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.30+commit.73712a01.js&optimize=false&runs=200&gist=
# pragma version 0.4.0
# Example: A public list holding 10 unsigned integers
nums: public(uint256[10])
myMap: public(HashMap[address, uint256])
struct Person:
name: String[10]
age: uint256