Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
I'm trying a cross-contract call, and I'm asking if there's any functionality in sui move similar to address(this) and msg.sender in solidity, so I can recognize dep_moudle's address in main_moulde.
To give a very common example, I wrote a dep_moudle and deployed it to Sui, and I only want main_moudle to call it, so how should I implement it?
I'm trying a cross-contract call, and I'm asking if there's any functionality in sui move similar to address(this) and msg.sender in solidity, so I can recognize dep_moudle's address in main_moulde.
To give a very common example, I wrote a dep_moudle and deployed it to Sui, and I only want main_moudle to call it, so how should I implement it?