I was searching through docs and youtube guides but couldn't find an answer - I have a multisigwallet in rinkeby network. How can I add/remove an owner from solidity smart contract?
More info: I have a voting smart-contract which is getting weight as balanseOf(voter). So if weight of voter is more than some value - they can add owners to MultiSigWallet. There I need to call somehow add-owner function from gnosis-safe.
there was a function addOwnerWithThreshold(address owner, uint256 _threshold) but I kinda not get it - if I just import 'https://github.com/gnosis/safe-contracts/blob/main/contracts/GnosisSafe.sol' to my .sol contract and call addOwnerWithThreshold from my contract - it's not deploying
so how can I call/use this add-owner thing?