This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
object "Multicall" { | |
code { | |
// Deploy the contract | |
// Store gas token burn cost in zero slot | |
sstore(0, 0) | |
sstore(1, 0) | |
sstore(2, 0) | |
datacopy(0x0, dataoffset("MulticallRuntime"), datasize("MulticallRuntime")) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
// SPDX-License-Identifier: UNLICENSED | |
// It's trivially easy to exploit a weak PRNG based NFT. | |
// Just bundle this with a flashbots bundle where the mint occurs. | |
// | |
// It's also trivially easy to detect/prevent with a took like slither: | |
// https://github.com/crytic/slither/wiki/Detector-Documentation#weak-PRNG | |
pragma solidity ^0.8.0; |
This file contains hidden or 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
// SPDX-License-Identifier: GPL-3.0-or-later | |
pragma solidity >=0.8.4; | |
/// @notice Simple gas-optimized multi-signature contract. | |
contract Multisig { | |
event Propose(address indexed proposer, uint256 indexed proposal); | |
event Sign(address indexed signer, uint256 indexed proposal); | |
event Execute(uint256 indexed proposal); | |
error NotSigner(); |
This file contains hidden or 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
/** | |
* This script will output a mailmerge of documents. | |
* All document variables are of the form <<var_name>> (spaces are ok) | |
* Requires a spreadsheet with two sheets | |
* The first is the data table, the second has the template url in A1 | |
* and the merged document's title in A2 (optional and can use data variables) | |
* | |
* With thanks to: | |
* drzaus: http://webapps.stackexchange.com/a/47255 | |
* Google Apps Script Tutorial: Simple Mail Merge |
This file contains hidden or 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
{% comment %} this is a barebones menu with submenu items for Shopify {% endcomment %} | |
{% comment %} see shopify docu for creating submenu items: https://help.shopify.com/manual/sell-online/online-store/menus-and-links#create-a-drop-down-menu {% endcomment %} | |
{% comment %} first assign the menu - this is the only thing you need to change {% endcomment %} | |
{% assign linklist = settings.collections_nav %} | |
{% comment %} in the above line change the collections_nav to the handle of your main naivgation {% endcomment %} | |
{% comment %} the code below will do the rest {% endcomment %} |
This file contains hidden or 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
var buttons; | |
buttons = document.getElementsByClassName('_42ft'); | |
for (var i = 0; i < buttons.length; i++) { | |
if(buttons[i].getAttribute('ajaxify') != null){ | |
if(buttons[i].getAttribute('ajaxify').indexOf('invite') != -1){ | |
buttons[i].click(); | |
} | |
} | |
} |
This file contains hidden or 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
One-pager / Scroll: | |
- http://www.north2.net/ | |
- http://10x16.com/ | |
- http://www.hm.com/us/kenzo#inspiration | |
- http://www.stinkdigital.com/ | |
- https://nameoflove.com/ | |
- https://www.thened.com/ | |
- https://thecreativeindependent.com/ | |
- http://www.melville-design.com/ | |
- http://designgest.com/ |
NewerOlder