Skip to content

Instantly share code, notes, and snippets.

View PhABC's full-sized avatar
😈

Philippe Castonguay PhABC

😈
View GitHub Profile
/*
Copyright 2018 ZeroEx Intl.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
@PhABC
PhABC / keybase.md
Last active November 12, 2019 16:45
keybase.md

Keybase proof

I hereby claim:

  • I am phabc on github.
  • I am phabc (https://keybase.io/phabc) on keybase.
  • I have a public key ASBTNxyRyB9ioSGfRWvatNtgEKSWGdj9QMD-HN6NZparFwo

To claim this, I am signing this object:

// Message to sign : contract address + address to give access
var message = web3.sha3(contractAddress.substr(2) + userAddress.substr(2), {encoding: 'hex'})
// Signing message (with "\x19Ethereum Signed Message:\n32" as prefix by default)
web3.personal.sign(message, web3.eth.defaultAccount, (err, res) => sign = res)
Name ID Silver ID Gold ID
Ada's Valor 102 65638 131174
Aegis of Light 88 65624 131160
Air Rune 1072 66608 132144
Alight 4016 69552 135088
Allbane 3002 68538 134074
Amalgam 51 65587 131123
Amaruath 2051 67587 133123
Anchor Drop 4087 69623 135159
Ancients Rise 3063 68599 134135
{"setup":"{\"secrets\":[{\"secret\":{\"originalDeck\":[],\"filledDeck\":[\"17\",\"2083\",\"29\",\"70\",\"50\",\"2044\",\"2045\",\"111\",\"60\",\"2048\",\"2089\",\"101\",\"51\",\"2022\",\"41\",\"91\",\"2103\",\"2093\",\"58\",\"2107\",\"54\",\"71\",\"43\",\"106\",\"2066\",\"5\",\"110\",\"9\",\"46\",\"8\"],\"filledDeckInstances\":[5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63],\"singletonCardsPosessed\":[\"Dummy\",\"Hero\",\"1000\",\"1001\",\"1002\",\"1003\",\"1004\",\"1005\",\"1006\",\"1007\",\"1008\",\"1009\",\"1010\",\"1011\",\"1012\",\"1013\",\"1014\",\"1015\",\"1016\",\"1017\",\"1018\",\"1019\",\"1020\",\"1021\",\"1022\",\"1023\",\"1024\",\"1025\",\"1026\",\"1027\",\"1028\",\"1029\",\"1030\",\"1031\",\"1032\",\"1033\",\"1034\",\"1035\",\"1036\",\"1037\",\"1038\",\"1039\",\"1040\",\"1041\",\"1042\",\"1043\",\"1044\",\"1045\",\"1046\",\"1047\",\"1048\",\"1049\",\"1050\",\"1051\",\"1052\",\"1053\",\"1054\",\"1055\",\"1056\",\"1057\",\"1058\",\"1059\",\"1060\",\"1061\",\
pragma solidity ^0.4.18;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;