Skip to content

Commit

Permalink
Merge pull request #62 from pipermerriam/piper/v8
Browse files Browse the repository at this point in the history
Piper/v8
  • Loading branch information
pipermerriam committed Sep 23, 2016
2 parents dc5f177 + 158f12f commit 3a38bda
Show file tree
Hide file tree
Showing 104 changed files with 4,109 additions and 13,175 deletions.
12 changes: 4 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ env:
global:
- SOLC_BINARY="$TRAVIS_BUILD_DIR/solc-versions/solc-0.3.6/solc"
matrix:
- TEST_DIR=accounting
- TEST_DIR=call-state
- TEST_DIR=canary
- TEST_DIR=cancelling
- TEST_DIR=claiming
- TEST_DIR=data-registry
- TEST_DIR=execution
- TEST_DIR=scheduling
- TEST_DIR=block-scheduling
- TEST_DIR=request-factory
- TEST_DIR=request-tracker
- TEST_DIR=transaction-request
cache:
- pip: true
- directories:
Expand Down
Empty file added alarm_client/__init__.py
Empty file.
65 changes: 65 additions & 0 deletions alarm_client/transaction_request.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
from populus.contract import Contract as ContractFactory


NULL_ADDRESS = '0x0000000000000000000000000000000000000000'


class TxnData(object):
"""
callData="",
toAddress=txn_recorder.address,
callGas=1000000,
callValue=0,
requiredStackDepth=0,
"""
def __init__(self, to_address, call_data, call_gas, call_value, required_stack_depth):
self.to_address = to_ad
pass


class Schedule(object):
"""
claimWindowSize=255,
freezePeriod=None,
windowStart=None,
windowSize=None,
reservedWindowSize=None,
temporalUnit=1):
"""
pass


class ClaimData(object):
"""
claimedBy=NULL_ADDRESS,
claimDeposit=0,
paymentModifier=0,
"""
pass


class PaymentData(object):
"""
anchorGasPrice=web3.eth.gasPrice,
donation=12345,
donationBenefactor='0xd3cda913deb6f67967b99d67acdfa1712c293601',
donationOwed=0,
payment=54321,
paymentBenefactor=NULL_ADDRESS,
paymentOwed=0,
"""
pass


class Meta(object):
"""
createdBy=web3.eth.coinbase,
owner=web3.eth.coinbase,
isCancelled=False,
wasCalled=False,
wasSuccessful=False,
"""
pass


class BaseTransactionRequestFactory(ContractFactory):
254 changes: 0 additions & 254 deletions conftest.py

This file was deleted.

0 comments on commit 3a38bda

Please sign in to comment.