Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👻 one click trading connector #25

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ankitpal1029
Copy link
Contributor

No description provided.

IDefaultImpl(address(this)).toggleBeta();
}

function isBeta() public payable returns (bool){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this


string public constant name = "One-Click-Trading-v1";

function enableAuth(address _user, uint256 _expiry) public payable {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add events like normal connector

contract OneClickTrading is BaseConnector {
using SafeTransferLib for ERC20;

struct Data {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why

}

contract OneClickTrading is BaseConnector {
using SafeTransferLib for ERC20;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why

import {SafeTransferLib} from "solmate/utils/SafeTransferLib.sol";
import {BaseConnector} from "../utils/BaseConnector.sol";

interface IEmitter {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants