Skip to content

Instantly share code, notes, and snippets.

View jambestwick's full-sized avatar
🌈
cola

Nate River jambestwick

🌈
cola
View GitHub Profile
@jambestwick
jambestwick / .deps...remix-tests...remix_accounts.sol
Created January 30, 2022 13:28
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.7+commit.e28d00a7.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) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;
@jambestwick
jambestwick / valid
Created April 2, 2022 09:42
element-ui flash add <html>
element-ui message-box can add <html> on javascript
<select id="checked">
<option value ="true">Yes</option>
<option value ="false">No</option>
</select>
var checkRes = document.getElementById("checked").value