def get(arguments, transaction=None): Contract = chain.provider.get_contract_factory('SimpleExchange') contract = create_contract(SimpleExchange, arguments, transaction) if print_the_logs: print_logs(uraiden_contract, 'Setup', 'SimpleExchange') print_logs(uraiden_contract, 'Fund', 'SimpleExchange') print_logs(uraiden_contract, 'Buy', 'SimpleExchange') print_logs(uraiden_contract, 'WithdrawTokens', 'SimpleExchange') return contract
def get(arguments, transaction=None): RaidenMicroTransferChannels = chain.provider.get_contract_factory( 'RaidenMicroTransferChannels' ) uraiden_contract = create_contract( RaidenMicroTransferChannels, arguments, transaction ) if print_the_logs: print_logs(uraiden_contract, 'ChannelCreated', 'RaidenMicroTransferChannels') print_logs(uraiden_contract, 'ChannelToppedUp', 'RaidenMicroTransferChannels') print_logs(uraiden_contract, 'ChannelCloseRequested', 'RaidenMicroTransferChannels') print_logs(uraiden_contract, 'ChannelSettled', 'RaidenMicroTransferChannels') return uraiden_contract
def get(arguments, transaction=None): RaidenMicroTransferChannels = chain.provider.get_contract_factory( 'RaidenMicroTransferChannels' ) uraiden_contract = create_contract( RaidenMicroTransferChannels, arguments, transaction ) if print_the_logs: print_logs(uraiden_contract, 'ChannelCreated', 'RaidenMicroTransferChannels') print_logs(uraiden_contract, 'ChannelToppedUp', 'RaidenMicroTransferChannels') print_logs(uraiden_contract, 'ChannelCloseRequested', 'RaidenMicroTransferChannels') print_logs(uraiden_contract, 'ChannelSettled', 'RaidenMicroTransferChannels') print_logs(uraiden_contract, 'ChannelWithdraw', 'RaidenMicroTransferChannels') return uraiden_contract
def ecverify_test_contract(chain, create_contract): ECVerifyTest = chain.provider.get_contract_factory('ECVerifyTest') ecverify_test_contract = create_contract(ECVerifyTest, []) return ecverify_test_contract
def get(transaction=None): Delegate = chain.provider.get_contract_factory('Delegate') delegate_contract = create_contract(Delegate, [], {}) return delegate_contract