Skip to content

Commit c52e498

Browse files
committed
deployed and built
1 parent eafcf6e commit c52e498

File tree

7 files changed

+258
-80
lines changed

7 files changed

+258
-80
lines changed

buidler.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ module.exports = {
1414
// accounts: {
1515
// mnemonic: process.env.TRUFFLE_MNEMONIC
1616
// }
17+
},
18+
mainnet: {
19+
url: "https://mainnet.infura.io/v3/" + process.env.INFURA_API_KEY,
20+
chainId: 1,
21+
// gas: 6000000,
22+
// timeout: 50000,
23+
accounts: {
24+
mnemonic: process.env.MAINNET_MNEMONIC
25+
},
26+
gasPrice: 15000000000 // 15 GWEI
1727
}
1828
},
1929

build.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

flatten.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
2-
rm flat_contracts/*.sol
2+
rm flat_contracts/**/*.sol
33

4-
for filename in contracts/*.sol; do
4+
for filename in contracts/**/*.sol; do
55
[ -e "$filename" ] || continue
66
npx truffle-flattener "$filename" > flat_"$filename"
77
done

helpers/migVals.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ var vals = (module.exports = {
1414
gasPrice: new BigNumber('1000000000'),
1515
// stakePeriod: '6000', // at 15 sec block times this is ~25 hours
1616
stakePeriod: '60000', // at 15 sec block times this is ~250 hours
17-
payMultiplier: utils.toWei('0.327'),
17+
// payMultiplier: utils.toWei('0.327'),
18+
payMultiplier: utils.toWei('0.01'),
1819
priceMultiplier: '3',
1920
marginOferror: '3',
2021
basePrice: utils.toWei('3'),

index.js

Lines changed: 121 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ Clovers: {
12781278
}
12791279
},
12801280
"links": {},
1281-
"address": "0xb55c5cac5014c662fdbf21a2c59cd45403c482fd",
1281+
"address": "0xB55C5cAc5014C662fDBF21A2C59Cd45403C482Fd",
12821282
"transactionHash": null
12831283
},
12841284
"4": {
@@ -2574,12 +2574,121 @@ CloversController: {
25742574
],
25752575
"networks": {
25762576
"1": {
2577-
"events": {},
2577+
"events": {
2578+
"0x4c0f83654ac2972673e4d81058f833de298389df1dce04cc2db9f231b907d5ff": {
2579+
"anonymous": false,
2580+
"inputs": [
2581+
{
2582+
"indexed": false,
2583+
"name": "movesHash",
2584+
"type": "bytes32"
2585+
},
2586+
{
2587+
"indexed": false,
2588+
"name": "owner",
2589+
"type": "address"
2590+
}
2591+
],
2592+
"name": "cloverCommitted",
2593+
"type": "event",
2594+
"signature": "0x4c0f83654ac2972673e4d81058f833de298389df1dce04cc2db9f231b907d5ff"
2595+
},
2596+
"0xbffd4880cee44a71d4266cf8dcf3179608df035c1883808a2370a9cfd180f6ed": {
2597+
"anonymous": false,
2598+
"inputs": [
2599+
{
2600+
"indexed": false,
2601+
"name": "tokenId",
2602+
"type": "uint256"
2603+
},
2604+
{
2605+
"indexed": false,
2606+
"name": "moves",
2607+
"type": "bytes28[2]"
2608+
},
2609+
{
2610+
"indexed": false,
2611+
"name": "sender",
2612+
"type": "address"
2613+
},
2614+
{
2615+
"indexed": false,
2616+
"name": "recepient",
2617+
"type": "address"
2618+
},
2619+
{
2620+
"indexed": false,
2621+
"name": "reward",
2622+
"type": "uint256"
2623+
},
2624+
{
2625+
"indexed": false,
2626+
"name": "symmetries",
2627+
"type": "uint256"
2628+
},
2629+
{
2630+
"indexed": false,
2631+
"name": "keep",
2632+
"type": "bool"
2633+
}
2634+
],
2635+
"name": "cloverClaimed",
2636+
"type": "event",
2637+
"signature": "0xbffd4880cee44a71d4266cf8dcf3179608df035c1883808a2370a9cfd180f6ed"
2638+
},
2639+
"0x36b306723b6493a90002bbf27460db864a9ac8ce1af82ad1f0183f83c0cecc39": {
2640+
"anonymous": false,
2641+
"inputs": [
2642+
{
2643+
"indexed": false,
2644+
"name": "tokenId",
2645+
"type": "uint256"
2646+
},
2647+
{
2648+
"indexed": false,
2649+
"name": "moves",
2650+
"type": "bytes28[2]"
2651+
},
2652+
{
2653+
"indexed": false,
2654+
"name": "owner",
2655+
"type": "address"
2656+
},
2657+
{
2658+
"indexed": false,
2659+
"name": "challenger",
2660+
"type": "address"
2661+
}
2662+
],
2663+
"name": "cloverChallenged",
2664+
"type": "event",
2665+
"signature": "0x36b306723b6493a90002bbf27460db864a9ac8ce1af82ad1f0183f83c0cecc39"
2666+
},
2667+
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0": {
2668+
"anonymous": false,
2669+
"inputs": [
2670+
{
2671+
"indexed": true,
2672+
"name": "previousOwner",
2673+
"type": "address"
2674+
},
2675+
{
2676+
"indexed": true,
2677+
"name": "newOwner",
2678+
"type": "address"
2679+
}
2680+
],
2681+
"name": "OwnershipTransferred",
2682+
"type": "event",
2683+
"signature": "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"
2684+
}
2685+
},
25782686
"links": {
2579-
"Reversi": "0xd6e4737118f6d12468edb0746755281e223eaaaa"
2687+
"Reversi": "0xF640b022ab52A003466dAAefb5E87bBEE7aC1bdF",
2688+
"\\$b2fca45de5ef9c5a18731e56fbc51add96\\$": "0xF640b022ab52A003466dAAefb5E87bBEE7aC1bdF"
25802689
},
2581-
"address": "0x1f2ca5623db46b2ecc693011eef8506e80f4328e",
2582-
"transactionHash": "0xdb0a5233e05aafafe4a89d2ae8ade4871aa78fb80715edc4e0c783b383941b24"
2690+
"address": "0xD3B55Ba131CE66c1F4299917e1347533Ad16E06c",
2691+
"transactionHash": "0x44eb4bb2744ef16f6639a8971d9b73d06e6f46563299207d529be20735a6cf4b"
25832692
},
25842693
"4": {
25852694
"events": {},
@@ -2708,11 +2817,11 @@ CloversController: {
27082817
}
27092818
},
27102819
"links": {
2711-
"\\$b2fca45de5ef9c5a18731e56fbc51add96\\$": "0x03B488d9Bc23079d7C773dC39C2CA75B1334305A",
2712-
"Reversi": "0x03B488d9Bc23079d7C773dC39C2CA75B1334305A"
2820+
"\\$b2fca45de5ef9c5a18731e56fbc51add96\\$": "0xd08DA2D161b0B1a363372Cc7A76c2044f35F6743",
2821+
"Reversi": "0xd08DA2D161b0B1a363372Cc7A76c2044f35F6743"
27132822
},
2714-
"address": "0x98b3210ACb992D75c5D828309D309811dB931091",
2715-
"transactionHash": "0x4a557f3d096e481cb9ec7815ac5423bf1b3fc1d0a8cd49475688a4e7ee797037"
2823+
"address": "0x83f43A2D67Cb3C020c61975b04Ef0f44a9B9ee1F",
2824+
"transactionHash": "0x0400875f838026664bad0e3fdd47987884c1cf3241534a29040389362a732fab"
27162825
},
27172826
"1569787081442": {
27182827
"events": {},
@@ -3333,7 +3442,7 @@ ClubToken: {
33333442
"1": {
33343443
"events": {},
33353444
"links": {},
3336-
"address": "0x1a94656a6245379bc0d9c64c402197528edb2bd1",
3445+
"address": "0x1A94656A6245379bC0d9c64C402197528EdB2bD1",
33373446
"transactionHash": null
33383447
},
33393448
"4": {
@@ -4221,7 +4330,7 @@ ClubTokenController: {
42214330
}
42224331
},
42234332
"links": {},
4224-
"address": "0x1754a612ca578f72d678196bcc16710f01db7655",
4333+
"address": "0x1754a612cA578F72d678196bcC16710f01DB7655",
42254334
"transactionHash": null
42264335
},
42274336
"4": {
@@ -5115,7 +5224,7 @@ SimpleCloversMarket: {
51155224
}
51165225
},
51175226
"links": {},
5118-
"address": "0x6ebd97252d34645263c1d074f202f1d7546ce06b",
5227+
"address": "0x6ebD97252D34645263c1d074f202F1d7546CE06b",
51195228
"transactionHash": null
51205229
},
51215230
"4": {

0 commit comments

Comments
 (0)