This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.11; | |
| // import './IERC20.sol'; | |
| // contract FuncToken is IERC20 { | |
| contract FuncToken { | |
| uint public constant _totalSupply = 1000000; | |
| string public constant symbol = "FUNC"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const SwaggerClient = require('swagger-client'); | |
| async function main() { | |
| const requestInterceptor = (request) => { | |
| request.headers["X-API-KEY"] = 'MY-X-API-KEY'; | |
| request.headers["Content-Type"] = 'application/json'; | |
| return request; | |
| }; | |
| const client = await SwaggerClient({ url: 'https://legend.lnbits.com/openapi.json', requestInterceptor }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.addEventListener("DOMContentLoaded", function () { | |
| console.log("APARECE"); | |
| })} |
OlderNewer