parent
93bcf1c5ed
commit
54f614f843
|
@ -3,7 +3,7 @@ pragma solidity ^0.8.18;
|
|||
|
||||
import { TokenController } from "@vacp2p/minime/contracts/TokenController.sol";
|
||||
import { MiniMeToken } from "@vacp2p/minime/contracts/MiniMeToken.sol";
|
||||
import "./Owned.sol";
|
||||
import "@openzeppelin/contracts/access/Ownable2Step.sol";
|
||||
|
||||
/*
|
||||
Copyright 2017, Jordi Baylina
|
||||
|
@ -29,7 +29,7 @@ import "./Owned.sol";
|
|||
/// The contract allows for SNT transfers and transferFrom and implements the
|
||||
/// logic for transferring control of the token to the network when the offering
|
||||
/// asks it to do so.
|
||||
contract SNTPlaceHolder is TokenController, Owned {
|
||||
contract SNTPlaceHolder is TokenController, Ownable2Step {
|
||||
MiniMeToken public snt;
|
||||
|
||||
constructor(address _owner, address payable _snt) {
|
||||
|
@ -61,7 +61,7 @@ contract SNTPlaceHolder is TokenController, Owned {
|
|||
function onApprove(address, address, uint256) public pure override returns (bool) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/// @notice This method can be used by the controller to extract mistakenly
|
||||
/// sent tokens to this contract.
|
||||
/// @param _token The address of the token contract that you want to recover
|
||||
|
|
Loading…
Reference in New Issue