This file contains 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
export type = 'coin'; | |
export token = "gbx"; | |
export image = "https://res.cloudinary.com/nixar-work/image/upload/v1548537659/gobyte.png" | |
export usd-info = "url(https://min-api.cryptocompare.com/data/pricemulti?fsyms=GBX&tsyms=USD).GBX.USD" | |
export mainnet = { | |
decimals: 8, | |
txFee: '0.0005', | |
txFeeOptions: { | |
auto: '0.0005', | |
cheap: '0.00000226', |
This file contains 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
html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:0.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font- |
This file contains 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
$.post({ | |
url: 'https://tokensale.sparklemobile.io/api/panel', | |
data: '{"sessionId": "590f5eed-bc0b-dc31-4e97-f9ddc4e59c9e"}', | |
contentType: "application/json", | |
dataType: "json", | |
success: function(data){ | |
return console.log(data.campaign); | |
} | |
}); |
This file contains 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
@font-face{font-family:Work Sans;font-style:normal;font-weight:300;src:local("Work Sans Light"),local("WorkSans-Light"),url(https://fonts.gstatic.com/s/worksans/v2/FD_Udbezj8EHXbdsqLUplxampu5_7CjHW5spxoeN3Vs.woff2) format("woff2")}@font-face{font-family:Work Sans;font-style:normal;font-weight:400;src:local("Work Sans"),local("WorkSans-Regular"),url(https://fonts.gstatic.com/s/worksans/v2/ElUAY9q6T0Ayx4zWzW63VJBw1xU1rKptJj_0jans920.woff2) format("woff2")}@font-face{font-family:Work Sans;font-style:normal;font-weight:500;src:local("Work Sans Medium"),local("WorkSans-Medium"),url(https://fonts.gstatic.com/s/worksans/v2/Nbre-U_bp6Xktt8cpgwaJBampu5_7CjHW5spxoeN3Vs.woff2) format("woff2")}@font-face{font-family:Work Sans;font-style:normal;font-weight:600;src:local("Work Sans SemiBold"),local("WorkSans-SemiBold"),url(https://fonts.gstatic.com/s/worksans/v2/z9rX03Xuz9ZNHTMg1_ghGRampu5_7CjHW5spxoeN3Vs.woff2) format("woff2")}@font-face{font-family:Work Sans;font-style:normal;font-weight:700;src:local("Work Sans Bold"),l |
This file contains 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
calc =(a, b) --> (a^2 + b^2) / (a * b + 1) | |
l = (str)-> | |
| str.length >= 30 => str | |
| _ => l(str + " ") | |
get-index = (a)-> | |
m = 100000 | |
arr = [1 to m] | |
solutions = | |
arr |> map calc a |
This file contains 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
// I wrote the bonus logic on javascript for better understanding | |
// Once we confirm this logic I will rewrite it on solidity | |
//var e18 = Math.pow(10, 18); - I commented it because javascript does not work noramlly with big numbers | |
var e18 = 1; | |
//Exchange function. Contributor Send WEI and obtain Tokens | |
function exchangeRate(usdToEth, contributorSendWei, totalTokenSold) { |
This file contains 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.21; | |
contract Ownable { | |
address public owner; | |
function Ownable() public { | |
owner = msg.sender; | |
} |
This file contains 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.21; | |
contract Ethnamed { | |
struct Name { | |
string record; | |
address owner; | |
uint256 expires; | |
} |
This file contains 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.21; | |
contract Ownable { | |
address public owner; | |
function Ownable() public { | |
owner = msg.sender; | |
} |
This file contains 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: Token0x | |
description: ERC20 Tokenization platform | |
ssr: false | |
port: 8080 | |
links: | |
community: https://t.me/token0x | |
pressKit: https://drive.google.com/file/d/1pIhI3XVRpGl7EqYWySSn1ji6MiaasKIr/view?usp=sharing | |
whitepaper: https://t.me/token0x_whitepaper | |
api: https://github.com/token0xio/api |