Would be possible to create a “sign posta request” alike but with submit profile, advance to pending and start accruing ?
I see alot of people that doesn’t even have for the gas, maybe with this we can mitigate that
Here is the file of sign request of posta
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
//import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
//import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "../IProofOfHumanity.sol";
import "../v0.8/PostaStorageV_2.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
//import "hardhat/console.sol";
interface IERC20Burnable is IERC20 {
function burn(uint256 amount) external;
function burnFrom(address account, uint256 amount) external;
}
contract PostaV0_8 is Initializable, OwnableUpgradeable, ERC721Upgradeable, PostaStorageV_2 {
This file has been truncated. show original
fnanni
November 2, 2021, 4:31pm
2
“Advance to pending” and “start accruing” can already be executed by a third party.
Signing a profile submission is technically feasible but not possible with the current smart contract. I think that the profile submission tx could be sponsored by a third party using flashbots, but building a good UX for that might be challenging.
2 Likes