Finschia / cosmwasm

Fast and reusable WebAssembly smart contract runtime(and library) for finschia-sdk.
Apache License 2.0
27 stars 14 forks source link

feat: add get_caller_addr to deps.api #304

Closed loloicci closed 1 year ago

loloicci commented 1 year ago

Description

This PR adds a way to get the caller address from dynamic link callee contracts.

And, this PR updates some sample contracts to test getting the caller address from the callee. The callee can call the same code's contract as a new callee. (only get_caller_addr)

Types of changes

Checklist