In this tutorial we will set up an environment to make data analysis with typescript and write our code in an experimental environment like Jupyter Notebook.
The following part is copied from https://github.com/yunabe/tslab.
#![no_std] | |
elrond_wasm::imports!(); | |
elrond_wasm::derive_imports!(); | |
#[derive(TopEncode, TopDecode, TypeAbi, PartialEq, Eq, Clone, Copy, Debug)] | |
pub enum Status { | |
FundingPeriod, | |
Successful, | |
Failed, |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; | |
import "@openzeppelin/contracts/utils/Counters.sol"; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
contract NFT is ERC721URIStorage { |
In this tutorial we will set up an environment to make data analysis with typescript and write our code in an experimental environment like Jupyter Notebook.
The following part is copied from https://github.com/yunabe/tslab.
#!/usr/bin/env php | |
<?php | |
# bin/routes | |
$app = require __DIR__ . '/../app/bootstrap.php'; | |
$routes = $app['routes']->all(); | |
foreach($routes as $route) { | |
$cr = new ReflectionFunction($route->getDefault('_controller')); |