Snippets Collections
import "./ICreditLineFactory.sol";

contract CreditDesk {
  address public creditLineFactoryAddress;

  function createCreditLine(CreditLineParams params) public {
    require(validParams(params), "invalid params!");
    
    ICreditLineFactory(creditLineFactoryAddress).createCreditLine(params);
  }
}
star

Thu Apr 22 2021 15:09:34 GMT+0000 (Coordinated Universal Time)

#solidity #ethereum

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension