From 3754636702a34bcb36d652dd355f0fefc79e3d15 Mon Sep 17 00:00:00 2001 From: Steve Korshakov Date: Thu, 14 Apr 2022 17:24:59 +0400 Subject: [PATCH] feat: supported interfaces --- compiled/nominators.fc | 7 +++++++ sources/modules/get.fc | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/compiled/nominators.fc b/compiled/nominators.fc index eb0df6b..f5be1d0 100644 --- a/compiled/nominators.fc +++ b/compiled/nominators.fc @@ -1688,3 +1688,10 @@ _ get_member(slice address) method_id { return (ctx_member_balance, ctx_member_pending_deposit, ctx_member_pending_withdraw, ctx_member_withdraw); } +_ supported_interfaces() method_id { + return ( + 123515602279859691144772641439386770278, ;; org.ton.introspection.v0 + 256184278959413194623484780286929323492 ;; com.tonwhales.nominators:v0 + ); +} + diff --git a/sources/modules/get.fc b/sources/modules/get.fc index fb86a6f..c2f3dfd 100644 --- a/sources/modules/get.fc +++ b/sources/modules/get.fc @@ -105,4 +105,11 @@ _ get_member(slice address) method_id { load_member(parse_work_addr(address)); member_update_balance(); return (ctx_member_balance, ctx_member_pending_deposit, ctx_member_pending_withdraw, ctx_member_withdraw); +} + +_ supported_interfaces() method_id { + return ( + 123515602279859691144772641439386770278, ;; org.ton.introspection.v0 + 256184278959413194623484780286929323492 ;; com.tonwhales.nominators:v0 + ); } \ No newline at end of file