Contract.base_contracts()
Returns Contracts object for the contracts from which contract was inherited directly or indirectly.
Last updated
Returns Contracts object for the contracts from which contract was inherited directly or indirectly.
Last updated
base_contracts() →
It returns the object representing the base contracts of a Contract. The function is recursive. See the example.
Deposit
is the main contract. Below this text, a portion of the source code for this contract is provided. You can see that Deposit
inherits from Context
, Ownable
, and ReentrancyGuard
. The Context
contract is derived from the Ownable
contract