├── .github └── workflows │ ├── deploy.sh │ ├── deploy.yaml │ └── get-version-number.sh ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── app ├── .env.example ├── .eslintrc.json ├── .gitignore ├── .npmrc ├── .prettierignore ├── .prettierrc ├── next.config.js ├── package-lock.json ├── package.json ├── postcss.config.js ├── public │ ├── angle.svg │ ├── arrow-go-to-up-blue.svg │ ├── arrow-go-to-up.svg │ ├── arrow-right.svg │ ├── chainlink.svg │ ├── charger.svg │ ├── chevron-down.svg │ ├── close.svg │ ├── code.svg │ ├── dev-expert.svg │ ├── docs.svg │ ├── error.svg │ ├── external-muted.svg │ ├── external.svg │ ├── github.svg │ ├── globe.svg │ ├── how-it-works-meteo.png │ ├── how-it-works-x.jpg │ ├── loading.gif │ ├── menu.svg │ ├── onchain.svg │ ├── open-meteo.jpeg │ ├── rain.svg │ ├── refresh.svg │ ├── snow.svg │ ├── sun.svg │ ├── suncloud.svg │ └── x.svg ├── src │ ├── app │ │ ├── api │ │ │ ├── geolocation │ │ │ │ └── route.ts │ │ │ ├── onchain-tweet │ │ │ │ └── route.ts │ │ │ └── onchain-weather │ │ │ │ └── route.ts │ │ ├── favicon.ico │ │ ├── layout.tsx │ │ ├── open-meteo │ │ │ ├── history.tsx │ │ │ ├── layout.tsx │ │ │ ├── offchain-response.tsx │ │ │ ├── onchain-data.tsx │ │ │ ├── opengraph-image.png │ │ │ ├── page.tsx │ │ │ ├── twitter-image.png │ │ │ └── under-the-hood.tsx │ │ ├── opengraph-image.png │ │ ├── page.tsx │ │ ├── twitter-image.png │ │ └── x │ │ │ ├── history.tsx │ │ │ ├── layout.tsx │ │ │ ├── offchain-response.tsx │ │ │ ├── onchain-data.tsx │ │ │ ├── opengraph-image.png │ │ │ ├── page.tsx │ │ │ ├── twitter-image.png │ │ │ └── under-the-hood.tsx │ ├── components │ │ ├── api-switch.tsx │ │ ├── autocomplete.tsx │ │ ├── city-input.tsx │ │ ├── code-block.tsx │ │ ├── google-tag.tsx │ │ ├── handle-input.tsx │ │ ├── loading-spinner.tsx │ │ ├── main-nav.tsx │ │ ├── mobile-nav.tsx │ │ ├── site-header.tsx │ │ └── ui │ │ │ ├── alert.tsx │ │ │ ├── button.tsx │ │ │ ├── card.tsx │ │ │ ├── collapsible.tsx │ │ │ ├── command.tsx │ │ │ ├── dialog.tsx │ │ │ ├── dropdown-menu.tsx │ │ │ ├── input.tsx │ │ │ ├── popover.tsx │ │ │ ├── scroll-area.tsx │ │ │ ├── sheet.tsx │ │ │ └── table.tsx │ ├── config │ │ ├── contract-code-weather.ts │ │ ├── contract-code-x.ts │ │ ├── contracts.ts │ │ └── site.tsx │ ├── hooks │ │ └── useDebounce.ts │ ├── lib │ │ ├── fetch-geocoding.ts │ │ ├── fetch-tweet.ts │ │ ├── fetch-weather.ts │ │ ├── fonts.ts │ │ ├── history.ts │ │ ├── request-onchain.ts │ │ └── utils.ts │ ├── styles │ │ └── globals.css │ └── types.ts ├── tailwind.config.js └── tsconfig.json ├── contracts ├── .gitignore ├── .npmignore ├── .solhint.json ├── .solhintignore ├── API-request-example.js ├── Functions-request-config.js ├── LICENSE ├── calculation-example.js ├── contracts │ ├── AutomatedFunctionsConsumer.sol │ ├── FunctionsConsumer.sol │ ├── WeatherConsumer.sol │ ├── XUserDataConsumer.sol │ └── test │ │ ├── LinkToken.sol │ │ └── MockV3Aggregator.sol ├── hardhat.config.js ├── networks.js ├── package-lock.json ├── package.json ├── scripts │ ├── listen.js │ └── startLocalFunctionsTestnet.js ├── tasks │ ├── Functions-billing │ │ ├── accept.js │ │ ├── add.js │ │ ├── cancel.js │ │ ├── create.js │ │ ├── fund.js │ │ ├── index.js │ │ ├── info.js │ │ ├── remove.js │ │ ├── timeoutRequests.js │ │ └── transfer.js │ ├── Functions-consumer │ │ ├── buildOffchainSecrets.js │ │ ├── checkUpkeep.js │ │ ├── deployAutoConsumer.js │ │ ├── deployConsumer.js │ │ ├── deployWeatherConsumer.js │ │ ├── deployXConsumer.js │ │ ├── index.js │ │ ├── listDonSecrets.js │ │ ├── performManualUpkeep.js │ │ ├── readResultAndError.js │ │ ├── request.js │ │ ├── requestLastUserTweet.js │ │ ├── requestUserInfo.js │ │ ├── setAutoRequest.js │ │ ├── setDonId.js │ │ └── uploadSecretsToDon.js │ ├── balance.js │ ├── block-number.js │ ├── index.js │ ├── simulateScript.js │ └── utils │ │ ├── index.js │ │ ├── logger.js │ │ ├── network.js │ │ ├── price.js │ │ ├── prompt.js │ │ └── spin.js ├── test │ └── unit │ │ └── FunctionsConsumer.spec.js ├── weather-api.js ├── x-last-tweets.js └── x-user-info.js └── package.json /.github/workflows/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/.github/workflows/deploy.sh -------------------------------------------------------------------------------- /.github/workflows/deploy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/.github/workflows/deploy.yaml -------------------------------------------------------------------------------- /.github/workflows/get-version-number.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/.github/workflows/get-version-number.sh -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "solidity.compileUsingRemoteVersion": "v0.8.19+commit.7dd6d404" 3 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/README.md -------------------------------------------------------------------------------- /app/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/.env.example -------------------------------------------------------------------------------- /app/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/.eslintrc.json -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/.gitignore -------------------------------------------------------------------------------- /app/.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies = false -------------------------------------------------------------------------------- /app/.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | -------------------------------------------------------------------------------- /app/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/.prettierrc -------------------------------------------------------------------------------- /app/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/next.config.js -------------------------------------------------------------------------------- /app/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/package-lock.json -------------------------------------------------------------------------------- /app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/package.json -------------------------------------------------------------------------------- /app/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/postcss.config.js -------------------------------------------------------------------------------- /app/public/angle.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/angle.svg -------------------------------------------------------------------------------- /app/public/arrow-go-to-up-blue.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/arrow-go-to-up-blue.svg -------------------------------------------------------------------------------- /app/public/arrow-go-to-up.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/arrow-go-to-up.svg -------------------------------------------------------------------------------- /app/public/arrow-right.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/arrow-right.svg -------------------------------------------------------------------------------- /app/public/chainlink.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/chainlink.svg -------------------------------------------------------------------------------- /app/public/charger.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/charger.svg -------------------------------------------------------------------------------- /app/public/chevron-down.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/chevron-down.svg -------------------------------------------------------------------------------- /app/public/close.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/close.svg -------------------------------------------------------------------------------- /app/public/code.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/code.svg -------------------------------------------------------------------------------- /app/public/dev-expert.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/dev-expert.svg -------------------------------------------------------------------------------- /app/public/docs.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/docs.svg -------------------------------------------------------------------------------- /app/public/error.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/error.svg -------------------------------------------------------------------------------- /app/public/external-muted.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/external-muted.svg -------------------------------------------------------------------------------- /app/public/external.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/external.svg -------------------------------------------------------------------------------- /app/public/github.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/github.svg -------------------------------------------------------------------------------- /app/public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/globe.svg -------------------------------------------------------------------------------- /app/public/how-it-works-meteo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/how-it-works-meteo.png -------------------------------------------------------------------------------- /app/public/how-it-works-x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/how-it-works-x.jpg -------------------------------------------------------------------------------- /app/public/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/loading.gif -------------------------------------------------------------------------------- /app/public/menu.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/menu.svg -------------------------------------------------------------------------------- /app/public/onchain.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/onchain.svg -------------------------------------------------------------------------------- /app/public/open-meteo.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/open-meteo.jpeg -------------------------------------------------------------------------------- /app/public/rain.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/rain.svg -------------------------------------------------------------------------------- /app/public/refresh.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/refresh.svg -------------------------------------------------------------------------------- /app/public/snow.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/snow.svg -------------------------------------------------------------------------------- /app/public/sun.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/sun.svg -------------------------------------------------------------------------------- /app/public/suncloud.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/suncloud.svg -------------------------------------------------------------------------------- /app/public/x.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/public/x.svg -------------------------------------------------------------------------------- /app/src/app/api/geolocation/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/api/geolocation/route.ts -------------------------------------------------------------------------------- /app/src/app/api/onchain-tweet/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/api/onchain-tweet/route.ts -------------------------------------------------------------------------------- /app/src/app/api/onchain-weather/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/api/onchain-weather/route.ts -------------------------------------------------------------------------------- /app/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/favicon.ico -------------------------------------------------------------------------------- /app/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/layout.tsx -------------------------------------------------------------------------------- /app/src/app/open-meteo/history.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/open-meteo/history.tsx -------------------------------------------------------------------------------- /app/src/app/open-meteo/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/open-meteo/layout.tsx -------------------------------------------------------------------------------- /app/src/app/open-meteo/offchain-response.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/open-meteo/offchain-response.tsx -------------------------------------------------------------------------------- /app/src/app/open-meteo/onchain-data.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/open-meteo/onchain-data.tsx -------------------------------------------------------------------------------- /app/src/app/open-meteo/opengraph-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/open-meteo/opengraph-image.png -------------------------------------------------------------------------------- /app/src/app/open-meteo/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/open-meteo/page.tsx -------------------------------------------------------------------------------- /app/src/app/open-meteo/twitter-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/open-meteo/twitter-image.png -------------------------------------------------------------------------------- /app/src/app/open-meteo/under-the-hood.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/open-meteo/under-the-hood.tsx -------------------------------------------------------------------------------- /app/src/app/opengraph-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/opengraph-image.png -------------------------------------------------------------------------------- /app/src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/page.tsx -------------------------------------------------------------------------------- /app/src/app/twitter-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/twitter-image.png -------------------------------------------------------------------------------- /app/src/app/x/history.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/x/history.tsx -------------------------------------------------------------------------------- /app/src/app/x/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/x/layout.tsx -------------------------------------------------------------------------------- /app/src/app/x/offchain-response.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/x/offchain-response.tsx -------------------------------------------------------------------------------- /app/src/app/x/onchain-data.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/x/onchain-data.tsx -------------------------------------------------------------------------------- /app/src/app/x/opengraph-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/x/opengraph-image.png -------------------------------------------------------------------------------- /app/src/app/x/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/x/page.tsx -------------------------------------------------------------------------------- /app/src/app/x/twitter-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/x/twitter-image.png -------------------------------------------------------------------------------- /app/src/app/x/under-the-hood.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/app/x/under-the-hood.tsx -------------------------------------------------------------------------------- /app/src/components/api-switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/api-switch.tsx -------------------------------------------------------------------------------- /app/src/components/autocomplete.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/autocomplete.tsx -------------------------------------------------------------------------------- /app/src/components/city-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/city-input.tsx -------------------------------------------------------------------------------- /app/src/components/code-block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/code-block.tsx -------------------------------------------------------------------------------- /app/src/components/google-tag.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/google-tag.tsx -------------------------------------------------------------------------------- /app/src/components/handle-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/handle-input.tsx -------------------------------------------------------------------------------- /app/src/components/loading-spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/loading-spinner.tsx -------------------------------------------------------------------------------- /app/src/components/main-nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/main-nav.tsx -------------------------------------------------------------------------------- /app/src/components/mobile-nav.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/mobile-nav.tsx -------------------------------------------------------------------------------- /app/src/components/site-header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/site-header.tsx -------------------------------------------------------------------------------- /app/src/components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/alert.tsx -------------------------------------------------------------------------------- /app/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/button.tsx -------------------------------------------------------------------------------- /app/src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/card.tsx -------------------------------------------------------------------------------- /app/src/components/ui/collapsible.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/collapsible.tsx -------------------------------------------------------------------------------- /app/src/components/ui/command.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/command.tsx -------------------------------------------------------------------------------- /app/src/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/dialog.tsx -------------------------------------------------------------------------------- /app/src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /app/src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/input.tsx -------------------------------------------------------------------------------- /app/src/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/popover.tsx -------------------------------------------------------------------------------- /app/src/components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /app/src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /app/src/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/components/ui/table.tsx -------------------------------------------------------------------------------- /app/src/config/contract-code-weather.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/config/contract-code-weather.ts -------------------------------------------------------------------------------- /app/src/config/contract-code-x.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/config/contract-code-x.ts -------------------------------------------------------------------------------- /app/src/config/contracts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/config/contracts.ts -------------------------------------------------------------------------------- /app/src/config/site.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/config/site.tsx -------------------------------------------------------------------------------- /app/src/hooks/useDebounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/hooks/useDebounce.ts -------------------------------------------------------------------------------- /app/src/lib/fetch-geocoding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/lib/fetch-geocoding.ts -------------------------------------------------------------------------------- /app/src/lib/fetch-tweet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/lib/fetch-tweet.ts -------------------------------------------------------------------------------- /app/src/lib/fetch-weather.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/lib/fetch-weather.ts -------------------------------------------------------------------------------- /app/src/lib/fonts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/lib/fonts.ts -------------------------------------------------------------------------------- /app/src/lib/history.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/lib/history.ts -------------------------------------------------------------------------------- /app/src/lib/request-onchain.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/lib/request-onchain.ts -------------------------------------------------------------------------------- /app/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/lib/utils.ts -------------------------------------------------------------------------------- /app/src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/styles/globals.css -------------------------------------------------------------------------------- /app/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/src/types.ts -------------------------------------------------------------------------------- /app/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/tailwind.config.js -------------------------------------------------------------------------------- /app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/app/tsconfig.json -------------------------------------------------------------------------------- /contracts/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/.gitignore -------------------------------------------------------------------------------- /contracts/.npmignore: -------------------------------------------------------------------------------- 1 | hardhat.config.js 2 | scripts 3 | test 4 | -------------------------------------------------------------------------------- /contracts/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/.solhint.json -------------------------------------------------------------------------------- /contracts/.solhintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | contracts/test 3 | -------------------------------------------------------------------------------- /contracts/API-request-example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/API-request-example.js -------------------------------------------------------------------------------- /contracts/Functions-request-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/Functions-request-config.js -------------------------------------------------------------------------------- /contracts/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/LICENSE -------------------------------------------------------------------------------- /contracts/calculation-example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/calculation-example.js -------------------------------------------------------------------------------- /contracts/contracts/AutomatedFunctionsConsumer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/contracts/AutomatedFunctionsConsumer.sol -------------------------------------------------------------------------------- /contracts/contracts/FunctionsConsumer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/contracts/FunctionsConsumer.sol -------------------------------------------------------------------------------- /contracts/contracts/WeatherConsumer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/contracts/WeatherConsumer.sol -------------------------------------------------------------------------------- /contracts/contracts/XUserDataConsumer.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/contracts/XUserDataConsumer.sol -------------------------------------------------------------------------------- /contracts/contracts/test/LinkToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/contracts/test/LinkToken.sol -------------------------------------------------------------------------------- /contracts/contracts/test/MockV3Aggregator.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/contracts/test/MockV3Aggregator.sol -------------------------------------------------------------------------------- /contracts/hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/hardhat.config.js -------------------------------------------------------------------------------- /contracts/networks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/networks.js -------------------------------------------------------------------------------- /contracts/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/package-lock.json -------------------------------------------------------------------------------- /contracts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/package.json -------------------------------------------------------------------------------- /contracts/scripts/listen.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/scripts/listen.js -------------------------------------------------------------------------------- /contracts/scripts/startLocalFunctionsTestnet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/scripts/startLocalFunctionsTestnet.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/accept.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/accept.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/add.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/add.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/cancel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/cancel.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/create.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/create.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/fund.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/fund.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/index.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/info.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/info.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/remove.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/remove.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/timeoutRequests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/timeoutRequests.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-billing/transfer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-billing/transfer.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/buildOffchainSecrets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/buildOffchainSecrets.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/checkUpkeep.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/checkUpkeep.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/deployAutoConsumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/deployAutoConsumer.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/deployConsumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/deployConsumer.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/deployWeatherConsumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/deployWeatherConsumer.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/deployXConsumer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/deployXConsumer.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/index.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/listDonSecrets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/listDonSecrets.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/performManualUpkeep.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/performManualUpkeep.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/readResultAndError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/readResultAndError.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/request.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/requestLastUserTweet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/requestLastUserTweet.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/requestUserInfo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/requestUserInfo.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/setAutoRequest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/setAutoRequest.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/setDonId.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/setDonId.js -------------------------------------------------------------------------------- /contracts/tasks/Functions-consumer/uploadSecretsToDon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/Functions-consumer/uploadSecretsToDon.js -------------------------------------------------------------------------------- /contracts/tasks/balance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/balance.js -------------------------------------------------------------------------------- /contracts/tasks/block-number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/block-number.js -------------------------------------------------------------------------------- /contracts/tasks/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/index.js -------------------------------------------------------------------------------- /contracts/tasks/simulateScript.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/simulateScript.js -------------------------------------------------------------------------------- /contracts/tasks/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/utils/index.js -------------------------------------------------------------------------------- /contracts/tasks/utils/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/utils/logger.js -------------------------------------------------------------------------------- /contracts/tasks/utils/network.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/utils/network.js -------------------------------------------------------------------------------- /contracts/tasks/utils/price.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/utils/price.js -------------------------------------------------------------------------------- /contracts/tasks/utils/prompt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/utils/prompt.js -------------------------------------------------------------------------------- /contracts/tasks/utils/spin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/tasks/utils/spin.js -------------------------------------------------------------------------------- /contracts/test/unit/FunctionsConsumer.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/test/unit/FunctionsConsumer.spec.js -------------------------------------------------------------------------------- /contracts/weather-api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/weather-api.js -------------------------------------------------------------------------------- /contracts/x-last-tweets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/x-last-tweets.js -------------------------------------------------------------------------------- /contracts/x-user-info.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/contracts/x-user-info.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/smartcontractkit/run-functions-dapp/HEAD/package.json --------------------------------------------------------------------------------