Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Latest commit

 

History

History
956 lines (727 loc) · 20.3 KB

IStore.md

File metadata and controls

956 lines (727 loc) · 20.3 KB

IStore.sol

View Source: contracts/interfaces/IStore.sol

↘ Derived Contracts: FakeStore, StoreBase

IStore

Functions

setAddress

function setAddress(bytes32 k, address v) external nonpayable

Arguments

Name Type Description
k bytes32
v address
Source Code
function setAddress(bytes32 k, address v) external;

setAddressBoolean

function setAddressBoolean(bytes32 k, address a, bool v) external nonpayable

Arguments

Name Type Description
k bytes32
a address
v bool
Source Code
function setAddressBoolean(
    bytes32 k,
    address a,
    bool v
  ) external;

setUint

function setUint(bytes32 k, uint256 v) external nonpayable

Arguments

Name Type Description
k bytes32
v uint256
Source Code
function setUint(bytes32 k, uint256 v) external;

addUint

function addUint(bytes32 k, uint256 v) external nonpayable

Arguments

Name Type Description
k bytes32
v uint256
Source Code
function addUint(bytes32 k, uint256 v) external;

subtractUint

function subtractUint(bytes32 k, uint256 v) external nonpayable

Arguments

Name Type Description
k bytes32
v uint256
Source Code
function subtractUint(bytes32 k, uint256 v) external;

setUints

function setUints(bytes32 k, uint256[] v) external nonpayable

Arguments

Name Type Description
k bytes32
v uint256[]
Source Code
function setUints(bytes32 k, uint256[] memory v) external;

setString

function setString(bytes32 k, string v) external nonpayable

Arguments

Name Type Description
k bytes32
v string
Source Code
function setString(bytes32 k, string calldata v) external;

setBytes

function setBytes(bytes32 k, bytes v) external nonpayable

Arguments

Name Type Description
k bytes32
v bytes
Source Code
function setBytes(bytes32 k, bytes calldata v) external;

setBool

function setBool(bytes32 k, bool v) external nonpayable

Arguments

Name Type Description
k bytes32
v bool
Source Code
function setBool(bytes32 k, bool v) external;

setInt

function setInt(bytes32 k, int256 v) external nonpayable

Arguments

Name Type Description
k bytes32
v int256
Source Code
function setInt(bytes32 k, int256 v) external;

setBytes32

function setBytes32(bytes32 k, bytes32 v) external nonpayable

Arguments

Name Type Description
k bytes32
v bytes32
Source Code
function setBytes32(bytes32 k, bytes32 v) external;

setAddressArrayItem

function setAddressArrayItem(bytes32 k, address v) external nonpayable

Arguments

Name Type Description
k bytes32
v address
Source Code
function setAddressArrayItem(bytes32 k, address v) external;

deleteAddress

function deleteAddress(bytes32 k) external nonpayable

Arguments

Name Type Description
k bytes32
Source Code
function deleteAddress(bytes32 k) external;

deleteUint

function deleteUint(bytes32 k) external nonpayable

Arguments

Name Type Description
k bytes32
Source Code
function deleteUint(bytes32 k) external;

deleteUints

function deleteUints(bytes32 k) external nonpayable

Arguments

Name Type Description
k bytes32
Source Code
function deleteUints(bytes32 k) external;

deleteString

function deleteString(bytes32 k) external nonpayable

Arguments

Name Type Description
k bytes32
Source Code
function deleteString(bytes32 k) external;

deleteBytes

function deleteBytes(bytes32 k) external nonpayable

Arguments

Name Type Description
k bytes32
Source Code
function deleteBytes(bytes32 k) external;

deleteBool

function deleteBool(bytes32 k) external nonpayable

Arguments

Name Type Description
k bytes32
Source Code
function deleteBool(bytes32 k) external;

deleteInt

function deleteInt(bytes32 k) external nonpayable

Arguments

Name Type Description
k bytes32
Source Code
function deleteInt(bytes32 k) external;

deleteBytes32

function deleteBytes32(bytes32 k) external nonpayable

Arguments

Name Type Description
k bytes32
Source Code
function deleteBytes32(bytes32 k) external;

deleteAddressArrayItem

function deleteAddressArrayItem(bytes32 k, address v) external nonpayable

Arguments

Name Type Description
k bytes32
v address
Source Code
function deleteAddressArrayItem(bytes32 k, address v) external;

deleteAddressArrayItemByIndex

function deleteAddressArrayItemByIndex(bytes32 k, uint256 i) external nonpayable

Arguments

Name Type Description
k bytes32
i uint256
Source Code
function deleteAddressArrayItemByIndex(bytes32 k, uint256 i) external;

getAddressValues

function getAddressValues(bytes32[] keys) external view
returns(values address[])

Arguments

Name Type Description
keys bytes32[]
Source Code
function getAddressValues(bytes32[] memory keys) external view returns (address[] memory values);

getAddress

function getAddress(bytes32 k) external view
returns(address)

Arguments

Name Type Description
k bytes32
Source Code
function getAddress(bytes32 k) external view returns (address);

getAddressBoolean

function getAddressBoolean(bytes32 k, address a) external view
returns(bool)

Arguments

Name Type Description
k bytes32
a address
Source Code
function getAddressBoolean(bytes32 k, address a) external view returns (bool);

getUintValues

function getUintValues(bytes32[] keys) external view
returns(values uint256[])

Arguments

Name Type Description
keys bytes32[]
Source Code
function getUintValues(bytes32[] memory keys) external view returns (uint256[] memory values);

getUint

function getUint(bytes32 k) external view
returns(uint256)

Arguments

Name Type Description
k bytes32
Source Code
function getUint(bytes32 k) external view returns (uint256);

getUints

function getUints(bytes32 k) external view
returns(uint256[])

Arguments

Name Type Description
k bytes32
Source Code
function getUints(bytes32 k) external view returns (uint256[] memory);

getString

function getString(bytes32 k) external view
returns(string)

Arguments

Name Type Description
k bytes32
Source Code
function getString(bytes32 k) external view returns (string memory);

getBytes

function getBytes(bytes32 k) external view
returns(bytes)

Arguments

Name Type Description
k bytes32
Source Code
function getBytes(bytes32 k) external view returns (bytes memory);

getBool

function getBool(bytes32 k) external view
returns(bool)

Arguments

Name Type Description
k bytes32
Source Code
function getBool(bytes32 k) external view returns (bool);

getInt

function getInt(bytes32 k) external view
returns(int256)

Arguments

Name Type Description
k bytes32
Source Code
function getInt(bytes32 k) external view returns (int256);

getBytes32

function getBytes32(bytes32 k) external view
returns(bytes32)

Arguments

Name Type Description
k bytes32
Source Code
function getBytes32(bytes32 k) external view returns (bytes32);

countAddressArrayItems

function countAddressArrayItems(bytes32 k) external view
returns(uint256)

Arguments

Name Type Description
k bytes32
Source Code
function countAddressArrayItems(bytes32 k) external view returns (uint256);

getAddressArray

function getAddressArray(bytes32 k) external view
returns(address[])

Arguments

Name Type Description
k bytes32
Source Code
function getAddressArray(bytes32 k) external view returns (address[] memory);

getAddressArrayItemPosition

function getAddressArrayItemPosition(bytes32 k, address toFind) external view
returns(uint256)

Arguments

Name Type Description
k bytes32
toFind address
Source Code
function getAddressArrayItemPosition(bytes32 k, address toFind) external view returns (uint256);

getAddressArrayItemByIndex

function getAddressArrayItemByIndex(bytes32 k, uint256 i) external view
returns(address)

Arguments

Name Type Description
k bytes32
i uint256
Source Code
function getAddressArrayItemByIndex(bytes32 k, uint256 i) external view returns (address);

Contracts