github.com/MetalBlockchain/subnet-evm@v0.4.9/contract-examples/contracts/ExampleDeployerList.sol (about) 1 //SPDX-License-Identifier: MIT 2 pragma solidity ^0.8.0; 3 4 import "@openzeppelin/contracts/access/Ownable.sol"; 5 import "./IAllowList.sol"; 6 import "./AllowList.sol"; 7 8 // ExampleDeployerList shows how ContractDeployerAllowList precompile can be used in a smart contract 9 // All methods of [allowList] can be directly called. There are example calls as tasks in hardhat.config.ts file. 10 contract ExampleDeployerList is AllowList { 11 // Precompiled Allow List Contract Address 12 address constant DEPLOYER_LIST = 0x0200000000000000000000000000000000000000; 13 14 constructor() AllowList(DEPLOYER_LIST) {} 15 }