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.16; | |
| interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } | |
| contract TokenERC20 { | |
| // Public variables of the token | |
| string public name; | |
| string public symbol; | |
| uint8 public decimals = 18; | |
| // 18 decimals is the strongly suggested default, avoid changing it |
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
| var data = [ | |
| { | |
| "provider": "CoinList", | |
| "borrow": [ | |
| { | |
| "symbol": "ETH", | |
| "address": "0x0000000000000000000000000000000000000000", | |
| "rate": 0.0365 | |
| }, | |
| { |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| // 1. Obtain a webview config from Wyre API | |
| function getConfig(env) { | |
| var baseUrl; |
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
| Interest rates ingestion endpoint is a HTTP GET endpoint available via https protocol | |
| e.g. "https://example.com/rates?api-key=XXXXXXXXXXX" | |
| If this endpoint requires an API key, it should be accepted as a query string parameter, HTTP headers are not supported | |
| The response should be a JSON object that corresponds to the following example: | |
| { | |
| "lendRates": [ | |
| { | |
| "apy": 0.0100005, // Annual Percentage Yield, multiplier format | |
| "apr": 0.01, // Annual Percentage Rate, multiplier format |
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
| { | |
| "name": "CipherShooters", | |
| "timestamp": "2021-11-02T17:35:10.251Z", | |
| "version": { | |
| "major": 0, | |
| "minor": 0, | |
| "patch": 0 | |
| }, | |
| "tags": {}, | |
| "logoURI": "ipfs://QmQ9GCVmLQkbPohxKeCYkbpmwfTvHXrY64TmBsPQAZdbqZ", |
OlderNewer