List all active locks
SELECT
DISTINCT age(now(), query_start) AS age,
pg_stat_activity.pid,
pg_locks.granted,
pg_stat_activity.application_name,
pg_stat_activity.backend_start,
pg_stat_activity.xact_start,
List all active locks
SELECT
DISTINCT age(now(), query_start) AS age,
pg_stat_activity.pid,
pg_locks.granted,
pg_stat_activity.application_name,
pg_stat_activity.backend_start,
pg_stat_activity.xact_start,
import "remix_tests.sol"; // this import is automatically injected by Remix. | |
import "./ballot.sol"; | |
contract test3 { | |
Ballot ballotToTest; | |
function beforeAll () public { | |
ballotToTest = new Ballot(2); | |
} |
pragma solidity >=0.4.22 <0.7.0; | |
contract CFF { | |
struct CFFChild { | |
string name; | |
string homeAddress; | |
uint dob; // timestamp of birth of a child, | |
uint withdrawalBalance; | |
uint lockedBalance; | |