[Feature]: ERC721Wrapper extension #2395
Annotations
2 errors and 1 warning
Cargo clippy:
contracts/src/token/erc721/extensions/wrapper.rs#L146
[clippy] reported by reviewdog 🐶
error[E0412]: cannot find type `Bytes` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:146:16
|
146 | data: &Bytes,
| ^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::token::erc721::Bytes;
|
6 + use core::ffi::c_str::Bytes;
|
6 + use core::str::Bytes;
|
6 + use alloc::str::Bytes;
|
and 3 other candidates
Raw Output:
contracts/src/token/erc721/extensions/wrapper.rs:146:16:e:error[E0412]: cannot find type `Bytes` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:146:16
|
146 | data: &Bytes,
| ^^^^^ not found in this scope
|
help: consider importing one of these structs
|
6 + use crate::token::erc721::Bytes;
|
6 + use core::ffi::c_str::Bytes;
|
6 + use core::str::Bytes;
|
6 + use alloc::str::Bytes;
|
and 3 other candidates
__END__
|
Cargo clippy:
contracts/src/token/erc721/extensions/wrapper.rs#L156
[clippy] reported by reviewdog 🐶
error[E0425]: cannot find value `to` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:156:32
|
156 | self.erc721._safe_mint(to, token_id, data);
| ^^ not found in this scope
Raw Output:
contracts/src/token/erc721/extensions/wrapper.rs:156:32:e:error[E0425]: cannot find value `to` in this scope
--> contracts/src/token/erc721/extensions/wrapper.rs:156:32
|
156 | self.erc721._safe_mint(to, token_id, data);
| ^^ not found in this scope
__END__
|
Cargo clippy:
contracts/src/token/erc721/extensions/wrapper.rs#L18
[clippy] reported by reviewdog 🐶
warning: unused import: `RECEIVER_FN_SELECTOR`
--> contracts/src/token/erc721/extensions/wrapper.rs:18:47
|
18 | self, Erc721, IErc721 as IErc721Solidity, RECEIVER_FN_SELECTOR,
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw Output:
contracts/src/token/erc721/extensions/wrapper.rs:18:47:w:warning: unused import: `RECEIVER_FN_SELECTOR`
--> contracts/src/token/erc721/extensions/wrapper.rs:18:47
|
18 | self, Erc721, IErc721 as IErc721Solidity, RECEIVER_FN_SELECTOR,
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
__END__
|
Loading