MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / client_sc_address

Method client_sc_address

runners/proxy/ProxyInboundClientConnection.cpp:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104block::StdAddress ProxyInboundClientConnection::client_sc_address() const {
105 if (client_info_) {
106 return client_info_->client_sc_address();
107 } else {
108 CHECK(connecting_client_info_);
109 return connecting_client_info_->smartcontract;
110 }
111}
112
113void ProxyInboundClientConnection::receive_auth_query(td::BufferSlice message, td::Promise<td::BufferSlice> promise) {
114 if (client_info_ && (client_info_->is_closing() || client_info_->is_closed())) {

Callers 6

cmd_closeMethod · 0.80
cmd_top_upMethod · 0.80
cmd_withdrawMethod · 0.80
register_proxyMethod · 0.80
http_chargeMethod · 0.80
client_chargeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected