Given parameters used while instantiating a new contract, compute what the contract address would be.
Mirrors that Rust function: grug::Addr::derive.
grug::Addr::derive
Address of the deployer, that it, the account that sends the Message::Instantiate.
Message::Instantiate
SHA-256 hash of the Wasm byte code.
An arbitrary byte array chosen by the deployer.
The address that is given to the contract being instantiated.
Given parameters used while instantiating a new contract, compute what the contract address would be.
Mirrors that Rust function:
grug::Addr::derive.