import rpc_lib ctx = rpc_lib.RPCClient("rpc/BondRedeemer/sock") bond_redeem = ctx.make_stub("bond_redeem")
""" rpc_clients.SellerDB """ import rpc_lib ctx = rpc_lib.RPCClient("rpc/SellerDB/sock") get = ctx.make_stub("get") put = ctx.make_stub("put") mark_protobond_sent = ctx.make_stub("mark_protobond_sent") get_rows_with_protobond_sent = ctx.make_stub("get_rows_with_protobond_sent")
""" rpc_clients.Check """ import rpc_lib ctx = rpc_lib.RPCClient("rpc/Check/sock") check = ctx.make_stub("check")
import rpc_lib ctx = rpc_lib.RPCClient("rpc/Sign/sock") sign = ctx.make_stub("sign")
import rpc_lib ctx = rpc_lib.RPCClient("rpc/IssueProtobond/sock") issue_protobond = ctx.make_stub("issue_protobond")
import rpc_lib ctx = rpc_lib.RPCClient("rpc/GenQuote/sock") gen_quote = ctx.make_stub("gen_quote")
""" rpc_clients.RedeemerDB """ import rpc_lib ctx = rpc_lib.RPCClient("rpc/RedeemerDB/sock") try_to_redeem = ctx.make_stub("try_to_redeem") mark_fulfilled = ctx.make_stub("mark_fulfilled") get_unfulfilled_rows = ctx.make_stub("get_unfulfilled_rows")