Skip to content

Instantly share code, notes, and snippets.

View must479's full-sized avatar

Must479 must479

  • indonesia
View GitHub Profile

Keybase proof

I hereby claim:

  • I am must479 on github.
  • I am must479 (https://keybase.io/must479) on keybase.
  • I have a public key whose fingerprint is C7C1 9C68 2BAE A625 4A70 EC75 3D7B 3689 D5B9 8D35

To claim this, I am signing this object:

@must479
must479 / gist:94971580709ab553b493735ca9732ab1
Created August 30, 2022 20:17
gh repo clone dappradar/nft-sales-adapters
gh repo clone dappradar/nft-sales-adapters
@must479
must479 / .git...HEAD
Created December 4, 2022 08: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.8.15+commit.e14f2714.js&optimize=false&runs=200&gist=
ref: refs/heads/main
@must479
must479 / .git...HEAD
Created December 4, 2022 08:26
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.15+commit.e14f2714.js&optimize=false&runs=200&gist=
ref: refs/heads/main
@must479
must479 / .deps...npm...forge-std...Script.sol
Created December 5, 2022 13:50
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.15+commit.e14f2714.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.6.0 <0.9.0;
import "./Vm.sol";
import "./console.sol";
import "./console2.sol";
abstract contract Script {
address constant private VM_ADDRESS =
address(bytes20(uint160(uint256(keccak256('hevm cheat code')))));
@must479
must479 / .deps...npm...forge-std...Script.sol
Created December 5, 2022 14:03
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.15+commit.e14f2714.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.6.0 <0.9.0;
import "./Vm.sol";
import "./console.sol";
import "./console2.sol";
abstract contract Script {
address constant private VM_ADDRESS =
address(bytes20(uint160(uint256(keccak256('hevm cheat code')))));
@must479
must479 / .deps...npm...forge-std...Script.sol
Created December 5, 2022 14:07
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.15+commit.e14f2714.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.6.0 <0.9.0;
import "./Vm.sol";
import "./console.sol";
import "./console2.sol";
abstract contract Script {
address constant private VM_ADDRESS =
address(bytes20(uint160(uint256(keccak256('hevm cheat code')))));
@must479
must479 / .deps...npm...forge-std...Script.sol
Created December 5, 2022 14:08
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.15+commit.e14f2714.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.6.0 <0.9.0;
import "./Vm.sol";
import "./console.sol";
import "./console2.sol";
abstract contract Script {
address constant private VM_ADDRESS =
address(bytes20(uint160(uint256(keccak256('hevm cheat code')))));
@must479
must479 / .deps...npm...forge-std...Script.sol
Created December 5, 2022 14:14
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.15+commit.e14f2714.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.6.0 <0.9.0;
import "./Vm.sol";
import "./console.sol";
import "./console2.sol";
abstract contract Script {
address constant private VM_ADDRESS =
address(bytes20(uint160(uint256(keccak256('hevm cheat code')))));
@must479
must479 / .github...workflows...run-solidity-unittesting.yml
Created December 23, 2022 05: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=undefined&optimize=undefined&runs=undefined&gist=
name: Running Solidity Unit Tests
on: [push]
jobs:
run_sol_contracts_job:
runs-on: ubuntu-latest
name: A job to run solidity unit tests on github actions CI
steps:
- name: Checkout