Skip to content

Instantly share code, notes, and snippets.

View AronVanAmmers's full-sized avatar

Aron van Ammers AronVanAmmers

View GitHub Profile
pragma solidity >=0.8.0;
/// @title Tests with hashing
contract HashingTest {
function getAddressPadded() public view returns (bytes memory){
return abi.encodePacked(uint256(uint160(msg.sender)));
}
function getPaddedAddressWithInt(uint256 number) public view returns (bytes memory){
# getting Aug 8th Snapshot...
# getting proposed Snapshot...
# getting local Snapshot (ixi) ...
# getting Snapshot Cases ...
checking Curl Snapshot Cases ... ( 7734 )
MOVED BALANCE CORRECT: true 308825072087568 308825072087568
checking the rest ...
Done checking balances.
----
verifing key reuse of addresses:
@AronVanAmmers
AronVanAmmers / gist:d68483ce82a432729d3a
Created June 4, 2015 16:28
Output of test-debug.sh in succesful VM setup
sudo: unable to resolve host thewire
Attaching to helloworlddapp_ipfs_1, helloworlddapp_helloworldmaster_1, helloworlddapp_compilers_1
ipfs_1 | initializing ipfs node at /data/ipfs
ipfs_1 | generating 2048-bit RSA keypair...done
ipfs_1 | peer identity: QmZPMzJQTFoWrLNysGkfZEgYboNdABacow33cRAjGwTpbj
ipfs_1 | to get started, enter:
ipfs_1 | 
ipfs_1 |  ipfs cat /ipfs/Qmcqtw8FfrVSBaRmbWwHxt3AuySBhJLcvmFYi3Lbc4xnwj/readme
ipfs_1 | 
ipfs_1 | Initializing daemon...
Attaching to helloworlddapp_ipfs_1, helloworlddapp_helloworldmaster_1, helloworlddapp_compilers_1
ipfs_1 | initializing ipfs node at /root/.go-ipfs
ipfs_1 | generating 4096-bit RSA keypair...done
ipfs_1 | peer identity: QmSfmFtQcgxw6pAzKZPujYHViPKUwvJ8SuzYSLGXpZd9eV
ipfs_1 | to get started, enter:
ipfs_1 | 
ipfs_1 |  ipfs cat /ipfs/QmV9E5oNhFDWeRV8NQ91G7vp3pvff2S4UYkn89T5koSzqo/readme
ipfs_1 | 
ipfs_1 | Initializing daemon...
ipfs_1 | API server listening on /ip4/0.0.0.0/tcp/5001
@AronVanAmmers
AronVanAmmers / keybase.md
Created February 3, 2015 18:30
Keybase proof

Keybase proof

I hereby claim:

  • I am aronvanammers on github.
  • I am aronvanammers (https://keybase.io/aronvanammers) on keybase.
  • I have a public key whose fingerprint is C903 34F4 67BC 80C0 CEE9 57FC EDF0 C591 545B 316E

To claim this, I am signing this object:

@AronVanAmmers
AronVanAmmers / gist:086855c14bb57140b474
Created November 16, 2014 16:01
OneName confirmation
Verifying that +aronvanammers is my openname (Bitcoin username). https://onename.io/aronvanammers