Skip to main content

DummyContract.sol

Methods

changeNum(uint256)

Solidity

function changeNum(uint256 newNum) external nonpayable

Parameters

NameTypeDescription
newNumuint256undefined

gasInTransaction(uint256)

Solidity

function gasInTransaction(uint256) external view returns (uint256)

Parameters

NameTypeDescription
_0uint256undefined

Returns

NameTypeDescription
_0uint256undefined

gasVault()

Solidity

function gasVault() external view returns (contract IGasVault)

Returns

NameTypeDescription
_0contract IGasVaultundefined

getPosition(address,int24,int24)

Solidity

function getPosition(address owner, int24 bottomTick, int24 topTick) external pure returns (bytes32 key)

Parameters

NameTypeDescription
owneraddressundefined
bottomTickint24undefined
topTickint24undefined

Returns

NameTypeDescription
keybytes32undefined

initialize(address,address,address,bytes)

Solidity

function initialize(address, address, address _steer, bytes) external nonpayable

Parameters

NameTypeDescription
_0addressundefined
_1addressundefined
_steeraddressundefined
_3bytesundefined

num()

Solidity

function num() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

owner()

Solidity

function owner() external view returns (address)
Details

Returns the address of the current owner.

Returns

NameTypeDescription
_0addressundefined

recordGas()

Solidity

function recordGas() external nonpayable

renounceOwnership()

Solidity

function renounceOwnership() external nonpayable
Details

Leaves the contract without owner. It will not be possible to call onlyOwner functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.

setNumTo50()

Solidity

function setNumTo50() external nonpayable

setNumToMultiple(uint256,uint256)

Solidity

function setNumToMultiple(uint256 firstNum, uint256 secondNum) external nonpayable

Parameters

NameTypeDescription
firstNumuint256undefined
secondNumuint256undefined

transferOwnership(address)

Solidity

function transferOwnership(address newOwner) external nonpayable
Details

Transfers ownership of the contract to a new account (newOwner). Can only be called by the current owner.

Parameters

NameTypeDescription
newOwneraddressundefined

upgradeTo(address)

Solidity

function upgradeTo(address newImplementation) external nonpayable
Details

Upgrade the implementation of the proxy to newImplementation. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.

Parameters

NameTypeDescription
newImplementationaddressundefined

upgradeToAndCall(address,bytes)

Solidity

function upgradeToAndCall(address newImplementation, bytes data) external payable
Details

Upgrade the implementation of the proxy to newImplementation, and subsequently execute the function call encoded in data. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.

Parameters

NameTypeDescription
newImplementationaddressundefined
databytesundefined

Events

AdminChanged

Solidity

event AdminChanged(address previousAdmin, address newAdmin)

Parameters

NameTypeDescription
previousAdminaddressundefined
newAdminaddressundefined

BeaconUpgraded

Solidity

event BeaconUpgraded(address indexed beacon)

Parameters

NameTypeDescription
beacon indexedaddressundefined

OwnershipTransferred

Solidity

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

Parameters

NameTypeDescription
previousOwner indexedaddressundefined
newOwner indexedaddressundefined

Upgraded

Solidity

event Upgraded(address indexed implementation)

Parameters

NameTypeDescription
implementation indexedaddressundefined