mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
feat: minor update
This commit is contained in:
parent
4514618484
commit
ccbef89028
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
@ -33,6 +33,6 @@ contract ApproveTokensResolver is Events {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
contract ConnectV2ApproveTokensMultisigPolygon is ApproveTokensResolver {
|
contract ConnectV2ApproveTokensMultisigOptimism is ApproveTokensResolver {
|
||||||
string constant public name = "ApproveTokens-v1";
|
string constant public name = "ApproveTokens-v1";
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
@ -33,6 +33,6 @@ contract ApproveTokensResolver is Events {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
contract ConnectV2ApproveTokensMultisigPolygon is ApproveTokensResolver {
|
contract ConnectV2ApproveTokensMultisigOptimism is ApproveTokensResolver {
|
||||||
string constant public name = "ApproveTokens-v1";
|
string constant public name = "ApproveTokens-v1";
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
contract Events {
|
contract Events {
|
||||||
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
event LogApproveTokensMultisig(address[] tokenAddresses, uint256[] amounts, uint32 index);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
interface IAvoFactoryMultisig {
|
interface IAvoFactoryMultisig {
|
||||||
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
function computeAvocado(address owner_, uint32 index_) external view returns (address computedAddress_);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.7.0;
|
||||||
|
|
||||||
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
|
||||||
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user