tezos-commons / baseDAO

BaseDAO - a generic smart contract framework for DAOs on Tezos
57 stars 15 forks source link

[#215] Accept admin privilege without accept_owenership if new owner if contract itself #226

Closed sras closed 3 years ago

sras commented 3 years ago

Problem: In this issue, we are required to modify the behavior of transfer_ownership entrypoint such that the new admin is set without having to call accept_ownership call, if the new owner is the address of the contract itsef.

Soltution: Implement the behavior and update tests and docs.

Description

Related issue(s)

Resolves #215

:white_check_mark: Checklist for your Pull Request

Related changes (conditional)

Stylistic guide (mandatory)