All pages
Powered by GitBook
1 of 1

Loading...

XVSVaultProxy

XVS Vault Proxy

XVS Vault Proxy contract

Solidity API

_setPendingImplementation

  • Admin Functions **


_acceptImplementation

Accepts new implementation of XVS Vault. msg.sender must be pendingImplementation

Return Values

Name
Type
Description

_setPendingAdmin

Begins transfer of admin rights. The newPendingAdmin must call _acceptAdmin to finalize the transfer.

Parameters

Name
Type
Description

Return Values

Name
Type
Description

_acceptAdmin

Accepts transfer of admin rights. msg.sender must be pendingAdmin

Return Values

Name
Type
Description

[0]

uint256

uint 0=success, otherwise a failure (see ErrorReporter.sol for details)

newPendingAdmin

address

New pending admin.

[0]

uint256

uint 0=success, otherwise a failure (see ErrorReporter.sol for details)

[0]

uint256

uint 0=success, otherwise a failure (see ErrorReporter.sol for details)

function _setPendingImplementation(address newPendingImplementation) public returns (uint256)
function _acceptImplementation() public returns (uint256)
function _setPendingAdmin(address newPendingAdmin) public returns (uint256)
function _acceptAdmin() public returns (uint256)