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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreih72rbpgxn76dliagy4bcwwdtxr3g3i4onpbzdf5dbf5lqtxhsosm ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreif4xosce7tohc2fih3eifdqdidexfnf2ttixe7h3dmm2nugimnhxu ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreif4xosce7tohc2fih3eifdqdidexfnf2ttixe7h3dmm2nugimnhxu ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
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.22 <0.6.0; | |
contract Ballot { | |
bytes32 test; | |
struct Voter { | |
uint weight; | |
bool voted; | |
uint8 vote; | |
address delegate; |
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
0xF4bd0ed7bdC435b08457bDC307D6A300B81992d0 |
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.24; | |
import "https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/ownership/Ownable.sol"; | |
import "https://github.com/OpenZeppelin/openzeppelin-solidity/contracts/token/ERC20/IERC20.sol"; | |
/** | |
* @title SimpleStaker | |
* | |
* Smart contract for staking ERC20 tokens, enabling an organization to track externally the deposits and withdrawals of his users via Events. | |
* The user needs to approve this smart contract to move the tokens to the smart contract balance. Once the user make the deposit, |
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
### Keybase proof | |
I hereby claim: | |
* I am kartojal on github. | |
* I am kartojal (https://keybase.io/kartojal) on keybase. | |
* I have a public key whose fingerprint is F9C6 9024 37EA 0603 5455 48E4 B98E F45A 7F52 5DB3 | |
To claim this, I am signing this object: |
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
// qs library code url (Javascript) https://github.com/ljharb/qs/tree/master/lib | |
var qs = require('qs'); | |
var obj = {"some": {"depth": {"object": "hello world"}}, "a_number":123, "a_string": "Richard"}; | |
var convertedToQueryString = qs.stringify(obj); | |
document.getElementById('box1').value = JSON.stringify(obj, null, 2); | |
document.getElementById('box2').value = convertedToQueryString; // ready for url |
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
var qs = require('qs'); | |
var obj = { | |
"some": { | |
"depth": { | |
"object": "hello world" | |
} | |
}, | |
"a_number":123, | |
"a_string": "Richard" |