This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Relates to https://github.com/timbertson/opam2nix/issues/43 | |
# Ran on Ubuntu on AWS | |
$ nix-shell | |
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. | |
trace: [wrangle] Providing source self (git-local) from /nix/store/d2pcpfs5cvw913rw7jk8hpnc4ssg39rk-dbgihl2pv3yh1jbi1k68sgdy0kp5d467-source | |
trace: [wrangle] Providing source cudf (url) from /nix/store/3r17n7vjrbihzr7z0cd163xvzxz6mx4w-cudf-0.9.tar.gz | |
trace: [wrangle] Providing source dose (url) from /nix/store/mh2jr4sgghybljmfk7wlynn2pwq3ccfn-dose3-5.0.1.tar.gz | |
trace: [wrangle] Providing source mccs (url) from /nix/store/1ssag69f74snzkk53cwr1alwkil7a1lc-1.1+9.tar.gz | |
trace: [wrangle] Providing source opam (github) from /nix/store/s26wnykrfqxkpj1iy1vkh69nz9j0axgi-source | |
trace: [wrangle] Providing source opam-file-format (github) from /nix/store/kpk45bmqdrm3p43ac1bcsbr3yh5yrkpz-source |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From https://docs.openzeppelin.com/contracts/3.x/erc20 | |
// contracts/GLDToken.sol | |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.6.0; | |
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.2.0/contracts/token/ERC20/ERC20.sol"; | |
contract GLDToken is ERC20 { | |
constructor(uint256 initialSupply) public ERC20("Gold", "GLD") { |