Fondos
Retirar fondos a una wallet- Transacciona
Modificadores: onlyOwner whenNotPaused payable
function withdrawAddress(address payable wallet, uint amount) public onlyOwner whenNotPaused {....}
Parámetros:
address
wallet
wallet de destino de los fondos
uint
amount
cantidad de fondos
Response: Evento
emit Withdraw(wallet, amount);
Errores
The amount to be withdrawn exceeds the balance of the contract- El importe solicitado excede los fondos del contrato
Retirar fondos al propietario del contrato- Transacciona
Modificadores: onlyOwner
function withdraw() public onlyOwner {....}
Parámetros: Sin parámetros de entrada
Response: Evento
emit Withdraw(wallet, amount);
Errores
The amount to be withdrawn exceeds the balance of the contract- El importe solicitado excede los fondos del contrato
Balance - No Transacciona
Modificadores: onlyOwner
function getRolesByPercent(uint _percent) public onlyOwner view returns (uint memory) {....}
Parámetros: Sin parámetros de entrada
Respuesta: uint value
Última actualización