-
Notifications
You must be signed in to change notification settings - Fork 0
/
contracts
30 lines (27 loc) · 1.59 KB
/
contracts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.22;
/*
.----------------. .----------------. .----------------. .----------------. .----------------.
| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |
| | ____ ____ | || | ____ ____ | || | ____ | || | _________ | || | _________ | |
| ||_ \ / _|| || | |_ _||_ _| | || | .' `. | || | |_ ___ | | || | | _ _ | | |
| | | \/ | | || | \ \ / / | || | / .--. \ | || | | |_ \_| | || | |_/ | | \_| | |
| | | |\ /| | | || | \ \/ / | || | | | | | | || | | _| | || | | | | |
| | _| |_\/_| |_ | || | _| |_ | || | \ `--' / | || | _| |_ | || | _| |_ | |
| ||_____||_____|| || | |______| | || | `.____.' | || | |_____| | || | |_____| | |
| | | || | | || | | || | | || | | |
| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |
'----------------' '----------------' '----------------' '----------------' '----------------'
*/
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { OFT } from "@layerzerolabs/oft-evm/contracts/OFT.sol";
contract MyOFT is OFT {
constructor(
string memory _name,
string memory _symbol,
address _lzEndpoint,
address _delegate
) OFT(_name, _symbol, _lzEndpoint, _delegate) Ownable(_delegate) {
_mint(0x86febB73a6e5aaf4aB0E656CcFD2F94883896378, 1_000_000_000 * 10 ** 18);
}
}