├── .gitignore ├── LICENSE.md ├── README.md ├── actors ├── .gitignore ├── package.json ├── src │ ├── CrapDapp.abi.json │ ├── attack-dapp.js │ └── env.js └── yarn.lock ├── contracts ├── .gitignore ├── build │ ├── .gitkeep │ ├── CrapDapp.abi │ ├── IEIP1271Validator.abi │ ├── IERC20.abi │ ├── LibSafeMath.abi │ ├── Siphon.abi │ ├── TestBalanceChanger.abi │ ├── TokenBalanceCheckCallWrapper.abi │ └── TronToken.abi ├── deployments.json ├── lib │ └── migrate.js ├── package.json ├── src │ ├── CrapDapp.sol │ ├── IEIP1271Validator.sol │ ├── IERC20.sol │ ├── LibSafeMath.sol │ ├── Siphon.sol │ ├── TestBalanceChanger.sol │ ├── TokenBalanceCheckCallWrapper.sol │ └── TronToken.sol ├── test │ ├── live_wrapper.js │ └── siphon.js └── yarn.lock ├── out-front-browser ├── .gitignore ├── .npmrc ├── README.md ├── craco.config.js ├── package-lock.json ├── package.json ├── public │ ├── CNAME │ ├── favicon.ico │ ├── index.html │ └── manifest.json ├── src │ ├── App.less │ ├── App.test.tsx │ ├── App.tsx │ ├── components │ │ ├── AdminPage.tsx │ │ ├── AttemptForm.tsx │ │ ├── InputPage.tsx │ │ ├── LandingPage.tsx │ │ ├── RouterContainer.tsx │ │ └── WhitelistForm.tsx │ ├── data │ │ ├── AIO.json │ │ ├── AIO.ts │ │ ├── IERC20.json │ │ └── deployments.json │ ├── index.css │ ├── index.tsx │ ├── logo.svg │ ├── react-app-env.d.ts │ ├── serviceWorker.ts │ ├── theme.less │ └── types.d.ts └── tsconfig.json └── out-front-node ├── .npmrc ├── README.md ├── package-lock.json ├── package.json ├── src ├── IERC20.abi.json ├── Siphon.abi.json ├── TokenBalanceCheckCallWrapper.bin-runtime ├── env.js ├── erc20.js ├── index.js ├── readpipe.js ├── rescue.js ├── tx-validator.js ├── util.js ├── web3.js └── writepipe.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/README.md -------------------------------------------------------------------------------- /actors/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /actors/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/actors/package.json -------------------------------------------------------------------------------- /actors/src/CrapDapp.abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/actors/src/CrapDapp.abi.json -------------------------------------------------------------------------------- /actors/src/attack-dapp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/actors/src/attack-dapp.js -------------------------------------------------------------------------------- /actors/src/env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/actors/src/env.js -------------------------------------------------------------------------------- /actors/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/actors/yarn.lock -------------------------------------------------------------------------------- /contracts/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/.gitignore -------------------------------------------------------------------------------- /contracts/build/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contracts/build/CrapDapp.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/build/CrapDapp.abi -------------------------------------------------------------------------------- /contracts/build/IEIP1271Validator.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/build/IEIP1271Validator.abi -------------------------------------------------------------------------------- /contracts/build/IERC20.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/build/IERC20.abi -------------------------------------------------------------------------------- /contracts/build/LibSafeMath.abi: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /contracts/build/Siphon.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/build/Siphon.abi -------------------------------------------------------------------------------- /contracts/build/TestBalanceChanger.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/build/TestBalanceChanger.abi -------------------------------------------------------------------------------- /contracts/build/TokenBalanceCheckCallWrapper.abi: -------------------------------------------------------------------------------- 1 | [{"stateMutability":"payable","type":"fallback"}] -------------------------------------------------------------------------------- /contracts/build/TronToken.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/build/TronToken.abi -------------------------------------------------------------------------------- /contracts/deployments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/deployments.json -------------------------------------------------------------------------------- /contracts/lib/migrate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/lib/migrate.js -------------------------------------------------------------------------------- /contracts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/package.json -------------------------------------------------------------------------------- /contracts/src/CrapDapp.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/src/CrapDapp.sol -------------------------------------------------------------------------------- /contracts/src/IEIP1271Validator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/src/IEIP1271Validator.sol -------------------------------------------------------------------------------- /contracts/src/IERC20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/src/IERC20.sol -------------------------------------------------------------------------------- /contracts/src/LibSafeMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/src/LibSafeMath.sol -------------------------------------------------------------------------------- /contracts/src/Siphon.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/src/Siphon.sol -------------------------------------------------------------------------------- /contracts/src/TestBalanceChanger.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/src/TestBalanceChanger.sol -------------------------------------------------------------------------------- /contracts/src/TokenBalanceCheckCallWrapper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/src/TokenBalanceCheckCallWrapper.sol -------------------------------------------------------------------------------- /contracts/src/TronToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/src/TronToken.sol -------------------------------------------------------------------------------- /contracts/test/live_wrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/test/live_wrapper.js -------------------------------------------------------------------------------- /contracts/test/siphon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/test/siphon.js -------------------------------------------------------------------------------- /contracts/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/contracts/yarn.lock -------------------------------------------------------------------------------- /out-front-browser/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/.gitignore -------------------------------------------------------------------------------- /out-front-browser/.npmrc: -------------------------------------------------------------------------------- 1 | save-exact=true -------------------------------------------------------------------------------- /out-front-browser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/README.md -------------------------------------------------------------------------------- /out-front-browser/craco.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/craco.config.js -------------------------------------------------------------------------------- /out-front-browser/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/package-lock.json -------------------------------------------------------------------------------- /out-front-browser/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/package.json -------------------------------------------------------------------------------- /out-front-browser/public/CNAME: -------------------------------------------------------------------------------- 1 | out-front.io 2 | -------------------------------------------------------------------------------- /out-front-browser/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/public/favicon.ico -------------------------------------------------------------------------------- /out-front-browser/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/public/index.html -------------------------------------------------------------------------------- /out-front-browser/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/public/manifest.json -------------------------------------------------------------------------------- /out-front-browser/src/App.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/App.less -------------------------------------------------------------------------------- /out-front-browser/src/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/App.test.tsx -------------------------------------------------------------------------------- /out-front-browser/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/App.tsx -------------------------------------------------------------------------------- /out-front-browser/src/components/AdminPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/components/AdminPage.tsx -------------------------------------------------------------------------------- /out-front-browser/src/components/AttemptForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/components/AttemptForm.tsx -------------------------------------------------------------------------------- /out-front-browser/src/components/InputPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/components/InputPage.tsx -------------------------------------------------------------------------------- /out-front-browser/src/components/LandingPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/components/LandingPage.tsx -------------------------------------------------------------------------------- /out-front-browser/src/components/RouterContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/components/RouterContainer.tsx -------------------------------------------------------------------------------- /out-front-browser/src/components/WhitelistForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/components/WhitelistForm.tsx -------------------------------------------------------------------------------- /out-front-browser/src/data/AIO.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /out-front-browser/src/data/AIO.ts: -------------------------------------------------------------------------------- 1 | export const mockData = { 2 | // json goes here 3 | } 4 | -------------------------------------------------------------------------------- /out-front-browser/src/data/IERC20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/data/IERC20.json -------------------------------------------------------------------------------- /out-front-browser/src/data/deployments.json: -------------------------------------------------------------------------------- 1 | ../../../contracts/deployments.json -------------------------------------------------------------------------------- /out-front-browser/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/index.css -------------------------------------------------------------------------------- /out-front-browser/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/index.tsx -------------------------------------------------------------------------------- /out-front-browser/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/logo.svg -------------------------------------------------------------------------------- /out-front-browser/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /out-front-browser/src/serviceWorker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/src/serviceWorker.ts -------------------------------------------------------------------------------- /out-front-browser/src/theme.less: -------------------------------------------------------------------------------- 1 | @primary-color: rgb(40, 179, 58); 2 | -------------------------------------------------------------------------------- /out-front-browser/src/types.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /out-front-browser/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-browser/tsconfig.json -------------------------------------------------------------------------------- /out-front-node/.npmrc: -------------------------------------------------------------------------------- 1 | save-exact=true 2 | -------------------------------------------------------------------------------- /out-front-node/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/README.md -------------------------------------------------------------------------------- /out-front-node/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/package-lock.json -------------------------------------------------------------------------------- /out-front-node/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/package.json -------------------------------------------------------------------------------- /out-front-node/src/IERC20.abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/IERC20.abi.json -------------------------------------------------------------------------------- /out-front-node/src/Siphon.abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/Siphon.abi.json -------------------------------------------------------------------------------- /out-front-node/src/TokenBalanceCheckCallWrapper.bin-runtime: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/TokenBalanceCheckCallWrapper.bin-runtime -------------------------------------------------------------------------------- /out-front-node/src/env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/env.js -------------------------------------------------------------------------------- /out-front-node/src/erc20.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/erc20.js -------------------------------------------------------------------------------- /out-front-node/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/index.js -------------------------------------------------------------------------------- /out-front-node/src/readpipe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/readpipe.js -------------------------------------------------------------------------------- /out-front-node/src/rescue.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/rescue.js -------------------------------------------------------------------------------- /out-front-node/src/tx-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/tx-validator.js -------------------------------------------------------------------------------- /out-front-node/src/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/util.js -------------------------------------------------------------------------------- /out-front-node/src/web3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/web3.js -------------------------------------------------------------------------------- /out-front-node/src/writepipe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/src/writepipe.js -------------------------------------------------------------------------------- /out-front-node/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/justinschuldt/out-front/HEAD/out-front-node/yarn.lock --------------------------------------------------------------------------------