I'm using Solidity in order to create smart contracts. From contract only has access to the current state, I can't see where I'm able to get directly the address where this contract has been mined.
The only way I see to achieve this, is to use the
contract.address, and then call a setter function,implemented inside the smart contract with
contract.address as input parameter.
Is this the only way to do it?