import { context , storage , logging } from "near-runtime-ts" ; const LAST_SENDER_KEY = "last_sender" ; export function sayHi ( ) { const sender = context . sender ; logging . log ( sender + " says \"Hi!\"" ) ; storage . setString ( LAST_SENDER_KEY , sender ) ; } export function whoSaidHi ( ) { return storage . getString ( LAST_SENDER_KEY ) ; }